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
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: RE: library/package filename prefixes
Date: Mon, 4 May 2020 21:39:30 -0700 (PDT)	[thread overview]
Message-ID: <c9e714c1-9839-426a-98c3-10bbe4be5b68@default> (raw)
In-Reply-To: <E1jVnfl-0005qG-DQ@fencepost.gnu.org>

>   > 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?
> 
> The namespace of 2-letter prefixes seems somewhat cramped to me.
> Every package that uses such a prefix will have to be discussed
> regarding whether it is entitled to one.

I thought we were (I was, anyway, in my suggestion)
talking about the Elisp code conventions, which serve
as a guide to 3rd-party code, not just to code that's
to be included as an official part of Emacs.

In that 3rd-party-code case, there's no "have to be
discussed".  The idea, wrt 3rd-party code, was to
avoid having people create libraries with a prefix
like `s-' (not to mention just `-').

> A rule saying "use at least three" would not cause
> any real trouble and would mostly eliminate that problem.

(I still think 2 is OK.)

There are already libraries that have 2-char prefixes.
That existence is not a big consideration, but I don't
think 2-char prefixes cause any harm.

There's room for quite a few 2-char prefixes.  There
are, I guess, very few existing libraries with 1-char
prefixes.  And dash.el is the only library with a
0-char prefix (obviously - only one such library is
possible, hence the too-clever-by-half).

Anyway, not very important - just one (minor) opinion.



      reply	other threads:[~2020-05-05  4:39 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
2020-05-05  2:51         ` Richard Stallman
2020-05-05  4:39           ` Drew Adams [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

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

  git send-email \
    --in-reply-to=c9e714c1-9839-426a-98c3-10bbe4be5b68@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.