unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, rms@gnu.org
Subject: RE: bad comment indentation in Emacs Lisp
Date: Sun, 10 Feb 2008 18:29:15 -0800	[thread overview]
Message-ID: <001501c86c55$e58de200$c341908d@us.oracle.com> (raw)
In-Reply-To: <jwvejbkdz7s.fsf-monnier+emacs@gnu.org>

> > 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

Bof !

> as well as to make sure the code and the comment are separate
> (makes a difference if the code ends in \ for instance).

That would mean bugged code, that's all. Same as if you forget a space in
lots of other contexts. Same as if you type `?' or `"' or `x' instead of
`;'.

> Why move it?  Why not?

Not moving it means programmers can put `;;' comments where they want them
(e.g. aligning) and have them stay put.





  reply	other threads:[~2008-02-11  2:29 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 [this message]
2008-02-11  2:41             ` Miles Bader
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

  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='001501c86c55$e58de200$c341908d@us.oracle.com' \
    --to=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 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).