home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!iWarp.intel.com|inews!cad625!rcox
- From: rcox@cad625.intel.edu (Richard Cox)
- Newsgroups: gnu.emacs.help
- Subject: Re: TAB key in (C Fill) mode
- Message-ID: <12518@inews.intel.com>
- Date: 27 Jul 92 22:25:21 GMT
- References: <1992Jul22.163405.12632@ccd.harris.com> <LFK.92Jul24223655@kerbit.uts.amdahl.com>
- Sender: news@inews.intel.com
- Reply-To: rcox@scdt.intel.com
- Organization: Intel Corporation
- Lines: 25
-
- There is also a package c++-mode.el at archive.cis.ohio-state.edu in
- /pub/gnu/emacs/elisp-archive which handles this well. It does standard
- c-mode formatting ++ some extras for c++. One thing is does is changes
-
- c++-tab-always-indent as follows:
-
- *Controls the operation of the TAB key.
- t means always just reindent the current line. nil means indent the
- current line only if point is at the left margin or in the line's
- indentation; otherwise insert a tab. If not-nil-or-t, then the line
- is first reindented, then if the indentation hasn't changed, a tab is
- inserted. This last mode is useful if you like to add tabs after the #
- of preprocessor commands.
-
-
- -Rich
- --
- +-----------------------------------------------------------------------------+
- |Rich Cox E-Mail: rcox@scdt.intel.com |
- |CAD Developer AOL: Rich Kid |
- |Intel Corp. Mailstop: SC3-39 |
- | Phone: (408) 765-5199 |
- |-----------------------------------------------------------------------------+
- | These opinions are shared by everyone, I asked them... |
- +-----------------------------------------------------------------------------+
-