hello,
I am running GNU Emacs 19.31.1 on an HP-UX 9.05 machine. I would like to
know if there is a way to make Mail mode (and News Reply mode too) act
like Indented Text mode when I have Auto Fill minor mode turned on. What
it is not doing that I would like it to do is indent new lines to the
same level as the previous line.
Perhaps, I just don't know where to look, but my perusal of the Info
files revealed nothing to me of a way to do this.
Thanks in advance,
--
_______________________________________ Take my advice, I'm not using it!
\ ,_ _ jbin...@spd.dsccc.com )_________________________________
\ // \ / \ ,. ,,-. , ,,. , . / DSC Communications Corporation /
/, // /--///| // _ /_//_| /|/| / M/S WDEV1, 1000 Coit Rd. /
/ \_/ \_//__/// |/ \_// // |/ | / Plano, TX 75075-9992 /
/___________________________________/ Ph:972.477.8913 Fx:972.519.3591 \
On speaking out, we do agree ... (_____________________________________\
I don't speak for Them, They don't speak for me!
sounds like you may have use for couple of more minor modes.
load these, I use both almost in every mode/language/buffer.
Don't skip the elisp.html where are general installation instructions!
/jari
;; @(#) tinytab.el -- Programmers TAB mov/handler minor mode. Very flexible.
;;; Briefly:
;; o Programmable TAB. If you set the spacing(div factor) to 4,
;; you can virtually program "blindly" without any other modes.
;; o moving commands: tab-forward, tab-backward
;; o modify commands: tab-insert, tab-delete
;; o indent commands: indent-by-div-factor, forward , backward
;; o Positioning braces { } supported.
;; @(#) tinyindent.el -- like indented-text-mode, but minor-mode, smart indent
;;; Briefly:
;; o General block editing or indentation MINOR mode. Replacement for
;; indented-text-mode.
;; o Takes over the TAB and BACKSPACE key.
;; o Looks back to guess right indentation. and uses relative indent
;; when not at BOL.
;; o Special indentation is suggested if cursor is at BOL and user defined
;; regexp is matched in line above. (like adding multiple c++ comments)
;; o Extra tii-tt-mode for writing descriptions within comments. This
;; allows user to choose when to use HARD tab or SOFT tab = relative
;; to the text above. TAB TAB inserts hard tab, TAB SPC inserts soft tab.
Pick URL ftp://cs.uta.fi/pub/ssjaaa/ or /f...@cs.uta.fi:/pub/ssjaaa/
(The "access denied" just means the site is busy; try a little later)
I use filladapt mode, which works great for me. It will also recognize bulleted
items and indent those properly as well. For instance, I typed the following as
without a Return at the end of the line:
o This is a test of the emergency broadcasting system. This is a test of the
emergency broadcasting system. This is a test of the emergency broadcasting
system.
Love it!
Here's what I have as a hook for message-mode-hook:
(defun my-message-mode-hook ()
(turn-on-auto-fill)
(turn-on-filladapt-mode)
(turn-on-font-lock))
(add-hook 'message-mode-hook 'my-message-mode-hook)
Brad
--
Brad Howes Motorola E-Mail ID: XBH001
EMT Development SMTP E-Mail: bho...@cssun3.corp.mot.com
Motorola Corporate - MD H1780 Voice: 602 441 1522 Fax: 602 441 5455