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


Message #65 received at 4136 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 4136 <at> debbugs.gnu.org, Eli Barzilay <eli <at> barzilay.org>
Subject: Re: bug#4136: 23.1; delete-pair
Date: Sun, 16 Aug 2009 02:03:12 +0300
>> 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'

I know, I know, after I fix this, you'll come up with another
test case like

         `foo bar'

;-)

-- 
Juri Linkov
http://www.jurta.org/emacs/



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

Previous Next


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