# HG changeset patch # User Michael Kifer # Date 1132080270 0 # Node ID 7c76da84383ba38e48765b3b6b50405904a12b0f # Parent 2f71f4b01b01b5cbb1a8885139350713440127fb 2005-11-15 Michael Kifer * viper-utils (viper-non-word-characters-reformed-vi): quote `-' in string. * viper.el (viper-emacs-state-mode-list): Ensure that rcirc-mode buffers come up in Emacs state. diff -r 2f71f4b01b01 -r 7c76da84383b lisp/ChangeLog --- a/lisp/ChangeLog Tue Nov 15 17:26:35 2005 +0000 +++ b/lisp/ChangeLog Tue Nov 15 18:44:30 2005 +0000 @@ -1,3 +1,11 @@ +2005-11-15 Michael Kifer + + * viper-utils (viper-non-word-characters-reformed-vi): quote `-' in + string. + + * viper.el (viper-emacs-state-mode-list): Ensure that + rcirc-mode buffers come up in Emacs state. + 2005-11-15 Dan Nicolaescu * term.el (term-termcap-format): Fix typos. diff -r 2f71f4b01b01 -r 7c76da84383b lisp/emulation/viper-util.el --- a/lisp/emulation/viper-util.el Tue Nov 15 17:26:35 2005 +0000 +++ b/lisp/emulation/viper-util.el Tue Nov 15 18:44:30 2005 +0000 @@ -1242,8 +1242,12 @@ ;; Characters that should not be considered as part of the word, in reformed-vi ;; syntax mode. +;; Note: \\ (quoted \) must appear before `-' because this string is listified +;; into characters at some point and then put back to string. The result is +;; used in skip-chars-forward, which treats - specially. Here we achieve the +;; effect of quoting - and preventing it from being special. (defconst viper-non-word-characters-reformed-vi - "!@#$%^&*()-+=|\\~`{}[];:'\",<.>/?") + "!@#$%^&*()\\-+=|\\~`{}[];:'\",<.>/?") ;; These are characters that are not to be considered as parts of a word in ;; Viper. ;; Set each time state changes and at loading time diff -r 2f71f4b01b01 -r 7c76da84383b lisp/emulation/viper.el --- a/lisp/emulation/viper.el Tue Nov 15 17:26:35 2005 +0000 +++ b/lisp/emulation/viper.el Tue Nov 15 18:44:30 2005 +0000 @@ -440,6 +440,8 @@ Buffer-menu-mode compilation-mode + rcirc-mode + view-mode vm-mode vm-summary-mode)