From: Lars Ingebrigtsen <larsi@gnus.org>
To: Barry OReilly <gundaetiapo@gmail.com>
Cc: 15014@debbugs.gnu.org
Subject: bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction
Date: Mon, 06 Sep 2021 12:04:56 +0200 [thread overview]
Message-ID: <87sfyiggtz.fsf@gnus.org> (raw)
In-Reply-To: <CAFM41H0s-=T=FyiZGsZXJt8cmKzZijqwydNu1V8xFDCJqS1gBQ@mail.gmail.com> (Barry OReilly's message of "Fri, 2 Aug 2013 18:15:39 -0400")
Barry OReilly <gundaetiapo@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
prev parent reply other threads:[~2021-09-06 10:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 22:15 bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction Barry OReilly
2013-08-03 1:23 ` Stefan Monnier
2013-08-03 17:01 ` Barry OReilly
2013-08-04 21:17 ` Stefan Monnier
2013-08-05 14:15 ` Barry OReilly
2021-09-06 10:04 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfyiggtz.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=15014@debbugs.gnu.org \
--cc=gundaetiapo@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.