[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-p
From: |
Stefan Monnier |
Subject: |
bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction |
Date: |
Fri, 02 Aug 2013 21:23:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> 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