all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, rms@gnu.org,
	Drew Adams <drew.adams@oracle.com>
Subject: Re: bad comment indentation in Emacs Lisp
Date: Mon, 11 Feb 2008 11:41:11 +0900	[thread overview]
Message-ID: <87abm8cj08.fsf@catnip.gol.com> (raw)
In-Reply-To: <jwvejbkdz7s.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 10 Feb 2008 21:22:17 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> What is the rationale for this kind of comment indentation? It certainly
>> doesn't indent the same as `;' or the same as `;;' at the beginning of a
>> line. Why insert a single space here - what's the rationale? Why move `;;'
>> ever, relative to the rest of its line?
>
> The space is there for aesthetic reasons as well as to make sure the
> code and the comment are separate (makes a difference if the code ends
> in \ for instance).

I guess the proper place of ";;" when not at line-start is somewhat
ill-defined, but I generally agree with Drew -- the space is ugly, and
feels like an unwanted intrusion by the indenter.

-Miles

-- 
Quack, n. A murderer without a license.




  parent reply	other threads:[~2008-02-11  2:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-05 23:10 bad comment indentation in Emacs Lisp Drew Adams
2008-02-10 18:42 ` Richard Stallman
2008-02-10 19:42   ` Stefan Monnier
2008-02-10 22:38     ` Drew Adams
2008-02-10 23:09       ` Stefan Monnier
2008-02-11  1:29         ` Drew Adams
2008-02-11  2:22           ` Stefan Monnier
2008-02-11  2:29             ` Drew Adams
2008-02-11  2:41             ` Miles Bader [this message]
2008-02-11 13:34     ` Richard Stallman

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=87abm8cj08.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@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.