From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: master 2ec8f28: Introduce defcustom 'executable-prefix-env' Date: Mon, 24 Jul 2017 12:38:19 -0400 Message-ID: <3rmv7tyemc.fsf@fencepost.gnu.org> References: <20170722073452.31002.6998@vcs0.savannah.gnu.org> <20170722073453.C375420329@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500914364 11166 195.159.176.226 (24 Jul 2017 16:39:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2017 16:39:24 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: "Andrew L. Moore" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 24 18:39:19 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZgO2-0002NB-Dx for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2017 18:39:14 +0200 Original-Received: from localhost ([::1]:55845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZgO8-0003uS-32 for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2017 12:39:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZgNA-0003t6-UT for emacs-devel@gnu.org; Mon, 24 Jul 2017 12:38:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZgNA-0006E2-9G for emacs-devel@gnu.org; Mon, 24 Jul 2017 12:38:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZgNA-0006Dy-6z; Mon, 24 Jul 2017 12:38:20 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dZgN9-0002CA-TI; Mon, 24 Jul 2017 12:38:19 -0400 X-Spook: Gangs MIT-LL Gang Emergency Broadcast System Shots fired X-Ran: 0N?iPaqm-3HOuq!s|Y(T*@bN'yByWGBW,=5CKo-`_anFeb"#YG99%Cw.Ca{Obe}+[Rx@ae X-Hue: yellow X-Attribution: GM In-Reply-To: (Glenn Morris's message of "Mon, 24 Jul 2017 11:58:43 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216974 Archived-At: PS personally I don't see what was wrong with (setq executable-prefix "#!/usr/bin/env ")' http://lists.gnu.org/archive/html/emacs-devel/2017-06/msg00170.html mentions safety concerns, but you always could, and still can, set it to "#!/bin/rm " if you are so inclined. It's not even marked risky. But I guess that would be pointless, since if someone could add a nasty file-local setting, they could just directly add the #! line as well; don't run scripts untrusted people can edit.