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: Konstantin Kharlamov
Subject: Re: [PATCH 2/3] lisp/progmodes/etags.el don't (forward-char) as it's overriden next line
Date: Sun, 17 Mar 2019 22:06:26 +0300



В Вс, мар 17, 2019 at 6:17 ПП (PM), Eli Zaretskii <address@hidden> написал:
 Date: Sun, 17 Mar 2019 06:41:41 +0300
 From: Konstantin Kharlamov <address@hidden>
 Cc: address@hidden

 > The ^M character is what causes that "..." ellipsis.  You cannot
 > search for it interactively because Emacs prevents that, but the
 > character is there in the buffer text.

Okay, well, I couldn't find it by evaluating (re-search-forward "^M")
 either.

So, given the character can't be inspected, the old code couldn't even
 do anything :)

I suggest to read the node "Selective Display" in the ELisp manual
about this feature, and how the ^M characters come into play.

Ok, the docs say that every newline in "invisible part" is replaced with ^M.

But this doesn't change the fact this ^M can't be inspected, in particular by (looking-at "\^m") that the 2-nd patch removes. I just tested that.

Oh well, whatever, I'm not really motivated to discuss that, let's just drop 2-nd patch. Are patches 1 and 3 okay?





reply via email to

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