unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Consistent naming in woman.el
Date: Thu, 04 Feb 2016 08:24:12 -0500	[thread overview]
Message-ID: <jwvr3gshawk.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: CAFyQvY3ZpHAz234mniGdxyXAJ8kShUY0KyZRM+WvWdW7c8A5NA@mail.gmail.com

> woman.el has a mix of WoMan- and woman- prefixes.
> This makes doing M-x slower and you also need to remember if the
> command/function you are using starts with WoMan- or woman-.

Not sure about this case, but such capitalization has been used in some
Elisp packages to indicate "internal" vs "exported" functions/vars/commands.

> Is it OK to set all defun/defvar/etc prefixes to "woman-"?

Please try to figure out exactly what the woman-vs-WoMan distinction was
intended to mean.  Maybe "WoMan-" should turn into "woman--" (which is
the semi-official notation used nowadays to express that a fun/var is
"internal").

> - Only the defcustoms and interactive defuns?

AFAICT there are no "WoMan-" defcustoms.
But other than that, yes I think just keep obsolete aliases for
interactive functions should be sufficient.


        Stefan


PS: Of course we're talking about doing this in master.




  parent reply	other threads:[~2016-02-04 13:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04  4:24 Consistent naming in woman.el Kaushal Modi
2016-02-04  7:47 ` John Wiegley
2016-02-04 13:24 ` Stefan Monnier [this message]
2016-02-04 16:59   ` Eli Zaretskii
2016-02-04 19:37     ` Mark Oteiza
     [not found]   ` <<83oabwwgx4.fsf@gnu.org>
2016-02-04 17:30     ` 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

  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=jwvr3gshawk.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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 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).