PHP Parse error: syntax error, unexpected T_FUNCTION, expecting T_PAAMAYIM_NEKUDOTAYIM

2012-02-14 Thread Dotan Cohen
I already figured out what this error is, but imagine my surprise when I found that my error messages were localized! Especially when working on a server somewhere in Germany via SSH and there being absolutely no Hebrew or Israel configuration. What, did CentOS or PHP parse my login name, and

vim mappings for Hebrew

2012-02-14 Thread Avraham Rosenberg
Hi all, I need, lately, to edit Hebrew texts with vim. As most vim commands, in normal and command modes use lower-case latin letter, which cannot be produced when the terminal is in Hebrew chars mode, I found myself switching all the time.. I started therefore to build a list of mappings, that

Re: PHP Parse error: syntax error, unexpected T_FUNCTION, expecting T_PAAMAYIM_NEKUDOTAYIM

2012-02-14 Thread Michael Vasiliev
On 02/14/2012 11:58 AM, Dotan Cohen wrote: I already figured out what this error is, but imagine my surprise when I found that my error messages were localized! Especially when working on a server somewhere in Germany via SSH and there being absolutely no Hebrew or Israel configuration. What,

Re: vim mappings for Hebrew

2012-02-14 Thread Daniel Shahaf
Avraham Rosenberg wrote on Tue, Feb 14, 2012 at 12:59:38 +0200: Hi all, I need, lately, to edit Hebrew texts with vim. As most vim commands, in normal and command modes use lower-case latin letter, which cannot be produced when the terminal is in Hebrew chars mode, I found myself switching

Re: vim mappings for Hebrew

2012-02-14 Thread Nadav Har'El
On Tue, Feb 14, 2012, Daniel Shahaf wrote about Re: vim mappings for Hebrew: :set keymap=hebrew Indeed. Vim has a very nice feature where it can emulate a Hebrew keyboard for editing, i.e., you never have to switch to Hebrew using your normal mechanism, rather you stay in English mode, and just

Re: vim mappings for Hebrew

2012-02-14 Thread Tzafrir Cohen
On Tue, Feb 14, 2012 at 04:21:06PM +0200, Nadav Har'El wrote: On Tue, Feb 14, 2012, Daniel Shahaf wrote about Re: vim mappings for Hebrew: :set keymap=hebrew Indeed. Vim has a very nice feature where it can emulate a Hebrew keyboard for editing, i.e., you never have to switch to Hebrew

Re: vim mappings for Hebrew

2012-02-14 Thread Daniel Shahaf
Tzafrir Cohen wrote on Tue, Feb 14, 2012 at 17:32:52 +: On Tue, Feb 14, 2012 at 04:21:06PM +0200, Nadav Har'El wrote: On Tue, Feb 14, 2012, Daniel Shahaf wrote about Re: vim mappings for Hebrew: :set keymap=hebrew Indeed. Vim has a very nice feature where it can emulate a Hebrew

Re: PHP Parse error: syntax error, unexpected T_FUNCTION, expecting T_PAAMAYIM_NEKUDOTAYIM

2012-02-14 Thread Lior Kaplan
On Tue, Feb 14, 2012 at 1:19 PM, Michael Vasiliev mycr...@infoscav.netwrote: Widely known PHP meme. Because, apparently, one does not have to know English well to write an interpreter engine. I assure you he does know English and this was quite intentional... $ svn ann

Re: PHP Parse error: syntax error, unexpected T_FUNCTION, expecting T_PAAMAYIM_NEKUDOTAYIM

2012-02-14 Thread Michael Vasiliev
On 02/15/2012 01:14 AM, Lior Kaplan wrote: On Tue, Feb 14, 2012 at 1:19 PM, Michael Vasiliev mycr...@infoscav.net mailto:mycr...@infoscav.net wrote: Widely known PHP meme. Because, apparently, one does not have to know English well to write an interpreter engine. I assure you he does

Re: vim mappings for Hebrew

2012-02-14 Thread Avraham Rosenberg
On Tue, Feb 14, 2012 at 05:32:52PM +, Tzafrir Cohen wrote: On Tue, Feb 14, 2012 at 04:21:06PM +0200, Nadav Har'El wrote: On Tue, Feb 14, 2012, Daniel Shahaf wrote about Re: vim mappings for Hebrew: :set keymap=hebrew Indeed. Vim has a very nice feature where it can emulate a

Re: vim mappings for Hebrew

2012-02-14 Thread Nadav Har'El
On Tue, Feb 14, 2012, Daniel Shahaf wrote about Re: vim mappings for Hebrew: Tzafrir Cohen wrote on Tue, Feb 14, 2012 at 17:32:52 +: For UTF-8 set al=1488 Yes, one day I should start using this new invention, UTF-8 ;-) The above from Nadav, using printable characters map! F12

Re: vim mappings for Hebrew

2012-02-14 Thread Nadav Har'El
On Wed, Feb 15, 2012, Avraham Rosenberg wrote about Re: vim mappings for Hebrew: the difference between them...In general, I would like to know where from you got this wealth of information about the editor. Can you recommend some book? Vim has a very extensive user guide. In the old days,