GNU bug report logs - #56496
28.1; add-abbrev should respect active region

Previous Next

Package: emacs;

Reported by: Howard Melman <hmelman <at> gmail.com>

Date: Mon, 11 Jul 2022 12:45:01 UTC

Severity: normal

Found in version 28.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Howard Melman <hmelman <at> gmail.com>
Cc: 56496 <at> debbugs.gnu.org
Subject: bug#56496: 28.1; add-abbrev should respect active region
Date: Mon, 11 Jul 2022 15:34:18 +0200
Howard Melman <hmelman <at> 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




This bug report was last modified 2 years and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.