From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Matthew X. Economou" Newsgroups: gmane.emacs.bugs Subject: transpose-sexps doesn't transpose character literals and symbols properly in lisp-mode Date: 12 Oct 2002 14:27:10 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034447268 17154 127.0.0.1 (12 Oct 2002 18:27:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 12 Oct 2002 18:27:48 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 180QzK-0004SY-00 for ; Sat, 12 Oct 2002 20:27:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 180Qzl-0005E7-00; Sat, 12 Oct 2002 14:28:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 180Qyr-0004gl-00 for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2002 14:27:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 180Qyo-0004eN-00 for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2002 14:27:15 -0400 Original-Received: from rrcs-central-24-123-13-50.biz.rr.com ([24.123.13.50] helo=eco-fs1.irtnog.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 180Qyo-0004eJ-00 for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2002 14:27:14 -0400 Original-Received: (from xenophon@localhost) by eco-fs1.irtnog.org (8.11.6/8.11.6) id g9CIRB911442; Sat, 12 Oct 2002 14:27:11 -0400 Original-To: bug-gnu-emacs@gnu.org Original-Lines: 69 X-yow: I will establish the first SHOPPING MALL in NUTLEY, New Jersey... X-Attribution: MXE X-Home-URL: http://web.irtnog.org/~xenophon/ X-PGP-Key-URL: http://web.irtnog.org/~xenophon/pgpkey.asc X-PGP-Key-ID: Length=1024; ID=0x783808AD; Fprint="02 06 2A 97 1C E9 CA B0 B1 42 5B 7D 4B 01 C8 C4" X-Message-Flag: Message text blocked: ADULT LANGUAGE/SITUATIONS Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3690 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3690 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 "#\<>" 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 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 C-x 4 b C-s l i s p C-s C o m m o n SPC L M-< C-x k 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 - 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.]