Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] emacs cc-mode
- Date: Mon, 23 Jun 2003 14:50:20 +0900
- From: 塩野@遊び人 <jun@example.com>
- Subject: Re: [tlug] emacs cc-mode
- References: <20030617200918.618ca312.botond@example.com><20030617212007.70953f87.botond@example.com>
- User-agent: VM/7.16 SEMI/1.14.5 (Awara-Onsen) LIMIT/1.14.7 (Fujiidera)APEL/10.5 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0(賢木 )
hi, >>>>> In <20030617212007.70953f87.botond@example.com> >>>>> Botond Botyanszki <botond@example.com> wrote: > On Tue, 17 Jun 2003 07:44:30 -0400 > Viktor Pavlenko <vvp@example.com> wrote: > > You can use "M-x tabify" > Thanks Viktor. This is good enough, I can just run it on the whole source. > I'd be still interested in how to bind this to the TAB key, so that it > would indent and tabify simultaneously. You had better to attention this behavior. tabify is change all space to tab if possible. So if you can use strings, like "foo bar foo bar". tabify may change space in strings to tab. Unfortunately, TAB(c-indent-command) in cc-mode can not change space to TAB if indent is not change. I dislike this behavior. So I use this package develock.el. ---- ftp://ftp.jpl.org/pub/elisp/develock.el.gz ---- Install this package in your lisp-library-path. then add this in your .emacs ---- (require 'develock) ---- Then restart emacs and find-file your c-files. you just type like this. ---- C-x h (mark-whole-buffer) C-M-\ (indent-region) ---- -- ∧_∧ ミ^.^ミ E-Mail: jun@example.com
- References:
- [tlug] emacs cc-mode
- From: Botond Botyanszki
- Re: [tlug] emacs cc-mode
- From: Botond Botyanszki
Home | Main Index | Thread Index
- Prev by Date: Re: [real] [tlug] kanji input --- alternatives available?
- Next by Date: Re: [tlug] dualboot WinXP/Linux
- Previous by thread: Re: [tlug] emacs cc-mode
- Next by thread: Re: [tlug] emacs cc-mode
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links