From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Re: Untabify...?
Date: 17 Feb 1999 12:14:05 +0100 [thread overview]
Message-ID: <rj3e452sg2.fsf@poisson.dina.kvl.dk> (raw)
In-Reply-To: <m390dzo4kc.fsf@peorth.gweep.net>
Stainless Steel Rat <ratinox@peorth.gweep.net> writes:
> Rather, please make it off by default so as not to seriously break things
> that have been known to work.
I agree it should be off by default, or should not even be an option.
However, message mode should turn off indent-tabs-mode, so the user is
less likely to accidentally add tabs to the message (which will most
likely be displayed wrong on other newsreaders). Explictly inserted
tabs (with C-q TAB), and tabs in included files, will (and should)
still be there.
Here is a patch for both.
1999-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
* message.el (message-send-mail): Don't untabify.
(message-mode): Don't use tabs for indentation.
cd ~/emacs/pgnus-0.76/lisp/
diff -c message-old.el message.el
*** message-old.el Thu Feb 11 06:02:23 1999
--- message.el Wed Feb 17 12:06:25 1999
***************
*** 1444,1449 ****
--- 1444,1451 ----
(concat "[ \t]*[-a-z0-9A-Z]*>+[ \t]*\\|"
adaptive-fill-first-line-regexp))
(mm-enable-multibyte)
+ (make-local-variable 'indent-tabs-mode) ;Turn off tabs for indentation.
+ (setq indent-tabs-mode nil)
(run-hooks 'text-mode-hook 'message-mode-hook))
\f
***************
*** 2093,2099 ****
(let ((message-deletable-headers
(if news nil message-deletable-headers)))
(message-generate-headers message-required-mail-headers))
- (untabify (point-min) (point-max))
(let ((mail-parse-charset message-posting-charset))
(mail-encode-encoded-word-buffer))
;; Let the user do all of the above.
--- 2095,2100 ----
Compilation exited abnormally with code 1 at Wed Feb 17 12:06:53
next prev parent reply other threads:[~1999-02-17 11:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-13 13:46 Untabify...? Hrvoje Niksic
1999-02-15 8:33 ` Untabify...? Andreas Jaeger
[not found] ` <m390dzo4kc.fsf@peorth.gweep.net>
1999-02-16 20:25 ` Untabify...? Edward J. Sabol
1999-02-17 11:14 ` Per Abrahamsen [this message]
1999-02-17 12:32 ` Untabify...? Kai.Grossjohann
1999-02-17 12:56 ` Untabify...? Steinar Bang
1999-02-17 16:12 ` Untabify...? Hrvoje Niksic
1999-02-17 17:24 ` Untabify...? Per Abrahamsen
1999-02-19 14:02 ` Untabify...? Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rj3e452sg2.fsf@poisson.dina.kvl.dk \
--to=abraham@dina.kvl.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).