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: Emanuel Berg
Subject: Re: Box cursor at EoL
Date: Thu, 06 Oct 2022 01:44:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Dr Rainer Woitok wrote:

> being in the process of "converting" from XEmacs to Emacs
> I currently am missing XEmacs' habbit of using a different
> cursor shape for a cursor sitting on an invisible EoL
> character as opposed to a cursor sitting on an as invisible
> trailing blank. I always loved this feature of XEmacs
> because I've always hated unnoticed trailing blanks :-)

You can have them always removed on save,

(defun before-save-hook-f ()
  (delete-trailing-whitespace) )
(add-hook 'before-save-hook #'before-save-hook-f)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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