From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: Nano: disable hard wrapping by default Date: Wed, 07 Nov 2018 03:27:28 +0800 Message-ID: <87pnviypjz.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gK76w-0002wn-9y for guix-devel@gnu.org; Tue, 06 Nov 2018 14:34:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gK711-0004Kw-NB for guix-devel@gnu.org; Tue, 06 Nov 2018 14:27:59 -0500 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:36244) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gK70x-0003wx-PC for guix-devel@gnu.org; Tue, 06 Nov 2018 14:27:53 -0500 Received: by mail-pl1-x630.google.com with SMTP id w24-v6so6672280plq.3 for ; Tue, 06 Nov 2018 11:27:51 -0800 (PST) In-Reply-To: (swedebugia's message of "Tue, 6 Nov 2018 19:49:46 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: swedebugia Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable swedebugia writes: > On 2018-11-06 19:43, swedebugia wrote: >> Hi >> >> I stumpled on this hard-wrapping default behavior when editing >> .bash_profile on GuixSD >> >> It is super annoying. >> >> Could we disable it by default? >> >> According to the FAQ this exist: >> >> "With --disable-wrapping-as-root you can disable any hard-wrapping >> by default when the user is root, useful to prevent accidentally >> changing long lines in system configuration files." >> >> "=C2=A0 --disable-wrapping=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Disable all har= d-wrapping of text" >> >> We only compile with this: >> >> sdb@komputilo ~$ nano -V >> >> =C2=A0GNU nano, version 2.9.8 >> >> snip >> >> =C2=A0Compiled options: --enable-utf8 >> > We could do this also by adding the following to our core ~.bashrc > > alias nano=3D"nano --nowrap" I don't use nano. But I think usually we want to stick with the default provided by upstream. Also, do you know how other distros handle this? Debian does disable wrapping by default. I think we can change it if many distros agree that the more sensible default is to disable wrapping. Personally though, I prefer wrapping because I can read all the text at once. I like to see the "whole picture" at once :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQwb8uPLAHCXSnTBVZh71Au9gJS8gUCW+HrIAAKCRBh71Au9gJS 8vamAP9O0qJvBSS0N+ryAtAZmdYrqnJS07Uo41/Ubbyl7T2xOwD/fs1kwh9yGR/t dg2xTw03PXyB8PN3AQh7XvDNUraYtgk= =5qA7 -----END PGP SIGNATURE----- --=-=-=--