Re: slight correction in online help under Magic \V

2018-12-26 Thread Bram Moolenaar


Linda Walsh wrote:

> On 12/24/2018 10:16 AM, Bram Moolenaar wrote:
> > Use of "\V" means that in the pattern after it only the backslash and the
> > terminating character (usually / or ?) has a special meaning.  "very 
> > nomagic"
> >
> >   
> "Use of "\V" means that in the remaining pattern, only a backslash and
>  terminating character (usually / or ?) have special meaning.  "Very 
> nomagic"
> 
> 1) 'comma' after first clause
> 2) 'a' instead 'the', as the use of a backslash isn't limited to one usage,
> 3) 'terminating character' ("specifier dropped" as specifier for other 
> subject
>('a') is distributed over both subject-nouns;
>(OR: "the corresponding, terminating character"; felt it read better 
> without
>the extra word)
> 4) 'have' instead of 'has' (subject-verb quantity agreement)
> 5) "special meaning" is a property, not a thing,
>like "has magic" or "does not have magic", but not
>"has a magic" or "does not have a magic"

Thanks for taking a close look and making corrections.  I think there
are a few remaining unclarities.  It may be semantically correct, but it
doesn't mean it's clear to the reader (and for many readers English is a
second language).

How about this (also including the text for \v, since it's similar):

Use of "\v" means that after it, all ASCII characters except '0'-'9', 'a'-'z',
'A'-'Z' and '_' have special meaning: "very magic"

Use of "\V" means that after it, only a backslash and terminating character
(usually / or ?) have special meaning: "very nomagic"

-- 
hundred-and-one symptoms of being an internet addict:
56. You leave the modem speaker on after connecting because you think it
sounds like the ocean wind...the perfect soundtrack for "surfing the net".

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Question about color settings

2018-12-26 Thread Tony Mechelynck
On Wed, Dec 26, 2018 at 11:32 AM Gabor Urban  wrote:
>
> Hi,
>
> I have made some VIM color schemes, but I still have some problems. The most 
> disturbing is
> the difference between the term... and cterm setting. I did look it up on the 
> net, but could
> not find appropriate information. Can anyone help?

The "term" settings are for monochrome terminals, whose text can be
bright or dim, or reverse-video, but where no contrasting colors are
possible. I had such a video screen (a yellow-and-black CRT on a
Hercules graphic card) when I started using MS-DOS on a PC-AT several
decades ago, but nowadays AFAIK they are only to be found in museums.
The "cterm" settings are for text-only color videos, and the "gui"
settings are for gvim (or for the MacVim GUI).
>
> I am using MS Windows both in GUI and command prompt mode. What kind of 
> terminal is set when I
> start VIM from a DOS command prompt?

When you start it as "vim", and it displays your edited text inside
the DOS box, it uses the "cterm" settings, unless 'termguicolors' is
on, which is not the default. When you start it as "gvim", or when
'termguicolors' is on, it will use the "gui" settings. It would only
use the "term" settings if you were running on a monochrome terminal;
I'm not sure Windows can be used on such a terminal.

See «:help 'termguicolors'» about what kinds of hardware and software
are necessary for that option to work.
>
> Looking for your answer...

HTH
>
> --
> Urbán Gábor
>
> Linux is like a wigwam: no Gates, no Windows and an Apache inside.

:-)

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Question about color settings

2018-12-26 Thread Gabor Urban
Hi,

I have made some VIM color schemes, but I still have some problems. The
most disturbing is
the difference between the term... and cterm setting. I did look it up on
the net, but could
not find appropriate information. Can anyone help?

I am using MS Windows both in GUI and command prompt mode. What kind of
terminal is set when I
start VIM from a DOS command prompt?

Looking for your answer...

-- 
Urbán Gábor

Linux is like a wigwam: no Gates, no Windows and an Apache inside.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.