From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Quoting style of arguments etc. [was: multiline regex mode?] Date: Sat, 25 Nov 2006 11:11:06 +0100 Organization: The Church of Emacs Message-ID: <874psn25vp.fsf_-_@hans.local.net> References: <87u00o1r9r.fsf@hans.local.net> <103FCBBB-B642-4856-A110-1ED739CFDAAE@easesoftware.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1164451315 6016 80.91.229.2 (25 Nov 2006 10:41:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2006 10:41:55 +0000 (UTC) Cc: Peter Dyballa , GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 25 11:41:52 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gnuye-0007jt-J0 for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Nov 2006 11:41:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnuye-0004zk-0Z for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Nov 2006 05:41:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GnusN-0008VH-VZ for help-gnu-emacs@gnu.org; Sat, 25 Nov 2006 05:35:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GnusL-0008Tq-DM for help-gnu-emacs@gnu.org; Sat, 25 Nov 2006 05:35:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GnusK-0008TY-HT for help-gnu-emacs@gnu.org; Sat, 25 Nov 2006 05:35:12 -0500 Original-Received: from [212.227.126.186] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GnusK-0006ZY-5z for help-gnu-emacs@gnu.org; Sat, 25 Nov 2006 05:35:12 -0500 Original-Received: from [84.167.44.164] (helo=duenenhof-wilhelm.de) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1Gnus41N3U-0003Gq; Sat, 25 Nov 2006 11:34:57 +0100 Original-Received: by duenenhof-wilhelm.de (Postfix, from userid 1000) id D86D47619B; Sat, 25 Nov 2006 11:11:06 +0100 (CET) Original-To: Perry Smith In-Reply-To: <103FCBBB-B642-4856-A110-1ED739CFDAAE@easesoftware.com> (Perry Smith's message of "Fri\, 24 Nov 2006 21\:32\:22 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7ab225b98a136e1c2910381f940ecb9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38963 Archived-At: Perry Smith writes: > So "{[^}]*}" stands for 'a region that starts with `{=C2=B4 and= has no `}=C2=B4 until the final `}=C2=B4 is hit; between both braces any n= umber (starting > with 0) of any character except `}=C2=B4 can appear.' > > I don't quite understand why this should be in an "emacs" FAQ or wiki.=C2= =A0 Its basic regular expressions.=C2=A0 One such document is here: > > http://en.wikipedia.org/wiki/Regular_expressions#Syntax > It's even nearer at hand: C-h i g "(Emacs)Regexps" or `(Elisp)Regular Expressions' While we are at it: Is there an accepted quoting style for arguments etc.? For example: 1. In the above case expressing the need for pressing keys and distinguishing between textual arguments for the minibuffer: "" or `' or something else? 2. In the comment string of functions when expressing also key bindings and subsequent command names: "Please type `M-x function-name'" or "Please type \"M-x function-name\""? I can't remember there is something in the Elisp manual for coding conventions. --=20 Best wishes H. Dieter Wilhelm Darmstadt, Germany