unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 20707@debbugs.gnu.org
Subject: bug#20707: [PROPOSED PATCH] Use curved quoting in C-generated errors
Date: Tue, 2 Jun 2015 11:56:01 +0000	[thread overview]
Message-ID: <20150602115600.GA3468@acm.fritz.box> (raw)
In-Reply-To: <556CA97C.8070807@cs.ucla.edu>

Hello again, Paul.

On Mon, Jun 01, 2015 at 11:50:36AM -0700, Paul Eggert wrote:
> On 06/01/2015 10:17 AM, Alan Mackenzie wrote:
> > how do you type that left curly quote.

> In the new Electric Quote minor mode you can type just ` for the typical 
> case.  Outside Electric Quote, you can type C-x 8 ` (or A-` if your Alt 
> key is working).  Except for A-` this all should work on any keyboard.  
> You don't need to memorize a 4 digit hex value (I can never remember it 
> myself).

Yes, that's fine.  It's only marginally more difficult to type this
within Emacs than for other self-inserting characters, though this
difference prevents these curly-quotes from being first class characters.

What I really meant with my question is how do you type curly characters
when outwith Emacs?  Say, inside of less, or at a bash shell prompt, or
in any of numerous other tools one might wish to use?

The only answer I can conceive of involves the enhancing of keyboard
layouts.  That's several hours of work.

> >  However, searching for the ASCII back tick (correctly) fails to find 
> > it. This is disconcerting.

> It may be disconcerting at first, but it's easy to get used to and it 
> has advantages, e.g., it provides finer-grained control over searching.  
> Where I want to find a left single quote of either style, I can do a 
> regexp search for "[`‘]" but in interactive usage this is rare, at least 
> for me.

But it's yet another trivial annoyance that one has to heep onto all the
other y-a-t-as we have to cope with every day.

> > I use the Linux virtual terminal: $TERM = linux consolefont="lat1-16" 
> > It doesn't handle UTF-8, because I never put in the effort to make it 
> > do so.

> According to <https://wiki.gentoo.org/wiki/UTF-8#The_system_console> it 
> should work if you have sys-apps/baselayout 
> <http://packages.gentoo.org/package/sys-apps/baselayout> 1.11.9 or 
> higher installed, have unicode="yes" in /etc/rc.conf, and specify e.g. 
> keymap="uk" in /etc/conf.d/keymaps.  The console font lat9w-16 seems to 
> be reasonably popular, so you might try that. UTF-8 works out of the box 
> in Ubuntu and Fedora on the system console; I don't use Gentoo but it 
> shouldn't be a lot of trouble to get it to work there too.

<Sigh>.  I've had a look at these instructions.  There's a lot of glib
handwaving on them, like "Do <this> and read the comments".  There's not
a recipe on that page, for the simple reason that the process is too
complicated.  It says nothing about, for example, what consoletranslation
or unicodemap to select, whatever these things might be.  It gives a font
which "seems to be reasonably popular", without saying anything about it:
which characters it displays, for example.  I'm not familiar with font
manipulating software; I'd have to find some.

Yes, all these things are doable - I've done them before, and it took
several days (I kept notes).  Maybe it would only take several hours this
time.

But I come back to the point.  Why start using these curly characters at
all?  I put it to you you're fixing what isn't broken.  One of Emacs's
strong points has always been its working in pretty much any environment.
You're going to slightly improve what these things look like in some
display environments at the cost of slight inconvenience all round.  What
we currently have works, works well, and has done for decades.

-- 
Alan Mackenzie (Nuremberg, Germany).





  reply	other threads:[~2015-06-02 11:56 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01  7:39 bug#20707: [PROPOSED PATCH] Use curved quoting in C-generated errors Paul Eggert
     [not found] ` <mailman.4052.1433144480.904.bug-gnu-emacs@gnu.org>
2015-06-01 10:49   ` Alan Mackenzie
2015-06-01 16:01     ` Paul Eggert
2015-06-01 17:17       ` Alan Mackenzie
2015-06-01 18:50         ` Paul Eggert
2015-06-02 11:56           ` Alan Mackenzie [this message]
2015-06-02 13:25             ` Drew Adams
2015-06-02 15:39             ` Paul Eggert
2015-06-02 15:51               ` Dmitry Gutov
2015-06-02 20:05                 ` Paul Eggert
2015-06-02 17:07               ` Alan Mackenzie
2015-06-02 20:44                 ` Alan Mackenzie
2015-06-04 15:43                   ` Paul Eggert
2015-06-06 15:54                     ` Alan Mackenzie
2015-06-06 18:11                       ` Paul Eggert
2015-06-06 20:50                         ` Alan Mackenzie
2015-06-07  0:09                           ` Paul Eggert
2015-06-08 17:18                             ` Alan Mackenzie
2015-06-09  6:53                               ` Paul Eggert
2015-06-09 13:34                                 ` Alan Mackenzie
2015-06-09 20:49                                   ` Paul Eggert
2015-06-09 22:46                                     ` Alan Mackenzie
2015-06-09 23:42                                       ` Paul Eggert
2015-06-10 13:39                                         ` Alan Mackenzie
2015-06-10 16:20                                           ` Paul Eggert
2015-06-10 17:39                                             ` Dmitry Gutov
2015-06-10 19:42                                               ` Paul Eggert
2015-06-10 19:17                                             ` Alan Mackenzie
2015-06-10 19:44                                               ` Paul Eggert
2015-06-11 19:06                                                 ` Alan Mackenzie
2015-06-12  2:41                                                   ` Paul Eggert
2015-06-12 11:25                                                     ` Alan Mackenzie
2015-06-12 23:46                                                       ` Paul Eggert
2015-06-13 11:54                                                         ` Alan Mackenzie
2015-06-13 17:54                                                           ` Paul Eggert
2015-06-07 13:17                       ` Wolfgang Jenkner
2015-06-09 16:58                         ` Alan Mackenzie
2015-06-02 23:26                 ` Paul Eggert
2015-06-01 14:34 ` Eli Zaretskii
2015-06-01 16:48   ` Glenn Morris
2015-06-01 17:55   ` Paul Eggert
2015-06-01 18:29     ` Eli Zaretskii
2015-06-01 21:13     ` Stefan Monnier
2015-06-09 19:44 ` Wolfgang Jenkner
2015-06-11 13:06 ` bug#20707: " Andy Moreton
2020-08-12 13:02 ` bug#20707: [PROPOSED PATCH] " 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

  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=20150602115600.GA3468@acm.fritz.box \
    --to=acm@muc.de \
    --cc=20707@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /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).