all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Using proportional (variable-width) fonts in Emacs23
Date: Wed, 30 Mar 2011 17:53:02 +0200	[thread overview]
Message-ID: <87fwq47ggx.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 33669aa8-47ea-48c5-8dc9-fb216893ef03@f15g2000pro.googlegroups.com

rusi <rustompmody@gmail.com> 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, and once you have
strong AI, you won't care reading program codes anymore.


>> So proportional fonts are hoplessly useless for programming.
>
> As of now -- yes.
>
> In eclipse for example the file explorer window uses a narrow
> proportional font which saves real estate.  Likewise a programmer
> using emacs uses a number of readonly buffers eg compilation, messages
> buffer etc.  All these could conserve real estate with a proportional

That said, it could be argued that manual formating with spaces of
program sources tends to anal retentiveness, and it might be wanted to
just use a proportional font with correct left indenting, and let the
editor format the rest of the line as it wants.  After all, spaces are
not significant in sane programming languages.  At least, as long as the
programming language is verbose enough, it wouldn't matter for APL for
example.


> A particularly tricky problem is that two of the most popular
> languages today -- python and haskell -- are space sensitive by
> design.

Just say no.  There are better alternatives.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.


  reply	other threads:[~2011-03-30 15:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-28 16:22 Using proportional (variable-width) fonts in Emacs23 Erin Brinkley
2011-03-28 18:29 ` Eli Zaretskii
2011-03-28 18:30 ` Tassilo Horn
     [not found] ` <mailman.5.1301337042.1646.help-gnu-emacs@gnu.org>
2011-03-28 23:58   ` Uday Reddy
2011-03-29  2:00     ` rusi
2011-03-29 19:28       ` Uday Reddy
2011-03-30  2:47         ` rusi
2011-03-30  8:33           ` Uday Reddy
2011-03-30 13:30             ` Pascal J. Bourguignon
2011-03-30 15:20               ` rusi
2011-03-30 15:53                 ` Pascal J. Bourguignon [this message]
2011-03-30 18:14                   ` Eli Zaretskii
2011-03-30 19:49                     ` PJ Weisberg
2011-03-30 20:29                       ` Eli Zaretskii
     [not found]                   ` <mailman.8.1301508895.9824.help-gnu-emacs@gnu.org>
2011-03-31  4:58                     ` Stefan Monnier
2011-03-31 18:42                       ` Eli Zaretskii
     [not found]                       ` <mailman.13.1301596981.19576.help-gnu-emacs@gnu.org>
2011-03-31 19:38                         ` Pascal J. Bourguignon
2011-03-31 19:51                           ` Eli Zaretskii
2011-04-01 17:26                         ` Stefan Monnier
2011-03-30 16:42               ` Peter Dyballa
2011-03-30  9:00 ` Thien-Thi Nguyen
     [not found] <mailman.0.1301334352.1646.help-gnu-emacs@gnu.org>
2011-03-28 23:01 ` Xah Lee

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwq47ggx.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.