nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH 1/2] display: let the title bar show when nano i


From: Brand Huntsman
Subject: Re: [Nano-devel] [PATCH 1/2] display: let the title bar show when nano is in linting mode
Date: Thu, 18 Oct 2018 01:29:09 -0600

On Wed, 17 Oct 2018 20:36:27 +0200
Benno Schulenberg <address@hidden> wrote:

> + prefix = _("Linting --");

I love double hyphens and use them all the time to clearly separate text, but I 
think "Linting:" looks better in the titlebar. And the double hyphen is a bit 
tacky. Also, a longer prefix has a greater chance of not being displayed if the 
filename is too long.


> + colorpair = interface_color_pair[SELECTED_TEXT];

The linter should use something other than the statusbar color. Should selected 
color be overloaded to also be linter message color? No. Overloading colors for 
unrelated purposes makes it harder for users to customize their colors. Linter 
should continue continue using the statusbar color or have a new color added.

http://lists.gnu.org/archive/html/nano-devel/2018-02/msg00157.html

That old patch still applies to git, just ignore the nanorc syntax failure. The 
yesno prompt color could be overloaded since linter messages are similar to 
yesno prompts, in that they are both warnings in need of action.




reply via email to

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