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
Message #17 received at 15014 <at> debbugs.gnu.org (full text, mbox):
> You mean "to this user"
Oh, I'm the only user who thinks this is wrong behavior for
forward-sexp and delete-pair?
> I do expect that most programmers will use " in text-mode in ways
> that behave well when treated as string delimiters, so that might be
> a good option in general, but if some text contains a non-matched "
> the behavior tends to be pretty annoying, so I'm not sure it's a
> safe enough change.
I'm not arguing here that we font lock double quoted strings (though
I'm not convinced either). Without font locking, I can't think of a
concrete case that yields the "pretty annoying behavior". What do you
have in mind?
I added
(modify-syntax-entry ?\" "$")
to my configuration and find that forward-sexp and delete-pair seem to
work without confusion, even in the presence of odd double quotes. It
seems forward-sexp just scans forward from point.
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.