Sunday, April 9, 2017

Re: Anybody using the Farsi feature?

On Sun, Apr 9, 2017 at 2:47 PM, Bram Moolenaar <Bram@moolenaar.net> wrote:
>
> Vim includes Farsi support. This implementation is quite old and uses
> an encoding standard that is not widely used: ISIR-3342. In fact,
> searching for that standard has the first 9 matches in Vim code.
> It does not work with Unicode.

Farsi code is quite old indeed, possibly older than Vim support for Unicode.

The Arabic subsystem is newer, makes use of Unicode, and ought to work
for Farsi in Unicode, even the additional letters added to the Arabic
alphabet to support the Persian language. "Farsi Yeh" (an Arabic
letter yeh which loses its two dots below when it is wriiten in
zig-zag shape, i.e. final or isolated) may or may not be one of them,
it is used in Classical Arabic in the Mashrek (the Eastern part of the
Arabic-language domain).
>
> Is anobody actually using this code? If not, I think we can remove it.
> It would be best if it can be replaced by a Unicode implementation. But
> it requires someone understanding the language to do this.

Someone understanding Farsi (not me) should check if setting 'arabic',
and setting a 'guifont' with the proper glyphs for Farsi, are enough
to write Farsi in Unicode in gvim 8.0. I'm attaching a "phonetic
Arabic" keymap which ought to be usable (after some getting used to)
for writing Farsi on a European keyboard, possibly with a few obvious
additions (obvious to someone knowing Persian). Of course anyone with
a Persian keyboard won't need mine.

If the letters added to the Arabic alphabet to support the Farsi
language don't shape correctly in gvim, then IMHO it should be
possible to add the necessary shaping rules to our Arabic subsystem.
These letters are "Arabic letters" in the wide sense of the word after
all, just like Scandinavian øæå, German äöüß, French àâçéêèëîïùŷÿœ,
Icelandic ðþ, etc. are "Latin letters" in the wide sense of the word.
>
>
> --
> DINGO: And after the spanking ... the oral sex.
> GALAHAD: Oh, dear! Well, I...
> GIRLS: The oral sex ... The oral sex.
> GALAHAD: Well, I suppose I could stay a BIT longer.
> "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anybody using the Farsi feature?

Vim includes Farsi support. This implementation is quite old and uses
an encoding standard that is not widely used: ISIR-3342. In fact,
searching for that standard has the first 9 matches in Vim code.
It does not work with Unicode.

Is anobody actually using this code? If not, I think we can remove it.
It would be best if it can be replaced by a Unicode implementation. But
it requires someone understanding the language to do this.


--
DINGO: And after the spanking ... the oral sex.
GALAHAD: Oh, dear! Well, I...
GIRLS: The oral sex ... The oral sex.
GALAHAD: Well, I suppose I could stay a BIT longer.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Bram@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Colorscheme problems

Hi,

on my tablet I installed a chrooted Linux, and on that Linux I installed
(of course) vim.

While experimenting with colorschemes (the color rendering is a little
very different from my PC) I noticed some
"features" which seem a little weird for me...explanations are very
welcome:
(I am using vim, no gvim here)

* Regardless what colorscheme is loaded, the cursor color is a very dimm
and dark red background with black foreground.
* When I insert 'colorscheme phd' in the .vimrc as the only colorscheme
command and start vim after that, the colorscheme
does not load / colors are not changed. Giving the command
:colorscheme, I get 'phd' back.
Giving the command :colorscheme phd manually loads the colorscheme AND
changes the colors accordingly (beside the color of
the cursor (see above))
Other colorschemes are not affected from this "feature" ;)

The terminal from which I starts vim is a 256-color one and test scripts
seem to verify that.

I am a little clueless on that...why is the cursor insisting on its
nearly undectable color settings?
And why gets the 'phd' gets loaded only manually ?

Any help is very appreciated...Thanks a lot in advance!

Cheers
Meino
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Saturday, April 8, 2017

Re: Doing ^J

On Saturday, 08 April, 2017 at 15:37:45 BST, Christiano wrote:
>:map ^J xyz
>
>The xyz part itself doesnt matter here, my problem is to make the "^J" part.

If the intention is to map control-j, use <c-j>. If the intention is to map the enter key, use <cr>.

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Left margin in gVim

Hello all,

there was an old thread about left margin in VIM.
https://groups.google.com/d/msg/vim_dev/muxfGRp86zE/VokJ7LJqIIIJ

So the proposal was supposed to help with setting up a left margin in VIM
and here are two related discussions on Stackoverflow:
http://stackoverflow.com/questions/2531904/how-do-i-increase-the-spacing-of-the-line-number-margin-in-vim
http://stackoverflow.com/questions/7893390/how-to-change-the-left-margin-in-gvim

In original thread Christian Brabandt made a patch for it and I am
not sure whether the feature was supposed to be added or not in
future releases. I have read Vim 8 new features documents but
seems that there is nothing about it? (I still use version 7.4)
Probably there is something added that adresses this or planned?

In two words, the issue description:
If I show line numbers, the text in main window is very close
to the numbers, namely only 1 char gap. The idea was to add
a possibility to increase the gap in some way, and it was
(still is?) impossible to do.


Regards
Mikhail

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vim charity: financial report 2016

Hello Vimmers,

Vim users are asked to support a project in Uganda, and many have
donated money in 2016. The ICCF foundation takes care of this and their
financial report is now available, see the attachment. Also available
in Dutch: http://www.iccf.nl/jaarrekening2016nl.pdf

I am very thankful for the support! Although the amount went down a bit
compared to 2015, we are still able to help many children.

I'm also happy to say that the cost was only 0.7% of the donations, thus
more than 99% of the money actually ended up with the project in Uganda.
There it is used to keep the school and clinic running and make sure the
children are healthy and complete their education.

Several students graduated at the university in the past year. One as a
lawyer and one is now a doctor. That is a huge accomplishment, they
started as a poor, malnourished child in a small town.

--
Anyone who is capable of getting themselves made President should on no
account be allowed to do the job.
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

/// Bram Moolenaar -- Bram@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Doing ^J

Hi, I am reading the book "learning vi editor"(linda lamb & arnold robbins 6th edition).
Page 115, the book does a command like this:

:map ^J xyz

The xyz part itself doesnt matter here, my problem is to make the "^J" part.

I have tried
Ctrl+V Ctrl+j (ctrl+v can be used to escape Enter for example)
and
Ctrl+j directly

In both cases it doesn't work.

I am using vi editor inside FreeBSD 11.0, it isn't the vim (vi improved) but I thought that I could ask here because both (unix vi and vim) are similar.

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.