🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #1813

GNUS *postnews* lossage (was Re: KILL entry question)

#1813
From: David C Lawrence
Date: Tue, 07 Jul 1992 21:27
24 lines
1858 bytes
In <TWPIERCE.92Jun28142249@caraway.cs.amherst.edu> twpierce@cs.amherst.edu
(Tim Pierce) writes:

   Argh.  Aside to GNUS users: does anyone else think it would be a good
   idea to disable C-x C-c when in the Article buffer?  Or maybe bind it
   to news-inews?

*post-news* should have an auto-save file; an accidental C-x C-c hasn't
been the only thing which has completely trashed an article for me.
Not only will this require confirmation for a C-x C-c, but it also
gives you something useful in the event of an abnormally exited session.

Set your news-reply-mode-hook to (function (lamda () (auto-save-mode 1))).
Unfortunately this means you will always have an auto-save file hanging
around unless you also go into gnus-inews-news in gnuspost.el and add
the middle line below:

      (set-buffer-modified-p nil)
      (delete-auto-save-file-if-necessary))
    ;; If NNTP server is opened by gnus-inews-news, close it by myself.

As long as you're happy with mucking with the source files rather than
hooks, you could turn on auto-save-mode right after the
news-reply-mode call in gnus-post-news.
Technical Details
Message-ID: <TALE.92Jul7162723@ten.uu.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!tale
References: <1992Jun27.173105.27067@nntp.uoregon.edu> <TWPIERCE.92Jun28142249@caraway.cs.amherst.edu>

Show Full Headers
Complete Article Headers
Message-ID: <TALE.92Jul7162723@ten.uu.net>
Subject: GNUS *postnews* lossage (was Re: KILL entry question)
Date: Tue, 7 Jul 1992 21:27:23 GMT
From: tale@ten.uu.net (David C Lawrence)
References: <1992Jun27.173105.27067@nntp.uoregon.edu> <TWPIERCE.92Jun28142249@caraway.cs.amherst.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!tale
Newsgroups: news.software.readers,gnu.emacs.gnus
Sender: usenet@uunet.uu.net (UseNet News)
Nntp-Posting-Host: ten.uu.net
Organization: UUNET Technologies, Inc.
Lines: 24