From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul K Newsgroups: gmane.emacs.help Subject: Re: problem: `tramp-list-tramp-buffers` missing emacs 24.1.50.1 ? Date: Tue, 10 Jul 2012 09:37:01 +0200 Message-ID: References: <87zk7e5mur.fsf@thinkpad.tsdh.de> <87a9ze2ddi.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1341905847 8374 80.91.229.3 (10 Jul 2012 07:37:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2012 07:37:27 +0000 (UTC) Cc: Tassilo Horn , help-gnu-emacs@gnu.org To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 10 09:37:27 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 1SoV0f-0000cu-Pt for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jul 2012 09:37:25 +0200 Original-Received: from localhost ([::1]:54213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoV0e-0006zW-Sk for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jul 2012 03:37:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoV0U-0006z8-5B for help-gnu-emacs@gnu.org; Tue, 10 Jul 2012 03:37:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoV0K-00042W-7t for help-gnu-emacs@gnu.org; Tue, 10 Jul 2012 03:37:13 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:52432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoV0J-00042H-Uq for help-gnu-emacs@gnu.org; Tue, 10 Jul 2012 03:37:04 -0400 Original-Received: by pbbrp2 with SMTP id rp2so23317070pbb.0 for ; Tue, 10 Jul 2012 00:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7R2re+z49lNGlyNB+FbxsoOdYlmEc3Xyiu+5gUWD63c=; b=Rwn7LZ3wKSKYOQABO7sb0rzbdgvvz963PiKRSTiJj9uXGmA6M5ku7o/lkWWIkFXqQd pBsRru7wKB2jjNxAmaDnK1rcSgCX0tYGp6hjOfi/PoVjeNN9P6xarFW9F5E7ixAKPatd ZtntUETyea4pUokx3WkQQnZ0D8tuMBFEOfENP8ARDs3pb5e1tgCDtnpPJNcqwHF3YbXl WrvqWEON143pgyBpU5LDNjstCnnOMYhsyvTQHSiHYTHGDIIsZbC+Yrii7jxTt21UnMo8 T4Ja+1dO14lr2IA3jpl1QZkfdDBg9HKwcVbWiV7uG37yMc7oJsWr5w/jVb1BRTdyXxiT PSKA== Original-Received: by 10.68.217.166 with SMTP id oz6mr66722886pbc.136.1341905821754; Tue, 10 Jul 2012 00:37:01 -0700 (PDT) Original-Received: by 10.68.51.161 with HTTP; Tue, 10 Jul 2012 00:37:01 -0700 (PDT) In-Reply-To: <87a9ze2ddi.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 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:85753 Archived-At: I did the job. thank You guys for the help best regards, Paul On Thu, Jul 5, 2012 at 9:53 PM, Michael Albinus wrote: > 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. >