bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#62621: 29.0.60; uniquify can't make buffers unique based on things o


From: Eli Zaretskii
Subject: bug#62621: 29.0.60; uniquify can't make buffers unique based on things other than filename
Date: Sat, 15 Jul 2023 08:42:06 +0300

> From: sbaugh@catern.com
> Date: Fri, 14 Jul 2023 19:15:50 +0000 (UTC)
> Cc: Spencer Baugh <sbaugh@janestreet.com>, 62621@debbugs.gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> I can't contrast that to "using symbols" because I just don't understand
> >> what you mean by "using symbols".
> >
> > It means the defcustom's value is a symbol, like 'numbered or
> > 'append-directory, not a function.
> 
> Yes.  But how would you implement it so that setting the defcustom to
> 'project causes the project-uniquify-dirname-transform logic to be used
> by uniquify.el, without mentioning project-uniquify-dirname-transform or
> other project functions in uniquify.el?

You can use autoloading, for example.  Or explicitly
(require 'project) when that value is seen.  Or any
number of other solutions we have for such situations.





reply via email to

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