GNU bug report logs - #49214
dabbrev-expand vs. : vs. :

Previous Next

Package: emacs;

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

Date: Thu, 24 Jun 2021 19:32:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 49214 <at> debbugs.gnu.org
Subject: Re: bug#49214: dabbrev-expand vs. : vs. :
Date: Thu, 24 Jun 2021 21:43:52 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> 1. 名:laura <at> nurdsboro.org
> 2. 名:ralph <at> nurdsboro.org

The problem here is:

(string-match "^\\sw" ":foo")
0

(string-match "^\\sw" ":foo")
nil

That is, : is word-constituent.  I'm not sure whether it's reasonable
for dabbrev to use \\sw as the regexp here, but it can be controlled by
setting `dabbrev-abbrev-char-regexp' to something else.

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




This bug report was last modified 3 years and 333 days ago.

Previous Next


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