From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Entering Unicode characters Date: Wed, 10 Feb 2016 19:52:03 +0200 Message-ID: <834mdgbgho.fsf@gnu.org> References: <83twmkkv16.fsf@gnu.org> <56B7901A.6080700@gmail.com> <8337t1dcq4.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455126759 12387 80.91.229.3 (10 Feb 2016 17:52:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 17:52:39 +0000 (UTC) Cc: schwab@suse.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 10 18:52:38 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aTYwN-0005pL-8Z for ged-emacs-devel@m.gmane.org; Wed, 10 Feb 2016 18:52:35 +0100 Original-Received: from localhost ([::1]:41535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYwM-0007Hx-5x for ged-emacs-devel@m.gmane.org; Wed, 10 Feb 2016 12:52:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYwI-0007Hn-St for emacs-devel@gnu.org; Wed, 10 Feb 2016 12:52:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTYwE-0007yv-OI for emacs-devel@gnu.org; Wed, 10 Feb 2016 12:52:30 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYwE-0007yq-L6; Wed, 10 Feb 2016 12:52:26 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2785 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTYw1-0001EX-Ib; Wed, 10 Feb 2016 12:52:14 -0500 In-reply-to: (message from Richard Stallman on Tue, 09 Feb 2016 19:12:34 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:199702 Archived-At: > From: Richard Stallman > CC: schwab@suse.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Tue, 09 Feb 2016 19:12:34 -0500 > > and Emacs wouldn't know where to find the font even when told > > its name. > > Why not? Emacs could know the usual place where these font files are > stored, and some Lisp code could find a particular font file > just like the command that tells the terminal which font to use. How can it know? Emacs compiled --without-x doesn't even have font-related code compiled in. And even if it had, the terminal emulator might very well use a different font back-end, which keeps font information in a different place. Especially if the terminal emulator runs on a different OS. > > In particular, if you login from another machine, the font used by the > > terminal emulator is not accessible at all for Emacs that runs on the > > remote. > > In theory, it might not be present on the machine Emacs is running on. > But in practice, it probably is present, if they are both GNU/Linux. You can still have different versions of the same font even in this special case. > And if the font is NOT present there, you could copy it there and tell > Emacs the file name to find it in. So maybe a better solution would be a feature that would tell Emacs explicitly, by user initiative, which characters are displayable? The user would run some utility to find that out, and then communicate the results to Emacs via some customization. That sounds more reliable to me than have Emacs assume something about fonts in two different places.