From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: quotation marks [was Re: TUTORIAL.de updated] Date: Sun, 22 Jan 2012 10:22:16 +0000 Message-ID: <20120122102215.GA3042@acm.acm> References: <20248.15413.907023.894588@a1i15.kph.uni-mainz.de> <4x1uqv4pbx.fsf_-_@fencepost.gnu.org> <056566D61BA5441E860782777E736F44@us.oracle.com> <4F18A26A.1020402@cs.ucla.edu> <20120120074922.GA3095@acm.acm> <4F1929BA.7020004@cs.ucla.edu> <838vl24thl.fsf@gnu.org> <4F19E7FC.40301@cs.ucla.edu> <20120121085905.GA3075@acm.acm> <4F1BC20F.2010001@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1327227757 29146 80.91.229.12 (22 Jan 2012 10:22:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Jan 2012 10:22:37 +0000 (UTC) Cc: Eli Zaretskii , ulm@gentoo.org, drew.adams@oracle.com, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 22 11:22:31 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RouZD-0006xp-Kq for ged-emacs-devel@m.gmane.org; Sun, 22 Jan 2012 11:22:31 +0100 Original-Received: from localhost ([::1]:56646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RouZD-0001OJ-61 for ged-emacs-devel@m.gmane.org; Sun, 22 Jan 2012 05:22:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RouZA-0001OB-Pt for emacs-devel@gnu.org; Sun, 22 Jan 2012 05:22:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RouYv-0006ir-MO for emacs-devel@gnu.org; Sun, 22 Jan 2012 05:22:28 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:23818 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RouYv-0006iT-6V for emacs-devel@gnu.org; Sun, 22 Jan 2012 05:22:13 -0500 Original-Received: (qmail 14375 invoked by uid 3782); 22 Jan 2012 10:22:10 -0000 Original-Received: from acm.muc.de (pD9557632.dip.t-dialin.net [217.85.118.50]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 22 Jan 2012 11:22:07 +0100 Original-Received: (qmail 3969 invoked by uid 1000); 22 Jan 2012 10:22:16 -0000 Content-Disposition: inline In-Reply-To: <4F1BC20F.2010001@cs.ucla.edu> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147830 Archived-At: 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).