Le 30/07/2019 à 19:21, Benno Schulenberg a écrit :
> Hello Jerome,
Hello thx to take time to talk about it.
> For which languages or types of files would you like to see
> syntaxes added?  Just adding as many syntaxes as possible does
> not seem like a good idea.  You must give some rationale why a
> certain syntax would be good to include by default.

Sometimes we(people) have to fix/try things on server.

The first i have in mind are .ctp files from cakephp (which are php
files) but also for twig files.(if i remember well cuda/(opencl maybe) 
is missing in c/c++ file )

Not include certain just broke others (sometimes).

Maybe include them in an nano-extra can be better.


>> Also add by default option like -c (line number) and -s ispell .
> Why do you want to have linenumbers enabled by default for all users?
> Do you think the average user would appreciate that?  If yes, then
> please explain why you think so.

For me average users are mostly command line users and new users.

It really change my life when i find the option. it permit to know where
you are in a file.

I currently have to manage several server and it’s just a pain to have
to add the -c option all the time.

(a day i will export it through ssh and su, i think it’s possible )

The fact is i start with nano and never take the time to migrate to
vi/vim or emacs (and i use command line all the time)

>
> If the user wants spell checking and 'spell' is not installed,
> he or she should figure out what kind of spell checker to use --
> nano can not figure this out for them.
>
for the first case nano will say : programm not found.

for others they know how to deal with it.

but for new users if spell is install it’s a better default configuration.

(for me debian lack on an xdg-open like for things like spell, download
utilities but it’s not the point here, that can solve the what spell
tool the user use because it in this case always use kind of
$SPELL_PROGRAM )

>> also --softwrap but this one should be discuss.
> Enabling softwrap by default... is not a good idea, because nano
> gives no indication that softwrap is on (unlike emacs: with a
> trailing backslash), and the cursor moves as if the wrapped stuff
> is a separate line (unlike vim: it skips to the next true line).
good point
> Benno
>
jerome

Attachment: 0x053A41EF03878A98.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to