GNU bug report logs - #28412
26.0.50; Let save-some-buffers accept write-contents-functions

Previous Next

Package: emacs;

Reported by: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Date: Sun, 10 Sep 2017 21:52:02 UTC

Severity: wishlist

Found in version 26.0.50

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; Let save-some-buffers accept write-contents-functions
Date: Sun, 10 Sep 2017 14:50:15 -0700
[Message part 1 (text/plain, inline)]
This is about letting `save-some-buffers' check
`write-contents-functions' before insisting on a buffer having a file to
write to.

There was a conversations about this on emacs.devel:

https://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00653.html

The patch I ended up with is attached.

I'm reporting this just so the patch (and the idea) doesn't get lost. I
still think it's worth doing.

[0001-First-whack-at-write-contents-functions-for-non-file.patch (text/x-diff, attachment)]

This bug report was last modified 7 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.