Subject: bug#5588: 23.1.50; C-M-d inside string in Lisp mode gets me out of string into unrelated sexp

From: "Tobias C. Rittweiler" <[email-masked]>
Date: Wed, 17 Feb 2010 10:17:52 +0100

In a .el, or .lisp file with content

  (frob "foo")

  (bar
    ;; Like "Invoking
    ;; external command".
    (quux))

Move point inside the string "foo", and press C-M-d.

Emacs will move point to (|quux.

In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2009-11-23 on thaleron
Windowing system distributor `The X.Org Foundation', version 11.0.10604000
configured using `configure  '--prefix=/home/tcr/software/emacs-cvs/' '--with-x-toolkit=gtk' '--without-xpm''

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: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  diff-auto-refine-mode: t
  gnus-topic-mode: t
  gnus-undo-mode: t
  global-whitespace-mode: t
  icomplete-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<backspace> <backspace> <backspace> ' l l SPC p r o 
b a b l y SPC l e a v e SPC i t SPC a s SPC i s . C-c 
C-c q <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <down> <return> q g <up> <up> <up> <return> 
E q <down> <return> <return> q <down> <down> <down> 
<down> <down> <down> <down> <return> M-> <return> q 
<return> M-> q <up> <up> <up> <return> d d <return> 
d d q <up> <up> <return> q <up> <up> <up> <return> 
<return> q <up> <up> <up> <return> d d d d d d <return> 
d <return> <up> <return> <down> <return> d d d d q 
<down> <down> <return> q <up> <up> <return> <down> 
<down> <up> <up> <return> <down> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <down> <return> <down> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <help-echo> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <down-mouse-1> 
<mouse-1> <down-mouse-4> <mouse-4> <double-down-mouse-4> 
<double-mouse-4> <down-mouse-4> <mouse-4> <down-mouse-4> 
<mouse-4> <down-mouse-4> <mouse-4> <down-mouse-4> <mouse-4> 
<help-echo> <down-mouse-1> <mouse-1> ^ ^ ^ <help-echo> 
<help-echo> <down-mouse-1> <mouse-1> <help-echo> <down> 
<down> <down> M-u / o 1 0 <return> M-> <return> q g 
<up> <up> <up> <up> <up> <return> E d q <down> <down> 
<down> <down> <down> <return> M-> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
q M-x e m a c s - v e r s <tab> <return> M-x e m a 
c s - b u g <tab> <M-backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> b u 
g <tab> <M-backspace> <M-backspace> r e p o r t - e 
m <tab> <return>

Recent messages:
No more articles
Expiring articles...done
Retrieving newsgroup: nntp+news.gmane.org:gmane.lisp.steel-bank.devel...
Fetching headers for nntp+news.gmane.org:gmane.lisp.steel-bank.devel...done
Generating summary...done
Mark set
End of message [4 times]
Auto-saving...done
GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-11-23 on thaleron
call-interactively: Text is read-only

Load-path shadows:
/home/tcr/software/emacs-cvs/share/emacs/23.1.50/lisp/subword hides /home/tcr/software/emacs-cvs/share/emacs/23.1.50/lisp/progmodes/subword
/home/tcr/.emacs.d/config/erc hides /home/tcr/software/emacs-cvs/share/emacs/23.1.50/lisp/erc/erc

Features:
(shadow emacsbug diff-mode mailalias smtpmail newcomment gnus-cite
ansi-color mail-extr gnus-bcklg sort gnus-async gnus-ml disp-table
gnus-topic parse-time timezone nnfolder utf-7 utf7 starttls nnimap imap
nnmaildir nndraft nnmh auth-source gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view
smime dig nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail
mail-source format-spec gnus-start gnus-spec gnus-int gnus-range message
sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies
mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums
mailabbrev gmm-utils mailheader canlock sha1 hex-util hashcash gnus-win
gnus gnus-ems nnheader gnus-util netrc time-date mail-utils mm-util
mail-prsvr eldoc paredit ielm color-theme-hober2 color-theme slime-asdf
slime-fancy slime-fontifying-fu slime-package-fu slime-references
slime-xref-browser tree-widget wid-edit slime-scratch
slime-presentations slime-highlight-edits slime-fuzzy
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
advice advice-preload slime-parse slime-repl slime byte-opt bytecomp
byte-compile regexp-opt derived apropos help-fns edmacro kmacro
easy-mmode hideshow easymenu pp comint hyperspec thingatpt browse-url cl
cl-19 whitespace fortune icomplete ffap winner ring tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces
cus-face text-properties overlay md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind system-font-setting font-render-setting gtk x-toolkit x
multi-tty emacs)

-- 
Diese Nachricht wurde auf Viren und andere gefaerliche Inhalte untersucht
und ist - aktuelle Virenscanner vorausgesetzt - sauber.
Freebits E-Mail Virus Scanner