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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#28412: closed (26.0.50; Let save-some-buffers accept
 write-contents-functions)
Date: Thu, 19 Oct 2017 15:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 19 Oct 2017 08:25:08 -0700
with message-id <87d15jnorv.fsf <at> ericabrahamsen.net>
and subject line Re: bug#28412: 26.0.50; Let save-some-buffers accept write-contents-functions
has caused the debbugs.gnu.org bug report #28412,
regarding 26.0.50; Let save-some-buffers accept write-contents-functions
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
28412: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28412
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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)]
[Message part 5 (message/rfc822, inline)]
From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: 28412-done <at> debbugs.gnu.org
Subject: Re: bug#28412: 26.0.50;
 Let save-some-buffers accept write-contents-functions
Date: Thu, 19 Oct 2017 08:25:08 -0700
closing


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.