From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34064 Path: main.gmane.org!not-for-mail From: Charles Sebold Newsgroups: gmane.emacs.gnus.general Subject: Re: Avoid paren matching across header/body boundary Date: 04 Jan 2001 12:50:07 -0600 Organization: Ministry of Silly Walks Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035170060 28481 80.91.224.250 (21 Oct 2002 03:14:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:14:20 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by mailhost.sclp.com (Postfix) with ESMTP id ADA51D049D for ; Thu, 4 Jan 2001 13:51:01 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB20473; Thu, 4 Jan 2001 12:50:31 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 04 Jan 2001 12:49:56 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id MAA01046 for ; Thu, 4 Jan 2001 12:49:44 -0600 (CST) Original-Received: from quimby.gnus.org (quimby.gnus.org [195.204.10.139]) by mailhost.sclp.com (Postfix) with ESMTP id A8EC4D049D for ; Thu, 4 Jan 2001 13:50:09 -0500 (EST) Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id TAA21176 for ding@gnus.org; Thu, 4 Jan 2001 19:50:31 +0100 (CET) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-NNTP-Posting-Host: webuser229.lcms.org Original-X-Trace: quimby.gnus.org 978634230 28573 208.167.163.229 (4 Jan 2001 18:50:30 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 4 Jan 2001 18:50:30 GMT X-Face: KviMK/n@>[)^qaI{Lpl^/~TBbx0FI*=>m%|v%69pVbA~Eu+@S3?[ioF>k}7b0(TZIle..zs -U=po%Tr;2bo,WH01K|,QP7}+-&kb^QO 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.