unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: transpose-sexps doesn't transpose character literals and symbols properly in lisp-mode
       [not found] <w4o7kgnh5s1.fsf@eco-fs1.irtnog.org>
@ 2002-10-13 22:47 ` Richard Stallman
  2002-10-14  4:46   ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2002-10-13 22:47 UTC (permalink / raw)
  Cc: emacs-devel

	(char= #\0 c)
		  ^the cursor is here before pressing M-C-t

	(char= #\c 0)
		  ^the entire expression #\0 should have been swapped

The problem is actually in forward-sexp, as we can demonstrate
by typing C-M-b instead of C-M-t.  Unfortunately that makes
it rather hard to fix.  However, I am a little surprised that
it doesn't understand backslash--it used to.

Stefan, might you be interested in looking at this?

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

* Re: transpose-sexps doesn't transpose character literals and symbols properly in lisp-mode
  2002-10-13 22:47 ` transpose-sexps doesn't transpose character literals and symbols properly in lisp-mode Richard Stallman
@ 2002-10-14  4:46   ` Stefan Monnier
  2002-10-14 23:30     ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2002-10-14  4:46 UTC (permalink / raw)
  Cc: xenophon, emacs-devel

> 	(char= #\0 c)
> 		  ^the cursor is here before pressing M-C-t
> 
> 	(char= #\c 0)
> 		  ^the entire expression #\0 should have been swapped
> 
> The problem is actually in forward-sexp, as we can demonstrate
> by typing C-M-b instead of C-M-t.  Unfortunately that makes
> it rather hard to fix.  However, I am a little surprised that
> it doesn't understand backslash--it used to.
> 
> Stefan, might you be interested in looking at this?

M-C-b worked correctly on #\dd but not on #\d (i.e. the treatment of
last-char-is-quoted was wrong).  It should be fixed now,


	Stefan

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

* Re: transpose-sexps doesn't transpose character literals and symbols properly in lisp-mode
  2002-10-14  4:46   ` Stefan Monnier
@ 2002-10-14 23:30     ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2002-10-14 23:30 UTC (permalink / raw)
  Cc: xenophon, emacs-devel

Thanks for fixing that.

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

end of thread, other threads:[~2002-10-14 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <w4o7kgnh5s1.fsf@eco-fs1.irtnog.org>
2002-10-13 22:47 ` transpose-sexps doesn't transpose character literals and symbols properly in lisp-mode Richard Stallman
2002-10-14  4:46   ` Stefan Monnier
2002-10-14 23:30     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).