emacs-erc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#42854: 26.1; ERC: erc-send-current-line does not expand global a


From: Lars Ingebrigtsen
Subject: Re: bug#42854: 26.1; ERC: erc-send-current-line does not expand global abbrevs
Date: Fri, 16 Oct 2020 17:38:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"Bradley M. Kuhn" <bkuhn@ebb.org> writes:

> erc-send-current-line does not expand abbrevs from the global abbrevs
> table.  In most modes, hitting <RET> at the end of a line will in fact
> expand the abbrev at the point, but hitting <RET> at the end of a line in an
> ERC buffer on an IRC channel (which, in ERC mode, is bound to
> erc-send-current-line) does not expand the abbrev.

I wondered whether there might be a problem here with surprising abbrev
expansions -- it's too late for the user to change the abbrev after
having hit RET, after all -- but I see what a bunch of modes work along
similar lines, so I've made RET in erc expand the final abbrev on the
list in Emacs 28.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]