Simon Ruderichwrote:

> ---
>  runtime/doc/autocmd.txt |   28 ++++++++++++++--------------
>  1 files changed, 14 insertions(+), 14 deletions(-)
>
> diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
> index 7a5fa04..fe77265 100644
> --- a/runtime/doc/autocmd.txt
> +++ b/runtime/doc/autocmd.txt
> @@ -203,7 +203,7 @@ Name                        triggered by ~
>         Reading
>  |BufNewFile|           starting to edit a file that doesn't exist
>  |BufReadPre|           starting to edit a new buffer, before reading the file
> -|BufRead|              starting to edit a new buffer, after reading the file
> +|BufRead|                      starting to edit a new buffer, after reading 
> the file
>  |BufReadPost|          starting to edit a new buffer, after reading the file
>  |BufReadCmd|           before starting to edit a new buffer |Cmd-event|
>
> @@ -212,7 +212,7 @@ Name                        triggered by ~
>  |FileReadCmd|          before reading a file with a ":read" command 
> |Cmd-event|
>
>  |FilterReadPre|                before reading a file from a filter command
> -|FilterReadPost|       after reading a file from a filter command
> +|FilterReadPost|               after reading a file from a filter command
>
>  |StdinReadPre|         before reading from stdin into the buffer
>  |StdinReadPost|                After reading from the stdin into the buffer
> @@ -228,14 +228,14 @@ Name                      triggered by ~
>  |FileWriteCmd|         before writing part of a buffer to a file |Cmd-event|
>
>  |FileAppendPre|                starting to append to a file
> -|FileAppendPost|       after appending to a file
> +|FileAppendPost|               after appending to a file
>  |FileAppendCmd|                before appending to a file |Cmd-event|
>
> -|FilterWritePre|       starting to write a file for a filter command or diff
> -|FilterWritePost|      after writing a file for a filter command or diff
> +|FilterWritePre|               starting to write a file for a filter command 
> or diff
> +|FilterWritePost|              after writing a file for a filter command or 
> diff
>
>         Buffers
> -|BufAdd|               just after adding a buffer to the buffer list
> +|BufAdd|                       just after adding a buffer to the buffer list
>  |BufCreate|            just after adding a buffer to the buffer list
>  |BufDelete|            before deleting a buffer from the buffer list
>  |BufWipeout|           before completely deleting a buffer
> @@ -250,14 +250,14 @@ Name                      triggered by ~
>
>  |BufUnload|            before unloading a buffer
>  |BufHidden|            just after a buffer has become hidden
> -|BufNew|               just after creating a new buffer
> +|BufNew|                       just after creating a new buffer
>
>  |SwapExists|           detected an existing swap file
>
>         Options
>  |FileType|             when the 'filetype' option has been set
> -|Syntax|               when the 'syntax' option has been set
> -|EncodingChanged|      after the 'encoding' option has been changed
> +|Syntax|                       when the 'syntax' option has been set
> +|EncodingChanged|              after the 'encoding' option has been changed
>  |TermChanged|          after the value of 'term' has changed
>
>         Startup and exit
> @@ -266,7 +266,7 @@ Name                        triggered by ~
>  |GUIFailed|            after starting the GUI failed
>  |TermResponse|         after the terminal response to |t_RV| is received
>
> -|QuitPre|              when using `:quit`, before deciding whether to quit
> +|QuitPre|                      when using `:quit`, before deciding whether 
> to quit
>
>  |VimLeavePre|          before exiting Vim, before writing the viminfo file
>  |VimLeave|             before exiting Vim, after writing the viminfo file
> @@ -277,7 +277,7 @@ Name                        triggered by ~
>  |FileChangedRO|                before making the first change to a read-only 
> file
>
>  |ShellCmdPost|         after executing a shell command
> -|ShellFilterPost|      after filtering with a shell command
> +|ShellFilterPost|              after filtering with a shell command
>
>  |FuncUndefined|                a user function is used but it isn't defined
>  |SpellFileMissing|     a spell file is used but it can't be found
> @@ -309,10 +309,10 @@ Name                      triggered by ~
>
>  |RemoteReply|          a reply from a server Vim was received
>
> -|QuickFixCmdPre|       before a quickfix command is run
> -|QuickFixCmdPost|      after a quickfix command is run
> +|QuickFixCmdPre|               before a quickfix command is run
> +|QuickFixCmdPost|              after a quickfix command is run
>
> -|SessionLoadPost|      after loading a session file
> +|SessionLoadPost|              after loading a session file
>
>  |MenuPopup|            just before showing the popup menu
>  |CompleteDone|         after inster mode completion is done


Hi Simon

I can see why you want to patch this, but I think that the patch should
not be applied. It's a work around for a bug in Vim. It's also breaking
indentation when using "set concealllevel=0" or when conceal feature
is not enabled at compilation time.

It's the same kind of patch that was already rejected. See:

https://groups.google.com/forum/?fromgroups=#!topic/vim_dev/QowVzxfhgbM

There is a patch pending which fixes those alignment issues among other
problems (whether Vim uses conceal feature or not).

The proposed patch has been available for a long time by the way
without having been integrated in the official Mercurial repository.
I understand that tests were requested for it, but I don't really see
how it's possible to test it. Any chance to get it integrated anyway?
I've been using it for a long time without problem.

Regards
-- Dominique

-- 
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 information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui