* leading spaces
@ 2001-07-24 22:59 Katsumi Yamaoka
2001-07-25 0:20 ` ShengHuo ZHU
0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2001-07-24 22:59 UTC (permalink / raw)
Hi,
I found a lot of lines beginning with eight or more spaces in
Gnus Lisp files:
% cd gnus/lisp
% grep '^ ' *.el|wc -l
966
I hope developers set `indent-tabs-mode' to t (by default) and
do M-x indent-region.
Thank you,
--
Katsumi Yamaoka <yamaoka@jpl.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: leading spaces
2001-07-24 22:59 leading spaces Katsumi Yamaoka
@ 2001-07-25 0:20 ` ShengHuo ZHU
2001-07-25 3:32 ` Katsumi Yamaoka
0 siblings, 1 reply; 3+ messages in thread
From: ShengHuo ZHU @ 2001-07-25 0:20 UTC (permalink / raw)
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> Hi,
>
> I found a lot of lines beginning with eight or more spaces in
> Gnus Lisp files:
>
> % cd gnus/lisp
> % grep '^ ' *.el|wc -l
> 966
>
> I hope developers set `indent-tabs-mode' to t (by default) and
> do M-x indent-region.
I've cleaned them up.
ShengHuo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: leading spaces
2001-07-25 0:20 ` ShengHuo ZHU
@ 2001-07-25 3:32 ` Katsumi Yamaoka
0 siblings, 0 replies; 3+ messages in thread
From: Katsumi Yamaoka @ 2001-07-25 3:32 UTC (permalink / raw)
>>>>> In <2nitghsvu7.fsf@piglet.jia.vnet>
>>>>> ShengHuo ZHU <zsh@cs.rochester.edu> wrote:
>> I found a lot of lines beginning with eight or more spaces in
>> Gnus Lisp files:
ZSH> I've cleaned them up.
Oops, you've done M-x indent-region or equivalent for whole
contents for each file. Under FSF Emacs 21, this command is
affected by the value of `fill-column' as shown below:
FROM:
-----
;; Many things can happen to an RFC 822 mailbox before it is put into
;; a `From' line. The leading phrase can be stripped, e.g.
;; `Joe <@w.x:joe@y.z>' -> `<@w.x:joe@y.z>'. The <> can be stripped, e.g.
;; `<@x.y:joe@y.z>' -> `@x.y:joe@y.z'. Everything starting with a CRLF
TO:
---
;; Many things can happen to an RFC 822 mailbox before it is put into
;; a `From' line. The leading phrase can be stripped, e.g.
;; `Joe <@w.x:joe@y.z>' -> `<@w.x:joe@y.z>'. The <> can be stripped, e.g.
;; `<@x.y:joe@y.z>' -> `@x.y:joe@y.z'. Everything starting with a CRLF
I don't like such a feature, so I set `fill-column' to the
maximum integer as follows:
(if (and (not (featurep 'xemacs))
(>= emacs-major-version 21))
(let ((fn (byte-compile
`(lambda nil
(setq fill-column ,(1- (lsh -1 -1)))))))
(add-hook 'emacs-lisp-mode-hook fn t)
(add-hook 'lisp-interaction-mode-hook fn t)))
--
Katsumi Yamaoka <yamaoka@jpl.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-07-25 3:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-24 22:59 leading spaces Katsumi Yamaoka
2001-07-25 0:20 ` ShengHuo ZHU
2001-07-25 3:32 ` Katsumi Yamaoka
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 NNTP newsgroup(s).