all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Helmut Eller <eller.helmut@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: cl-functions do not honor common-lisp-indent-function
Date: Wed, 26 Dec 2012 17:24:29 +0100	[thread overview]
Message-ID: <m2r4mcrdc2.fsf@gmail.com> (raw)
In-Reply-To: 87fw2tt0rv.fsf@uwakimon.sk.tsukuba.ac.jp

On Wed, Dec 26 2012, Stephen J. Turnbull wrote:

>     Why should anything other than `common-lisp-indent-function'
>     implement the Common Lisp conventions?

E.g. to avoid conflicts: some other language might have similar but not
quite the same conventions and to avoid the risk of conflicts you
re-implement some of the conventions.

>  > > If the user thinks of these symbols as equivalent
>  > > to "real" Common Lisp standard symbols, then the user has every right
>  > > to ask Emacs to treat them as Common Lisp symbols.
>  > 
>  > An Emacs Lisp user or for that matter a Scheme user has not "every
>  > right" to dictate the indentation rules for Common Lisp users.
>
> Of course users of other Lisp dialects should not dictate to Common
> Lisp users.  But I was talking about *Emacs* users.  I don't have any
> trouble imagining that some Emacs users who program in both Common
> Lisp and cl.el would like to see cl-* expressions follow the
> corresponding Common Lisp conventions.  After all, the OP is evidently
> an example.

When I'm programming Emacs Lisp I use emacs-lisp-mode and I assume that
the default indentation function, i.e. lisp-indentation-function, will
handle all relevant macros.  I fail to see why using
common-lisp-indent-function in emacs-lisp-mode is such a bright idea.

Helmut




  reply	other threads:[~2012-12-26 16:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24 13:59 cl-functions do not honor common-lisp-indent-function Thierry Volpiatto
2012-12-24 16:18 ` Stefan Monnier
2012-12-26  7:57   ` Thierry Volpiatto
2012-12-26  8:44     ` Helmut Eller
2012-12-26  9:10       ` Stephen J. Turnbull
2012-12-26 12:57         ` Helmut Eller
2012-12-26 13:12           ` Stephen J. Turnbull
2012-12-26 16:24             ` Helmut Eller [this message]
2012-12-26 16:44               ` Thierry Volpiatto
2012-12-26 16:54                 ` Helmut Eller
2012-12-26 17:09                   ` Thierry Volpiatto
2012-12-27  4:18               ` Stephen J. Turnbull
2012-12-27  8:18                 ` Helmut Eller
2012-12-26 13:20           ` Thierry Volpiatto
2012-12-26 16:09             ` Helmut Eller
2012-12-27 17:24         ` Didier Verna
2012-12-29  6:43         ` Stefan Monnier

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=m2r4mcrdc2.fsf@gmail.com \
    --to=eller.helmut@gmail.com \
    --cc=emacs-devel@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.