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

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

bug#28395: 26.0.50; Electric pair: remove following > on Backspace after


From: Lars Ingebrigtsen
Subject: bug#28395: 26.0.50; Electric pair: remove following > on Backspace after <
Date: Mon, 15 Jul 2019 12:56:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Mohammed Sadiq <address@hidden> writes:

> In c-mode (and may be in derived modes too) it would be nice if
> electric-pair-mode removes following '>' (if any) on deleting '<' with
> backspace by default.
>
> Say for example, in the following code (| is the `point'):
>     #include <|>
>
> a backspace would result in:
>     #include |

I think this sounds like it would be very difficult to get right without
too many false positives...  and it seems beyond the remit of this
mode.  I mean, the mode doesn't even do this for normal parenthesis.

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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