unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Box cursor at EoL
@ 2022-10-05 15:16 Dr Rainer Woitok
  2022-10-05 15:34 ` Marcus Harnisch
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Dr Rainer Woitok @ 2022-10-05 15:16 UTC (permalink / raw)
  To: help-gnu-emacs

Greetings,

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 :-)

Searching the web  up to now I only found references  to using different
cursors for  active/inactive frames  or for different major/minor modes.
Because an EoL character is slimmer than a blank,  I tried setting vari-
able "x-stretch-cursor" to t, but as the "-stretch-" part in the name is
already suggesting, this variable has only effect on wider characters.

So I'm now asking the combined wisdom of this list  whether or not there
is a way to coax Emacs into using a different cursor at EoL.

Any pointers welcome :-)

Sincerely,
  Rainer



^ permalink raw reply	[flat|nested] 31+ messages in thread
* Re: Box cursor at EoL
@ 2022-10-18  8:29 Anders Munch
  2022-10-18 10:22 ` Colin Baxter
  2022-10-18 23:02 ` Emanuel Berg
  0 siblings, 2 replies; 31+ messages in thread
From: Anders Munch @ 2022-10-18  8:29 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Emanuel Berg wrote:
>Kenneth Goldman wrote:
>> In many open source communities, a change that affects white space 
>> would be discouraged or rejected.
>
> Yes, but that's from the perspective of their systems that would denote such
> changes as ... changes, right? So if they are annoyed by that, they should
> change their own systems that report that ...

I prefer an editor that doesn't change my files unless I ask it to.

Emacs does a very good job of that.  One problem I've encountered is the default
setting of require-final-newline.  That caused me some trouble, until I figured
out to switch it off.

regards, Anders



^ permalink raw reply	[flat|nested] 31+ messages in thread
* Re: Box cursor at EoL
@ 2022-10-18 10:54 Anders Munch
  2022-10-18 11:21 ` Colin Baxter
  0 siblings, 1 reply; 31+ messages in thread
From: Anders Munch @ 2022-10-18 10:54 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Colin Baxter [mailto:m43cap@yandex.com] wrote:
> Anders Munch <ajm@flonidan.dk> writes:
>> Emacs does a very good job of that.  One problem I've encountered
>> is the default setting of require-final-newline.  That caused me
>> some trouble, until I figured out to switch it off.
>
> I too switch off require-final-newline, but I seem to remember reading
> somewhere that text files should end with a new line. I do not know whether
> this was to do with style or something more significant. Does anyone else know
> of this "requirement"?

It's a POSIX thing.
https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline
And there's a potential issue with C include files.

regards, Anders




^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2022-10-18 23:28 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-05 15:16 Box cursor at EoL Dr Rainer Woitok
2022-10-05 15:34 ` Marcus Harnisch
2022-10-06 15:53   ` Dr Rainer Woitok
2022-10-06 17:00     ` Marcus Harnisch
2022-10-06 19:34   ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-10-06 20:09     ` Marcus Harnisch
2022-10-07  8:28     ` Dr Rainer Woitok
2022-10-07 11:11       ` Eli Zaretskii
2022-10-07 13:49         ` Robert Pluim
2022-10-07 14:56         ` Dr Rainer Woitok
2022-10-07 15:37           ` Eli Zaretskii
2022-10-08  9:03             ` Dr Rainer Woitok
2022-10-08  9:12               ` Eli Zaretskii
2022-10-08  9:37                 ` Dr Rainer Woitok
2022-10-08 10:13                   ` Eli Zaretskii
2022-10-08 13:18                   ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-10-09 15:31                     ` Dr Rainer Woitok
2022-10-05 16:53 ` Eli Zaretskii
2022-10-05 23:44   ` Emanuel Berg
2022-10-17  3:34     ` Kenneth Goldman
2022-10-17  4:06       ` Emanuel Berg
2022-10-18 17:06         ` Kenneth Goldman
2022-10-18 23:07           ` Emanuel Berg
2022-10-06 16:02   ` Dr Rainer Woitok
2022-10-05 23:44 ` Emanuel Berg
  -- strict thread matches above, loose matches on Subject: below --
2022-10-18  8:29 Anders Munch
2022-10-18 10:22 ` Colin Baxter
2022-10-18 23:28   ` Emanuel Berg
2022-10-18 23:02 ` Emanuel Berg
2022-10-18 10:54 Anders Munch
2022-10-18 11:21 ` Colin Baxter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).