all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: egarrulo@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Elastic tabstops?
Date: Thu, 26 Feb 2009 11:13:39 -0800 (PST)	[thread overview]
Message-ID: <9c218361-d7f3-450a-bfcb-4fa278debec9@z9g2000yqi.googlegroups.com> (raw)
In-Reply-To: mailman.1860.1235661582.31690.help-gnu-emacs@gnu.org

Thank you very much for your offer, Alan :-)

Basically, he's saying that tab's width should not be based on
counting character, which is a low level concept. Instead, hitting Tab
should create a table cell of a kind, which spans multiple lines. Then
the editor will always keep aligned any text on adjacent lines which
is entered after the nth tab, no matter how long the "cell"'s text
length is and even if the font is not monospaced. Think about what
align-regexp does, but done live and working with proportional fonts
as well. Indeed, the demo Java applet uses a proportional font, and if
you move any end of line comment belonging to a block of lines, all
other comments move to keep perfectly aligned.

I think that is quite tricky to implement, more so if you try to
retrofit an already existing mode. BTW I'm not asking for such an high-
tech solution. I'd be quite happy if indentation would work as I'm
entering lines when I'm using a proportional font, which I find easier
to read.


  parent reply	other threads:[~2009-02-26 19:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26 11:21 Elastic tabstops? egarrulo
2009-02-26 11:57 ` Tassilo Horn
2009-02-26 15:41 ` Alan Mackenzie
     [not found] ` <mailman.1860.1235661582.31690.help-gnu-emacs@gnu.org>
2009-02-26 19:13   ` egarrulo [this message]
2009-02-26 20:04     ` egarrulo
     [not found] ` <mailman.1851.1235649463.31690.help-gnu-emacs@gnu.org>
2009-02-26 19:28   ` egarrulo
2009-03-06 16:55 ` Elena

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=9c218361-d7f3-450a-bfcb-4fa278debec9@z9g2000yqi.googlegroups.com \
    --to=egarrulo@gmail.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.