all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry OReilly <gundaetiapo@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 15014@debbugs.gnu.org
Subject: bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction
Date: Mon, 5 Aug 2013 10:15:14 -0400	[thread overview]
Message-ID: <CAFM41H1TLBr=aBzCeGLbAhFp91AM3GkP2PB+JMgvRfSU8CN_mg@mail.gmail.com> (raw)
In-Reply-To: <jwvr4e92m5s.fsf-monnier+emacs@gnu.org>

> 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.





  reply	other threads:[~2013-08-05 14:15 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 [this message]
2021-09-06 10:04 ` Lars Ingebrigtsen

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='CAFM41H1TLBr=aBzCeGLbAhFp91AM3GkP2PB+JMgvRfSU8CN_mg@mail.gmail.com' \
    --to=gundaetiapo@gmail.com \
    --cc=15014@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.