From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: bug#5314: Acknowledgement (23.1; Inconsistent treatment of auto-save files) Date: Tue, 05 Jan 2010 23:29:30 -0700 Message-ID: References: <84skalg9e3.fsf@cs.bham.ac.uk> <19267.19658.406000.307675@gargle.gargle.HOWL> Reply-To: Kevin Rodgers , 5314@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1262760548 32305 80.91.229.12 (6 Jan 2010 06:49:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2010 06:49:08 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 06 07:49:01 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NSPhU-0007bI-Tp for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jan 2010 07:49:01 +0100 Original-Received: from localhost ([127.0.0.1]:33009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSPhV-0007xf-AT for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jan 2010 01:49:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSPhN-0007uw-De for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 01:48:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSPhI-0007qd-2i for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 01:48:52 -0500 Original-Received: from [199.232.76.173] (port=39044 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSPhH-0007qa-OC for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 01:48:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34821) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSPhH-0001yI-DR for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 01:48:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NSPQ5-0006PO-OU; Wed, 06 Jan 2010 01:31:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Kevin Rodgers , 5314@debbugs.gnu.org Resent-From: Kevin Rodgers Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jan 2010 06:31:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5314 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.126275941424625 (code B ref -1); Wed, 06 Jan 2010 06:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jan 2010 06:30:14 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSPPJ-0006P8-OP for submit@debbugs.gnu.org; Wed, 06 Jan 2010 01:30:14 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSPPH-0006P3-QV for submit@debbugs.gnu.org; Wed, 06 Jan 2010 01:30:12 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:36914 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSPPE-0004ob-MZ for submit@debbugs.gnu.org; Wed, 06 Jan 2010 01:30:08 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NSPPD-0006LZ-9k for submit@debbugs.gnu.org; Wed, 06 Jan 2010 01:30:08 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:42289) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSPPB-0006L5-TV for submit@debbugs.gnu.org; Wed, 06 Jan 2010 01:30:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSPPA-00062L-QW for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 01:30:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSPP5-0005ze-Cs for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 01:30:03 -0500 Original-Received: from [199.232.76.173] (port=59814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSPP5-0005zU-78 for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 01:29:59 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:43186) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSPP4-0006J1-SE for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 01:29:59 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NSPOy-0003Tz-MJ for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 07:29:52 +0100 Original-Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jan 2010 07:29:52 +0100 Original-Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jan 2010 07:29:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) In-Reply-To: <19267.19658.406000.307675@gargle.gargle.HOWL> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -5.9 (-----) Resent-Date: Wed, 06 Jan 2010 01:31:01 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33988 Archived-At: Uday S Reddy wrote: > I did some more testing of the functions after my initial report. The > situation seems a lot more complex than I had imagined. > > With an old auto-save file on the disk, the following sequence done on > a buffer seems to always return nil: > > (progn (insert "x") (recent-auto-save-p)) That could be explained by the dependencies on auto-save-interval and auto-save-timeout. There is no guarantee that Emacs will auto-save after the insert, regardless whether an old auto-save file exists. > Killing the buffer in this case does not affect the old auto-save > file. > > The following sequence seems to always return t > > (progn (set-buffer-modified-p t) (recent-auto-save-p)) Hmmm, that should also depend on auto-save-interval and auto-save-timeout. > Killing the buffer in this case deletes the old auto-save file. > > So, it appears that recent-auto-save-p and kill-buffer are consistent > with each other. But their behaviour is paradoxical with regard to > set-buffer-modified-p. -- Kevin Rodgers Denver, Colorado, USA