GNU bug report logs - #24295
24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 23 Aug 2016 22:33:02 UTC

Severity: normal

Found in version 24.5

Done: Drew Adams <drew.adams <at> oracle.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 24295 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 24295 <at> debbugs.gnu.org
Subject: Re: bug#24295: 24.5;
 RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts
 like a symbol constituent
Date: Tue, 23 Aug 2016 20:29:22 -0400
Drew Adams <drew.adams <at> oracle.com> writes:

[I replaced =A1=AF with ’ in the quoted text]

> In an Emacs-Lisp buffer or in *scratch*, use `C-u C-x =3D' on this
> character: ’ (RIGHT SINGLE QUOTATION MARK).  It tells you that its
> syntax is punctuation.
>
> But (setq foo (intern "ab’cd’ef")) shows that it acts like a
> symbol-constituent character.

In what way does it show that??  A symbol's name can be any arbitrary
string, there's no significance to the syntax class of the characters.




This bug report was last modified 8 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.