From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: How to unify notation for file accesses thru Samba? Date: Mon, 14 Apr 2008 21:01:58 +0200 Message-ID: <8763uktg49.fsf@gmx.de> References: <353c845d-05d6-467b-aae3-7922728590dc@u10g2000prn.googlegroups.com> <878wzgachh.fsf_-_@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1208199875 14327 80.91.229.12 (14 Apr 2008 19:04:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 19:04:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Vauban Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 14 21:05:14 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JlTvF-0006TM-7w for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Apr 2008 21:00:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlTub-0007Va-0o for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Apr 2008 15:00:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JlTuI-0007Ub-NY for help-gnu-emacs@gnu.org; Mon, 14 Apr 2008 14:59:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JlTuE-0007Nx-UC for help-gnu-emacs@gnu.org; Mon, 14 Apr 2008 14:59:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlTuE-0007N8-7r for help-gnu-emacs@gnu.org; Mon, 14 Apr 2008 14:59:54 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JlTuC-00036b-Sx for help-gnu-emacs@gnu.org; Mon, 14 Apr 2008 14:59:53 -0400 Original-Received: (qmail invoked by alias); 14 Apr 2008 18:59:50 -0000 Original-Received: from p57A20161.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.1.97] by mail.gmx.net (mp027) with SMTP; 14 Apr 2008 20:59:50 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18/2DE6PQI/GHvzRU0Ngyt1MVEXoqcNiu7r8H1pfj ysnbLoZirKydbc In-Reply-To: <878wzgachh.fsf_-_@mundaneum.com> (=?utf-8?Q?=22S=C3=A9bastie?= =?utf-8?Q?n?= Vauban"'s message of "Mon, 14 Apr 2008 13:43:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53284 Archived-At: S=C3=A9bastien Vauban 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 for discussion of further approaches. > Best regards, > Seb Best regards, Michael.