all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 24295@debbugs.gnu.org
Subject: bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
Date: Tue, 23 Aug 2016 15:32:36 -0700 (PDT)	[thread overview]
Message-ID: <db753033-1fc9-4311-94e8-a68a61cf1618@default> (raw)


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'





             reply	other threads:[~2016-08-23 22:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23 22:32 Drew Adams [this message]
2016-08-23 22:46 ` 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: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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db753033-1fc9-4311-94e8-a68a61cf1618@default \
    --to=drew.adams@oracle.com \
    --cc=24295@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.