From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: Re: elementary: how to display a ' in a docstring Date: Sat, 07 May 2016 20:45:05 +0000 Message-ID: <87vb2pwqb2.fsf@mat.ucm.es> References: <87h9e9ychf.fsf@mat.ucm.es> <572E4EC1.1030108@cs.ucla.edu> Reply-To: Uwe Brauer NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462653929 11882 80.91.229.3 (7 May 2016 20:45:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 May 2016 20:45:29 +0000 (UTC) Cc: Uwe Brauer , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 07 22:45:22 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 1az96H-0002o5-L8 for ged-emacs-devel@m.gmane.org; Sat, 07 May 2016 22:45:21 +0200 Original-Received: from localhost ([::1]:35083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az96G-0000Rx-VN for ged-emacs-devel@m.gmane.org; Sat, 07 May 2016 16:45:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az96D-0000OD-2n for emacs-devel@gnu.org; Sat, 07 May 2016 16:45:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az967-0002Uo-E0 for emacs-devel@gnu.org; Sat, 07 May 2016 16:45:15 -0400 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:34753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az967-0002UC-2m for emacs-devel@gnu.org; Sat, 07 May 2016 16:45:11 -0400 Original-Received: by mail-wm0-x22c.google.com with SMTP id v200so14486433wmv.1 for ; Sat, 07 May 2016 13:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mat.ucm.es; s=google; h=from:to:cc:subject:references:reply-to:date:message-id:user-agent :mime-version; bh=5ArqIImtAUo46fXSjnD1icaZTinE2fsURP54SwvE85Y=; b=Sj/AUFeoWcypTWHFcEhkZ3ngOFfoWDsOjJXeBacQSlSei+9AAYalDCJAcbCxJ98FYT POsm3nRfhnDn/FIQiVoqk4vX7ZF9nhDDwDRaB7mzL14OcugOGkER6rut6AMdL/E7x5bn PKG+UMERok/ziqQr4C++9L694B81ZDf0uojc8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:reply-to:date :message-id:user-agent:mime-version; bh=5ArqIImtAUo46fXSjnD1icaZTinE2fsURP54SwvE85Y=; b=fz5CEdUpfvqqwwUfKZ3JL95bdSbNf/s+xbxoFxFqvcfUvOal5SYJRksnWHK2z0NCdF eGLCXkMU4ZehQnBXTE/8BwtgAd2g5MInGM29xPEq/lMez/XaiuKzA5ru/30PpOLKTjXe Ni1//ZRBkqnvp9/vswosEdDdKjVlpD70X92+4YSvK51XvSMa5tvsAtMo97PWv2ugqlHa hc5kplyEWZIb1PIE+pGgzUA76KYplJbl9b/mTFADtHuV+68RvfukKvzGgWS9m6i0b7CX bTSK/NuX/NFpVz3KfPDK1EMAdtRU2G2zM6c25VJRkpGSUtABMSi2LlxFdl9dBkTRnvtW GMBw== X-Gm-Message-State: AOPr4FW0fsGrMM3oexpUnDEHlWW2gvSmR3KY1lKM4tqdq02g0+dNEE55GOM2mqtaMG/8kBw2 X-Received: by 10.194.105.230 with SMTP id gp6mr25099890wjb.90.1462653909254; Sat, 07 May 2016 13:45:09 -0700 (PDT) Original-Received: from Burrurr (248.red-83-40-213.dynamicip.rima-tde.net. [83.40.213.248]) by smtp.gmail.com with ESMTPSA id m140sm15368467wma.24.2016.05.07.13.45.07 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 07 May 2016 13:45:07 -0700 (PDT) X-Mailer: emacs 25.1.50.1 (via feedmail 11-beta-1 I) X-Hashcash: 1:20:160507:emacs-devel@gnu.org::7pZ4hS1D4ef46KZc:0000000000000000000000000000000000000000000/FI X-Hashcash: 1:20:160507:eggert@cs.ucla.edu::5Dyzrnvb7ztjvH+O:00000000000000000000000000000000000000000002pk3 X-Hashcash: 1:20:160507:oub@mat.ucm.es::/1bkAcFoY8g2N6A4:0002uFs User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22c 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:203682 Archived-At: >>> "Paul" == Paul Eggert writes: > 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. thanks > 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}\")." I am now confused. Are you saying that the setting (setq vc-hg-symbolic-revision-styles '("{rev}")) Is incorrect? What would be then correct? I am not sure that I understand your proposed wording. (setq vc-hg-symbolic-revision-styles (list '("{rev}"))) Is not correct. So I am puzzled.