Stephen Leake <[EMAIL PROTECTED]> writes: > I think we have three choices here: > > 1) just ignore the issue, now that we understand it. Allow #' in DVC > code, but neither encourage nor discourage it. > > 2) insist on proper Emacs Lisp style for DVC code. That means > disapproving #'. > > 3) Establish a DVC Lisp style guide, and list this as one of the > issues, with a mild preference for not using #'.
Option 2 is incorrect. There is no "proper Emacs Lisp style" that
discourages the use of "#'".
If you're talking about a lambda form, there is either the Scheme way of
representing it:
(lambda (args) body)
[ this uses the `lambda' macro from subr.el, which evaluates to
(function (lambda (args) body)) ]
or the CL way:
#'(lambda (args) body)
or the unnecessarily verbose (and equivalent) way:
(function (lambda (args) body))
For the names of functions, there is only
#'function-name
and
(function function-name)
I would recommend to just use "#'".
--
Michael Olson -- FSF Associate Member #652 |
http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net | /` |\ | | |
Sysadmin -- Hobbies: Lisp, GP2X, HCoop | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
pgpEvh0jaOMVg.pgp
Description: PGP signature
_______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
