nano-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] state flag related modifications - TAB key status


From: ObeliX
Subject: Re: [PATCH] state flag related modifications - TAB key status
Date: Wed, 23 Dec 2020 06:52:29 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 21.12.20 18:59, Benno Schulenberg wrote:

The tabs-to-spaces flag can be overridden by the 'tabgives' command
in a nanorc file.  So showing the tabs-to-spaces flag has been left
out of the title bar on purpose, to avoid complications and to avoid
misleading the user.

I often work on projects, where switching between tab-indention and
space-indention is needed. thus I frequently have to verify the current
TAB-mode when using nano. usually I type a TAB and then go back one step
with the cursor to see if it goes back one char or jumps back tabwidth.
but that is quite cumbersome. and having ON whitespaces all the time is
not valid option too.

that's why I implemented to show the current TAB-setting as state flag,
earlier. as you pointed out, such flag was omitted on purpose because of
possible confusion regarding 'tabgives' (thanx for bringing this feature
to my attention), I incorporated the 'tabgives'-setting into the
solution. maybe it could be useful for other nano-users too.

I also based the patch onto your minibar-branch. thus it should not
force you into unwanted rebasing.


Obel

Attachment: 0001-added-show-currently-active-TAB-setting-in-state-fla.patch
Description: Text Data


reply via email to

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