all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#56496: 28.1; add-abbrev should respect active region
@ 2022-07-11 12:43 Howard Melman
  2022-07-11 13:34 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Howard Melman @ 2022-07-11 12:43 UTC (permalink / raw)
  To: 56496

add-mode-abbrev and add-global-abbrev use the text in the
buffer as the expansion and then prompt for an abbrev.  If
given a numeric argument it's used as the number of words to
use as the expansion or if 0 to use the region.

I think it would be nice if these commands respected an
active region and just used it without having to use a 0 arg.

-- 

Howard





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

* bug#56496: 28.1; add-abbrev should respect active region
  2022-07-11 12:43 bug#56496: 28.1; add-abbrev should respect active region Howard Melman
@ 2022-07-11 13:34 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-07-11 13:34 UTC (permalink / raw)
  To: Howard Melman; +Cc: 56496

Howard Melman <hmelman@gmail.com> writes:

> add-mode-abbrev and add-global-abbrev use the text in the
> buffer as the expansion and then prompt for an abbrev.  If
> given a numeric argument it's used as the number of words to
> use as the expansion or if 0 to use the region.
>
> I think it would be nice if these commands respected an
> active region and just used it without having to use a 0 arg.

Yup.  I've now fixed this in Emacs 29.

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





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

end of thread, other threads:[~2022-07-11 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-11 12:43 bug#56496: 28.1; add-abbrev should respect active region Howard Melman
2022-07-11 13:34 ` Lars Ingebrigtsen

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.