GNU bug report logs - #35480
insert-wide-parentheses

Previous Next

Package: emacs;

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

Date: Sun, 28 Apr 2019 20:39:01 UTC

Severity: wishlist

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 35480 <at> debbugs.gnu.org
Subject: bug#35480: insert-wide-parentheses
Date: Tue, 30 Apr 2019 09:59:57 +0800
>>>>> "JL" == Juri Linkov <juri <at> linkov.net> writes:
>> 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.




This bug report was last modified 6 years and 15 days ago.

Previous Next


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