unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44974: dabbrev-expand doesn't know wide commas are commas yet
@ 2020-12-01  0:30 積丹尼 Dan Jacobson
  2021-01-02 10:45 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-12-01  0:30 UTC (permalink / raw)
  To: 44974

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.

P.S., I didn't test any other wide punctuation, e.g.. "。", etc.

emacs-version "27.1"





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

* bug#44974: dabbrev-expand doesn't know wide commas are commas yet
       [not found] <20201201124424.GB95466@breton.holly.idiocy.org>
@ 2020-12-01 13:18 ` Alan Third
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Third @ 2020-12-01 13:18 UTC (permalink / raw)
  To: 44974, 積丹尼 Dan Jacobson

(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





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

* bug#44974: dabbrev-expand doesn't know wide commas are commas yet
  2020-12-01  0:30 bug#44974: dabbrev-expand doesn't know wide commas are commas yet 積丹尼 Dan Jacobson
@ 2021-01-02 10:45 ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2021-01-02 10:45 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 44974-done

> From: 積丹尼 Dan Jacobson
>  <jidanni@jidanni.org>
> Date: Tue, 01 Dec 2020 08:30:31 +0800
> 
> 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.

This is now fixed on the master branch.

> P.S., I didn't test any other wide punctuation, e.g.. "。", etc.

I did.





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

end of thread, other threads:[~2021-01-02 10:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01  0:30 bug#44974: dabbrev-expand doesn't know wide commas are commas yet 積丹尼 Dan Jacobson
2021-01-02 10:45 ` Eli Zaretskii
     [not found] <20201201124424.GB95466@breton.holly.idiocy.org>
2020-12-01 13:18 ` Alan Third

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).