GNU bug report logs -
#15014
24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction
Previous Next
Reported by: Barry OReilly <gundaetiapo <at> gmail.com>
Date: Fri, 2 Aug 2013 22:16:02 UTC
Severity: minor
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Barry OReilly <gundaetiapo <at> gmail.com> writes:
> In a file with text-mode, try forward-sexp across a double quoted
> string: "foo". Unlike in programming modes, point goes before the
> closing double quote instead of after.
>
> A consequence of this is that delete-pair on
>
> "foo"
>
> results in
>
> fo"
>
> instead of
>
> foo
>
> as expected.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
When I try this in Emacs 28, I get:
delete-pair: Not before matching pair
Which is the expected behaviour, since " isn't paired in text modes. So
it seems like this has been fixed in the eight years since you reported
it (although not in the way you requested -- but we're not going to make
" a paired delimited in text modes by default, because that'd be pretty
confusing, I think), so I'm closing this bug report. If there's more to
be worked on here, please respond to the debbugs address and we'll
reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 254 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.