GNU bug report logs - #44974
dabbrev-expand doesn't know wide commas are commas yet

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 1 Dec 2020 00:31:02 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 44974 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: 44974 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#44974: dabbrev-expand doesn't know wide commas are commas yet
Date: Tue, 1 Dec 2020 13:18:52 +0000
(Sorry Dan, I imagine you keep getting emails from me. I changed email
supplier yesterday and am having some trouble sending to the GNU
mailing lists. Hopefully this will be the last one!)

On Tue, Dec 01, 2020 at 08:30:31AM +0800, 積丹尼 Dan Jacobson wrote:
> The command dabbrev-expand is bound to M-/.
> 
> It is great, except it needs to be updated, to know that
> "," is a comma, just like ",".
> 
> 哇,哈<ESC />
> a,bb<ESC />
> 
> Scanning for dabbrevs...done
> user-error: No dynamic expansion for ‘哇,哈’ found
> Scanning for dabbrevs...done
> user-error: No dynamic expansion for ‘bb’ found
> 
> Note how the latter doesn't have the "a," glued to it.
> 
> That means it is operating correctly. The former needs to be updated to
> act like the latter.

The wide comma is matched by '\s_', which matches "symbol
constituents". I guess it should perhaps be considered punctuation
instead.


-- 
Alan Third




This bug report was last modified 4 years and 194 days ago.

Previous Next


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