From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: [V.Haisman@sh.cvut.cz: vc and vc-mtn interaction breaks files opening] Date: Sat, 29 Mar 2008 18:09:22 +0300 Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1206809427 12247 80.91.229.12 (29 Mar 2008 16:50:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2008 16:50:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 29 17:50:58 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JfeGe-0003ci-IS for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 17:50:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfeG3-0002uY-3L for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 12:50:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JfeFz-0002uT-II for emacs-devel@gnu.org; Sat, 29 Mar 2008 12:50:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfeFy-0002uH-2q for emacs-devel@gnu.org; Sat, 29 Mar 2008 12:50:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfeFx-0002uE-TA for emacs-devel@gnu.org; Sat, 29 Mar 2008 12:50:13 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JfeFw-00074N-Kv for emacs-devel@gnu.org; Sat, 29 Mar 2008 12:50:13 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-21-101.inter.net.il [80.230.21.101]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id KQA98540 (AUTH halo1); Sat, 29 Mar 2008 18:09:00 +0300 (IDT) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93817 Archived-At: Given this (and other similar) problems, would it make sense to make file-symlink-p defined on all platforms, and return nil where symlinks are not supported? ------- Start of forwarded message ------- Date: Sat, 29 Mar 2008 09:39:52 +0100 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= To: bug-gnu-emacs@gnu.org Subject: vc and vc-mtn interaction breaks files opening This is an OpenPGP/MIME signed message (RFC 2440 and 3156) - --------------enig8F530D0033298BC8587D8054 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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(# "~/lockmgr/src/imutex.cxx" n= il=20 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 - M-b M-b M-b M-b M-b < C-s v c - h a n d l e d C-s C-s C-s C-x 5 2 x c u s - g t r v a v c - C-x 5 2 C-x C-f ~ / l o c k m a c C-x C-f s r i c r . c C-x C-f p l a w i p . c x r e p o C-g C-g C-x 5 2 x r e p o r 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 - --------------enig8F530D0033298BC8587D8054 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH7gBfoUFWwtEPkHIRCE68AJ4tpJrezm3IK9lQeEy6Srvu+LcTbwCeJJyO rAkZcOQH2P2NjuGUqBc1eXQ= =dbJ6 - -----END PGP SIGNATURE----- - --------------enig8F530D0033298BC8587D8054-- ------- End of forwarded message -------