all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* thing-at-point's meaning of current sexp vs. up-list's: which is correct?
@ 2013-06-12 13:23 Kelly Dean
  2013-06-12 14:35 ` Kelly Dean
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Kelly Dean @ 2013-06-12 13:23 UTC (permalink / raw)
  To: emacs-devel

If point is on a closing delimiter, then thing-at-point says the delimiter is part of the current sexp, but up-list says the delimiter is part of the sexp that contains the current sexp.
The result is that kill-backward-up-list, which assumes that thing-at-point and up-list have the same meaning for current sexp, fails when point is on a closing delimiter: type "((a))" and put point on the first closing parenthesis, then do kill-backward-up-list, and it reinserts the same sexp that it kills, leaving the text unchanged.
I'll file a bug report, but should I file it for thing-at-point, or for up-list? Surely not for kill-backward-up-list.




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

end of thread, other threads:[~2013-06-13 14:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-12 13:23 thing-at-point's meaning of current sexp vs. up-list's: which is correct? Kelly Dean
2013-06-12 14:35 ` Kelly Dean
2013-06-12 15:47 ` Davis Herring
2013-06-13  1:40   ` Kelly Dean
2013-06-13  7:49     ` Stephen Berman
2013-06-12 19:31 ` Stefan Monnier
2013-06-13  1:36   ` Kelly Dean
2013-06-13 14:13     ` Stefan Monnier

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.