unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5588: 23.1.50; C-M-d inside string in Lisp mode gets me out of string into unrelated sexp
@ 2010-02-17  9:17 Tobias C. Rittweiler
  2010-02-18  0:44 ` Glenn Morris
  2022-05-06 19:12 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: Tobias C. Rittweiler @ 2010-02-17  9:17 UTC (permalink / raw)
  To: 5588


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







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

* bug#5588: 23.1.50; C-M-d inside string in Lisp mode gets me out of string into unrelated sexp
  2010-02-17  9:17 bug#5588: 23.1.50; C-M-d inside string in Lisp mode gets me out of string into unrelated sexp Tobias C. Rittweiler
@ 2010-02-18  0:44 ` Glenn Morris
  2010-02-18  9:58   ` Andreas Röhler
  2022-05-06 19:12 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2010-02-18  0:44 UTC (permalink / raw)
  To: Tobias C. Rittweiler; +Cc: 5588

forcemerge 3416 5588
stop

"Tobias C. Rittweiler" wrote:

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

As pointed out in http://debbugs.gnu.org/3416#10,
C-h f down-list says:

  This command assumes point is not in a string or comment.






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

* bug#5588: 23.1.50; C-M-d inside string in Lisp mode gets me out of string into unrelated sexp
  2010-02-18  0:44 ` Glenn Morris
@ 2010-02-18  9:58   ` Andreas Röhler
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Röhler @ 2010-02-18  9:58 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Tobias C. Rittweiler, 5588

Glenn Morris wrote:
> forcemerge 3416 5588
> stop
> 
> "Tobias C. Rittweiler" wrote:
> 
>> Move point inside the string "foo", and press C-M-d.
> 
> As pointed out in http://debbugs.gnu.org/3416#10,
> C-h f down-list says:
> 
>   This command assumes point is not in a string or comment.
> 
> 
> 
> 
> 

Nonetheless, from a users view, think it's a major inconvenience.
Would qualify it as a bug mentioned in the docu.

Suggest leaving this report open, until someone cures it.

Andreas






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

* bug#5588: 23.1.50; C-M-d inside string in Lisp mode gets me out of string into unrelated sexp
  2010-02-17  9:17 bug#5588: 23.1.50; C-M-d inside string in Lisp mode gets me out of string into unrelated sexp Tobias C. Rittweiler
  2010-02-18  0:44 ` Glenn Morris
@ 2022-05-06 19:12 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-06 19:12 UTC (permalink / raw)
  To: Tobias C. Rittweiler; +Cc: 5588

"Tobias C. Rittweiler" <tcr@freebits.de> writes:

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

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I've now made the command signal an error in Emacs 29 in these cases.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2022-05-06 19:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17  9:17 bug#5588: 23.1.50; C-M-d inside string in Lisp mode gets me out of string into unrelated sexp Tobias C. Rittweiler
2010-02-18  0:44 ` Glenn Morris
2010-02-18  9:58   ` Andreas Röhler
2022-05-06 19:12 ` Lars Ingebrigtsen

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