[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?
- Box cursor at EoL, Dr Rainer Woitok, 2022/10/05
- Re: Box cursor at EoL, Marcus Harnisch, 2022/10/05
- Re: Box cursor at EoL, Dr Rainer Woitok, 2022/10/06
- Re: Box cursor at EoL, Stefan Monnier, 2022/10/06
- Re: Box cursor at EoL, Marcus Harnisch, 2022/10/06
- Re: Box cursor at EoL, Dr Rainer Woitok, 2022/10/07
- Re: Box cursor at EoL, Eli Zaretskii, 2022/10/07
- Re: Box cursor at EoL, Robert Pluim, 2022/10/07
- Re: Box cursor at EoL, Dr Rainer Woitok, 2022/10/07
- Re: Box cursor at EoL,
Eli Zaretskii <=
- Re: Box cursor at EoL, Dr Rainer Woitok, 2022/10/08
- Re: Box cursor at EoL, Eli Zaretskii, 2022/10/08
- Re: Box cursor at EoL, Dr Rainer Woitok, 2022/10/08
- Re: Box cursor at EoL, Eli Zaretskii, 2022/10/08
- Re: Box cursor at EoL, Stefan Monnier, 2022/10/08
- Re: Box cursor at EoL, Dr Rainer Woitok, 2022/10/09
Re: Box cursor at EoL, Eli Zaretskii, 2022/10/05