GNU bug report logs -
#239
23.0.60; \ is considered whitespace syntax in Lisp mode?
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 239 in the body.
You can then email your comments to 239 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#239
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Drew Adams" <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
emacs -Q
In *scratch*, type a backslash followed by a TAB and a letter:
\ b
Put the cursor on the letter.
M-: (skip-syntax-backward "\\s-")
The cursor is on the backslash. IOW, it skipped not only the
whitespace but also the \, which should have escape syntax.
This is the first time I've noticed this, so I'm guessing there is a
good explanation and this behavior is somehow correct. But looking at
the Elisp manual, I don't get that impression. Willing to learn...
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-05-04 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#239
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Drew Adams wrote:
> emacs -Q
> In *scratch*, type a backslash followed by a TAB and a letter:
>
> \ b
>
> Put the cursor on the letter.
> M-: (skip-syntax-backward "\\s-")
>
> The cursor is on the backslash. IOW, it skipped not only the
> whitespace but also the \, which should have escape syntax.
>
> This is the first time I've noticed this, so I'm guessing there is a
> good explanation and this behavior is somehow correct. But looking at
> the Elisp manual, I don't get that impression. Willing to learn...
The SYNTAX argument to skip-syntax-forward and -backward is not a
regexp.
The argument in the example above means to skip any character with any
of 3 syntax classes:
\ escape
s [not a valid syntax class]
- whitespace
--
Kevin Rodgers
Denver, Colorado, USA
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#239
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Drew Adams" <drew.adams <at> oracle.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #15 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
> The SYNTAX argument to skip-syntax-forward and -backward is not a
> regexp.
>
> The argument in the example above means to skip any character with any
> of 3 syntax classes:
> \ escape
> s [not a valid syntax class]
> - whitespace
Yes, someone else already pointed that out.
Thanks.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#239
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Drew Adams" <drew.adams <at> oracle.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
bug closed, send any further explanations to "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Tue, 01 Jul 2008 01:05:06 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Tue, 29 Jul 2008 14:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 17 years and 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.