[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
comments in .mailrc treated inconsistently
From: |
Roland Winkler |
Subject: |
comments in .mailrc treated inconsistently |
Date: |
Sat, 20 Aug 2005 00:01:05 +0200 |
Symptoms:
The functions build-mail-abbrevs and build-mail-aliases are very
similar. However, build-mail-abbrevs ignores comments (anything in a
line that follows `# ') while build-mail-aliases doesn't do that.
I do not know whether other programs like /bin/mail which use the
.mailrc file, too, understand such comments. However, I find these
comments very convenient and I suggest that the following lines from
build-mail-abbrevs should be included in build-mail-aliases, too.
;; Delete comments from the file
(while (search-forward "# " nil t)
(let ((p (- (point) 2)))
(end-of-line)
(delete-region p (point))))
(goto-char (point-min))
In this way, the functions build-mail-abbrevs and build-mail-aliases
would treat comments consistently.
In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-06-04 on tfkp07
configured using `configure '--prefix=/nfs/tfkp07/winkler/emacs/NEW'
'--with-gcc' '--with-pop' '--with-x' '--with-x-toolkit=athena'
'--x-libraries=/usr/X11R6/lib' '--x-includes=/usr/X11R6/include''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: nil
default-enable-multibyte-characters: nil
Major mode: Emacs-Lisp
Minor modes in effect:
auto-compression-mode: t
display-time-mode: t
menu-bar-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
line-number-mode: 1
transient-mark-mode: t
next-error-follow-minor-mode: Fol
abbrev-mode: t
- comments in .mailrc treated inconsistently,
Roland Winkler <=