GNU bug report logs - #15014
24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction

Previous Next

Package: emacs;

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 #8 received at 15014 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Barry OReilly <gundaetiapo <at> gmail.com>
Cc: 15014 <at> debbugs.gnu.org
Subject: Re: bug#15014: 24.3.50;
 In text-mode, incorrect forward-sexp causes delete-pair malfunction
Date: Fri, 02 Aug 2013 21:23:44 -0400
> 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.

In text-mode, double-quotes are not considered as pair-delimiters, so
the behavior is "the expected one".  E.g. point stops after the second
`o', because the sexp it skipped is the symbol `foo' and the " are
considered as irrelevant punctuation.

So, IIUC you're arguing for marking " as having paired-delimiter syntax,
as is the case in most programming modes.


        Stefan




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.