all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Ed Avis <eda@waniasset.com>
Cc: 18915@debbugs.gnu.org
Subject: bug#18915: 24.3; Feature: Prompt to make executable on write-file
Date: Fri, 31 Oct 2014 14:06:04 -0400	[thread overview]
Message-ID: <g8tx2k9ks3.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <7E039918541B4C4183BFDB8F015C743081012B@WCL-EXCH02.wcl.local> (Ed Avis's message of "Fri, 31 Oct 2014 18:01:19 +0000")

Ed Avis wrote:

> (if you edit a script and save a copy, you'll probably want to run the
> new script).

The existing

(add-hook 'after-save-hook
          'executable-make-buffer-file-executable-if-script-p)

already handles that particular case, so personally I don't see the need
for a new, more general feature for this.





  reply	other threads:[~2014-10-31 18:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 18:01 bug#18915: 24.3; Feature: Prompt to make executable on write-file Ed Avis
2014-10-31 18:06 ` Glenn Morris [this message]
2014-10-31 18:12   ` Ed Avis
2014-10-31 20:34   ` Stefan Monnier
2014-10-31 20:54     ` Ed Avis
2014-10-31 21:16 ` Stefan Monnier
2021-12-02 12:21   ` Lars Ingebrigtsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=g8tx2k9ks3.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=18915@debbugs.gnu.org \
    --cc=eda@waniasset.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.