From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18328 Path: main.gmane.org!not-for-mail From: Jan Vroonhof Newsgroups: gmane.emacs.gnus.general Subject: Re: Drafts and autosave Date: 30 Oct 1998 16:35:06 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156870 5553 80.91.224.250 (20 Oct 2002 23:34:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:34:30 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA06039 for ; Fri, 30 Oct 1998 10:36:01 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB17935; Fri, 30 Oct 1998 09:35:38 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 30 Oct 1998 09:35:30 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id JAA15750 for ; Fri, 30 Oct 1998 09:35:20 -0600 (CST) Original-Received: from frege.math.ethz.ch (root@frege-d-math-north-g-west.math.ethz.ch [129.132.145.3]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA05976 for ; Fri, 30 Oct 1998 10:35:15 -0500 (EST) Original-Received: from bolzano (vroonhof@bolzano [129.132.146.140]) by frege.math.ethz.ch (8.8.8/Main-STAT-mailer) with ESMTP id QAA13376 for ; Fri, 30 Oct 1998 16:34:05 +0100 (MET) Original-Received: (vroonhof@localhost) by bolzano (SMI-8.6/D-MATH-client) id QAA07583; Fri, 30 Oct 1998 16:35:07 +0100 Original-To: ding@gnus.org In-Reply-To: Colin Rafferty's message of "Fri, 30 Oct 1998 14:42:58 GMT" Original-Lines: 25 User-Agent: Gnus/5.07004 (Pterodactyl Gnus v0.40) XEmacs/21.0 (Pyrenean-pre6) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18328 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18328 Colin Rafferty writes: > I think that this is a great idea. Unfortunately, I can't find the > code that sets up the message buffer to be associated with a file. (defun message-set-auto-save-file-name () "Associate the message buffer with a file in the drafts directory." which uses nndraft-request-associate-buffer However this does an explicit (setq buffer-auto-save-file-name (make-auto-save-file-name))) !!! Why not (setq buffer-auto-save-file-name buffer-file-name))? If that is to surprising may suggest that at the end of nndraft-request-associate-buffer there is a (save-buffer) instead of (clear-visited-file-modtime) such that nndraft picks them up and then recommend M-x recover-file? Jan