From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86223 Path: news.gmane.org!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.gnus.general Subject: Re: How to change definition of gnus-summary-exit? Date: Thu, 15 Oct 2015 10:47:22 -0700 Message-ID: <87eggwvxat.fsf@thinkpad.rath.org> References: <87io69jr5o.fsf@thinkpad.rath.org> <87si5diara.fsf@tullinup.koldfront.dk> <874mhsprmo.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1444931317 8775 80.91.229.3 (15 Oct 2015 17:48:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 17:48:37 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34457@lists.math.uh.edu Thu Oct 15 19:48:23 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZmmdX-0001z0-Im for ding-account@gmane.org; Thu, 15 Oct 2015 19:48:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1Zmmcn-0005gf-Ud; Thu, 15 Oct 2015 12:47:34 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1Zmmck-0005gM-NE for ding@lists.math.uh.edu; Thu, 15 Oct 2015 12:47:30 -0500 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.85) (envelope-from ) id 1Zmmch-0005vs-VU for ding@lists.math.uh.edu; Thu, 15 Oct 2015 12:47:30 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Zmmcf-0005jx-Sr for ding@gnus.org; Thu, 15 Oct 2015 19:47:26 +0200 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 24EDE21CDF for ; Thu, 15 Oct 2015 13:47:24 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 15 Oct 2015 13:47:24 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=Y8GixgwxPIwUOFL pQFrDuUvEW0k=; b=u8dDU9DJ1Rf8g+YD3DAjQl4WUiPS6Gf1AVLeEcHtHiqwJ1p gsyOoRp0IW0MGkU/P/QTlsG1vVeLA0KPcJeaukQJdZzekr5oC9PErU4oiAucvCUs DzN7nfJ39pJhVMmcA7uBWC7UVA5FxY3T2nGTMxnP0tccCq1bfxCrlLyYU0qI= X-Sasl-enc: eoxud3Q+hO/UilHypqKsl5ndsUabjrKO1URYfEUNvpVp 1444931243 Original-Received: from ebox.rath.org (ebox.rath.org [45.79.69.51]) by mail.messagingengine.com (Postfix) with ESMTPA id D86986800B5 for ; Thu, 15 Oct 2015 13:47:23 -0400 (EDT) Original-Received: from thinkpad.rath.org (thinkpad [192.168.12.2]) by ebox.rath.org (Postfix) with ESMTPS id 2B98EC68B8 for ; Thu, 15 Oct 2015 17:47:23 +0000 (UTC) Original-Received: by thinkpad.rath.org (Postfix, from userid 1000) id C8CEEC2227; Thu, 15 Oct 2015 10:47:22 -0700 (PDT) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: <874mhsprmo.fsf@gnu.org> (Tassilo Horn's message of "Thu, 15 Oct 2015 08:34:07 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux) X-Spam-Score: -2.1 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86223 Archived-At: On Oct 15 2015, Tassilo Horn wrote: > asjo@koldfront.dk (Adam Sj=C3=B8gren) writes: > >>> What is happening here? Why does the help refer me to the modified >>> version, but the version in memory is actually the original one? And >>> how do I tell emacs/gnus to use my version? > > Why do you copy the complete gnus-sum.el when you just want to > change one function? As a result, you won't see any future changes of > gnus-sum.el (bugfixes and new features). Not quite, the 'modified version' is actually a clone of the gnus git repo. > What do you want to change exactly? Oftentimes, a simple advice will do > without having to override the complete function. What's an advice (in this context)? I am interested in fixing/working around https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21071. >> I'm sure somebody with more hardcore knowledge than me will jump in; >> just a guess: could it be a byte compiled file (.elc) that is being >> picked up? > > Indeed, if Nikolaus copied both gnus-sum.el and gnus-sum.elc into his > other directory, then modified gnus-sum.el but didn't recompile it, and > additionally `load-prefer-newer' is nil, that would explain the issue. Thanks, that was it! I was assuming that Emacs would automatically ignore the .elc file if the .el file was newer. Best, -Nikolaus --=20 GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB