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

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

bug#66464: Vc mode-line


From: Dmitry Gutov
Subject: bug#66464: Vc mode-line
Date: Sun, 12 Nov 2023 00:05:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 11/11/2023 20:50, Juri Linkov wrote:
Currently the options are aligned and provide a nice review
what the user will see on the mode line:

  :type '(choice (const :tag "Show project name and status" with-project)
                 (const :tag "Show backend and status" t)
                 (const :tag "Show only backend name" nil))

So I'd rather like to describe more details in the docstring.

I don't like the semantics of this sentence (it implies that VC's mode line item will show the project name but it doesn't), but I'm not going to argue more.

Probably it should be sufficient to describe this in the docstring
like in this patch?

It's good, thank you.

PS: Probably we could also add another option `no-backend'
that will show only an indicator and the branch name.
But the dangling indicator such as "-" or "*" before the branch name
doesn't look nice when there is a space that separates it
from the project name, e.g. "project -branch".

It would probably make more sense to me, but having both might be overkill.

FWIW, with the custom mode-line that I use (smart-mode-line) the results of these two options would look the same -- space-separated anyway.





reply via email to

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