From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Florian Beck Newsgroups: gmane.emacs.bugs Subject: bug#1059: 23.0.60; Error When Trying to Access Remote Files Date: Sat, 18 Oct 2008 19:29:03 +0200 Message-ID: <877i857qxs.fsf@sophokles.streitblatt.de> References: <87skqt6grz.fsf@cyd.mit.edu> Reply-To: Florian Beck , 1059@emacsbugs.donarmstrong.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 1224352268 6867 80.91.229.12 (18 Oct 2008 17:51:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2008 17:51:08 +0000 (UTC) Cc: Florian Beck , 1059@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 18 19:51:40 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KrFxL-0006Zx-Ey for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2008 19:51:15 +0200 Original-Received: from localhost ([127.0.0.1]:49577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrFwG-0003Mj-E7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2008 13:50:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrFwD-0003Md-6O for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 13:50:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrFwB-0003LX-M5 for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 13:50:04 -0400 Original-Received: from [199.232.76.173] (port=58264 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrFwB-0003LM-BB for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 13:50:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50079) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KrFwA-0006L3-OD for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 13:50:03 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9IHo02i012380; Sat, 18 Oct 2008 10:50:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9IHZ5a9008980; Sat, 18 Oct 2008 10:35:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Florian Beck Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 18 Oct 2008 17:35:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1059 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: unreproducible Original-Received: via spool by 1059-submit@emacsbugs.donarmstrong.com id=B1059.12243509557563 (code B ref 1059); Sat, 18 Oct 2008 17:35:05 +0000 Original-Received: (at 1059) by emacsbugs.donarmstrong.com; 18 Oct 2008 17:29:15 +0000 Original-Received: from mo-p05-ob.rzone.de (mo-p05-ob.rzone.de [81.169.146.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9IHTAUR007557 for <1059@emacsbugs.donarmstrong.com>; Sat, 18 Oct 2008 10:29:12 -0700 X-RZG-CLASS-ID: mo05 X-RZG-AUTH: :KmALZ0mpdbGonPxw7gDkop508XQjelhLxGYn4B74/jTNdrjLjuwMuuiy8j0BYXGgeNx56gc= Original-Received: from sophokles (p549948C0.dip.t-dialin.net [84.153.72.192]) by post.webmailer.de (fruni mo36) (RZmta 17.14) with ESMTP id x03042k9IFrrXM ; Sat, 18 Oct 2008 19:29:07 +0200 (MEST) (envelope-from: ) In-Reply-To: <87skqt6grz.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 18 Oct 2008 11:53:52 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id m9IHo02i012380 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 18 Oct 2008 13:50:04 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21659 Archived-At: Chong Yidong writes: > [I sent this message several weeks ago, and received no response. > Resending.] > >> On Tue, 2008-09-30 at 13:20 -0400, Chong Yidong wrote: >>> > emacs -Q >>>=20 >>> > (setq debug-on-error t) >>> > C-x C-f /ftp:www.fbeck.net@ftp.strato.de: >>> > [TAB] >>>=20 >>> > Debugger entered--Lisp error: (wrong-type-argument char-or-string-p= nil) >>> > signal(wrong-type-argument (char-or-string-p nil)) >>> > completion--some(#[(style) "^H A@\n^K\f$" [style >>> > completion-styles-alist >>>=20 >>> I can't reproduce this, also using latest CVS and `emacs -Q'. Could = you >>> try to debug the problem? >> >> Not sure. What should I do? > > First, could you go to minibuffer.el, evaluate it (M-x eval-buffer), > trigger the error again, and post the backtrace? This should produce a > more informative backtrace. I'm sorry, I ment to get back to you, but unfortunatley this is one of the errors that only happen occasionally. I tried a couple of scenarios, like with and without networking, but could not reliably reproduce the error. It does still happen from time to time. Now, I followd your advice and produced a somewhat more informative backtrace. How do I get rid of the ellipses? (print-length is nil) Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) signal(wrong-type-argument (char-or-string-p nil)) (if firsterror (signal (car firsterror) (cdr firsterror))) (or res (if firsterror (signal ... ...))) (let ((firsterror nil) res) (while (and ... xs) (condition-case err ...= ...)) (or res (if firsterror ...))) completion--some((lambda (style) (funcall (nth 1 ...) string table pred= point)) (basic partial-completion)) (if (and (symbolp table) (get table ...)) (funcall table string pred ni= l point) (completion--some (lambda ... ...) completion-styles)) completion-try-completion(#("/ftp:www.fbeck.net@ftp.strato.de:" 1 32 (g= nus-callback gnus-button-push gnus-data #)) r= ead-file-name-internal nil 33) funcall(completion-try-completion #("/ftp:www.fbeck.net@ftp.strato.de:"= 1 32 (gnus-callback gnus-button-push gnus-data #)) read-file-name-internal nil 33) (let* ((beg ...) (end ...) (string ...) (comp ...)) (cond (... ... ... = ...) (... ...) (t ...))) completion--do-completion() (let ((--cl-var-- ...)) (cond (... nil) (... ... ... t) (... ... ... t)= (t t))) (case (completion--do-completion) (0 nil) (1 (goto-char ...) (minibuffe= r-message "Sole completion") t) (3 (goto-char ...) (minibuffer-message "C= omplete, but not unique") t) (t t)) (if (window-live-p window) (with-current-buffer (window-buffer window) = (if ... ... ...) nil) (case (completion--do-completion) (0 nil) (1 ... ..= . t) (3 ... ... t) (t t))) (let ((window minibuffer-scroll-window)) (if (window-live-p window) (wi= th-current-buffer ... ... nil) (case ... ... ... ... ...))) minibuffer-complete() call-interactively(minibuffer-complete nil nil) completing-read("Find file: " read-file-name-internal nil nil "~/Materi= al/src/emacs/lisp/" file-name-history "~/Material/src/emacs/lisp/") (progn (add-hook (quote minibuffer-setup-hook) setup-hook) (completing-= read prompt (quote read-file-name-internal) nil mustmatch insdef (quote f= ile-name-history) default-filename)) (unwind-protect (progn (add-hook ... setup-hook) (completing-read promp= t ... nil mustmatch insdef ... default-filename)) (remove-hook (quote min= ibuffer-setup-hook) setup-hook)) (let (setup-hook) (setq setup-hook (list ... ... ...)) (unwind-protect = (progn ... ...) (remove-hook ... setup-hook))) (let ((--cl-dir-- ...)) (setf (symbol-value --cl-dir--) (file-name-as-d= irectory ...)) (let (setup-hook) (setq setup-hook ...) (unwind-protect ..= . ...))) (lexical-let ((dir ...)) (minibuffer-with-setup-hook (lambda nil ...) (= completing-read prompt ... nil mustmatch insdef ... default-filename))) (if (not (next-read-file-uses-dialog-p)) (lexical-let (...) (minibuffer= -with-setup-hook ... ...)) (let (...) (when ... ... ...) (if default-file= name ...) (setq add-to-history t) (x-file-dialog prompt dir default-filen= ame mustmatch ...))) (let* ((val ...) (replace-in-history ...)) (when (eq val default-filena= me) (if ... ...) (setq val "")) (unless val (error "No file name specifie= d")) (if (and default-filename ...) (setq val default-filename)) (setq va= l (substitute-in-file-name val)) (if replace-in-history (let ... ... ...)= (if add-to-history ...)) val) (let ((completion-ignore-case read-file-name-completion-ignore-case) (m= inibuffer-completing-file-name t) (read-file-name-predicate ...) (add-to-= history nil)) (let* (... ...) (when ... ... ...) (unless val ...) (if ...= ...) (setq val ...) (if replace-in-history ... ...) val)) (if read-file-name-function (funcall read-file-name-function prompt dir= default-filename mustmatch initial predicate) (let (... ... ... ...) (le= t* ... ... ... ... ... ... val))) (let ((insdef ...)) (if read-file-name-function (funcall read-file-name= -function prompt dir default-filename mustmatch initial predicate) (let .= .. ...))) read-file-name("Find file: " nil "/home/flo/Material/src/emacs/lisp/" n= il) find-file-read-args("Find file: " nil) byte-code("=C1=C2=08=85=07=C3\"=87" [find-file-confirm-nonexistent-file= find-file-read-args "Find file: " confirm-only] 3) call-interactively(find-file nil nil)