Re: better recognising of tex vs plaintex filetype

2006-08-28 Thread Giuseppe Bilotta
On Sat, 26 Aug 2006 10:30:43 +0200, Stefano Zacchiroli wrote: Still, with the current situation, working with long latex document, likely to be split in several files which are \included from a single on, is annoying Ow, right, I hadn't thought of that. Well, one might then work on the

Writing to .viminfo fails if user has permissions via POSIX ACLs or other security means

2006-08-28 Thread Frank Victor Fischer
Hi there, I have my home directory mounted via a kerberos - secured NFS4. All the user and groups of the files are mapped to nobody/nobody, so when trying to write to .viminfo, vim fails with the error: E137: Viminfo file is not writable The problem is resides in ex_cmds.c: if (mch_stat((char

Know when the :source/:runtime has finished ?

2006-08-28 Thread Zdenek Sekera
Perhaps a strange question so maybe a small explanation of why is in order: When I :source or :runtime a *.vim file, commands in that file build a buffer. To know when the buffer is complete, I have to know what follows, and if complete (because the following has an indicator of the start of a

Re: Know when the :source/:runtime has finished ?

2006-08-28 Thread A.J.Mechelynck
Zdenek Sekera wrote: Perhaps a strange question so maybe a small explanation of why is in order: When I :source or :runtime a *.vim file, commands in that file build a buffer. To know when the buffer is complete, I have to know what follows, and if complete (because the following has an

Bug? :setl bomb on Unicode file doesn't set 'modified'

2006-08-28 Thread A.J.Mechelynck
Hello, Changing a file's 'fileencoding' or 'fileformat' (or 'eol' when 'binary' is set) sets the 'modified' flag, but setting or clearing 'bomb' doesn't, even for Unicode files (e.g. enc == utf-8, fenc == or fenc == utf-8). Now with, for example, 'bomb' set, if the disk file is Unicode

Re: Bug? :setl bomb on Unicode file doesn't set 'modified'

2006-08-28 Thread Bram Moolenaar
Tony Mechelynck wrote: Changing a file's 'fileencoding' or 'fileformat' (or 'eol' when 'binary' is set) sets the 'modified' flag, but setting or clearing 'bomb' doesn't, even for Unicode files (e.g. enc == utf-8, fenc == or fenc == utf-8). Now with, for example, 'bomb' set, if the disk

Re: Bug? :setl bomb on Unicode file doesn't set 'modified'

2006-08-28 Thread A.J.Mechelynck
Bram Moolenaar wrote: Tony Mechelynck wrote: Changing a file's 'fileencoding' or 'fileformat' (or 'eol' when 'binary' is set) sets the 'modified' flag, but setting or clearing 'bomb' doesn't, even for Unicode files (e.g. enc == utf-8, fenc == or fenc == utf-8). Now with, for example, 'bomb'

Contextual highlighting problem

2006-08-28 Thread Yongwei Wu
I am trying to implement the COMMENT directive in the MASM syntax file: Treats all text between or on the same line as the delimiters as a comment. COMMENT delimiter [[text]] [[text]] [[text]] delimiter [[text]] The current way I deal with it is: syn match masmComment

Re: The Vim Outliner: \n does not work

2006-08-28 Thread striker
I use tvo on both mac os X and Windows. For both of these the local map leader is ,, . Kevin On Aug 27, 2006, at 10:46 PM, Meino Christian Cramer wrote: Hi, I have downloaded The Vim Outliner (tvo) version 122 (1.22?) and I am using it with vim 7.066 on a Gentoo Linux (2.6.17.11

Re: set vb t_vb=

2006-08-28 Thread A.J.Mechelynck
Mark Woodward wrote: I'll send you my vimrc privately as an example; no need to spam the list with it. spam away ;-) no, all of you voyeurs, I believe it is too long (and still too uninteresting) for the list. Best regards, Tony.

Re: Contextual highlighting problem

2006-08-28 Thread Yakov Lerner
On 8/28/06, Yongwei Wu [EMAIL PROTECTED] wrote: I am trying to implement the COMMENT directive in the MASM syntax file: Treats all text between or on the same line as the delimiters as a comment. COMMENT delimiter [[text]] [[text]] [[text]] delimiter [[text]] The current way I deal with it

Re: undo/redo mess with version 7.0 and utf-8 text

2006-08-28 Thread Yukihiro Nakadaira
# I failed in sending this mail. I'll resend it. This is old subject but I think this report might help someone. When using GTK2 GUI and XIM and GTK_IM_MODULE=scim, one undo command undoes several insert command because undo sequence is not broken. And also it causes error E438. This is

Re: Contextual highlighting problem

2006-08-28 Thread Yongwei Wu
On 8/28/06, Andy Wokula [EMAIL PROTECTED] wrote: Yongwei Wu schrieb: I am trying to implement the COMMENT directive in the MASM syntax file: Treats all text between or on the same line as the delimiters as a comment. COMMENT delimiter [[text]] [[text]] [[text]] delimiter [[text]] The

Re: Contextual highlighting problem

2006-08-28 Thread A.J.Mechelynck
Yongwei Wu wrote: [...] However, it is only a *little* better. Scroll down to make the first comment line disappear on the top of the Vim window, and press Ctrl-L, highlighting will have problems. C comments have not this problem. More clues? Best regards, Yongwei See the various flavours

RE: reopen?

2006-08-28 Thread Gene Kwiecinski
assuming a file has been changed underneath vim, and I know about it, how can I reopen that file replacing the current file's buffer contents? In most cases when you toggle back to that window, it'll be smart enough to pop up a box and let you know that the file's been changed, and gives you 3

Re: The Vim Outliner: \n does not work

2006-08-28 Thread Charles E Campbell Jr
Meino Christian Cramer wrote: Hi, I have downloaded The Vim Outliner (tvo) version 122 (1.22?) and I am using it with vim 7.066 on a Gentoo Linux (2.6.17.11 vanilla kernel). ...snip... My question: When using the \x (x := [1-9at]) commands from above, they do simply nothing. I check

automatically appending options to vimrc?

2006-08-28 Thread Lev Lvovsky
for the lazy, is there any way to automatically append vim options to the ~/.vimrc file? thanks :) -lev

Re: automatically appending options to vimrc?

2006-08-28 Thread A.J.Mechelynck
Lev Lvovsky wrote: for the lazy, is there any way to automatically append vim options to the ~/.vimrc file? thanks :) -lev You can create a session (see :help mksession) then yank part of the session file to append it to your vimrc; but it is not just as simple as that: Be sure to check

Re: automatically appending options to vimrc?

2006-08-28 Thread Lev Lvovsky
cool, thanks for the help guys! -lev On Aug 28, 2006, at 11:31 AM, Tim Chase wrote: for the lazy, is there any way to automatically append vim options to the ~/.vimrc file? I presume that there are select options that you want to preserve. You could do something like this *untested*

Re: The Vim Outliner: \n does not work

2006-08-28 Thread cga2000
On Sun, Aug 27, 2006 at 10:46:01PM EDT, Meino Christian Cramer wrote: [...] My question: When using the \x (x := [1-9at]) commands from above, they do simply nothing. I check with :map wheter there is anoter maplocalleader defined but it ios not. Furthermore, the commands are listed.

Re: undo/redo mess with version 7.0 and utf-8 text

2006-08-28 Thread Bram Moolenaar
Yukihiro Nakadaira wrote: This is old subject but I think this report might help someone. When using GTK2 GUI and XIM and GTK_IM_MODULE=scim, one undo command undoes several insert command because undo sequence is not broken. And also it causes error E438. This is because ... 1. scim

Re: Paragraph formatting options

2006-08-28 Thread cga2000
On Mon, Aug 28, 2006 at 10:15:00AM EDT, Mikolaj Machowski wrote: Dnia sobota, 19 sierpnia 2006 05:36, cga2000 napisa?: Is there any way I can tell Vim that when line 1 starts with a number followed by a dot '.' .. the following lines should be indented so that all the text is aligned.

Cursor gets stolen by the tab line

2006-08-28 Thread Max Dyckhoff
I use gvim 7.0 on Windows XP, and I always have multiple tabs open. I use a custom tabline, but this bug is visible with the default tabline as well. When I am bored and thinking about what to code I often play around with the mouse selecting text and dragging around inside gvim. Normally if you

Re: Cursor gets stolen by the tab line

2006-08-28 Thread Tim Chase
When I am bored and thinking about what to code I often play around with the mouse selecting text and dragging around inside gvim. [cut] I doubt there is a fix for this, The fix would be to find a better way to occupy your time while you're bored or thinking about what to code. ;-) Maybe

Re: Cursor gets stolen by the tab line

2006-08-28 Thread A.J.Mechelynck
Max Dyckhoff wrote: I use gvim 7.0 on Windows XP, and I always have multiple tabs open. I use a custom tabline, but this bug is visible with the default tabline as well. When I am bored and thinking about what to code I often play around with the mouse selecting text and dragging around inside

glob() and |file-pattern|

2006-08-28 Thread Hari Krishna Dara
The help on glob() or globpath() don't indicate what type of metacharacters are accepted, but there is a separate section called |file-pattern| that describes the metacharacters used for filename matching for autocommands. I don't know if these are applicable for glob() and globpath() as well,