I made a ~/.nanorc  as I did not have one and pasted in what you gave me.  When 
I tried to 
edit the file, I got these errors, and I am afraid I don't know how to fix 
them.  I tried 
surrounding with one more double quote on either end of the Regex and tried a 
single 
quote at the ends of the Regex to no avail.   HOWEVER, when I hit enter to 
continue using 
nano, the problem was GONE so something worked!




Nancy Anthracite

On Monday, January 2, 2017 3:24:03 PM EST Benno Schulenberg wrote:
> 
> Hello Nancy,
> 
> (Nothing disappeared from your email, it's just that you send HTML
> email, and apparently the formatting is so strange that only part
> of the text made it to the plain text version.  The full text is
> still present in part 2, the text/html segment.  It's better not
> to use HTML when sending technical emails.)
> 
> About the "expanded whitespace" in the XWBPRS.m file, I think I see
> what you mean: some pieces of text become brighter, others darker --
> if you use a terminal with a white background, the lighter pieces
> become just about invisible.
> 
> To solve this, instead of deleting objc.nanorc, I suggest you add
> the following three lines at the end of your ~/.nanorc:
> 
> syntax "mumps" "\.m$"
> color yellow ""[^"]*""  # Strings.
> color green ";[^"].*$"  # Comments.
> 
> Save it, and then open XWBPRS.m again with nano and see how you
> like it.  (If you use a dark background, you may want to use
> brightyellow and cyan instead.  Or is your terminal not capable
> of color?)
> 
> If one day you should want to color some Obj-C file correctly,
> you can use -Ym.
> 
> > I had a feeling this was really a feature, and not a bug. :-)
> 
> Indeed, it is a feature.  The difference between 2.2.6 and more
> recent versions is that in 2.2.6 the user had to explicitly
> enable the include statements in /etc/nanorc, while nowadays
> all available syntaxes are included and enabled by default.
> For most users this is a nice surprise.  But for a few who use
> files that have the same extension as files of other languages
> it will cause frowns.
> 
> Benno
> 


Reply via email to