unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Miles Bader <miles@gnu.org>
Cc: Gerd Moellmann <gerd@gnu.org>, emacs-devel@gnu.org
Subject: Re: tab widths with a remapped default face
Date: Fri, 06 Jun 2008 03:53:59 -0400	[thread overview]
Message-ID: <jwvy75j57fi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <buo4p87uipz.fsf@dhapc248.dev.necel.com> (Miles Bader's message of "Fri, 06 Jun 2008 16:26:48 +0900")

> Using the TAB face for tab-width calculation seems much likely to
> preserve the local integrity of indentation (using the default face
> means that mixed space and tab indentation will often not be the same as
> space-only indentation).  It seems a bit more intuitive to me as well.

> However, if there is a significant case where using the default face for
> calculations is better, it would be good to know it, but it seems a bit
> silly to make decisions based on vague recollections.

I think the issue was vertical alignment of elements on different lines,
using different faces.   E.g. a first (header) line in one face,
followed by various lines in some other face.

OTOH, you can usually add a `default' face to the TABs to impose the use
of a uniform tab size, so maybe it's not a real problem.
Maybe Gerd remembers?


        Stefan




  reply	other threads:[~2008-06-06  7:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-06  5:19 tab widths with a remapped default face Miles Bader
2008-06-06  5:53 ` Stefan Monnier
2008-06-06  7:26   ` Miles Bader
2008-06-06  7:53     ` Stefan Monnier [this message]
2008-06-06 19:34       ` Gerd Möllmann
2008-06-06  8:08     ` Miles Bader
2008-06-06 19:13       ` Stefan Monnier
2008-06-06 21:41         ` Miles Bader

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvy75j57fi.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=gerd@gnu.org \
    --cc=miles@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).