Subject: bug#35480: closed (Re: bug#35480: insert-wide-parentheses)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 05 May 2019 19:35:02 +0000

Your bug report

#35480: insert-wide-parentheses

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
35480: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35480
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#35480: insert-wide-parentheses
From: Juri Linkov <[email-masked]>
To: 積丹尼 Dan Jacobson <[email-masked]>
Cc: [email-masked]
Date: Sun, 05 May 2019 22:34:20 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

>>>> M-( is insert-parentheses, so
>>>> M-（ should be insert-wide-parentheses.
>>
>> JL> (define-key esc-map "（" 'insert-pair)
>> JL> (add-to-list 'insert-pair-alist '(?\（ ?\（ ?\）))
>>
>> OK but now it looks like
>> perl -C -wple 's/\d+/chr $&/eg;'
>> ((（ （ ）)
>>  (( ))
>>  ([ ])
>>  ({ })
>>  (< >)
>>  (" ")
>>  (' ')
>>  (` '))
>>
>> So I bet just
>>
>>    (add-to-list 'insert-pair-alist '(?\（ ?\）))
>>
>> is good enough. Anyways, I'm hoping the emacs authors will add this to
>> the defaults.
>>
>> In fact they need to add wide versions of all those current narrow items there.
>
> OK, this adds all Unicode pairs to the default:

Pushed to master and closed.

Subject: insert-wide-parentheses
From: 積丹尼 Dan Jacobson <[email-masked]>
To: [email-masked]
Date: Mon, 29 Apr 2019 04:38:10 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

M-( is insert-parentheses, so
M-（ should be insert-wide-parentheses.