* Sort definition-prefixes?
@ 2018-04-19 0:41 Glenn Morris
2018-04-19 12:43 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2018-04-19 0:41 UTC (permalink / raw)
To: emacs-devel; +Cc: Stefan Monnier
Hi,
Should definition prefixes be sorted to prevent meaningless churn like
in http://lists.gnu.org/r/emacs-diffs/2018-04/msg00007.html ?
Or is the frequency (?) order that they are now in useful for anything?
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -607,7 +607,8 @@ autoload--make-defs-autoload
nil))))
prefixes)))
`(if (fboundp 'register-definition-prefixes)
- (register-definition-prefixes ,file ',(delq nil strings)))))))
+ (register-definition-prefixes ,file ',(sort (delq nil strings)
+ 'string<)))))))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Sort definition-prefixes?
2018-04-19 0:41 Sort definition-prefixes? Glenn Morris
@ 2018-04-19 12:43 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2018-04-19 12:43 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
> Should definition prefixes be sorted to prevent meaningless churn like
> in http://lists.gnu.org/r/emacs-diffs/2018-04/msg00007.html ?
Yes, please.
> Or is the frequency (?) order that they are now in useful for anything?
I don't think they're currently in any meaningful order like frequency.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-19 12:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-19 0:41 Sort definition-prefixes? Glenn Morris
2018-04-19 12:43 ` Stefan Monnier
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.