all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>
Cc: emacs-devel@gnu.org
Subject: Re: Tramp and `dired-listing-switches'
Date: Sun, 10 Dec 2023 12:48:40 +0100	[thread overview]
Message-ID: <ZXWlmIyh3Z+c4bIx@tuxteam.de> (raw)
In-Reply-To: <87fs0ae1v7.fsf@turtle-trading.net>

[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]

On Sun, Dec 10, 2023 at 12:25:00PM +0100, Benjamin Riefenstahl wrote:
> Hi Emanuel,
> 
> Emanuel Berg writes:
> >   Tramp: Checking ‘vc-registered’ for
> > /sudo:root@ebc:/:/scp:incal@srv.dataswamp.org:/var/www/htdocs/dataswamp.org/~incal/sth/scripts/senior...done
> >   Use M-x make-directory RET RET to create the directory and its parents
> >
> > Doing it like this works:
> >
> >   (find-file "/-:incal@srv.dataswamp.org:public_html/sth/scripts/senior")
> 
> 
> > I.e., /home/incal/public_html is actually
> > /var/www/htdocs/dataswamp.org/~incal
> 
> I don't think so.  "~incal" is the home directory of the user "incal".
> But only, if "~incal" is the first part of a file name.

And only if you've told your web server to do this mapping for you
(for Apache, it's mod_userdir [1] and its config, lighttpd has a
module with the same name [2], and I'm sure nginx has that too.

It's the Web, so it's all smoke and mirrors.

Cheers

[1] https://httpd.apache.org/docs/2.4/mod/mod_userdir.html
[2] https://doc.lighttpd.net/lighttpd2/mod_userdir.html
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2023-12-10 11:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07 14:50 Tramp and `dired-listing-switches' Emanuel Berg
2023-12-08  9:35 ` Michael Albinus
2023-12-08 11:59   ` Eli Zaretskii
2023-12-08 12:08     ` Michael Albinus
2023-12-10 11:43       ` Michael Albinus
2023-12-12 20:07         ` Emanuel Berg
2023-12-13  7:13           ` Michael Albinus
2023-12-17 20:05             ` Emanuel Berg
2023-12-18  9:11               ` Michael Albinus
2023-12-17 20:23             ` Emanuel Berg
2023-12-09 14:29   ` Emanuel Berg
2023-12-09 15:33     ` tomas
2023-12-09 15:49       ` Emanuel Berg
2023-12-09 16:10         ` Emanuel Berg
2023-12-09 16:53           ` Emanuel Berg
2023-12-09 17:12             ` Emanuel Berg
2023-12-09 16:14         ` Emanuel Berg
2023-12-09 17:39         ` Michael Albinus
2023-12-10  5:23           ` Emanuel Berg
2023-12-10 11:25         ` Benjamin Riefenstahl
2023-12-10 11:48           ` tomas [this message]
2023-12-12 20:15             ` Emanuel Berg
2023-12-18  3:44 ` Emanuel Berg
2024-01-09  5:22   ` Emanuel Berg

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

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

  git send-email \
    --in-reply-to=ZXWlmIyh3Z+c4bIx@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=b.riefenstahl@turtle-trading.net \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.