From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: include Ada Reference Manual info files in ada-mode ELPA package? Date: Sun, 28 Sep 2014 11:26:40 -0500 Message-ID: <8538bbhfsv.fsf@stephe-leake.org> References: <85zjdqhys4.fsf@stephe-leake.org> <85lhp4gz8s.fsf@stephe-leake.org> <85d2afhmkv.fsf@stephe-leake.org> <87d2aflrxd.fsf@fencepost.gnu.org> <36efd654-e8f5-485a-8133-88172824d1aa@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1411921642 28267 80.91.229.3 (28 Sep 2014 16:27:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Sep 2014 16:27:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 28 18:27:14 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XYHJZ-0001Pc-Pn for ged-emacs-devel@m.gmane.org; Sun, 28 Sep 2014 18:27:13 +0200 Original-Received: from localhost ([::1]:60307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYHJZ-0003RX-DA for ged-emacs-devel@m.gmane.org; Sun, 28 Sep 2014 12:27:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYHJI-0003Qi-OE for emacs-devel@gnu.org; Sun, 28 Sep 2014 12:27:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYHJD-0001ba-4m for emacs-devel@gnu.org; Sun, 28 Sep 2014 12:26:56 -0400 Original-Received: from dnvrco-outbound-snat.email.rr.com ([107.14.73.227]:35935 helo=dnvrco-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYHJD-0001bO-0M for emacs-devel@gnu.org; Sun, 28 Sep 2014 12:26:51 -0400 Original-Received: from [70.94.38.149] ([70.94.38.149:54910] helo=TAKVER) by dnvrco-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id F3/C7-06155-4C638245; Sun, 28 Sep 2014 16:26:44 +0000 In-Reply-To: <36efd654-e8f5-485a-8133-88172824d1aa@default> (Drew Adams's message of "Sun, 28 Sep 2014 08:44:21 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-RR-Connecting-IP: 107.14.64.142:25 X-Authority-Analysis: v=2.1 cv=FMWVxoYs c=1 sm=1 tr=0 a=AppmJ/7ZOOFWL/q6u6u93g==:117 a=AppmJ/7ZOOFWL/q6u6u93g==:17 a=ayC55rCoAAAA:8 a=9XSUBuVRJI8A:10 a=o_R75loqY_IA:10 a=IkcTkHD0fZMA:10 a=9i_RQKNPAAAA:8 a=yPCof4ZbAAAA:8 a=M8wrUc7AdiE8EKtBykQA:9 a=QEXdDO2ut3YA:10 a=7DSvI1NPTFQA:10 X-Cloudmark-Score: 0 X-detected-operating-system: by eggs.gnu.org: BaiduSpider X-Received-From: 107.14.73.227 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174777 Archived-At: Drew Adams writes: >> >> Please use \` and \' instead of ^ and $. >> > What is the rationale for that? >> File names can contain newlines. >> > Is it documented somewhere? >>=20 >> (info "(Emacs) Regexps") >> =E2=80=98^=E2=80=99 >> =E2=80=98$=E2=80=99 >>=20 >> and (info "(Emacs) Regexp Backslash") >> =E2=80=98\`=E2=80=99 >> =E2=80=98\'=E2=80=99 > > It seems like this is a fairly common question/misunderstanding. > ^ and $ were even used in the Emacs source code for a long time > in places where \` and \' are more appropriate. > > It would be good to add cross-refs here (both directions), and to > explicitly point out what the difference is, and that while the > effect can sometimes be similar, \`...\' is often what you want > when matching strings. The elisp manual is better for this than the Emacs manual; I suggest the Emacs manual section on regexp be replaced by a cross-reference to the elisp manual. --=20 -- Stephe