GNU bug report logs - #4136
23.1; delete-pair

Previous Next

Package: emacs;

Reported by: Eli Barzilay <eli <at> barzilay.org>

Date: Thu, 13 Aug 2009 06:30:04 UTC

Severity: normal

Tags: fixed, moreinfo

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> jurta.org>
Cc: 4136 <at> debbugs.gnu.org, Eli Barzilay <eli <at> barzilay.org>
Subject: bug#4136: 23.1; delete-pair
Date: Sat, 15 Aug 2009 12:11:58 +0200
> This is fixed in the following version:
>
> (defun delete-pair ()
>   "Delete a pair of characters enclosing the sexp that follows point."
>   (interactive)
>   (save-excursion
>     (forward-sexp 1)
>     (save-excursion
>       (backward-sexp 1)
>       (skip-syntax-forward "'")
>       (delete-char 1))
>     (delete-char -1)))

Still doesn't seem TDTRT with `point' before something like

       `foo'

martin



This bug report was last modified 4 years and 181 days ago.

Previous Next


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