bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35480: insert-wide-parentheses


From: Juri Linkov
Subject: bug#35480: insert-wide-parentheses
Date: Sun, 05 May 2019 22:34:20 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]