all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 23.0.60; \ is considered whitespace syntax in Lisp mode?
@ 2008-05-14  3:33 Drew Adams
  2008-05-14  6:47 ` Johan Bockgård
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2008-05-14  3:33 UTC (permalink / raw
  To: emacs-pretest-bug

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'
 





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

* Re: 23.0.60; \ is considered whitespace syntax in Lisp mode?
  2008-05-14  3:33 23.0.60; \ is considered whitespace syntax in Lisp mode? Drew Adams
@ 2008-05-14  6:47 ` Johan Bockgård
  2008-05-14 13:12   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2008-05-14  6:47 UTC (permalink / raw
  To: emacs-devel; +Cc: emacs-pretest-bug

"Drew Adams" <drew.adams@oracle.com> writes:

> 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.

"Move point backward across chars in specified syntax classes.  SYNTAX
is a string of syntax code characters. [...]"

-- 
Johan Bockgård





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

* RE: 23.0.60; \ is considered whitespace syntax in Lisp mode?
  2008-05-14  6:47 ` Johan Bockgård
@ 2008-05-14 13:12   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2008-05-14 13:12 UTC (permalink / raw
  To: 'Johan "Bockgård"', emacs-devel; +Cc: emacs-pretest-bug

> > 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.
> 
> "Move point backward across chars in specified syntax classes.  SYNTAX
> is a string of syntax code characters. [...]"

Oops. Thx.





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

end of thread, other threads:[~2008-05-14 13:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14  3:33 23.0.60; \ is considered whitespace syntax in Lisp mode? Drew Adams
2008-05-14  6:47 ` Johan Bockgård
2008-05-14 13:12   ` 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.