unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
@ 2016-08-23 22:32 Drew Adams
  2016-08-23 22:46 ` Drew Adams
  2016-08-24  0:29 ` npostavs
  0 siblings, 2 replies; 10+ messages in thread
From: Drew Adams @ 2016-08-23 22:32 UTC (permalink / raw)
  To: 24295


In an Emacs-Lisp buffer or in *scratch*, use `C-u C-x =3D' on this
character: =A1=AF (RIGHT SINGLE QUOTATION MARK).  It tells you that its
syntax is punctuation.

But (setq foo (intern "ab=A1=AFcd=A1=AFef")) shows that it acts like a
symbol-constituent character.

And the Elisp manual, node Syntax Class Table says this, about syntax
class punctuation:

  Some programming language modes, such as Emacs Lisp mode, have no
  characters in this class since the few characters that are not symbol
  or word constituents all have other uses.

What gives?  Is there a doc bug?  Should the syntax class be
symbol-constituent?  Are things as they should be (in which case, can
the doc be clarified, as this seems confusing)?


In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=3D/c/usr --host=3Di686-pc-mingw32'





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-24 14:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-23 22:32 bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent Drew Adams
2016-08-23 22:46 ` Drew Adams
2016-08-23 22:56   ` Drew Adams
2016-08-24  2:42     ` Eli Zaretskii
2016-08-24  6:58       ` Andreas Schwab
2016-08-24 14:19         ` Eli Zaretskii
     [not found]       ` <<87inuqfyba.fsf@linux-m68k.org>
     [not found]         ` <<8337lufdvn.fsf@gnu.org>
2016-08-24 14:25           ` Drew Adams
2016-08-24  0:29 ` npostavs
2016-08-24  1:52   ` Drew Adams
2016-08-24  1:59     ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).