From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Font slants Date: Sat, 05 Apr 2008 21:44:46 -0400 Message-ID: References: <873aq09x7a.fsf@stupidchicken.com> <873aq0cdan.fsf@stupidchicken.com> <87y77s9fah.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207446306 29413 80.91.229.12 (6 Apr 2008 01:45:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2008 01:45:06 +0000 (UTC) Cc: emacs-devel@gnu.org, Kenichi Handa To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 06 03:45:39 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JiJww-0000DX-HA for ged-emacs-devel@m.gmane.org; Sun, 06 Apr 2008 03:45:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiJwJ-0002u7-8V for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 21:44:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JiJwD-0002qF-AO for emacs-devel@gnu.org; Sat, 05 Apr 2008 21:44:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JiJw8-0002fe-Jx for emacs-devel@gnu.org; Sat, 05 Apr 2008 21:44:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiJw8-0002f6-BB for emacs-devel@gnu.org; Sat, 05 Apr 2008 21:44:48 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JiJw7-00078S-V1 for emacs-devel@gnu.org; Sat, 05 Apr 2008 21:44:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvACADfI90fO+J/WdGdsb2JhbACBXI94ASqYBw X-IronPort-AV: E=Sophos;i="4.25,610,1199682000"; d="scan'208";a="17880502" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 05 Apr 2008 21:44:46 -0400 Original-Received: from pastel.home ([206.248.159.214]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id MFY98446; Sat, 05 Apr 2008 21:44:46 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A27118898; Sat, 5 Apr 2008 21:44:46 -0400 (EDT) In-Reply-To: <87y77s9fah.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 05 Apr 2008 17:12:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94463 Archived-At: >>> On a related note, what's the story behind these settings? >> >>> (defcustom font-swidth-table >>> '((ultracondensed . 50) (ultra-condensed . 51) >>> ... >> >>> Why do we have a practically indistinguishable difference between >>> ultracondensed and ultra-condensed? Similarly with several other >>> symbols in these alists. >> >> Try to change it (or check vc-annotate) to see why: it needs to be >> bijective (ie. reversible). > Would it be possible for Emacs to change all occurrences of > `ultracondensed' to `ultra-condensed' internally? That would also > eliminate the annoyance of having a value menu within Customize that > gives separate choices for `ultracondensed' and `ultra-condensed'. What we could do is to keep (in the new internal vector format) the original names along side the numbers. This way the conversion back can recover the original name without forcing the numbers to be unique. What do you think, Handa san? Stefan