all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: rms@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: RE: library/package filename prefixes
Date: Mon, 4 May 2020 09:19:02 -0700 (PDT)	[thread overview]
Message-ID: <519940ba-6cf7-4597-8ca7-13961d11b6ae@default> (raw)
In-Reply-To: <E1jVRTL-0006Io-69@fencepost.gnu.org>

>   > > Are there any libraries in Emacs or GNU ELPA
>   > > which currently use a 2-letter prefix?
> 
> lisp/emacs-lisp/pp.el does use a two-letter prefix.
> Perhaps we should change it.
> 
> lisp/emacs-lisp/gv.el uses a two-letter prefix.
> I expect that the functions named starting 'gv-' are
> not used from a lot of user code, so it should not be
> hard to rename them.
> 
> Does anyone oppose renaming them?
> 
> lisp/bs.el does use 'bs-' as a nane prefix...
> Should we rename that?
> 
> It would be easy to rename po.el and its one entry point,
> which is called in just one place.

FWIW, I proposed a minimum of 2 chars (plus hyphen).
I think that's good.  What's a good reason for going
to 3 instead of 2?

And yes, I expect that there's a fair amount of code
out there that uses prefixes `pp-' and `gv-'.  (But
that's not the reason I think a 2-char minimum is OK.)

If ever all possible 2-char prefixes get used, people
will of course be obliged to use at least 3 for new
libraries.  I don't see that as a problem.

0 or 1 char (plus hyphen) is problematic, I think.
But I don't see that problem for 2.
___


See also my somewhat related suggestion, about
distinguishing library prefixes from other prefixes:
https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg00261.html



  parent reply	other threads:[~2020-05-04 16:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 21:07 library/package filename prefixes Drew Adams
2020-05-02 18:35 ` Yuan Fu
2020-05-03  3:39 ` Richard Stallman
2020-05-03  4:17   ` Stefan Monnier
2020-05-04  3:08     ` Richard Stallman
2020-05-04 12:13       ` Eric Ludlam
2020-05-04 14:30       ` Eli Zaretskii
2020-05-04 15:49         ` Stefan Monnier
2020-05-04 16:19       ` Drew Adams [this message]
2020-05-05  2:51         ` Richard Stallman
2020-05-05  4:39           ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=519940ba-6cf7-4597-8ca7-13961d11b6ae@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --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.