unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* M-x load-file vip.el remmaps C-x 3.
@ 2003-05-24 17:39 LLeweLLyn Reese
  0 siblings, 0 replies; 2+ messages in thread
From: LLeweLLyn Reese @ 2003-05-24 17:39 UTC (permalink / raw)


M-x version
GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit) of 2003-05-24 on
localhost.localdomain

configure was run as:
./configure

(No options)

emacs was built with:
[llewelly@localhost llewelly]$ gcc -v
Reading specs from
/usr/local/gcc-3.2.2/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr/local/gcc-3.2.2
--enable-shared --enable-threads --disable-nls --enable-debug
--enable-cxx-flags=-fstrict-aliasing -ffunction-sections -fvtable-gc
--enable-c99 --enable-concept-checks : (reconfigured)
../gcc-3.2.2/configure --prefix=/usr/local/gcc-3.2.2 --enable-shared
--enable-threads --disable-nls --enable-debug
--enable-cxx-flags=-fstrict-aliasing -ffunction-sections -fvtable-gc
--enable-c99 --enable-concept-checks : (reconfigured)
../gcc-3.2.2/configure --prefix=/usr/local/gcc-3.2.2 --enable-shared
--enable-threads --disable-nls --enable-debug
--enable-cxx-flags=-fstrict-aliasing -ffunction-sections -fvtable-gc
--enable-c99 --enable-concept-checks : (reconfigured)
../gcc-3.2.2/configure --prefix=/usr/local/gcc-3.2.2 --enable-shared
--enable-threads --disable-nls --enable-debug
--enable-cxx-flags=-fstrict-aliasing -fvtable-gc --enable-c99
--enable-concept-checks : (reconfigured) ../gcc-3.2.2/configure
--prefix=/usr/local/gcc-3.2.2 --enable-shared --enable-threads
--disable-nls --enable-debug --enable-cxx-flags=-fstrict-aliasing
--enable-c99 --enable-concept-checks
Thread model: posix
gcc version 3.2.2

emacs was run with:

$ emacs -q &

Before loading vip.el, C-h k C-x 3 reports:

    C-x 3 runs the command split-window-horizontally
       which is an interactive compiled Lisp function in `window'.
    (split-window-horizontally &optional ARG)

    Split current window into two windows side by side.
    This window becomes the leftmost of the two, and gets ARG columns.
    Negative arg means select the size of the rightmost window
    instead.
    The argument includes the width of the window's scroll bar; if
    there
    are no scroll bars, it includes the width of the divider column
    to the window's right, if any.  No arg means split equally.

After loading vip.el, via
    M-x load-file <RET>
    /usr/local/share/emacs/21.3/lisp/emulation/vip.el
    ,  C-h k C-x 3 reports:

    C-x 3 runs the command vip-buffer-in-two-windows
       which is an interactive Lisp function in
    `/usr/local/share/emacs/21.3/lisp/emulation/vip.el'.
    (vip-buffer-in-two-windows)

    Show current buffer in two windows.

I consider this a bug; it changes the key when the mode is not being
    used, and changes it to something quite different;
    vip-buffer-in-two-windows calls split-window-vertically, and that
    isn't what I'd like from C-x 3.

(I found this bug changing settings using M-x customize; if you change
    a vip-mode setting via customize, vip.el will be loaded, and C-x 3
    will be remapped, etc, but customize isn't necessary to reproduce
    the bug; I was able to reproduce with only the load-file command
    above. )

The file vip.el contains this code:

(define-key vip-mode-map "}" 'vip-forward-paragraph)
(define-key vip-mode-map "~" 'vip-nil)
(define-key vip-mode-map "\177" 'vip-delete-backward-char)

(define-key ctl-x-map "3" 'vip-buffer-in-two-windows)
(define-key ctl-x-map "\C-i" 'insert-file)

I believe (define-key ctl-x-map "3" 'vip-buffer-in-two-windows) is the
    cause of the problem, but I do not know the fix.

I did not try to download and test a cvs snapshot, but I did look at:

savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/emulation/vip.el?rev=1.27&content-type=text/vnd.viewcvs-markup

and the offending line is still there.


Thank you for your time.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-27 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.6702.1053798209.21513.bug-gnu-emacs@gnu.org>
2003-05-27 15:09 ` M-x load-file vip.el remmaps C-x 3 Kevin Rodgers
2003-05-24 17:39 LLeweLLyn Reese

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).