all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: rms@gnu.org
Cc: Drew Adams <drew.adams@oracle.com>, emacs-devel@gnu.org
Subject: Re: name prefixes   [was: epa command names]
Date: Sat, 12 Nov 2011 12:52:32 +0900	[thread overview]
Message-ID: <87sjluj8u7.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <E1RP1Ug-0000sv-W3@fencepost.gnu.org>

Richard Stallman writes:

 >     Instead of allowing Emacs to flout its own guidelines,
 > 
 > My proposal doesn't violate any Emacs guidelines.

Yeah, but it will surprise anybody who is currently using those
commands with their mailcrypt definitions.  Not very nice IMHO.

In most cases, rather than use aliases users are allowed to pick the
implementation of `foo' by customizing `foo-function', and the "usual
implementation of `foo' either does

  (progn
    (apply #'foo-setup foo-args)
    (apply foo-function foo-args))

or

  (if foo-function
      (apply foo-function foo-args))
    ;; default implementation goes here
    )

This has the advantage that `foo-function' has a doctring (and often a
defcustom), and that documentation is pointed to by `foo's
documentation.





  reply	other threads:[~2011-11-12  3:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 18:05 epa command names Richard Stallman
2011-11-11 18:26 ` name prefixes [was: epa command names] Drew Adams
2011-11-12  0:30   ` Richard Stallman
2011-11-12  3:52     ` Stephen J. Turnbull [this message]
2011-11-12 23:32       ` Richard Stallman
2011-11-15  6:23         ` Kevin Rodgers
2011-11-15 23:29           ` Richard Stallman
2011-11-12  8:55     ` Andreas Röhler
2011-11-11 22:07 ` epa command names Stefan Monnier
2011-11-11 22:28   ` Drew Adams
2011-11-12  2:34   ` Jason Rumney
2011-11-12  3:00     ` Stefan Monnier
2011-11-12  3:33       ` Chong Yidong
2011-11-12  6:36   ` Thierry Volpiatto
2011-11-12  7:22     ` Stefan Monnier
2011-11-12  8:07       ` Thierry Volpiatto
2011-11-12 23:32         ` Richard Stallman
2011-11-13  6:41           ` Thierry Volpiatto

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=87sjluj8u7.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.