GNU bug report logs -
#94
vc and vc-mtn interaction breaks files opening
Previous Next
Reported by: Václav Haisman <V.Haisman <at> sh.cvut.cz>
Date: Sat, 29 Mar 2008 19:05:17 UTC
Severity: normal
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 94 in the body.
You can then email your comments to 94 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#94
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Václav Haisman <V.Haisman <at> sh.cvut.cz>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
When I try to C-x C-f a file the file opens but the buffer isn't brought
to front. Instead, the frame is split. Apparently, it is because of
the following error message:
vc-find-file-hook: Wrong type argument: stringp, nil
The full *Messages* log since start of Emacs is following:
("D:\\emacs-22.2\\bin\\emacs.exe")
Loading encoded-kb...done
Loading calendar...
Loading regexp-opt...done
Loading calendar...done
Loading paren...done
Loading cc-styles...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
Loading help-mode...done
Loading cc-mode...
Loading advice...done
Loading cc-mode...done
Loading vc-mtn...done
Loading vc...done
vc-find-file-hook: Wrong type argument: stringp, nil
The *Backtrace*:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-symlink-p(nil)
vc-find-file-hook()
run-hooks(find-file-hook)
after-find-file(nil t)
find-file-noselect-1(#<buffer imutex.cxx> "~/lockmgr/src/imutex.cxx" nil
nil "~/lockmgr/src/imutex.cxx" (-16560 (33003 . 25103)))
find-file-noselect("~/lockmgr/src/imutex.cxx" nil nil t)
find-file("~/lockmgr/src/imutex.cxx" t)
call-interactively(find-file)
Removing Mtn from vc-handled-backends "fixes" the problem.
In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
of 2008-03-26 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: CSY
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
show-paren-mode: t
encoded-kbd-mode: t
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
f f e r - <down> <down> <down> <down> <down> <down>
<down> <down> <down> M-b M-b M-b M-b M-b <switch-frame>
<switch-frame> <switch-frame> <help-echo> <help-echo>
<help-echo> <switch-frame> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <switch-frame>
<down-mouse-1> <mouse-2> <help-echo> <help-echo> <down-mouse-1>
<mouse-movement> <mouse-1> <help-echo> <help-echo>
<help-echo> <switch-frame> <help-echo> <wheel-up> <double-wheel-up>
<escape> < C-s v c - h a n d l e d <right> <right>
<right> <right> <right> <right> <right> C-s C-s C-s
<up> <down> <help-echo> C-x 5 2 <switch-frame> <escape>
x c u s <tab> - g t <tab> <backspace> r <tab> <switch-frame>
<switch-frame> <backspace> <backspace> <backspace>
<backspace> <backspace> v a <tab> <switch-frame> <switch-frame>
<return> v c - <backspace> <backspace> <backspace>
<return> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <help-echo>
<help-echo> <down-mouse-1> <mouse-movement> <mouse-1>
<help-echo> <down-mouse-2> <mouse-2> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <down-mouse-1> <mouse-1> <help-echo> <help-echo>
<help-echo> <switch-frame> <down-mouse-1> <mouse-movement>
<mouse-1> C-x 5 2 <switch-frame> C-x C-f ~ / l o c
k <tab> m <tab> <tab> <tab> a <tab> c <tab> <return>
C-x C-f s r <tab> <tab> <tab> i c r <tab> . c <tab>
<return> C-x C-f <tab> <tab> p l a <tab> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> w <tab> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> i p <tab> . c <tab>
<return> <switch-frame> <switch-frame> <wheel-down>
<wheel-up> <double-wheel-up> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <down-mouse-1>
<mouse-movement> <mouse-1> <help-echo> <help-echo>
<help-echo> <down-mouse-2> <mouse-2> <help-echo> <help-echo>
<help-echo> <help-echo> <down-mouse-2> <mouse-2> <help-echo>
<switch-frame> <switch-frame> <switch-frame> <help-echo>
<wheel-up> <help-echo> <help-echo> <switch-frame> <help-echo>
<wheel-down> <double-wheel-down> <triple-wheel-down>
<triple-wheel-down> <wheel-down> <wheel-up> <double-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<wheel-up> <help-echo> <switch-frame> <switch-frame>
<switch-frame> <escape> x r e p o C-g C-g C-x 5 2 <switch-frame>
<escape> x r e <tab> p o <tab> r <tab> <return>
Recent messages:
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
Making completion list... [3 times]
byte-code: Beginning of buffer
Wrote d:/WilX/.emacs [2 times]
byte-code: Beginning of buffer
Quit [2 times]
Making completion list... [2 times]
Loading emacsbug...done
[signature.asc (application/pgp-signature, attachment)]
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#94
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #10 received at 94 <at> emacsbugs.donarmstrong.com (full text, mbox):
> When I try to C-x C-f a file the file opens but the buffer isn't brought
> to front. Instead, the frame is split. Apparently, it is because of
> the following error message:
> vc-find-file-hook: Wrong type argument: stringp, nil
I suspect the problem is fixed by the patch below.
Stefan
--- vc.el.~1.424.2.12.~ 2008-02-04 10:26:11.000000000 -0500
+++ vc.el 2008-03-29 15:30:57.000000000 -0400
@@ -1047,9 +1047,14 @@
(when (and (not (eq t okstatus))
(or (not (integerp status))
(and okstatus (< okstatus status))))
+ ;; Don't show internal temp buffers. Especially since, together
+ ;; with with-temp-buffer and pop-up-frames, this can result in
+ ;; bugs where with-temp-buffer ends up not preserving
+ ;; current-buffer (because kill-buffer doesn't preserve it).
+ (unless (eq ?\s (aref (buffer-name (current-buffer)) 0))
(pop-to-buffer (current-buffer))
(goto-char (point-min))
- (shrink-window-if-larger-than-buffer)
+ (shrink-window-if-larger-than-buffer))
(error "Running %s...FAILED (%s)" command
(if (integerp status) (format "status %d" status) status))))
(if vc-command-messages
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#94
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Václav Haisman <v.haisman <at> sh.cvut.cz>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #15 received at 94 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks, the patch fixes to problem.
--
VH
[signature.asc (application/pgp-signature, attachment)]
Reply sent to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
Václav Haisman <V.Haisman <at> sh.cvut.cz>
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #20 received at 94-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Thanks for testing it. It will be fixed in the next release.
Stefan
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sun, 27 Apr 2008 14:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 17 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.