From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86226 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 16:27:47 -0700 Message-ID: <87d1wf4sr0.fsf@vostro.rath.org> References: <87io69jr5o.fsf@thinkpad.rath.org> <87si5diara.fsf@tullinup.koldfront.dk> <874mhsprmo.fsf@gnu.org> <87eggwvxat.fsf@thinkpad.rath.org> <8737xcndrd.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 1444951768 3240 80.91.229.3 (15 Oct 2015 23:29:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 23:29:28 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34460@lists.math.uh.edu Fri Oct 16 01:29:16 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 1ZmrxC-0008Ba-9P for ding-account@gmane.org; Fri, 16 Oct 2015 01:28:58 +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 1ZmrwG-0007MH-22; Thu, 15 Oct 2015 18:28:00 -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 1ZmrwD-0007Lv-5B for ding@lists.math.uh.edu; Thu, 15 Oct 2015 18:27:57 -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 1ZmrwB-0004c1-Fc for ding@lists.math.uh.edu; Thu, 15 Oct 2015 18:27:57 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Zmrw8-0006iB-K9 for ding@gnus.org; Fri, 16 Oct 2015 01:27:52 +0200 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2B7AD202C0 for ; Thu, 15 Oct 2015 19:27:51 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 15 Oct 2015 19:27:51 -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=s8WNdUOJtcuqqVo VRJNnj962Dv8=; b=YcsjwOZg7ZEwgTSKLs4V/H56iZJU/Tl7aQ+GObIiyg99zY9 JtORDpPSa7PwVTZT6nl9FCNJZXMmJJq7TP9Az9x1xVZ3eCTyl9JLMKejGLkQQQoy lOsuK1m0YOb67KeMOuQdqUdQoicjKCZhcUj4O7JXZgXIMBIQGrGU2HW5pixg= X-Sasl-enc: ZVvd68TRnlDNIfk2+6Ymq8AZLredlZGpTKG5P//cFy3k 1444951670 Original-Received: from ebox.rath.org (ebox.rath.org [45.79.69.51]) by mail.messagingengine.com (Postfix) with ESMTPA id DD8566800BC for ; Thu, 15 Oct 2015 19:27:50 -0400 (EDT) Original-Received: from vostro.rath.org (vostro [192.168.12.4]) by ebox.rath.org (Postfix) with ESMTPS id 9AD72C70C1 for ; Thu, 15 Oct 2015 23:27:49 +0000 (UTC) Original-Received: by vostro.rath.org (Postfix, from userid 1000) id 807C0F169A8; Thu, 15 Oct 2015 16:27:48 -0700 (PDT) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: <8737xcndrd.fsf@gnu.org> (Tassilo Horn's message of "Thu, 15 Oct 2015 21:16:38 +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:86226 Archived-At: On Oct 15 2015, Tassilo Horn wrote: > Nikolaus Rath 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. > > Ah, I see. Well, then I'd just use the complete git version if I were > you. That's what I'm trying to do. Isn't putting the lisp/ directory from the git clone sufficient to achieve that? >>> 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)? > > An advice is a function which is run before, after, instead of, or > "around" some other function. See (info "(elisp)Advising Functions"). Uh, that's pretty cool. It seems I need to do some reading. 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