From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: elementary: how to display a ' in a docstring Date: Sat, 7 May 2016 13:23:29 -0700 Organization: UCLA Computer Science Department Message-ID: <572E4EC1.1030108@cs.ucla.edu> References: <87h9e9ychf.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1462652814 29647 80.91.229.3 (7 May 2016 20:26:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 May 2016 20:26:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 07 22:26:45 2016 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 1az8lX-00085W-Qf for ged-emacs-devel@m.gmane.org; Sat, 07 May 2016 22:23:55 +0200 Original-Received: from localhost ([::1]:35043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az8lR-0007R5-Ge for ged-emacs-devel@m.gmane.org; Sat, 07 May 2016 16:23:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az8lO-0007NZ-3l for emacs-devel@gnu.org; Sat, 07 May 2016 16:23:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az8lJ-0006OW-RW for emacs-devel@gnu.org; Sat, 07 May 2016 16:23:44 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az8lJ-0006OL-8Q for emacs-devel@gnu.org; Sat, 07 May 2016 16:23:41 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4AF121611FB; Sat, 7 May 2016 13:23:35 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UWR8w_4Szm5C; Sat, 7 May 2016 13:23:30 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A9A121611FC; Sat, 7 May 2016 13:23:30 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9ZeLFcXyh65e; Sat, 7 May 2016 13:23:30 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A922E1611FB; Sat, 7 May 2016 13:23:29 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 In-Reply-To: <87h9e9ychf.fsf@mat.ucm.es> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:203678 Archived-At: Uwe Brauer wrote: > "Please set `vc-hg-symbolic-revision-styles' to '(\"{rev}\"))), please note the `''." To get the effect you asked for, quote the apostrophes like this: "Please set `vc-hg-symbolic-revision-styles' to \\='(\"{rev}\"))), please note the `\\=''." See the text-quoting-style documentation in the Elisp manual. By the way, the effect you asked for is not the recommended style in Emacs documentation strings. When discussing a Lisp value, the usual style is to give the value instead of Lisp code that would evaluate to the value. The abovementioned doc string could be reworded to something like "Please set `vc-hg-symbolic-revision-styles' to the list (\"{rev}\")."