From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: VC error Date: Mon, 02 Jun 2008 21:44:09 -0400 Message-ID: <874p8b8f86.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1212457720 24748 80.91.229.12 (3 Jun 2008 01:48:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2008 01:48:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 03 03:49:22 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 1K3LeL-0005pH-Gh for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2008 03:49:21 +0200 Original-Received: from localhost ([127.0.0.1]:57619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3LdZ-0002SQ-9q for ged-emacs-devel@m.gmane.org; Mon, 02 Jun 2008 21:48:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3LdU-0002SI-US for emacs-devel@gnu.org; Mon, 02 Jun 2008 21:48:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3LdT-0002Ru-2O for emacs-devel@gnu.org; Mon, 02 Jun 2008 21:48:28 -0400 Original-Received: from [199.232.76.173] (port=39219 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3LdS-0002Rq-T3 for emacs-devel@gnu.org; Mon, 02 Jun 2008 21:48:26 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:48322) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3LdS-0001ki-Kk for emacs-devel@gnu.org; Mon, 02 Jun 2008 21:48:26 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id B20F84E958; Mon, 2 Jun 2008 21:44:09 -0400 (EDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 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:98268 Archived-At: I've been getting (void-variable vc-client-mode) errors whenever I try using VC operation with debug-on-error set to non-nil. Anyone else seen this? One way to reproduce this is simply: emacs -Q C-x C-f emacs/lisp/vc-dispatcher.el M-: (eval-buffer) RET Debugger entered--Lisp error: (void-variable vc-client-mode) (vc-client-object->extra-menu vc-client-mode) (funcall (vc-client-object->extra-menu vc-client-mode)) (let ((ext-binding ...)) (if (null ext-binding) orig-binding (append orig= -binding ... ext-binding))) vc-dir-menu-map-filter((keymap (open menu-item "Open file" vc-dir-find-fi= le :help "Find the file on the current line") (open-other menu-item "Open i= n other window" vc-dir-find-file-other-window :help "Find the file on the c= urrent line, in another window") (sepopn "--") (mark menu-item "Mark" vc-di= r-mark :help "Mark the current file or all files in the region") (unmark me= nu-item "Unmark" vc-dir-unmark :help "Unmark the current file or all files = in the region") (mark-all menu-item "Mark All" vc-dir-mark-all-files :help = "Mark all files that are in the same state as the current file\nWith prefix= argument mark all files") (unmark-previous menu-item "Unmark previous " vc= -dir-unmark-file-up :help "Move to the previous line and unmark the file") = (unmark-all menu-item "Unmark All" vc-dir-unmark-all-files :help "Unmark al= l files that are in the same state as the current file\nWith prefix argumen= t unmark all files") (sepmrk "--") (previous-line menu-item "Previous line"= vc-dir-previous-line :help "Go to the previous line") (next-line menu-item= "Next line" vc-dir-next-line :help "Go to the next line" :keys "n") (sepmv= "--") (refresh menu-item "Refresh" vc-dir-refresh :enable (not ...) :help = "Refresh the contents of the directory buffer") (kill menu-item "Kill Updat= e Command" vc-dir-kill-dir-status-process :enable (vc-dir-busy) :help "Kill= the command that updates the directory buffer") (quit menu-item "Quit" qui= t-window :help "Quit") "VC-dir")) where-is-internal(vc-dir-find-file (keymap (vc-dir-mode menu-item "VC-dir= " (keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... "VC-d= ir") :filter vc-dir-menu-map-filter))) tool-bar-local-item-from-menu(vc-dir-find-file "open" (keymap) (keymap #^= [nil nil keymap #^^[3 0 nil nil nil ... nil nil nil nil nil vc-dir-next-dir= ectory nil nil nil vc-dir-find-file nil nil nil nil nil nil nil nil nil nil= nil nil nil ... nil nil nil nil vc-dir-next-line nil nil nil nil nil nil n= il nil nil nil nil nil negative-argument nil nil ...] #^^[1 0 #^^[2 0 #^^[3= 0 nil nil nil ... nil nil nil nil nil vc-dir-next-directory nil nil nil vc= -dir-find-file nil nil nil nil nil nil nil nil nil nil nil nil nil ... nil = nil nil nil vc-dir-next-line nil nil nil nil nil nil nil nil nil nil nil ni= l negative-argument nil nil ...] nil nil nil nil nil nil nil nil nil nil ni= l nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil n= il nil] nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil] nil ni= l nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil n= il nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil = nil nil nil nil nil nil ...] (menu-bar keymap (vc-dir-mode menu-item "VC-di= r" ... :filter vc-dir-menu-map-filter)) (mouse-2 . vc-dir-toggle-mark) (dow= n-mouse-3 . vc-dir-menu) (C-up . vc-dir-previous-directory) (C-down . vc-di= r-next-directory) (backtab . vc-dir-previous-directory) (remap keymap (self= -insert-command . undefined)))) (let ((map ...)) (tool-bar-local-item-from-menu (quote vc-dir-find-file) = "open" map vc-dir-mode-map) (tool-bar-local-item "bookmark_add" (quote vc-d= ir-toggle-mark) (quote vc-dir-toggle-mark) map :help "Toggle mark on curren= t item") (tool-bar-local-item-from-menu (quote vc-dir-previous-line) "left-= arrow" map vc-dir-mode-map :rtl "right-arrow") (tool-bar-local-item-from-me= nu (quote vc-dir-next-line) "right-arrow" map vc-dir-mode-map :rtl "left-ar= row") (tool-bar-local-item-from-menu (quote vc-print-log) "info" map vc-dir= -mode-map) (tool-bar-local-item-from-menu (quote vc-dir-refresh) "refresh" = map vc-dir-mode-map) (tool-bar-local-item-from-menu (quote nonincremental-s= earch-forward) "search" map) (tool-bar-local-item-from-menu (quote vc-dir-k= ill-dir-status-process) "cancel" map vc-dir-mode-map) (tool-bar-local-item-= from-menu (quote quit-window) "exit" map vc-dir-mode-map) map) (defvar vc-dir-tool-bar-map (let (...) (tool-bar-local-item-from-menu ...= "open" map vc-dir-mode-map) (tool-bar-local-item "bookmark_add" ... ... ma= p :help "Toggle mark on current item") (tool-bar-local-item-from-menu ... "= left-arrow" map vc-dir-mode-map :rtl "right-arrow") (tool-bar-local-item-fr= om-menu ... "right-arrow" map vc-dir-mode-map :rtl "left-arrow") (tool-bar-= local-item-from-menu ... "info" map vc-dir-mode-map) (tool-bar-local-item-f= rom-menu ... "refresh" map vc-dir-mode-map) (tool-bar-local-item-from-menu = ... "search" map) (tool-bar-local-item-from-menu ... "cancel" map vc-dir-mo= de-map) (tool-bar-local-item-from-menu ... "exit" map vc-dir-mode-map) map)) eval-buffer() ; Reading at buffer position 34316 eval((eval-buffer)) eval-expression((eval-buffer) nil) call-interactively(eval-expression nil nil)