From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85738 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: check mtime of newsrc.eld before saving it Date: Wed, 04 Feb 2015 23:08:21 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87zj8tvw3u.fsf@lifelogs.com> References: <87twzdc86f.fsf@building.gnus.org> <8761bhzz0f.fsf@lifelogs.com> <8761bhvynu.fsf@building.gnus.org> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423109316 12943 80.91.229.3 (5 Feb 2015 04:08:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2015 04:08:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33977@lists.math.uh.edu Thu Feb 05 05:08:36 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJDk3-0000m9-Pj for ding-account@gmane.org; Thu, 05 Feb 2015 05:08:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1YJDk1-0007TO-DJ; Wed, 04 Feb 2015 22:08:33 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YJDk0-0007T7-7c for ding@lists.math.uh.edu; Wed, 04 Feb 2015 22:08:32 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YJDjv-0004hz-S9 for ding@lists.math.uh.edu; Wed, 04 Feb 2015 22:08:31 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YJDjt-0002V3-QA for ding@gnus.org; Thu, 05 Feb 2015 05:08:25 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YJDjs-0000g3-M8 for ding@gnus.org; Thu, 05 Feb 2015 05:08:24 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2015 05:08:24 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2015 05:08:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:MGDBSer01gfaEtcRQOI11JAOGRE= X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85738 Archived-At: On Thu, 05 Feb 2015 14:13:09 +1100 Lars Ingebrigtsen wrote: LI> Ted Zlatanov writes: LI> this should be a `y-or-n-p' instead, I think. That would make Gnus' LI> behaviour here be pretty consistent with how Emacs otherwise behaves LI> when writing data to files. >> >> ...a way to merge the on-disk newsrc.eld with the current one, because >> currently aborting is the only way to avoid overwriting either side's >> marks. LI> Well, if you answer "yes" to "file change; write anyway?", Emacs will LI> overwrite changes made elsewhere to files normally. So this would make LI> Gnus be pretty consistent with how Emacs works elsewhere, wouldn't it? Yes, but it's not what users want. For me, at least (I count for two :) The correct behavior would be to merge the newer newsrc as if it was a dribble file. I think Ted