From: Michael Albinus <michael.albinus@gmx.de>
To: "Sébastien Vauban" <zthjwsqqafhv@spammotel.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to unify notation for file accesses thru Samba?
Date: Mon, 14 Apr 2008 21:01:58 +0200 [thread overview]
Message-ID: <8763uktg49.fsf@gmx.de> (raw)
In-Reply-To: <878wzgachh.fsf_-_@mundaneum.com> ("Sébastien Vauban"'s message of "Mon, 14 Apr 2008 13:43:06 +0200")
Sébastien Vauban <zthjwsqqafhv@spammotel.com> writes:
> Hello,
Hi,
> Is there a unified way to refer to SAMBA mounts?
>
> Currently, in my bookmarks list, I have "doubles" (one for Emacs
> under Windows, one for Emacs under Linux):
>
> Users on RUSSELL from Windows //LINUXSRV/Users/
> Users on RUSSELL from Ubuntu /smb:sva@LINUXSRV:/Users/
>
> Is there a way to unify both of them under one single notation?
You could use abbreviations, combined with your bookmarks. Something like
(add-to-list
'directory-abbrev-alist
(if (memq system-type '(cygwin windows-nt))
'("^/russell" . "//LINUXSRV/Users/")
'("^/russell" . "/smb:sva@LINUXSRV:/Users/")))
See <http://www.gnu.org/software/tramp/#Frequently-Asked-Questions> for
discussion of further approaches.
> Best regards,
> Seb
Best regards, Michael.
next prev parent reply other threads:[~2008-04-14 19:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-08 10:56 Problems with samba mount trepca
2008-04-11 12:14 ` weber
2008-04-14 11:43 ` How to unify notation for file accesses thru Samba? Sébastien Vauban
2008-04-14 19:01 ` Michael Albinus [this message]
2008-04-15 4:34 ` Michael Albinus
[not found] ` <mailman.10362.1208233940.18990.help-gnu-emacs@gnu.org>
2008-04-15 13:57 ` Sébastien Vauban
2008-04-16 4:50 ` Michael Albinus
[not found] ` <mailman.10420.1208321303.18990.help-gnu-emacs@gnu.org>
2008-04-16 7:22 ` Sébastien Vauban
2008-04-16 19:12 ` Michael Albinus
2008-04-14 20:24 ` Problems with samba mount Jason Rumney
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=8763uktg49.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=zthjwsqqafhv@spammotel.com \
/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).