From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel,gmane.mail.mh-e.devel Subject: Re: MH-E manual update Date: Sat, 11 Mar 2006 15:35:19 -0600 (CST) Message-ID: <200603112135.k2BLZJE22058@raven.dms.auburn.edu> References: <27306.1134088031@olgas.newt.com> <871wxfnisy.fsf@olgas.newt.com> <9353.1142107690@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142113256 21012 80.91.229.2 (11 Mar 2006 21:40:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2006 21:40:56 +0000 (UTC) Cc: eliz@gnu.org, mh-e-devel@lists.sourceforge.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 11 22:40:53 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FIBpR-0000o3-86 for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 22:40:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIBpQ-0001op-On for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 16:40:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIBpE-0001no-4f for emacs-devel@gnu.org; Sat, 11 Mar 2006 16:40:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIBpC-0001kc-1w for emacs-devel@gnu.org; Sat, 11 Mar 2006 16:40:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIBpB-0001kH-TL for emacs-devel@gnu.org; Sat, 11 Mar 2006 16:40:33 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FIBsj-00027s-PJ; Sat, 11 Mar 2006 16:44:13 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.13.3+Sun/8.13.3) with ESMTP id k2BLeTu0006678; Sat, 11 Mar 2006 15:40:29 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id k2BLZJE22058; Sat, 11 Mar 2006 15:35:19 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: wohler@newt.com In-reply-to: <9353.1142107690@olgas.newt.com> (message from Bill Wohler on Sat, 11 Mar 2006 12:08:10 -0800) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.1 (manatee.dms.auburn.edu [131.204.53.104]); Sat, 11 Mar 2006 15:40:29 -0600 (CST) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51485 gmane.mail.mh-e.devel:11938 Archived-At: Bill Wohler wrote: > @samp{"\\(<<\\([^\n]+\\)?\\)"}. If this regular expression is not <<<<<<< > correct, the body fragment will not be highlighted with the face > @code{mh-folder-body}. > > I think this usage is not a very good idea: @samp{foo} is typeset as > `foo', so you will have here quotes inside quotes. I suggest to lose > the inner quotes, since they are redundant IMO. They aren't redundant since the user actually has to enter the quotes in his value. I agree that having quotes inside quotes doesn't look good, but it's probably a necessary evil to be technically correct. Without the double quotes, the doubling up of backslashes is incorrect, since that only is correct inside Lisp strings. I looked at the Elisp manual and the convention seems consistently to be that if you write a regexp in non-Lisp syntax, you use @samp, but if you write a regexp in Lisp syntax, you use @code and definitely use the double quotes. That will still produce `"...."' in Info, but _not_ in the printed manual. (I noticed that I recently violated parts of that convention myself, but that is corrected now.) Sincerely, Luc.