From: Charles Sebold <csebold@ezl.com>
Subject: Re: Avoid paren matching across header/body boundary
Date: 04 Jan 2001 12:50:07 -0600 [thread overview]
Message-ID: <m3n1d7f8yo.fsf@sebold.lcms.org> (raw)
In-Reply-To: <vaf7l4b88f7.fsf@lucy.cs.uni-dortmund.de>
On 9 Teveth 5761, Kai Großjohann wrote:
> If you have a header "X-Foo: (", then a single ")" in the body is
> wrongly highlighted as matching by M-x show-paren-mode RET, when
> composing a message. Is there any possibility to avoid this?
>
> I get hit by this because my X-Face header contains an unmatched open
> paren.
I dodged this by adding my X-Face after the composition, before the
sending:
; insert x-face
(defun mail-insert-x-face ()
(save-excursion
(goto-char (point-min))
(search-forward mail-header-separator)
(beginning-of-line nil)
(insert "X-Face:")
(insert-file "~/.face")))
(add-hook 'message-send-hook 'mail-insert-x-face)
--
Charles Sebold
Random Answer to an Emacs Very Frequently Asked Question:
The bidirectional gnu.emacs.help mail gateway at gnu.org only does mail->news.
--
9th of Teveth, 5761
--
Somewhere, just out of sight, the unicorns are gathering.
next prev parent reply other threads:[~2001-01-04 18:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-04 18:43 Kai Großjohann
2001-01-04 18:50 ` Charles Sebold [this message]
2001-01-04 21:59 ` Kai Großjohann
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=m3n1d7f8yo.fsf@sebold.lcms.org \
--to=csebold@ezl.com \
/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).