unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: lennart.borgman.073@student.lu.se, teirllm@dms.auburn.edu,
	monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: Incorrect indentation after :name
Date: Thu, 07 Jul 2005 01:36:50 -0400	[thread overview]
Message-ID: <E1DqP46-00052c-Td@fencepost.gnu.org> (raw)
In-Reply-To: <85ekabrdma.fsf@lola.goethe.zz> (message from David Kastrup on Wed, 06 Jul 2005 20:30:37 +0200)

    I'd somewhat visually prefer
       '( function and function )

I really dislike spaces inside of parens, so I would not want to
choose that.  However, I'm not insisting on the space before the
open-paren as the convention.

    and it also does not need to also take a look at `

I am having trouble parsing that text, but I suppose we would want to
apply the same convention to both quote and backquote.

						       and maybe even
    (quote ...) (which is the rendition of printed Lisp expressions).

I don't think it is necessary to apply this convention to (quote ...).
This convention would only be relevant for hand-editing of source
code.  If you are hand-editing and you care about making the code
pretty, you surely should replace (quote ...) with a singlequote.

    Of course, this proposal has the disadvantage that the probably more
    common case of a function (or non-function!) list needs extra
    formatting, so it is probably not useful in practice.

I can't understand "function (or non-function!) list".  Sorry.

    However, if we _combine_ both proposals with an added criterion, we
    might arrive at the following rule set:

I don't see a need for three conventions--it seems to me that two
would be enough.  One would say "this list is an expression", and the
other would say "this list is not an expression".  Given those two,
there is no need for a third convention that would say "maybe this is
an expression--please guess".  You, the programmer, always know
whether a given quoted list is an expression, and you can choose among
the two conventions accordingly.

If you disagree with that argument, could you explain why?

      parent reply	other threads:[~2005-07-07  5:36 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-03 15:59 Incorrect indentation after :name Lennart Borgman
2005-07-03 16:39 ` Juanma Barranquero
2005-07-03 16:52   ` Lennart Borgman
2005-07-03 17:16     ` Juanma Barranquero
2005-07-03 22:29       ` Drew Adams
2005-07-03 22:44         ` Juanma Barranquero
2005-07-03 17:10   ` Luc Teirlinck
2005-07-04 14:48 ` Stefan Monnier
2005-07-04 21:22   ` David Ponce
2005-07-05  0:40   ` Juanma Barranquero
2005-07-05  4:35   ` Richard M. Stallman
2005-07-05  5:21     ` Stefan Monnier
2005-07-05  7:07       ` Lars Brinkhoff
2005-07-05 19:11         ` Richard M. Stallman
2005-07-05 19:44           ` Lars Brinkhoff
2005-07-07  5:36             ` Richard M. Stallman
2005-07-07  8:25               ` Lars Brinkhoff
2005-07-08  4:35                 ` Richard M. Stallman
2005-07-05 13:49       ` Drew Adams
2005-07-05 16:09         ` Paul Pogonyshev
2005-07-05 19:11       ` Richard M. Stallman
2005-07-06  0:20         ` Luc Teirlinck
2005-07-06  1:29           ` drkm
2005-07-06  1:43             ` Luc Teirlinck
2005-07-06 17:55           ` Richard M. Stallman
2005-07-06 18:30             ` David Kastrup
2005-07-07  3:09               ` Stefan Monnier
2005-07-07 17:01                 ` Drew Adams
2005-07-07 17:49                   ` Lawrence Mitchell
2005-07-07 18:35                     ` Drew Adams
2005-07-07 21:47                       ` Lawrence Mitchell
2005-07-07 22:21                         ` Drew Adams
2005-07-07 18:49                     ` Juanma Barranquero
2005-07-08  4:36                       ` Richard M. Stallman
2005-07-11  9:29                         ` Juanma Barranquero
2005-07-11 10:59                           ` David Kastrup
2005-07-11 13:00                             ` Juanma Barranquero
2005-07-07 21:30                 ` Richard M. Stallman
2005-07-07  5:36               ` Richard M. Stallman [this message]

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=E1DqP46-00052c-Td@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman.073@student.lu.se \
    --cc=monnier@iro.umontreal.ca \
    --cc=teirllm@dms.auburn.edu \
    /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).