home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: patch 5.4.8
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- ------------
-
- Patch 5.4.8
- Problem: Edit some file, ":he", ":opt": options from help window are shown,
- but pressing space updates from the other window. (Phillipps)
- Also: When there are changes in the option-window, ":q!" gives an
- error message.
- Solution: Before creating the option-window, go to a non-help window.
- Use ":bdel!" to delete the buffer.
- Files: runtime/optwin.vim
-
-
- *** ../vim-5.4/runtime/optwin.vim Sun Jul 25 22:02:47 1999
- --- runtime/optwin.vim Thu Jul 29 21:20:10 1999
- ***************
- *** 1,7 ****
- " These commands create the option window.
- "
- " Maintainer: Bram Moolenaar <Bram@vim.org>
- ! " Last change: 1999 Jul 15
-
- " Make sure the '<' flag is not included in 'cpoptions', otherwise <CR> would
- " not be recognized. See ":help 'cpoptions'".
- --- 1,7 ----
- " These commands create the option window.
- "
- " Maintainer: Bram Moolenaar <Bram@vim.org>
- ! " Last change: 1999 Jul 29
-
- " Make sure the '<' flag is not included in 'cpoptions', otherwise <CR> would
- " not be recognized. See ":help 'cpoptions'".
- ***************
- *** 117,122 ****
- --- 117,133 ----
- let old_ru = &ru
- set notitle noicon nosc noru
-
- + " If the current window is a help window, try finding a non-help window.
- + " Relies on syntax highlighting to be switched on.
- + let OW_thiswin = winnr()
- + while exists("b:current_syntax") && b:current_syntax == "help"
- + exe "norm! \<C-W>w"
- + if OW_thiswin == winnr()
- + break
- + endif
- + endwhile
- + unlet OW_thiswin
- +
- " Open the window
- new option-window
- set ts=15 tw=0
- ***************
- *** 867,873 ****
- delfun OW_BinOptionL
- delfun OW_Header
- au! optwin
- ! bdel option-window
- call OW_leave()
- delfun OW_enter
- delfun OW_leave
- --- 878,884 ----
- delfun OW_BinOptionL
- delfun OW_Header
- au! optwin
- ! bdel! option-window
- call OW_leave()
- delfun OW_enter
- delfun OW_leave
- *** ../vim-5.4/src/version.h Thu Jul 29 12:09:04 1999
- --- src/version.h Thu Jul 29 21:31:00 1999
- ***************
- *** 19,26 ****
- #define VIM_VERSION_MINOR_STR "4"
- #define VIM_VERSION_BUILD 57
- #define VIM_VERSION_BUILD_STR "57"
- ! #define VIM_VERSION_PATCHLEVEL 7
- ! #define VIM_VERSION_PATCHLEVEL_STR "7"
-
- /*
- * VIM_VERSION_NODOT is used for the runtime directory name.
- --- 19,26 ----
- #define VIM_VERSION_MINOR_STR "4"
- #define VIM_VERSION_BUILD 57
- #define VIM_VERSION_BUILD_STR "57"
- ! #define VIM_VERSION_PATCHLEVEL 8
- ! #define VIM_VERSION_PATCHLEVEL_STR "8"
-
- /*
- * VIM_VERSION_NODOT is used for the runtime directory name.
- ***************
- *** 30,35 ****
- */
- #define VIM_VERSION_NODOT "vim54"
- #define VIM_VERSION_SHORT "5.4"
- ! #define VIM_VERSION_MEDIUM "5.4.7"
- ! #define VIM_VERSION_LONG "VIM - Vi IMproved 5.4.7 (1999 Jul 29)"
- ! #define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 5.4.7 (1999 Jul 29, compiled "
- --- 30,35 ----
- */
- #define VIM_VERSION_NODOT "vim54"
- #define VIM_VERSION_SHORT "5.4"
- ! #define VIM_VERSION_MEDIUM "5.4.8"
- ! #define VIM_VERSION_LONG "VIM - Vi IMproved 5.4.8 (1999 Jul 29)"
- ! #define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 5.4.8 (1999 Jul 29, compiled "
-
-
- --
- WOMAN: King of the who?
- ARTHUR: The Britons.
- WOMAN: Who are the Britons?
- ARTHUR: Well, we all are. we're all Britons and I am your king.
- The Quest for the Holy Grail (Monty Python)
-
- --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /
-