From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: 5x5 Arithmetic solver
Date: Sun, 22 May 2011 16:09:34 -0300 [thread overview]
Message-ID: <jwvy61ysggx.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <DUB102-w587B1BF0813FDD67243FA884730@phx.gbl> ("Vincent Belaïche"'s message of "Sun, 22 May 2011 09:32:14 +0200")
>> Thanks. Note that usually when you add a new functions, you can just
>> say "(fun1, fun2, fun3): New functions" without having to explain what
>> it does.
> Concerning the make-variable-local,
Beware: I'm talking about make-variable-buffer-local, which is different
(but I think it's what you want here).
> I had the feeling that it is slightly
> better practice to do an explicit "dolist"
I'm not sure I understand.
The way I see it, we could have a defvar-local macro, i.e. the
make-variable-buffer-local really belongs next to the
corresponding defvar.
> --- I think that it is what is done in org-mode for instance --- at it
> allows to set the variable at the same time.
If you do want to use make-local-variable rather than
make-variable-buffer-local, then the call to make-local-variable indeed
belongs together with the corresponding `set' (we could have
a setq-local macro for it).
Stefan
next prev parent reply other threads:[~2011-05-22 19:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-21 18:15 5x5 Arithmetic solver Vincent Belaïche
2011-05-21 19:03 ` Eli Zaretskii
2011-05-21 23:31 ` Stefan Monnier
2011-05-22 7:32 ` Vincent Belaïche
2011-05-22 19:09 ` Stefan Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-05-22 20:35 Vincent Belaïche
2011-05-23 14:47 ` Stefan Monnier
2011-05-21 7:15 Vincent Belaïche
2011-05-21 7:49 ` Eli Zaretskii
2011-05-21 14:36 ` Vinicius Jose Latorre
2011-05-21 16:12 ` Vincent Belaïche
2011-05-21 23:29 ` Stefan Monnier
2011-05-19 20:21 Vincent Belaïche
2011-05-20 13:45 ` Stefan Monnier
2011-05-20 14:03 ` Antoine Levitt
2011-05-21 6:38 ` Vincent Belaïche
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=jwvy61ysggx.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=vincent.b.1@hotmail.fr \
/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).