unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25432: U+3001 IDEOGRAPHIC COMMA is punctuation
@ 2017-01-13  0:05 積丹尼 Dan Jacobson
  2017-01-13  8:32 ` Eli Zaretskii
  2019-09-29  3:37 ` Stefan Kangas
  0 siblings, 2 replies; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2017-01-13  0:05 UTC (permalink / raw)
  To: 25432

M-/ (translated from <escape> /) runs the command dabbrev-expand

But when I do ESC / here,

阿G信> 想向您請教,新北市消防局 北海頻率、Talkgroup、顏色碼、slot

至於 Talkg<ESC />

I get
Scanning for dabbrevs...done
user-error: No dynamic expansion for ‘Talkg’ found

That's because "、" is not being treated like a (type of a) comma as it
should.

Same problem with
,bla
。bla
b<ESC />
below them should give bla.
I bet there's more broken too.





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

* bug#25432: U+3001 IDEOGRAPHIC COMMA is punctuation
  2017-01-13  0:05 bug#25432: U+3001 IDEOGRAPHIC COMMA is punctuation 積丹尼 Dan Jacobson
@ 2017-01-13  8:32 ` Eli Zaretskii
  2019-09-29  3:37 ` Stefan Kangas
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2017-01-13  8:32 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 25432

> From: 積丹尼 Dan Jacobson
> 	<jidanni@jidanni.org>
> Date: Fri, 13 Jan 2017 08:05:12 +0800
> 
> M-/ (translated from <escape> /) runs the command dabbrev-expand
> 
> But when I do ESC / here,
> 
> 阿G信> 想向您請教,新北市消防局 北海頻率、Talkgroup、顏色碼、slot
> 
> 至於 Talkg<ESC />
> 
> I get
> Scanning for dabbrevs...done
> user-error: No dynamic expansion for ‘Talkg’ found
> 
> That's because "、" is not being treated like a (type of a) comma as it
> should.

No, that's because by default M-/ searches for symbol-constituent
characters, and 、 can be part of a symbol.  If you don't like that,
customize dabbrev-abbrev-char-regexp to just "\\sw".

IOW, this is a feature: Emacs is primarily a programmer's editor, so
its defaults are supposed to be tuned for that.





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

* bug#25432: U+3001 IDEOGRAPHIC COMMA is punctuation
  2017-01-13  0:05 bug#25432: U+3001 IDEOGRAPHIC COMMA is punctuation 積丹尼 Dan Jacobson
  2017-01-13  8:32 ` Eli Zaretskii
@ 2019-09-29  3:37 ` Stefan Kangas
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2019-09-29  3:37 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 25432, 積丹尼 Dan Jacobson

tags 25432 + wontfix
close 25432
quit

Eli Zaretskii <eliz@gnu.org> writes:

>> From: 積丹尼 Dan Jacobson
>>     <jidanni@jidanni.org>
>> Date: Fri, 13 Jan 2017 08:05:12 +0800
>>
>> M-/ (translated from <escape> /) runs the command dabbrev-expand
>>
>> But when I do ESC / here,
>>
>> 阿G信> 想向您請教,新北市消防局 北海頻率、Talkgroup、顏色碼、slot
>>
>> 至於 Talkg<ESC />
>>
>> I get
>> Scanning for dabbrevs...done
>> user-error: No dynamic expansion for ‘Talkg’ found
>>
>> That's because "、" is not being treated like a (type of a) comma as it
>> should.
>
> No, that's because by default M-/ searches for symbol-constituent
> characters, and 、 can be part of a symbol.  If you don't like that,
> customize dabbrev-abbrev-char-regexp to just "\\sw".
>
> IOW, this is a feature: Emacs is primarily a programmer's editor, so
> its defaults are supposed to be tuned for that.

According to the above explanation, this is the desired behaviour.  I'm
consequently closing this as wontfix.

Best regards,
Stefan Kangas





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

end of thread, other threads:[~2019-09-29  3:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-13  0:05 bug#25432: U+3001 IDEOGRAPHIC COMMA is punctuation 積丹尼 Dan Jacobson
2017-01-13  8:32 ` Eli Zaretskii
2019-09-29  3:37 ` Stefan Kangas

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).