GNU bug report logs - #32149
27.0.50; [elisp manual] Incorrect quoting in "Syntax Table Functions"

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Fri, 13 Jul 2018 19:21:02 UTC

Severity: minor

Tags: notabug

Found in version 27.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32149 in the body.
You can then email your comments to 32149 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32149; Package emacs. (Fri, 13 Jul 2018 19:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Filipp Gunbin <fgunbin <at> fastmail.fm>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 13 Jul 2018 19:21:02 GMT) Full text and rfc822 format available.

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

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; [elisp manual] Incorrect quoting in "Syntax Table Functions"
Date: Fri, 13 Jul 2018 22:20:00 +0300
"(elisp) Syntax Table Functions":

[..]
     The following examples apply to C mode.  (We use ‘string’ to make
     it easier to see the character returned by ‘char-syntax’.)

          ;; Space characters have whitespace syntax class.
          (string (char-syntax ?\s))
               ⇒ " "
[..]

I guess that ‘string’ should be "string".


In GNU Emacs 27.0.50 (build 3, x86_64-apple-darwin17.6.0)
 of 2018-07-10 built on fgunbin.playteam.ru
Repository revision: c249e17324ddbb1ad34b510be3ad6ebd3248ba0c
System Description:  Mac OS X 10.13.5




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32149; Package emacs. (Fri, 13 Jul 2018 19:35:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Filipp Gunbin <fgunbin <at> fastmail.fm>
Cc: 32149 <at> debbugs.gnu.org
Subject: Re: bug#32149: 27.0.50;
 [elisp manual] Incorrect quoting in "Syntax Table Functions"
Date: Fri, 13 Jul 2018 22:34:26 +0300
> From: Filipp Gunbin <fgunbin <at> fastmail.fm>
> Date: Fri, 13 Jul 2018 22:20:00 +0300
> 
>      The following examples apply to C mode.  (We use ‘string’ to make
>      it easier to see the character returned by ‘char-syntax’.)
> 
>           ;; Space characters have whitespace syntax class.
>           (string (char-syntax ?\s))
>                ⇒ " "
> [..]
> 
> I guess that ‘string’ should be "string".

Why do you think so?  How is the use of "string" in the example
different from "char-syntax", about which you didn't complain?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32149; Package emacs. (Fri, 13 Jul 2018 20:40:02 GMT) Full text and rfc822 format available.

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

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32149 <at> debbugs.gnu.org
Subject: Re: bug#32149: 27.0.50;
 [elisp manual] Incorrect quoting in "Syntax Table Functions"
Date: Fri, 13 Jul 2018 23:39:28 +0300
tags 32149 notabug
close 32149
quit

On 13/07/2018 22:34 +0300, Eli Zaretskii wrote:

>> From: Filipp Gunbin <fgunbin <at> fastmail.fm>
>> Date: Fri, 13 Jul 2018 22:20:00 +0300
>>
>>      The following examples apply to C mode.  (We use ‘string’ to make
>>      it easier to see the character returned by ‘char-syntax’.)
>>
>>           ;; Space characters have whitespace syntax class.
>>           (string (char-syntax ?\s))
>>                ⇒ " "
>> [..]
>>
>> I guess that ‘string’ should be "string".
>
> Why do you think so?  How is the use of "string" in the example
> different from "char-syntax", about which you didn't complain?

Oops, sorry!  I thought that was an example of quoting used below, now I
realize it's a function name :-)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32149; Package emacs. (Sat, 14 Jul 2018 06:34:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Filipp Gunbin <fgunbin <at> fastmail.fm>
Cc: 32149 <at> debbugs.gnu.org
Subject: Re: bug#32149: 27.0.50;
 [elisp manual] Incorrect quoting in "Syntax Table Functions"
Date: Sat, 14 Jul 2018 09:33:36 +0300
> From: Filipp Gunbin <fgunbin <at> fastmail.fm>
> Cc: 32149 <at> debbugs.gnu.org
> Date: Fri, 13 Jul 2018 23:39:28 +0300
> 
> Oops, sorry!  I thought that was an example of quoting used below, now I
> realize it's a function name :-)

No worries.




Added tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 14 Jul 2018 16:07:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 32149 <at> debbugs.gnu.org and Filipp Gunbin <fgunbin <at> fastmail.fm> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 14 Jul 2018 16:07:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 12 Aug 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 314 days ago.

Previous Next


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