help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Box cursor at EoL


From: Eli Zaretskii
Subject: Re: Box cursor at EoL
Date: Fri, 07 Oct 2022 18:37:38 +0300

> From: Dr Rainer Woitok <rainer.woitok@gmail.com>
> Date: Fri, 7 Oct 2022 16:56:52 +0200
> Cc: help-gnu-emacs@gnu.org
> 
> > Yes: frame parameters can be used to that effect.
> 
> Ok, so I changed my hook function to
> 
>    (lambda () (while-no-input
>                  (set-frame-parameter nil               ; Current frame.
>                                       'cursor-type      ; Variable name.
>                                       (if (eolp) EoL-Cursor ; EoL value.
>                                                      Cursor ; Nrm value.
>    )          )  )                    )
> 
> That works in different frames,  but of course not  in different windows
> within the same frame.  However replacing function `set-frame-parameter´
> with `set-window-parameter´ prevented the hook function  from working at
> all, so `cursor-type´ doesn't seem to be a legal window parameter :-(

How do you access cursor-type when it is a window parameter?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]