all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Eli Zaretskii <eliz@gnu.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: text-quoting-style
Date: Mon, 31 Aug 2015 20:13:43 +0000	[thread overview]
Message-ID: <20150831201343.GB2280@acm.fritz.box> (raw)
In-Reply-To: <55E3F447.4050005@cs.ucla.edu>

Hello, Paul.

On Sun, Aug 30, 2015 at 11:29:27PM -0700, Paul Eggert wrote:
> Stefan Monnier wrote:
> > E.g. text-quoting-style doesn't prevent the existence of curly quotes in
> > Emacs, so for some interpretation of the above it's not sufficient.

> I think Alan was mainly annoyed by three things in the initial implementation of 
> curved quotes in docstrings.

> 1.  They didn't display well enough on his Linux kernel console to satisfy him.

> 2.  It's painful for him to search for strings containing curved quotes.

> 3.  When he copies from *Help* and/or *Message* buffers into other buffers, he 
> wants the copied text to be in grave style `like this' rather than in curve 
> style ‘like this’.


> Here's one possible alternative to ‘text-quoting-style’ to address these three 
> problems.

> (1) is fixed by using display tables to display curved quotes in grave style. 
> (This has already been implemented and no change should be needed here.)

No good.  Having different characters displayed from what's in the
buffer is a recipe for confusion, frustration, and anger.

> (2) is fixed by enabling character-fold-search.  This isn't the default yet, due 
> to a few problems with its implementation, but these should be fixable.

No it isn't.  character-fold-search violates the KISS principle,
certainly for me personally.  ASCII quotes and curly quotes are distinct
characters, and if I don't mind which one a search finds, I can put [`?]
into a regexp search.

> (3) could be fixed by transliterating quotes when they're yanked, if the user 
> sets a variable to do this transliteration.

I'm not sure how this could work.   Problem 3 doesn't concern me
personally, but it will definitely impact the generic user.

> This alternative would be superior to what we have now, because it would also 
> work for info files (which aren't handled by Emacs's current scheme).

What's wrong with `text-quoting-style'?  Why are you and Stefan so keen
to get rid of it?

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2015-08-31 20:13 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28  2:03 text-quoting-style Stefan Monnier
2015-08-28  5:22 ` text-quoting-style David Kastrup
2015-08-28  7:06 ` text-quoting-style Paul Eggert
2015-08-28  7:37   ` text-quoting-style Eli Zaretskii
2015-08-28  7:54     ` text-quoting-style Paul Eggert
2015-08-28  8:42       ` text-quoting-style Eli Zaretskii
2015-08-28 14:39         ` text-quoting-style Yuri Khan
2015-08-28 14:49           ` text-quoting-style Eli Zaretskii
2015-08-28 15:00         ` text-quoting-style Paul Eggert
2015-08-28 15:31           ` text-quoting-style Eli Zaretskii
2015-08-28 15:39             ` text-quoting-style Paul Eggert
2015-08-28 15:48               ` text-quoting-style Eli Zaretskii
2015-08-28  7:29 ` text-quoting-style Eli Zaretskii
2015-08-28 16:42   ` text-quoting-style Stefan Monnier
2015-08-28 17:25     ` text-quoting-style Alan Mackenzie
2015-08-28 17:48       ` text-quoting-style Paul Eggert
2015-08-28 18:28         ` text-quoting-style Alan Mackenzie
2015-08-29 14:54       ` text-quoting-style Stefan Monnier
2015-08-29 15:59         ` text-quoting-style Alan Mackenzie
2015-08-30  1:59           ` text-quoting-style Stefan Monnier
2015-08-30 13:16             ` text-quoting-style Alan Mackenzie
2015-08-31  1:30               ` text-quoting-style Stefan Monnier
2015-08-31  6:29                 ` text-quoting-style Paul Eggert
2015-08-31 20:13                   ` Alan Mackenzie [this message]
2015-08-31 21:29                     ` text-quoting-style Paul Eggert
2015-09-01 12:47                       ` text-quoting-style Alan Mackenzie
2015-09-01 16:27                         ` text-quoting-style Paul Eggert
2015-09-01 17:07                           ` text-quoting-style David Kastrup
2015-09-01 18:35                           ` text-quoting-style Alan Mackenzie
2015-09-01 23:58                             ` text-quoting-style Paul Eggert
2015-09-02  9:09                               ` text-quoting-style Alan Mackenzie
2015-09-02 15:13                                 ` text-quoting-style Paul Eggert
2015-09-01 18:44                           ` text-quoting-style Eli Zaretskii
2015-09-01 19:08                             ` text-quoting-style Paul Eggert
2015-09-01 13:46                       ` text-quoting-style David Kastrup
2015-09-01 16:28                         ` text-quoting-style Paul Eggert
2015-09-01 17:08                           ` text-quoting-style David Kastrup
2015-09-01 17:34                             ` text-quoting-style Paul Eggert
2015-09-01 18:30                               ` text-quoting-style David Kastrup
2015-09-02  0:07                                 ` text-quoting-style Paul Eggert
2015-09-02  0:27                                   ` text-quoting-style David Kastrup
2015-09-02 15:35                               ` text-quoting-style Richard Stallman
2015-08-31 20:01                 ` text-quoting-style Alan Mackenzie
2015-09-01  3:31                   ` text-quoting-style Stefan Monnier
2015-09-01  9:28                     ` text-quoting-style Dmitry Gutov
2015-09-01 10:53                       ` text-quoting-style Oleh Krehel
2015-09-01 13:03                     ` text-quoting-style Alan Mackenzie
2015-09-01 16:46                       ` text-quoting-style Stefan Monnier
2015-09-01 20:41                         ` text-quoting-style Bastien
2015-09-01 23:47                           ` text-quoting-style Paul Eggert
2015-09-02  0:18                             ` text-quoting-style David Kastrup
2015-09-02  0:35                               ` text-quoting-style Paul Eggert
2015-09-02  0:53                                 ` text-quoting-style David Kastrup
2015-09-02  6:57                             ` text-quoting-style Bastien
2015-09-02 15:17                               ` text-quoting-style Paul Eggert
2015-09-02 15:36                                 ` text-quoting-style Dmitry Gutov
2015-09-02 15:41                                 ` text-quoting-style Bastien Guerry
2015-09-01 22:55                     ` text-quoting-style Richard Stallman
2015-09-02  9:05                       ` text-quoting-style Alan Mackenzie
2015-08-31 16:10       ` text-quoting-style N. Jackson
2015-08-31 17:31         ` text-quoting-style Stefan Monnier
2015-09-02 19:34           ` text-quoting-style N. Jackson
2015-09-03 15:29             ` text-quoting-style raman
2015-08-31  6:15     ` text-quoting-style Paul Eggert

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=20150831201343.GB2280@acm.fritz.box \
    --to=acm@muc.de \
    --cc=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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.