unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Euresti <evelio@gmail.com>
Cc: 4527@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org
Subject: bug#4527: Emacs removes Extended Attributes when saving
Date: Wed, 23 Sep 2009 18:39:56 -0400	[thread overview]
Message-ID: <jwvskedthg5.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <95b3d0af0909221344h2746fc82w6e143d364577aa98@mail.gmail.com> (David Euresti's message of "Tue, 22 Sep 2009 13:44:21 -0700")

> When I edit a file that contains xattrs the xattrs are removed when I
> save the file inside of emacs.

You have to set backup-by-copying, otherwise the saved file is a new
file (with a new inode).  Of course, this also affects whether or not
hardlinks get broken when saving a file, which may be what you want or
may be what you don't want.


        Stefan





      reply	other threads:[~2009-09-23 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22 20:44 bug#4527: Emacs removes Extended Attributes when saving David Euresti
2009-09-23 22:39 ` Stefan Monnier [this message]

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=jwvskedthg5.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=4527@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=evelio@gmail.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.
Code repositories for project(s) associated with this public inbox

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

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).