Mercurial > emacs
changeset 66893:7c76da84383b
2005-11-15 Michael Kifer <kifer@cs.stonybrook.edu>
* 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.
author | Michael Kifer <kifer@cs.stonybrook.edu> |
---|---|
date | Tue, 15 Nov 2005 18:44:30 +0000 |
parents | 2f71f4b01b01 |
children | 0b958d61a229 |
files | lisp/ChangeLog lisp/emulation/viper-util.el lisp/emulation/viper.el |
diffstat | 3 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <kifer@cs.stonybrook.edu> + + * 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 <dann@ics.uci.edu> * term.el (term-termcap-format): Fix typos.
--- 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