unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: saint@eng.it
To: lee <lee@yun.yagibdah.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: visiting remote files on webserver
Date: Sun, 17 Aug 2014 18:24:54 +0200	[thread overview]
Message-ID: <21488.55126.483499.836883@mail.eng.it> (raw)
In-Reply-To: <877g27uvc6.fsf@yun.yagibdah.de>

lee writes:
 > Hi,
 > 
 > isn't something like the following already available by default:
 > 
 > 
 > (defun my-curl-find-file ()
 >   "Use curl to retrieve something and create a buffer to display what
 > was retrieved.

What about:

(find-file "/scp:user@machie:/path/to/file")

it is possible to use it interactively

C-x C-f /scp:user@machine:/path/to/file

-- 
 /\           ___                                    Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____               African word
  //--\| | \|  |   Integralista GNUslamico            meaning "I can
\/                 coltivatore diretto di software       not install
     già sistemista a tempo (altrui) perso...                Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO



  reply	other threads:[~2014-08-17 16:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-17 12:58 visiting remote files on webserver lee
2014-08-17 16:24 ` saint [this message]
2014-08-17 20:45   ` lee
2014-08-18  0:26     ` Eric Abrahamsen
2014-08-18 18:30       ` lee
2014-08-19  1:45         ` Eric Abrahamsen
2014-08-21 19:32           ` lee
2014-08-22  1:16             ` Eric Abrahamsen
2014-08-22  3:30             ` Stefan Monnier
2014-08-22 12:19             ` ken

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=21488.55126.483499.836883@mail.eng.it \
    --to=saint@eng.it \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lee@yun.yagibdah.de \
    /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).