unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: nntp@shellarchive.co.uk, emacs-devel@gnu.org
Subject: Re: find.el --- Build a valid find(1) command with sexps
Date: Tue, 01 Apr 2008 22:53:46 -0400	[thread overview]
Message-ID: <E1Jgt6g-0002pc-FL@fencepost.gnu.org> (raw)
In-Reply-To: <7dbe73ed0804011417k33abed71xde9e3bb631862fd7@mail.gmail.com> (mathias.dahl@gmail.com)

    >  Also, I think that it should be a function rather than a macro.
    >  (That would require explicitly quoting the arguments.)

    Could some explain to a lisp beginner like me what the benefit is? The
    macro version seems easier to use as you don't have to quote the
    arguments - to me that seems like a good thing.

A function is better because
(1) you can compute the arguments, and
(2) in general it is better to avoid using macros when they
are not really needed.




      parent reply	other threads:[~2008-04-02  2:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87k5ji3jd6.fsf@shellarchive.co.uk>
2008-04-01 16:55 ` find.el --- Build a valid find(1) command with sexps Richard Stallman
2008-04-01 17:52   ` Phil Jackson
2008-04-02 18:45     ` Phil Jackson
2008-04-01 21:17   ` Mathias Dahl
2008-04-02  1:41     ` Mike Mattie
2008-04-02  2:53     ` Richard 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=E1Jgt6g-0002pc-FL@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mathias.dahl@gmail.com \
    --cc=nntp@shellarchive.co.uk \
    /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).