| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-IronPort-AV: | i="3.90,151,1107752400"; d="scan'208"; a="10754631:sNHT20554646" |
| From: | Jeff Mincy <mincy AT rcn DOT com> |
| MIME-Version: | 1.0 |
| Message-ID: | <16943.31231.973592.935379@telesterion.delphioutpost.com> |
| Date: | Wed, 9 Mar 2005 17:34:39 -0500 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: File losing ownership |
| In-Reply-To: | <Pine.GSO.4.61.0503091236380.18298@slinky.cs.nyu.edu> |
| References: | <Pine DOT GSO DOT 4 DOT 61 DOT 0503091236380 DOT 18298 AT slinky DOT cs DOT nyu DOT edu> |
On Wed, 9 Mar 2005, pechtcha AT cs DOT nyu DOT edu wrote:
> On Wed, 9 Mar 2005, Colin JN Breame wrote:
>
>> I have a file such that:
>>
>> $ ls -l test
>> -rw-r--r-- 1 Administrators None 6 Mar 9 17:00 test
>>
>> I open it and save in emacs.
>>
>> $ ls -l test
>> -rw-r--r-- 1 colin None 7 Mar 9 17:00 test
>>
>> Is this a bug?
>
> This is a design "feature" in emacs ...
>
> This, BTW, is one of the reasons you can't use emacs as crontab editor, or
> anything else that expects the file to be written in-place.
> Igor
> P.S. I think I'm being a bit unfair ("I'm a VIm guy"), and you *can*
> configure emacs to write files in-place -- it's just not done by default.
This is controlled by setting backup-by-copying in your .emacs.
Then you can do crontab -e just like the vim guys...
-jeff
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |