Article View: gnu.emacs.bug
Article #87991hide-ifdef mode gets line #s wrong
From: garyo
Date: Fri, 19 Aug 1994 18:56
Date: Fri, 19 Aug 1994 18:56
16 lines
1490 bytes
1490 bytes
In GNU Emacs 19.25.94.4 (sparc-sun-solaris2.3, X toolkit) of Fri Aug 19 1994 on prometheus Setting selective-display to t (replace "^M.*" with "...") makes the line number in the modeline wrong for modes like hide-ifdefs which replace newlines with ^Ms. It counts all the ^M'ed lines as one line. This bug was not in earlier emacs 19 versions, like 19.21. I know it's strictly true that once the \ns are replaced with ^M the whole thing *is* one line, but it should give the impression that many lines are being moved over. I'm not sure whether this should be recorded as a selective-display bug or if there's really some other method hide-ifdefs should be using instead of (setq selective-display t) to hide its ifdefed out text. -- Gary Oberbrunner (garyo@avs.com)
Technical Details
Message-ID:
<9408191852.AA15846@prometheus>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!solaris.cc.vt.edu!swiss.ans.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!avs.com!garyoShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,f6e40fbc98901a93,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-08-19 14:13:06 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!solaris.cc.vt.edu!swiss.ans.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!avs.com!garyo From: garyo@avs.com Newsgroups: gnu.emacs.bug Subject: hide-ifdef mode gets line #s wrong Date: 19 Aug 1994 14:56:47 -0400 Organization: GNUs Not Usenet Lines: 16 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9408191852.AA15846@prometheus>