unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 13129@debbugs.gnu.org
Subject: bug#13129: 24.1; Please add curly single quotes to text-mode's syntax table as word components
Date: Tue, 11 Dec 2012 01:35:07 +0200	[thread overview]
Message-ID: <877gopeb10.fsf@mail.jurta.org> (raw)
In-Reply-To: <87r4myc3w4.fsf@sc3d.org> (Reuben Thomas's message of "Sun, 09 Dec 2012 21:27:39 +0000")

> Moving over words like “didn’t”, Emacs stops at the curly quote; it
> should treat it like a straight quote. (Tested also in the default
> branch of current Bazaar.)

`text-mode' does this for a straight quote in `text-mode-syntax-table':

    ;; We add `p' so that M-c on 'hello' leads to 'Hello' rather than 'hello'.
    (modify-syntax-entry ?' "w p" st)

Perhaps it could also define a word syntax for the curly quote.





  reply	other threads:[~2012-12-10 23:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-09 21:27 bug#13129: 24.1; Please add curly single quotes to text-mode's syntax table as word components Reuben Thomas
2012-12-10 23:35 ` Juri Linkov [this message]
2018-03-14  1:45   ` Noam Postavsky

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gopeb10.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=13129@debbugs.gnu.org \
    --cc=rrt@sc3d.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).