[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master f995fbd: * lisp/server.el (server-name): Add autoload cookie.

From: Stefan Monnier
Subject: Re: master f995fbd: * lisp/server.el (server-name): Add autoload cookie. (Bug#23576)
Date: Wed, 25 May 2016 23:36:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> The code I pushed just populates a new hash table `definition-prefixes'.
> We still need to change help-fns.el (and various other places) to make
> use of it.

BTW, there could be other uses for it:
- detect and warn about prefix-conflicts (when two packages use the same
  prefix).  The main difficulty here could be to figure out if two files
  are part of the same package or not, tho a good heuristic could be to
  check if they're in the same directory.
- emit warnings about packages that are not namespace clean which we
  can define as "use more than one prefix".  There are some non-trivial
  issues to handle, tho, such as the issue of exceptions like
  "define-<foo>", or the issue of files which have very few definitions
  (say 3), in which case my algorithm may decide that the file uses
  3 separate prefixes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]