all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: "Jordi Gutiérrez Hermoso" <jordigh@octave.org>
Cc: Drew Adams <drew.adams@oracle.com>,
	Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Whitespace cleanup
Date: Thu, 23 Aug 2012 09:23:13 -0400	[thread overview]
Message-ID: <yxqlih57nem.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAPHS2gwsZjuPDiyW26ktUgHArQ1omLM-kXtPLEJZeguft6XOFQ@mail.gmail.com> ("Jordi Gutiérrez Hermoso"'s message of "Wed, 22 Aug 2012 15:02:53 -0400")

Jordi Gutiérrez Hermoso <jordigh@octave.org> writes:

> On 22 August 2012 11:44, Drew Adams <drew.adams@oracle.com> wrote:
>> I, for one, would like to see the tabs replaced by spaces in the Lisp code that
>> is shipped.  It's not a big deal, but I invariably find myself later cleaning up
>> pieces in code of mine that might have parts originally copy+yanked from vanilla
>> code.
>>
>> But like I say, not a big deal at all.
>> `C-x h M-x untabify', and you're done.
>
> That only works after you figure out what the correct tab width should
> have been to begin with.
>
> On 22 August 2012 12:07, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> If an Elisp file requires a tab-width different from 8 to be indented
>> properly, that's a bug.
>
> The indentation offset is rarely 8, so I guess tabs get inserted only
> after 4 levels of indentation, creating a horrible mix.

If you use (a new enough) emacs to edit emacs sources tab-width is set
to 8 automatically.  So no problem here.



  parent reply	other threads:[~2012-08-23 13:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22 15:22 Whitespace cleanup Jordi Gutiérrez Hermoso
2012-08-22 15:44 ` Drew Adams
2012-08-22 19:02   ` Jordi Gutiérrez Hermoso
2012-08-22 19:58     ` Juanma Barranquero
2012-08-23 12:55       ` Jordi Gutiérrez Hermoso
2012-08-23 13:16         ` Juanma Barranquero
2012-08-23 14:52         ` Stefan Monnier
2012-08-23 13:23     ` Dan Nicolaescu [this message]
2012-08-23 14:28       ` Jordi Gutiérrez Hermoso
2012-08-23 14:44         ` Juanma Barranquero
2012-08-23 14:50         ` Stefan Monnier
2012-08-23 15:02           ` Jordi Gutiérrez Hermoso
2012-08-23 16:56             ` Paul Eggert
     [not found]             ` <CAAeL0SToZLbaQ0GDgtFOhtqQiiQuwQLqCqHSEZ_V4_8x62umPg@mail.gmail.com>
2012-08-23 20:40               ` Juanma Barranquero
2012-08-23 20:52                 ` Jordi Gutiérrez Hermoso
2012-08-23 20:56                   ` Juanma Barranquero
2012-08-24 15:16             ` Stefan Monnier
2012-08-24 15:49               ` Óscar Fuentes
2012-08-22 16:07 ` Stefan Monnier
2012-08-22 16:15 ` Glenn Morris
2012-08-23 10:42   ` Thierry Volpiatto

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=yxqlih57nem.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=jordigh@octave.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.