Newsgroups: fj.editor.emacs
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!news.iij.ad.jp!vcmei!ced.mei!chorus.mei!oskgate0.mei!wnoc-kyo-news!rinsgw!new-rins!oogata
From: oogata@pollux.elec.ryukoku.ac.jp (Hideo OHGATA)
Subject: Re: [Q]editing c program on c-mode of emacs
In-Reply-To: zhang@oscar.elec.waseda.ac.jp's message of 13 Jun 1995 01:08:09
 GMT
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <OOGATA.95Jun16105607@pollux.elec.ryukoku.ac.jp>
Followup-To: fj.editor.emacs
Sender: news@rins.ryukoku.ac.jp
Nntp-Posting-Host: pollux.elec.ryukoku.ac.jp
Reply-To: oogata@iota20.elec.ryukoku.ac.jp
Organization: Okada Lab. Ryukoku Univ.
References: <ZHANG.95Jun13100809@oscar17.oscar.elec.waseda.ac.jp>
Mime-Version: 1.0
Date: Fri, 16 Jun 1995 01:56:07 GMT
Lines: 41
Xref: galaxy.trc.rwcp.or.jp fj.editor.emacs:5474
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.editor.emacs&nb=5474&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$BBg7A!wN6C+Bg3X$G$9!%(B

In article <ZHANG.95Jun13100809@oscar17.oscar.elec.waseda.ac.jp>
 zhang@oscar.elec.waseda.ac.jp (Zhang Shu) writes:

  > $BD%P0!wAa0pEDBg3XM}9)3XIt$H?=$7$^$9!#4pK\E*$J<ALd$G?=$7Lu$"$j(B
  > $B$^$;$s$,!"!"(B
  > emacs$B$N(Bc-mode$B$G(Bc$B$N%W%m%0%i%`$rAH$s$G$$$?$i!"$A$g$C$HIT2D2r$N(B
  > $B$3$H$,$"$j$^$7$?!#(B
($BCfN,(B)
  > $B$N%3!<%I$r=q$$$F!"%j!<%8%g%s$r;XDj$7$F(BM-x indent-region$B$r<B(B
  > $B9T$7$?$i!"30ItJQ?t@k8@$N$H$3$m$N(B
  > int n;
  > double **a,**b,*x_new,e;
  > $B$,(B
  >     int n;
  > double **a,**b,*x_new,e;
  > $B$K$J$C$F$7$^$$$^$9!#$D$^$j!":G=i$N30ItJQ?t@k8@$NJ8$,<+F0E*$K(B
  > $B;z2<$2$r9T$J$o$l$F$7$^$$$^$9!#$3$l$O(Bc-mode$B$N;EMM$+!"$=$l$H$b(B
  > $B;d$N=q$-J}$NLdBj$J$N$G$7$g$&$+!)$=$s$J;z2<$2$r$7$J$/$?$C$F$$(B
  > $B$$$N$G$O$H;W$$$^$9$,!"!"(B

M-x describe-valuable
$B$G!$(Bc-argdecl-indent $B$r8+$k$H!$0J2<$N$h$&$J9`L\$,$"$j$^$9!%(B
----
c-argdecl-indent's value is 4

Documentation:
*Indentation level of declarations of C function arguments.
----
# $B#4$O;d$N@_Dj$G$9(B
$B$D$^$j!$(Bc-mode $B$N;EMM$H$$$&$3$H$K$J$j$^$9!%(B
$B;d$O0z?t$N$H$3$m$G;z2<$2$r$7$?$[$&$,8+0W$/$J$k$H;W$&$N$G$9$,!%(B

$B;z2<$2$,ITMW$J;~$O(B ~/.emacs $B$G(B

(setq c-argdecl-indent 0)

$B$7$F2<$5$$!%(B

$B$=$l$G$O(B
