all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Jordon Biondo <jordonbiondo@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: giving `setq-local' the same signature as `setq'
Date: Wed, 18 Mar 2015 12:24:17 -0400	[thread overview]
Message-ID: <jwv1tkm9svd.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <B44CB2F3-655B-4263-BB1F-588C67F8017B@gmail.com> (Jordon Biondo's message of "Wed, 18 Mar 2015 11:26:01 -0400")

> I’ve often run into an issue when assuming `setq-local’ behave like
> `setq’ by accepting multiple [SYM VAL] pairs and returning the value
> assigned to the last symbol rather than only accepting one symbol and
> one value.

I find this behavior of `setq' to be a misfeature, which is why
I haven't adopted it for setq-local.


        Stefan



  reply	other threads:[~2015-03-18 16:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 15:26 giving `setq-local' the same signature as `setq' Jordon Biondo
2015-03-18 16:24 ` Stefan Monnier [this message]
2015-03-19 14:08   ` Richard Stallman
2015-03-19 14:48     ` Jordon Biondo
2015-03-19 15:11       ` Drew Adams
2015-03-19 15:17         ` Oleh Krehel
2015-03-19 15:39           ` Drew Adams
2015-03-19 15:55             ` Oleh Krehel
2015-03-19 17:25               ` Drew Adams

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=jwv1tkm9svd.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=jordonbiondo@gmail.com \
    /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.