From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.devel Subject: Re: write-file could carry permissions Date: Tue, 13 May 2003 15:13:59 +0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87bry7tj2g.fsf@jidanni.org> References: <87ptmpm75y.fsf@jidanni.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052817494 26568 80.91.224.249 (13 May 2003 09:18:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 May 2003 09:18:14 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 13 11:18:13 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 19FVvI-0006uG-00 for ; Tue, 13 May 2003 11:18:12 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19FW27-0001oa-00 for ; Tue, 13 May 2003 11:25:15 +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 19FVvo-0005GR-08 for emacs-devel@quimby.gnus.org; Tue, 13 May 2003 05:18:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19FVvM-0004mq-00 for emacs-devel@gnu.org; Tue, 13 May 2003 05:18:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19FVup-0003fA-00 for emacs-devel@gnu.org; Tue, 13 May 2003 05:17:45 -0400 Original-Received: from tx.symonds.net ([64.246.28.87]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19FVuk-0003R3-00 for emacs-devel@gnu.org; Tue, 13 May 2003 05:17:38 -0400 Original-Received: from tc218-187-82-47.2-7.pl.apol.com.tw ([218.187.82.47] helo=jidanni.org) by tx.symonds.net with asmtp (Exim 4.04) id 19FVui-0002M8-00 for emacs-devel@gnu.org; Tue, 13 May 2003 05:17:38 -0400 Original-Received: from jidanni by jidanni.org with local (Exim 3.36 #1 (Debian)) id 19FTz5-0002pW-00 for ; Tue, 13 May 2003 15:13:59 +0800 In-Reply-To: (Richard Stallman's message of "Mon, 12 May 2003 21:47:08 -0400") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) 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:13823 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13823 >>>>> "RMS" == Richard Stallman writes: RMS> $ chmod +x something RMS> $ emacs something RMS> C-x C-w somethingelse RMS> $ ls -l #shows that the executable permissions were not carried along, RMS> as a convenience... RMS> If you write the buffer into a different file, I don't see why the RMS> permissions would be the same. However, this suggested to me that RMS> maybe Emacs should always set the executable bit when you edit a file RMS> in Shell Script mode. Is there any reason that would be bad? Well, I wasn't asking for it to go that far. Now look what I've started. OK, never mind my request. -- http://jidanni.org/ Taiwan(04)25854780