emacs-devel
[Top][All Lists]
Advanced

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

Re: Include leaf in Emacs distribution


From: Thibaut Verron
Subject: Re: Include leaf in Emacs distribution
Date: Tue, 13 Oct 2020 17:29:11 +0200

Le mar. 13 oct. 2020 à 16:29, Stefan Monnier
<monnier@iro.umontreal.ca> a écrit :
>
> > What would this gnu-elpa package contain, exactly?
>
> No need for the conditional.  You can look at the package
>
>     https://elpa.gnu.org/packages/gnu-elpa.html
>
> or install it with `M-x package-install`.

Oh, thanks!

> >> except for the `diminish` which seems orthogonal (if we think it
> >> should be diminished by default, then we should change undo-tree
> >> accordingly).
> > But diminish.el is only available on Melpa (and, I assume, soon on
> > non-GNU Elpa).
>
> I don't think you need this specific package in order to get the
> corresponding change in behavior for undo-tree.
>
> What I meant is that if we think that undo-tree should be `diminish`ed
> by default, then it means we consider the default behavior of
> `undo-tree` to be wrong and we should consider it as a bug to fix in
> `undo-tree`.

Ah yes, I read it differently.

The way I understand it, some users like to have diminished names on
their mode line, some like the default behaviour, some have something
different...
So to please everybody (and avoid spending as much energy as a small
town in mail traffic), we can provide a "setting block" setting the
diminished name only if the user wants diminished names.

Ideally it would be setting a variable interpreted by diminish-mode,
but even if there is no such mode (I'm not sure), something like

   (with-eval-after-load 'diminish (diminish 'undo-tree-mode))

would work.



reply via email to

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