unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Invoke Ange-FTP from within Tramp
Date: 22 Jun 2002 23:58:03 +0200	[thread overview]
Message-ID: <5xvg8brn6c.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <vafhejvqngt.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de>

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> How to implement this feature?
> 
> 
> * Put the invocation of Ange-FTP directly in the functions.  This
>   means that all of the functions will get an additional conditional
>   around it and the meat of the function is in the else part.

Couldn't this be done with a suitable defmacro ?

        (deftramp find-file (arg...)
           code)

expands to

        (defun tramp-find-file (arg...)
          (if (activate-ange-ftp ...)
             (ange-ftp-find-file arg...)
            code))


-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2002-06-22 21:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-22 16:37 Invoke Ange-FTP from within Tramp Kai Großjohann
2002-06-22 21:58 ` Kim F. Storm [this message]
2002-06-23 18:12   ` Richard Stallman
2002-06-23 18:12 ` Richard Stallman
2002-06-24 15:52   ` Kai Großjohann
2002-06-25 11:07     ` Richard Stallman

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=5xvg8brn6c.fsf@kfs2.cua.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).