From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Using proportional (variable-width) fonts in Emacs23 Date: Wed, 30 Mar 2011 20:14:32 +0200 Message-ID: <83sju4qxvb.fsf@gnu.org> References: <898836.13190.qm@web121803.mail.ne1.yahoo.com> <4d9120aa$0$23756$14726298@news.sunsite.dk> <47119ce7-b1d1-4967-aa3e-d10112f10510@q40g2000prh.googlegroups.com> <4d9232cb$0$23752$14726298@news.sunsite.dk> <516de695-18e0-4442-9616-63bc24b99a58@18g2000prd.googlegroups.com> <4d92ead3$0$23757$14726298@news.sunsite.dk> <87sju47n29.fsf@kuiper.lan.informatimago.com> <33669aa8-47ea-48c5-8dc9-fb216893ef03@f15g2000pro.googlegroups.com> <87fwq47ggx.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1301509554 27100 80.91.229.12 (30 Mar 2011 18:25:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 18:25:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 30 20:25:50 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q505T-0004Gc-Oh for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 20:25:47 +0200 Original-Received: from localhost ([127.0.0.1]:58759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4zw8-0006LK-UX for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 14:16:09 -0400 Original-Received: from [140.186.70.92] (port=49258 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4zuu-0006HQ-Dw for help-gnu-emacs@gnu.org; Wed, 30 Mar 2011 14:14:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4zun-00044C-FE for help-gnu-emacs@gnu.org; Wed, 30 Mar 2011 14:14:47 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:62520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4zun-00043y-8s for help-gnu-emacs@gnu.org; Wed, 30 Mar 2011 14:14:45 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LIV00J00UIVWE00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 30 Mar 2011 20:14:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.47.180]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LIV00JXGUO7FJB0@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 30 Mar 2011 20:14:33 +0200 (IST) In-reply-to: <87fwq47ggx.fsf@kuiper.lan.informatimago.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80547 Archived-At: > From: "Pascal J. Bourguignon" > Date: Wed, 30 Mar 2011 17:53:02 +0200 > > rusi writes: > > >> Unfortunately, Editors with proportional fonts don't > >> have indenting and formating algorithms sophisticated enough to render > >> code like in the later example (that would require even more than > >> understanding the program!). > > > > Well that is (may be?) the current situation. Why cant it change? > > Because you would need strong AI to do it right Not necessarily. In Emacs, we can specify that text be displayed aligned to a specific width in pixels. See the node "Specified Space" in the ELisp manual. Perhaps display of programming languages could use this feature to align program source even with proportional fonts.