[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] address@hidden: Nano 1.12 space squashing]
From: |
David Lawrence Ramsey |
Subject: |
[Nano-devel] address@hidden: Nano 1.12 space squashing] |
Date: |
Fri, 25 Oct 2002 12:58:07 -0700 (PDT) |
Michael Piefel:
>In nano.c, around 1982, there are the lines
> const char *brackets = _("'\")}]>");
> const char *punct = _(".?!");
>
>I think these should not be hard-wired, but configurable, as they depend
>on the language the text which is edited is in, and not on some global
>configuration as the language of the environment.
Maybe a regular expression could be used to find
instances where the spacing needs to be changed, a la
quotestr? "([\.?!])(([]'")}>])|( ))" at nano's search
prompt, minus the surrounding quotes, seems to work in my
preliminary testing. Or would adding something like this,
along with an equivalent command-line option and nanorc
entry, break the feature freeze? (Not to mention, what
should be done if regexp support is unavailable?)
_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!
_____________________________________________________________
Select your own custom email address for FREE! Get address@hidden w/No Ads,
6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
- [Nano-devel] address@hidden: Nano 1.12 space squashing],
David Lawrence Ramsey <=