From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "etienne" Newsgroups: gmane.emacs.help Subject: Re: Use fsutil with emacs Date: 7 Jan 2007 15:08:41 -0800 Organization: http://groups.google.com Message-ID: <1168211321.823982.199720@v33g2000cwv.googlegroups.com> References: <1168200222.674025.319660@38g2000cwa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1168213245 3926 80.91.229.12 (7 Jan 2007 23:40:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Jan 2007 23:40:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 08 00:40:42 2007 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 1H3hcz-0005tP-9x for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jan 2007 00:40:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3hcy-0006s3-MO for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jan 2007 18:40:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v33g2000cwv.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 48 Original-NNTP-Posting-Host: 82.54.234.64 Original-X-Trace: posting.google.com 1168211334 28505 127.0.0.1 (7 Jan 2007 23:08:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 7 Jan 2007 23:08:54 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: v33g2000cwv.googlegroups.com; posting-host=82.54.234.64; posting-account=jtNU2w0AAAAZA09QQNE-vXwDxvuoUGMC Original-Xref: shelby.stanford.edu gnu.emacs.help:144578 Original-To: help-gnu-emacs@gnu.org 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:40182 Archived-At: Thanks a lot... both solutions work well... but I have a small question when you say : Try it with "C:/directory/biblio..." (i.e. forward slashes). it is ok if the path does not have a space caracter. I have try with c:/Documents and Settings/biblio... but it does not work. I have also try with c:/Documents\ and\ Settings/biblio... have a nice day Etienne Stefan Monnier a =E9crit : > > here is the story of my problem. > > I want to have use latex and bibtex on emacs and have only ONE file > > with extension .bib > > Let call it biblio.bib > > Now on my tex files that in other directories, I want to use this file > > to make a nice bibliography. > > If I write > > \bibliography{biblio} it does not work because biblio.bib is not in the > > same directory if I put all the path c:\directory\biblio...it does not > > work. > > Try it with "C:/directory/biblio..." (i.e. forward slashes). > > > So I have try to use an hard link like ln on unix. > > For windows the command is fsutil hardlink create > > for example > > fsutil hardlink create c:\bibliography\localbiblio.bib c:\biblio.bib > > if you do that and one modify one file, the other is also modify but > > not if it is modify by emacs...may be because emacs doesn't use really > > the file but a copy...I don't know. > > The problem is that Emacs creates the backup file "foo.bib~" by first mov= ing > "foo.bib" to "foo.bib~" and then creating a new "foo.bib", so the hardlink > ends up in "foo.bib~". You can fix this problem with: >=20 > (setq backup-by-copying t) >=20 >=20 > -- Stefan