unofficial mirror of emacs-devel@gnu.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>,
	ulm@gentoo.org, drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: quotation marks [was Re: TUTORIAL.de updated]
Date: Sun, 22 Jan 2012 10:22:16 +0000	[thread overview]
Message-ID: <20120122102215.GA3042@acm.acm> (raw)
In-Reply-To: <4F1BC20F.2010001@cs.ucla.edu>

Morning, Paul.

On Sun, Jan 22, 2012 at 12:00:15AM -0800, Paul Eggert wrote:
> On 01/21/2012 12:59 AM, Alan Mackenzie wrote:

> > Because fewer people are using tty environments (which is
> > basically what is meant here by "ASCII-only") ...

> No, by "ASCII-only" I meant displays that can display only ASCII.
> I use tty environments all the time, and they're never ASCII-only.

OK.

> > I have an ordinary Linux tty, currently running a Latin-1
> > character set....  I don't know how to do this, and finding out
> > is going to be a lot of work.

> It shouldn't be a lot of work.  I don't normally use the Linux
> console, but I looked into this problem and on my Ubuntu desktop
> the fix is simple:

>   export LC_ALL=en_US.utf8
>   setupcon

> After executing these two shell commands, I can see directed
> quotes ‘like this’ with no problem, both within Emacs and when
> catting to the terminal.  If it matters, I'm running Ubuntu 11.10
> x86 on a 5-year-old desktop.

> Does this approach work for you?

So far I've been at it about 1½ hours and got nowhere.  I tried setting
LC_ALL (to en_UK.utf8), but haven't got `setupcon'.  So I tried Gentoo's
way, 

    # /etc/init.d/consolefont restart

, no joy.  Then I grepped through Gentoo's repository index for setupcon,
finding nothing.  Then wikipedia - Nothing.  Then Google - Hah!  I found
a man page.  This talks about /etc/default/console-setup, yet gives no
pointer to a description of that file.

At this point I get the familiar feeling of being on a wild goose chase,
which happens about every time I need to configure something new on Linux
(thankfully, GNU is much easier).

So a reversion to logic - whatever utility I use to set the font, that
font must exist in /usr/share/consolefonts.  But the font I'm already
using, lat1-16.psfu.gz, allegedly "[has] a built-in Unicode mapping",
whatever that might be.  Yet I don't get the curly quotes displayed in
Emacs (or anywhere else).

> "It shouldn't be a lot of work."

Maybe not, but there can be a large gap between "shouldn't be" and "won't
be".

Maybe you could give a run through of a hypothetical sequence of steps a
tty user would go through to find out how to set up his console for this.

Up to now it's taken nearly 2 hours now to get absolutely nowhere.  Maybe
I'm unusually inept at this sort of thing, but I don't think so.  I had a
head start by virtue of your help, for which thanks, but that misses the
point, that it will be very strenuous for a normal tty user to get set up
to see these curly quotes.

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2012-01-22 10:22 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18 15:12 TUTORIAL.de updated Werner LEMBERG
2012-01-19  9:09 ` Martin
2012-01-19  9:37   ` Werner LEMBERG
2012-01-19 12:03     ` Eli Zaretskii
2012-01-19 13:02       ` Werner LEMBERG
2012-01-19 14:55         ` Stephen J. Turnbull
2012-01-19 16:24           ` Werner LEMBERG
2012-01-19 17:15         ` Eli Zaretskii
2012-01-20  5:00           ` Werner LEMBERG
2012-01-20  6:54             ` Eli Zaretskii
2012-01-19 15:52 ` Ulrich Mueller
2012-01-19 16:20   ` Werner LEMBERG
2012-01-19 16:41   ` quotation marks [was Re: TUTORIAL.de updated] Glenn Morris
2012-01-19 17:22     ` Drew Adams
2012-01-19 23:08       ` Paul Eggert
2012-01-20  3:02         ` Stephen J. Turnbull
2012-01-20  6:23           ` Paul Eggert
2012-01-20  6:48         ` Eli Zaretskii
2012-01-20  7:49         ` Alan Mackenzie
2012-01-20  8:45           ` Paul Eggert
2012-01-20  9:24             ` Eli Zaretskii
2012-01-20 22:17               ` Paul Eggert
2012-01-21  8:59                 ` Alan Mackenzie
2012-01-21 10:29                   ` Eli Zaretskii
2012-01-21 11:12                     ` Alan Mackenzie
2012-01-21 11:16                       ` Eli Zaretskii
2012-01-21 12:52                         ` Andreas Schwab
2012-01-22  3:27                           ` David De La Harpe Golden
2012-01-22  3:32                             ` David De La Harpe Golden
2012-01-22  6:30                   ` Richard Stallman
2012-01-22  8:00                   ` Paul Eggert
2012-01-22 10:22                     ` Alan Mackenzie [this message]
2012-01-22 13:06                       ` James Cloos
2012-01-21  9:10                 ` Eli Zaretskii
2012-01-22  6:30                   ` Richard Stallman
2012-01-22  8:18                     ` Paul Eggert
2012-01-22  9:36                       ` Stephen J. Turnbull
2012-01-22 10:24                         ` Teemu Likonen
2012-01-22 10:54                         ` Eli Zaretskii
2012-01-22 10:54                         ` Paul Eggert
2012-01-22 11:56                           ` Alan Mackenzie
2012-01-22 20:35                             ` Paul Eggert
2012-01-22 15:35                           ` Stephen J. Turnbull
2012-01-22 16:33                             ` Lars Magne Ingebrigtsen
2012-01-23  7:04                       ` Richard Stallman
2012-01-20 12:13             ` quotation marks Ulrich Mueller
2012-01-20 12:44               ` Juanma Barranquero
2012-01-20 15:51                 ` Drew Adams
2012-01-20 18:40                   ` Juanma Barranquero
2012-01-20 12:01           ` quotation marks [was Re: TUTORIAL.de updated] James Cloos
2012-01-22 15:03             ` Richard Stallman
2012-01-20 14:05         ` Stefan Monnier
2012-01-20 22:34           ` Paul Eggert
2012-01-21  1:13             ` Ted Zlatanov
2012-01-21  1:26               ` Paul Eggert
2012-01-21  6:10                 ` Stephen J. Turnbull
2012-01-21  8:37                   ` Andreas Schwab
2012-01-21 18:13                     ` Stephen J. Turnbull
2012-01-21 19:58                       ` Tom Tromey
2012-01-21 17:17                   ` Ted Zlatanov
2012-01-21 17:19                 ` Ted Zlatanov
2012-01-19 18:14   ` TUTORIAL.de updated Stephen J. Turnbull
2012-01-19 18:50     ` quotation marks (was: Re: TUTORIAL.de updated) Ulrich Mueller
2012-01-19 21:45       ` Eli Zaretskii

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=20120122102215.GA3042@acm.acm \
    --to=acm@muc.de \
    --cc=drew.adams@oracle.com \
    --cc=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ulm@gentoo.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).