GNU bug report logs - #28395
26.0.50; Electric pair: remove following > on Backspace after <

Previous Next

Package: emacs;

Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>

Date: Sat, 9 Sep 2017 04:16:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 28395 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mohammed Sadiq <sadiq <at> sadiqpk.org>
Cc: 28395 <at> debbugs.gnu.org
Subject: Re: bug#28395: 26.0.50; Electric pair: remove following > on
 Backspace after <
Date: Mon, 15 Jul 2019 12:56:45 +0200
Mohammed Sadiq <sadiq <at> sadiqpk.org> 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




This bug report was last modified 5 years and 315 days ago.

Previous Next


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