Re: how to make it default so that nano wraps lines at 80 columns

Benno Schulenberg <[email protected]>
Newsgroups gmane.editors.nano.general
Message-ID <1479050245.3218966.786212609.5BCBB944@webmail.messagingengine.com>
On Sun, Nov 13, 2016, at 15:20, shirish शिरीष wrote:
> └─[$] grep nanorc TRAIL | grep -e etc -e home
> stat("/etc/nanorc", {st_mode=S_IFREG|0644, st_size=8769, ...}) = 0
> open("/etc/nanorc", O_RDONLY)           = 3
> stat("/home/shirish/.nanorc", {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
> open("/home/shirish/.nanorc", O_RDONLY) = 3

That is how it should be, so it seems to read ~/.nanorc
allright.  Does the 'set constantshow' take effect?  Does
it show all the time the cursor position on the statusbar
as soon as you start moving it around?

> > Did you compile nano yourself?  If yes, what --prefix
> > and other options did you use?  Or are you running
> > Debian unstable?
> 
> As shared before, am running Debian testing/stretch.

But Debian testing/stretch has version 2.7.0, not 2.7.1
as your 'nano --version' showed.  So... how did you
get 2.7.1?

> > It's strange that you don't have a /usr/bin/nano, when
> > you are on a Debian system.
> 
> I just saw https://bugs.debian.org/811206

Hm.  Maybe Jordi changed things, and has done away
with the hardlink or symlink in /usr/bin.

> Aha, found the culprit, see - [...]
> 
> maybe it is -
> 
> [$] grep nowrap /etc/nanorc
> 
> set nowrap
> 
> But this is supposed to be for root, right and it is supposed to be
> superseded by .nanorc in user's profile right ?

Right.  The 'set nowrap' should be overridden by the
'set fill'...   But... it doesn't!  You have found a bug!

Bah.  What the heck.  I thought I had fixed that a
long time ago.

Do you want to report this bug yourself in Savannah?
   https://savannah.gnu.org/bugs/?group=nano
Or do you prefer if I do that?

Benno

-- 
http://www.fastmail.com - Access all of your messages and folders
                          wherever you are


_______________________________________________
Help-nano mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-nano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.