unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Paul K <mafeuser@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Tassilo Horn <tassilo@member.fsf.org>, help-gnu-emacs@gnu.org
Subject: Re: problem: `tramp-list-tramp-buffers` missing emacs 24.1.50.1 ?
Date: Tue, 10 Jul 2012 09:37:01 +0200	[thread overview]
Message-ID: <CAA+mFXOmKtNPO8wLoJCcL7KHC267ZW09+t+=xsF37njLji16Uw@mail.gmail.com> (raw)
In-Reply-To: <87a9ze2ddi.fsf@gmx.de>

I did the job.
thank You guys for the help

best regards,
Paul

On Thu, Jul 5, 2012 at 9:53 PM, Michael Albinus <michael.albinus@gmx.de> wrote:
> Tassilo Horn <tassilo@member.fsf.org> writes:
>
>> Paul K <mafeuser@gmail.com> 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.
>



  reply	other threads:[~2012-07-10  7:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-05 13:05 problem: `tramp-list-tramp-buffers` missing emacs 24.1.50.1 ? Paul K
2012-07-05 14:00 ` Tassilo Horn
2012-07-05 19:53   ` Michael Albinus
2012-07-10  7:37     ` Paul K [this message]
2012-07-05 14:00 ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA+mFXOmKtNPO8wLoJCcL7KHC267ZW09+t+=xsF37njLji16Uw@mail.gmail.com' \
    --to=mafeuser@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).