[Top][All Lists]

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

RE: Tab within comments in C/C++ mode

From: Bingham, Jay
Subject: RE: Tab within comments in C/C++ mode
Date: Wed, 30 Oct 2002 15:21:25 -0600

In many modes the tab key is not assigned to self insert, instead it invokes a 
function which attempts to do formatting that is consistent with the mode.  In 
these modes a literal tab can be inserted into the buffer with M-i or C-q TAB.

Yes, is would be nice if the folks who wrote the mode had written it so that 
within a comment TAB just inserted a tab character, but they did not.

.    HP - NonStop Austin Software & Services - Software Quality Assurance
.    Austin, TX
. Language is the apparel in which your thoughts parade in public.
. Never clothe them in vulgar and shoddy attire.          -Dr. George W. Crane-

 -----Original Message-----
From:   Chris Hobbs [] 
Sent:   Wednesday, October 30, 2002 2:57 PM
Subject:        Tab within comments in C/C++ mode

I am looking for a way to allow the tab key while inside comments in C and
C++ mode. Currently, the mode will not allow a tab (let alone multiple
tabs) to be placed while in a comment. It seems to insist on formatting
the contents of the comment. Not really formatting per se, mainly just
disallowing any format I want to put in there.

Thanks for any help.

- Chris
Help-gnu-emacs mailing list

reply via email to

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