[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: packaging nano with a skeleton nanorc file
From: |
Benno Schulenberg |
Subject: |
Re: packaging nano with a skeleton nanorc file |
Date: |
Tue, 15 Sep 2020 09:55:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Op 14-09-2020 om 12:56 schreef Kamil Dudka:
> Syntax highlighting is not the only uncommented line in /etc/nanorc on
> Fedora.
> It also sets the spell checker program:
>
> https://bugzilla.redhat.com/681000
Since version 4.6 'hunspell' is the default internal spell checker:
https://git.savannah.gnu.org/cgit/nano.git/commit/?id=4d77e0ad
(This uses 'hunspell' to create a list of misspelled words and then lets the
user correct each of them in turn. Setting 'speller' uses the given program
as an external checker: the correcting is done in that program too. I notice,
though, that 'hunspell' touches the temporary file even when zero changes were
made, resulting that nano marks the buffer as "Modified". :| For example,
'aspell' doesn't do this.)
> I do not think we want to discourage users from configuring anything
> globally.
> We should just give them an option to skip the global configuration if needed.
The only mechanism we have for that is -f: 'nano -f /home/user/somefile' will
not read /etc/nanorc nor /home/user/.nanorc, but just the indicated file. So,
if the user wants the global /etc/nanorc to always be skipped, they could do:
alias nano="/bin/nano -f /home/user/.nanorc"
Benno
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH] Add Haskell syntax highlighting, (continued)
- Re: [PATCH] Add Haskell syntax highlighting, Benno Schulenberg, 2020/09/09
- Re: [PATCH] Add Haskell syntax highlighting, Hussam al-Homsi, 2020/09/09
- Re: [PATCH] Add Haskell syntax highlighting, Benno Schulenberg, 2020/09/10
- Re: [PATCH] Add Haskell syntax highlighting, Hussam al-Homsi, 2020/09/10
- Re: [PATCH] Add Haskell syntax highlighting, Benno Schulenberg, 2020/09/11
- Re: [PATCH] Add Haskell syntax highlighting, Kamil Dudka, 2020/09/11
- Re: [PATCH] Add Haskell syntax highlighting, Benno Schulenberg, 2020/09/12
- Re: [PATCH] Add Haskell syntax highlighting, Kamil Dudka, 2020/09/14
- packaging nano with a skeleton nanorc file, Benno Schulenberg, 2020/09/14
- Re: packaging nano with a skeleton nanorc file, Kamil Dudka, 2020/09/14
- Re: packaging nano with a skeleton nanorc file,
Benno Schulenberg <=
- Re: packaging nano with a skeleton nanorc file, Kamil Dudka, 2020/09/15
- Re: packaging nano with a skeleton nanorc file, Benno Schulenberg, 2020/09/15
Re: [PATCH] Add Haskell syntax highlighting, Hussam al-Homsi, 2020/09/12
- different syntax highlighting for Haskell, Benno Schulenberg, 2020/09/13
- Re: different syntax highlighting for Haskell, Hussam al-Homsi, 2020/09/13
- Re: different syntax highlighting for Haskell, Benno Schulenberg, 2020/09/14
- Re: different syntax highlighting for Haskell, Benno Schulenberg, 2020/09/26
- Re: different syntax highlighting for Haskell, Hussam al-Homsi, 2020/09/26
- Re: different syntax highlighting for Haskell, Benno Schulenberg, 2020/09/28