From: "Matthew X. Economou" <xenophon@irtnog.org>
Subject: transpose-sexps doesn't transpose character literals and symbols properly in lisp-mode
Date: 12 Oct 2002 14:27:10 -0400 [thread overview]
Message-ID: <w4o7kgnh5s1.fsf@eco-fs1.irtnog.org> (raw)
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.1.1 (i386-msvc-nt5.1.2600)
of 2001-10-22 on buffy
configured using `configure --with-msvc (12.00)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
In lisp-mode, with point between the "0" and "c" characters in the
following portion of code, the function transpose-sexps will only
transpose the "0" and "c" characters, not the "#\0" and "c"
expressions:
(char= #\0 c)
^the cursor is here before pressing M-C-t
(char= #\c 0)
^the entire expression #\0 should have been swapped
Elements of the form "#\<<symbol>>" are character literals in Common
Lisp. Note that movement commands forward-sexp and backward-sexp work
properly (that is, if point is before the text "#\0", pressing M-C-f
will position the point at the character immediately after the "0").
Recent input:
p a r t SPC n C-x C-s C-p C-p C-p C-p C-p <return>
M-( M-( a n d M-( n u l l SPC p a r t M-) M-( c h a
r = SPC c SPC # \ 0 C-M-b C-M-b C-M-t C-_ C-M-k C-M-b
C-y SPC C-f C-d C-x C-s C-h v C-g C-h v e m a c s -
v e r s <tab> <return> C-x 4 b <return> <menu-bar>
<help-menu> <emacs-problems> C-s l i s p <return> C-s
C o m m o n SPC L M-< C-x k <return> <menu-bar> <help-menu>
<report-emacs-bug>
Recent messages:
Undo!
Mark set
Wrote u:/src/address.lisp
setq: Quit
Loading pp...done
Type C-x 4 b RET to restore the other window. C-M-v to scroll the help.
Type C-h for help, h for commands, q to quit.
Mark saved where search started [2 times]
Mark set
Loading emacsbug...done
--
Matthew X. Economou <xenophon@irtnog.org> - Unsafe at any clock speed!
I'm proud of my Northern Tibetian heritage! (http://www.subgenius.com)
Max told his friend that he'd just as soon not go hiking in the hills.
Said he, "I'm an anti-climb Max." [So is that punchline.]
next reply other threads:[~2002-10-12 18:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-12 18:27 Matthew X. Economou [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=w4o7kgnh5s1.fsf@eco-fs1.irtnog.org \
--to=xenophon@irtnog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.