From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: problem: `tramp-list-tramp-buffers` missing emacs 24.1.50.1 ? Date: Thu, 05 Jul 2012 21:53:45 +0200 Message-ID: <87a9ze2ddi.fsf@gmx.de> References: <87zk7e5mur.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1341518446 5586 80.91.229.3 (5 Jul 2012 20:00:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2012 20:00:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 05 22:00:45 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SmsEG-0004BX-Ur for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jul 2012 22:00:45 +0200 Original-Received: from localhost ([::1]:50461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmsEG-00067U-1e for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jul 2012 16:00:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmsE6-000670-5t for help-gnu-emacs@gnu.org; Thu, 05 Jul 2012 16:00:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmsE4-0008DL-9Y for help-gnu-emacs@gnu.org; Thu, 05 Jul 2012 16:00:33 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:34608) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SmsE3-0008C4-VI for help-gnu-emacs@gnu.org; Thu, 05 Jul 2012 16:00:32 -0400 Original-Received: (qmail invoked by alias); 05 Jul 2012 19:53:49 -0000 Original-Received: from p57BB9416.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.148.22] by mail.gmx.net (mp019) with SMTP; 05 Jul 2012 21:53:49 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/WRElq0PTW4JSjCebZFIlcwxXUP2WQqB3DqNzm1A 0ul5TODH2Ui8+f In-Reply-To: <87zk7e5mur.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Thu, 05 Jul 2012 16:00:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85688 Archived-At: Tassilo Horn writes: > Paul K writes: > > Hi Paul, > >> I was invoking this function in one one of my emacs 23 defuns. >> >> Now I get the following: >> >> Debugger entered--Lisp error: (void-function tramp-list-tramp-buffers) >> (tramp-list-tramp-buffers) >> eval((tramp-list-tramp-buffers) nil) >> eval-last-sexp-1(nil) >> eval-last-sexp(nil) >> call-interactively(eval-last-sexp nil nil) >> >> The funny thing is that this method still exists in >> /usr/local/share/emacs/24.1.50/lisp/net/tramp-cmds.el.gz. >> >> is it a bug? > > I don't think so. Probably, when you call that function tramp isn't > loaded already. Place a (require 'tramp-cmds) before the call to > `tramp-list-tramp-buffers'. In Tramp 2.1 (integrated into Emacs 23), tramp-cmds.el is required in tramp.el. This has changed in Tramp 2.2, we use autoloads now. Tassilo's recommendation to apply (require 'tramp-cmds), after you have loaded tramp.el, shall work for both Emacs 23 and 24. > Bye, > Tassilo Best regards, Michael.