all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#64518: 29.0.92; outline-mode sexp movement commands don't follow outline structure
@ 2023-07-07 16:21 Spencer Baugh
  2023-07-07 18:19 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Spencer Baugh @ 2023-07-07 16:21 UTC (permalink / raw)
  To: 64518


This is more of a feature request.

Functions like C-M-f (forward-sexp) and C-M-SPC (mark-sexp) are supposed
to be configured by individual modes to behave in a way appropriate for
that mode.  But outline-mode does not do this.

For example, C-M-b/C-M-f ({backward,forward}-sexp) could behave like
outline-{backward,forward}-same-level, since that's analogous to how
they behave in Lisp.  C-M-SPC could behave like outline-mark-subtree.
C-M-u could back out of the current heading, up to the next level, lke
outline-up-heading.  And so on.

Since these are the standard Emacs structured editing commands, it would
be good for outline-mode to customize them to have the correct
"structured" behavior.  (Probably behind some defcustom, since this
would be a behavior change)

Right now they are much less useful than they could otherwise be...





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

end of thread, other threads:[~2023-09-07 21:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-07 16:21 bug#64518: 29.0.92; outline-mode sexp movement commands don't follow outline structure Spencer Baugh
2023-07-07 18:19 ` Eli Zaretskii
2023-09-07 21:32   ` Stefan Kangas

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.