Re: HTML indent script sucks

2013-08-05 Fir de Conversatie Gary Johnson
On 2013-08-04, Andy Wokula wrote: People, you can fill this thread with your complaints about the HTML indent script. I'm the current maintainer, lately I read lots of unspecific rants here and there but direct feedback is rare for some reason. The current version is a descendant of

Can't pass arguments into external command when enc=utf-8

2013-08-05 Fir de Conversatie mattn
Hi Bram. When enc=utf-8, vim pass the command arguments as utf-8 string on windows. Thus, :grep doesn't work with multbyte string. If ACP is CP932 and type :echo XXX as utf-8, vim calls: cmd /c (echo XXX) If XXX is 3 byte utf-8 string, windows command prompt treat the arguments like XXX).

Re: The maximised vim window has white paddings to the screen edge under windows.

2013-08-05 Fir de Conversatie Mike Williams
On 04/08/2013 03:52, Bohr Shaw wrote: On Sunday, August 4, 2013 8:34:05 AM UTC+8, Andrei Olsen wrote: On Sunday, August 4, 2013 2:12:28 AM UTC+2, Bohr Shaw wrote: This is a the left and bottom part of the whole screen picture. This is probably related to this discussion:

Re: Can't pass arguments into external command when enc=utf-8

2013-08-05 Fir de Conversatie Tony Mechelynck
On 05/08/13 09:05, mattn wrote: Hi Bram. When enc=utf-8, vim pass the command arguments as utf-8 string on windows. Thus, :grep doesn't work with multbyte string. If ACP is CP932 and type :echo XXX as utf-8, vim calls: cmd /c (echo XXX) If XXX is 3 byte utf-8 string, windows command prompt

Re: Can't pass arguments into external command when enc=utf-8

2013-08-05 Fir de Conversatie mattn
On Monday, August 5, 2013 7:05:39 PM UTC+9, Tony Mechelynck wrote: snip 1. What is 'encoding' set to if you start Vim with no vimrc? vim -u NORC -N cp932 2. When running normally, what is 'termencoding' set to? If it is the empty string (which is the defaut) try using the code

autocmd wrong example

2013-08-05 Fir de Conversatie Dimitar DIMITROV
Hi, I was reading :h40.3 and tried the example from line 446. That never worked because FileWritePre is irrelevant and BufWritePre should be used Cheers   Dimitar --- GPG Key: 2048R/160C6FA8 2012-10-11 Dimitar Dimitrov (kurkale6ka) mitk...@yahoo.fr -- -- You received this message from

Re: HTML indent script sucks

2013-08-05 Fir de Conversatie Andy Wokula
Am 05.08.2013 09:01, schrieb Gary Johnson: On 2013-08-04, Andy Wokula wrote: People, you can fill this thread with your complaints about the HTML indent script. I'm the current maintainer, lately I read lots of unspecific rants here and there but direct feedback is rare for some reason. The

Re: HTML indent script sucks

2013-08-05 Fir de Conversatie Andy Wokula
Am 04.08.2013 22:21, schrieb Ben Fritz: On Sunday, August 4, 2013 2:53:39 PM UTC-5, Andy Wokula wrote: The current version is a descendant of http://vim.sf.net/scripts/script.php?script_id=2075 It's very different from the original version by J. Zellner. How long ago did the original

Re: HTML indent script sucks

2013-08-05 Fir de Conversatie Gary Johnson
On 2013-08-05, Andy Wokula wrote: Am 05.08.2013 09:01, schrieb Gary Johnson: I started looking for examples of indentation that I didn't like in my HTML files. Then I looked in the indent/html.vim plugin and discovered that it had changed a lot since the last time I tried tuning it. I

Re: Can't pass arguments into external command when enc=utf-8

2013-08-05 Fir de Conversatie Bram Moolenaar
Yasuhiro mattn wrote: When enc=utf-8, vim pass the command arguments as utf-8 string on windows. Thus, :grep doesn't work with multbyte string. If ACP is CP932 and type :echo XXX as utf-8, vim calls: cmd /c (echo XXX) If XXX is 3 byte utf-8 string, windows command prompt treat the

Re: autocmd wrong example

2013-08-05 Fir de Conversatie Bram Moolenaar
Dimitar Dimitrov wrote: I was reading :h40.3 and tried the example from line 446. That never worked because FileWritePre is irrelevant and BufWritePre should be used Right. Strange that nobody noticed before. I suspect this example comes from the book. -- hundred-and-one symptoms of

Re: [Patch] src/fileio.c

2013-08-05 Fir de Conversatie Bram Moolenaar
Kazunobu Kuriyama wrote: fileio.c won't compile due to the variable p_acd unless FEAT_AUTOCHDIR is defined, and the macro is defined only when either FEAT_SUN_WORKSHOP, FEAT_NETBEANS_INTG or FEAT_BIG is defined (feature.h: 1349--1353). So, there's surely some cases where the vim source

Patch 7.4b.015

2013-08-05 Fir de Conversatie Bram Moolenaar
Patch 7.4b.015 (after 7.4b.008) Problem:Can't compile without the 'acd' feature. Solution: Add #ifdefs. (Kazunobu Kuriyama) Files: src/fileio.c *** ../vim-7.4b.014/src/fileio.c2013-08-02 17:08:08.0 +0200 --- src/fileio.c2013-08-05 21:58:03.0 +0200

Re: [Patch] src/fileio.c

2013-08-05 Fir de Conversatie Kazunobu Kuriyama
On Aug 6, 2013, at 5:02 AM, Bram Moolenaar b...@moolenaar.net wrote: Kazunobu Kuriyama wrote: fileio.c won't compile due to the variable p_acd unless FEAT_AUTOCHDIR is defined, and the macro is defined only when either FEAT_SUN_WORKSHOP, FEAT_NETBEANS_INTG or FEAT_BIG is defined