* Avoid paren matching across header/body boundary
@ 2001-01-04 18:43 Kai Großjohann
2001-01-04 18:50 ` Charles Sebold
0 siblings, 1 reply; 3+ messages in thread
From: Kai Großjohann @ 2001-01-04 18:43 UTC (permalink / raw)
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.
kai
--
~/.signature
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Avoid paren matching across header/body boundary
2001-01-04 18:43 Avoid paren matching across header/body boundary Kai Großjohann
@ 2001-01-04 18:50 ` Charles Sebold
2001-01-04 21:59 ` Kai Großjohann
0 siblings, 1 reply; 3+ messages in thread
From: Charles Sebold @ 2001-01-04 18:50 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Avoid paren matching across header/body boundary
2001-01-04 18:50 ` Charles Sebold
@ 2001-01-04 21:59 ` Kai Großjohann
0 siblings, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2001-01-04 21:59 UTC (permalink / raw)
Cc: ding
On 04 Jan 2001, Charles Sebold wrote:
> I dodged this by adding my X-Face after the composition, before the
> sending:
Works like a charm. Thanks.
kai
--
~/.signature
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-04 21:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-04 18:43 Avoid paren matching across header/body boundary Kai Großjohann
2001-01-04 18:50 ` Charles Sebold
2001-01-04 21:59 ` Kai Großjohann
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).