emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/3] lisp/progmodes/etags.el don't (forward-char) as it's ove


From: Eli Zaretskii
Subject: Re: [PATCH 2/3] lisp/progmodes/etags.el don't (forward-char) as it's overriden next line
Date: Sat, 16 Mar 2019 18:26:55 +0200

> Date: Sat, 16 Mar 2019 18:42:44 +0300
> From: Konstantin Kharlamov <address@hidden>
> Cc: address@hidden
> 
> >>  -    (and (eq selective-display t)
> >>  -  (looking-at "\^m")
> >>  -  (forward-char 1))
> >>       (beginning-of-line)))
> > 
> > Did you actually try this change with selective-display in effect?
> > Because I'm not sure it is correct in that case.
> > 
> > Thanks.
> 
> Hmm… I will try a bit later, but the code seems really 
> straightforward:
>       1. if current character is ^M, then step forward
>       2. step to the beginnig of the line
> 
> The 2 undoes 1.

^M has special meaning in selective-display mode.



reply via email to

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