unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue.
@ 2010-02-12 22:52 Bob
  2010-02-13  7:37 ` Chong Yidong
                   ` (6 more replies)
  0 siblings, 7 replies; 28+ messages in thread
From: Bob @ 2010-02-12 22:52 UTC (permalink / raw)
  To: 5570

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

As I work with text in C++ mode the indentation begins to deteriorate. For
example, TAB on the class line wrongly indents it:

 

    template<class _Enum>

      class Build<TL::End,_Enum>

 

I work-around the problem by writing the buffer, killing the buffer, then
visiting the file and re-indenting with TAB on the class line to get the
expected indentation:

 

    template<class _Enum>

    class Build<TL::End,_Enum>

 

Same thing happens with ESC C-q.

 

My impression is there is internal state which doesn't get cleared as I work
the text toward a syntax correct unit, causing incorrect indentation.  The
bad state is ultimately cleared by re-visiting the file. 

 

Sorry I can't come up with something reproducible.  

 

Has anyone else seen this issue?

 

 

      


[-- Attachment #2: Type: text/html, Size: 3259 bytes --]

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

end of thread, other threads:[~2020-09-14 13:48 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12 22:52 bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue Bob
2010-02-13  7:37 ` Chong Yidong
     [not found]   ` <000e01caad1e$dcbfc560$963f5020$@net>
2010-02-14  5:09     ` Chong Yidong
2010-02-14 20:10       ` Alan Mackenzie
2010-02-15 22:15         ` Bob
     [not found]         ` <000001caae62$638af6c0$2aa0e440$@net>
2010-02-16 16:39           ` Alan Mackenzie
2010-02-16 18:35             ` Bob
2010-02-17  9:46               ` Alan Mackenzie
2010-02-17 16:40                 ` Bob
2010-02-18 15:12                   ` Alan Mackenzie
2010-02-18 15:53                     ` Bob
2010-02-19 20:34                       ` Alan Mackenzie
2010-02-20 13:41 ` Paul Pogonyshev
     [not found] ` <201002212354.23776.pogonyshev@gmx.net>
     [not found]   ` <873a0ujlba.fsf@stupidchicken.com>
2010-02-22 15:33     ` Paul Pogonyshev
2010-02-23 13:28       ` Paul Pogonyshev
2010-03-18 20:05 ` bug#5570: automatic cache validation Paul Pogonyshev
2010-03-18 20:31   ` Chong Yidong
2010-03-19 21:56   ` Alan Mackenzie
2010-03-19 22:45     ` Jan Djärv
2010-03-20 13:22       ` Alan Mackenzie
2010-03-20 14:49         ` Jan D.
2010-03-21 11:16           ` Alan Mackenzie
2010-03-21 11:50             ` Jan Djärv
2010-03-22  8:07             ` Jan Djärv
2010-04-02 17:01               ` Paul Pogonyshev
2010-04-03 23:55 ` Chong Yidong
2010-04-28 18:55 ` Chong Yidong
2020-09-14 13:48 ` bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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