* 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
* bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
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 0:29 ` npostavs
1 sibling, 1 reply; 10+ messages in thread
From: Drew Adams @ 2016-08-23 22:46 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.
That certainly didn't paste well into my mail client, I guess.
The character in question is RIGHT SINGLE QUOTATION MARK. It showed
up in my message as =A1=AF, for some reason. Trying again (it _looks_
OK in my mail message, before I send it, at least):
’’’’’’’’’’’
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
2016-08-23 22:46 ` Drew Adams
@ 2016-08-23 22:56 ` Drew Adams
2016-08-24 2:42 ` Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: Drew Adams @ 2016-08-23 22:56 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.
>
> That certainly didn't paste well into my mail client, I guess.
>
> The character in question is RIGHT SINGLE QUOTATION MARK. It showed
> up in my message as =A1=AF, for some reason. Trying again (it _looks_
> OK in my mail message, before I send it, at least):
>
> ’’’’’’’’’’’
OK, that worked. What was the difference? La voici :
For the initial bug report, I used `C-c C-c' from `report-emacs-bug',
and then I used `C-v' in the popped up MS Outlook mail message window.
For the followup, I selected the char with the region in Emacs and
then used `C-v' in the MS Outlook mail message window. So it seems
like `report-emacs-bug' doesn't quite DTRT always.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
2016-08-23 22:56 ` Drew Adams
@ 2016-08-24 2:42 ` Eli Zaretskii
2016-08-24 6:58 ` Andreas Schwab
[not found] ` <<87inuqfyba.fsf@linux-m68k.org>
0 siblings, 2 replies; 10+ messages in thread
From: Eli Zaretskii @ 2016-08-24 2:42 UTC (permalink / raw)
To: Drew Adams; +Cc: 24295
> Date: Tue, 23 Aug 2016 15:56:39 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
>
> For the initial bug report, I used `C-c C-c' from `report-emacs-bug',
> and then I used `C-v' in the popped up MS Outlook mail message window.
>
> For the followup, I selected the char with the region in Emacs and
> then used `C-v' in the MS Outlook mail message window. So it seems
> like `report-emacs-bug' doesn't quite DTRT always.
It does DTRT: this is "quoted-printable" encoding of non-ASCII
characters. You already asked this several times in the past, and
received the same answer.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
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>
1 sibling, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2016-08-24 6:58 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 24295
On Aug 24 2016, Eli Zaretskii <eliz@gnu.org> wrote:
> It does DTRT: this is "quoted-printable" encoding of non-ASCII
> characters. You already asked this several times in the past, and
> received the same answer.
The message was quoted-unreadable encoded *twice*.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
2016-08-24 6:58 ` Andreas Schwab
@ 2016-08-24 14:19 ` Eli Zaretskii
0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2016-08-24 14:19 UTC (permalink / raw)
To: Andreas Schwab; +Cc: 24295
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Drew Adams <drew.adams@oracle.com>, 24295@debbugs.gnu.org
> Date: Wed, 24 Aug 2016 08:58:17 +0200
>
> On Aug 24 2016, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > It does DTRT: this is "quoted-printable" encoding of non-ASCII
> > characters. You already asked this several times in the past, and
> > received the same answer.
>
> The message was quoted-unreadable encoded *twice*.
I don't think we have any better choice, when the end-user uses
mailclient-send-it: we know nothing about how the MUA handles
non-ASCII characters.
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <<87inuqfyba.fsf@linux-m68k.org>]
* bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
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-24 0:29 ` npostavs
2016-08-24 1:52 ` Drew Adams
1 sibling, 1 reply; 10+ messages in thread
From: npostavs @ 2016-08-24 0:29 UTC (permalink / raw)
To: Drew Adams; +Cc: 24295
Drew Adams <drew.adams@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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
2016-08-24 0:29 ` npostavs
@ 2016-08-24 1:52 ` Drew Adams
2016-08-24 1:59 ` Drew Adams
0 siblings, 1 reply; 10+ messages in thread
From: Drew Adams @ 2016-08-24 1:52 UTC (permalink / raw)
To: npostavs; +Cc: 24295
> 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.
Silly me. Of course that's right.
Nevertheless, there seems to be a problem, but it is not what
I thought.
M-: (global-set-key (kbd "C-o") ’forward-char)
Debugger entered--Lisp error: (void-variable ’forward-char)
(global-set-key (kbd "C-o") ’forward-char)
eval((global-set-key (kbd "C-o") ’forward-char) nil)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#24295: 24.5; RIGHT SINGLE QUOTATION MARK has punctuation syntax in Elisp, but acts like a symbol constituent
2016-08-24 1:52 ` Drew Adams
@ 2016-08-24 1:59 ` Drew Adams
0 siblings, 0 replies; 10+ messages in thread
From: Drew Adams @ 2016-08-24 1:59 UTC (permalink / raw)
To: npostavs; +Cc: 24295
> M-: (global-set-key (kbd "C-o") ’forward-char)
>
> Debugger entered--Lisp error: (void-variable ’forward-char)
Well, I guess that's not a problem either. Pretty much anything
that is not a paren, quote, backquote, comma, or isolated period
will be taken as part of a symbol name here.
I'll close the bug, I guess.
^ 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 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.