Typo in usr_41.txt, patch attached

2011-02-01 Fir de Conversatie Peter Odding
Hi all, While reading through usr_41.txt I found a typo, please see the attached patch (based on the latest runtime files from Mercurial). - Peter Odding -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more

Re: [BUG]: build failure with --enable-perlinterp=dynamic

2011-02-01 Fir de Conversatie Bram Moolenaar
Britton Kerin wrote: For the source from the download page I get this and the latest stable perl (5.12.3), I get this: $ ./configure --prefix=$HOME/local --enable-perlinterp=dynamic $ make [snip] gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread

Re: [bug] reproducible crash when trying to create dictionary with :mkspell

2011-02-01 Fir de Conversatie Bram Moolenaar
Dominique Pelle wrote: Vim-7.3.107 crashes when I try to create the Esperanto dictionary from OpenOffice-3. Steps to reproduce: $ wget http://extensions.services.openoffice.org/e-files/3377/1/1.0-dev.oxt $ unzip 1.0-dev.oxt $ vim -u NONE --noplugin -c 'set nomore' -c 'mkspell!

Patch 7.3.108

2011-02-01 Fir de Conversatie Bram Moolenaar
Patch 7.3.108 Problem:Useless check for NULL when calling vim_free(). Solution: Remove the check. (Dominique Pelle) Files: src/eval.c, src/ex_cmds.c, src/os_win32.c *** ../vim-7.3.107/src/eval.c 2011-01-22 01:13:33.0 +0100 --- src/eval.c 2011-01-30 21:37:53.0 +0100

Re: 'list', :list, and 'listchars'

2011-02-01 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: On Sat, January 29, 2011 10:59 am, Andy Wokula wrote: Am 26.01.2011 18:41, schrieb Ben Fritz: From looking at :list, it seems like it's basically supposed to print the line as it would show with 'list' turned on. However, I have a few questions: :help :list

Re: Possible cindent bug when using cinoptions=J1

2011-02-01 Fir de Conversatie Bram Moolenaar
Audrius wrote: I was exploring the possibility to use cindent for JavaScript code indentation, because all the indent plugins I've tried so far make me unhappy. I've found that it works pretty well (except for array literals spanning multiple lines, though I'll try to fix it using

Re: Unexpected behavior loading cp1252 file as latin1

2011-02-01 Fir de Conversatie Bram Moolenaar
Ben Fritz wrote: On Jan 29, 6:46 am, Christian Brabandt cbli...@256bit.org wrote: Hi Vlad! On Fr, 28 Jan 2011, Vlad Irnov wrote: Vim apparently uses cp1252 instead of latin-1 for enc. My understanding is that the only difference between them is that cp1252 has characters for

Re: 'list', :list, and 'listchars'

2011-02-01 Fir de Conversatie Christian Brabandt
On Tue, February 1, 2011 2:14 pm, Bram Moolenaar wrote: Christian Brabandt wrote: Here is a patch, that adds nbsp support to :list command. I leave out conceal, as I don't think this makes sense here: That only works when 'enc' is a multi-byte encoding. It should also work for latin1. Upps

Re: 'list', :list, and 'listchars'

2011-02-01 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: Here is a patch, that adds nbsp support to :list command. I leave out conceal, as I don't think this makes sense here: That only works when 'enc' is a multi-byte encoding. It should also work for latin1. Upps forgotten. I somehow thought, this is only

Patch 7.3.110

2011-02-01 Fir de Conversatie Bram Moolenaar
Patch 7.3.110 Problem:The nbsp item in 'listchars' isn't used for :list. Solution: Make it work. (Christian Brabandt) Files: src/message.c *** ../vim-7.3.109/src/message.c2011-01-17 20:08:03.0 +0100 --- src/message.c 2011-02-01 17:06:21.0 +0100

Patch 7.3.111

2011-02-01 Fir de Conversatie Bram Moolenaar
Patch 7.3.111 (after 7.3.100) Problem:Executing a :normal command in 'statusline' evaluation causes the cursor to move. (Dominique Pelle) Solution: When updating the cursor for 'cursorbind' allow the cursor beyond the end of the line. When evaluating 'statusline'

Re: Patch 7.3.110

2011-02-01 Fir de Conversatie Ben Fritz
On Feb 1, 10:12 am, Bram Moolenaar b...@moolenaar.net wrote: Patch 7.3.110 Problem:    The nbsp item in 'listchars' isn't used for :list. Solution:   Make it work. (Christian Brabandt) Files:      src/message.c I think the :help 'list' and :help :list entries also need an update. The entry

Re: Unexpected behavior loading cp1252 file as latin1

2011-02-01 Fir de Conversatie Ben Fritz
On Feb 1, 9:50 am, Bram Moolenaar b...@moolenaar.net wrote: Ben Fritz wrote: On Jan 29, 6:46 am, Christian Brabandt cbli...@256bit.org wrote: Hi Vlad! On Fr, 28 Jan 2011, Vlad Irnov wrote: Vim apparently uses cp1252 instead of latin-1 for enc. My understanding is that the

Patch 7.3.112

2011-02-01 Fir de Conversatie Bram Moolenaar
Patch 7.3.112 Problem:Setting 'statusline' to %!'asdf%' reads uninitialized memory. Solution: Check for NUL after %. Files: src/buffer.c *** ../vim-7.3.111/src/buffer.c 2010-10-27 16:17:56.0 +0200 --- src/buffer.c2011-02-01 21:40:17.0 +0100 *** ***

Re: vim crash

2011-02-01 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: Hi John! On Di, 25 Jan 2011, John Beckett wrote: Hoss wrote: $ find . -mindepth 1 -maxdepth 1 -name '*.pm' | xargs sh -c '/usr/ local/bin/vim -p $@ /dev/tty' The find command has 60 hits. Now, if I just run this command, it works fine, and I get

Re: 'list', :list, and 'listchars'

2011-02-01 Fir de Conversatie Christian Brabandt
Hi Bram! On Di, 01 Feb 2011, Bram Moolenaar wrote: The value is used only once, thus you can put the mb_ptr2len() right there. Ah yes of course. regards, Christian -- -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying

Re: Unexpected behavior loading cp1252 file as latin1

2011-02-01 Fir de Conversatie Rhialto
On Tue 01 Feb 2011 at 09:30:48 -0800, Ben Fritz wrote: Converting from cp1252 to latin1 should fail depending on the characters in the file, but latin1 to cp1252 should always work, shouldn't it? I understand cp1252 to be a superset of latin1. Is it because the system mis-represents its