From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: write-file could carry permissions Date: Mon, 12 May 2003 21:47:08 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87ptmpm75y.fsf@jidanni.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1052790729 1797 80.91.224.249 (13 May 2003 01:52:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 May 2003 01:52:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 13 03:52:07 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19FOxb-0000Sq-00 for ; Tue, 13 May 2003 03:52:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19FP4H-0005p2-00 for ; Tue, 13 May 2003 03:59:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19FOuk-00065i-0B for emacs-devel@quimby.gnus.org; Mon, 12 May 2003 21:49:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19FOtt-0005Jp-00 for emacs-devel@gnu.org; Mon, 12 May 2003 21:48:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19FOt2-0004ij-00 for emacs-devel@gnu.org; Mon, 12 May 2003 21:47:24 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19FOsm-0004dX-00 for emacs-devel@gnu.org; Mon, 12 May 2003 21:47:08 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 19FOsm-0005F4-00; Mon, 12 May 2003 21:47:08 -0400 Original-To: Dan Jacobson In-reply-to: <87ptmpm75y.fsf@jidanni.org> (message from Dan Jacobson on Mon, 12 May 2003 06:48:25 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13816 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13816 $ chmod +x something $ emacs something C-x C-w somethingelse $ ls -l #shows that the executable permissions were not carried along, as a convenience... If you write the buffer into a different file, I don't see why the permissions would be the same. However, this suggested to me that maybe Emacs should always set the executable bit when you edit a file in Shell Script mode. Is there any reason that would be bad?