From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86218 Path: news.gmane.org!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.gnus.general Subject: How to change definition of gnus-summary-exit? Date: Wed, 14 Oct 2015 10:28:35 -0700 Message-ID: <87io69jr5o.fsf@thinkpad.rath.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 1444843739 6142 80.91.229.3 (14 Oct 2015 17:28:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2015 17:28:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34452=ding+2Daccount=gmane.org@lists.math.uh.edu Wed Oct 14 19:28:47 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 1ZmPr5-0004O5-41 for ding-account@gmane.org; Wed, 14 Oct 2015 19:28:47 +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 1ZmPr2-0006iq-NX for ding-account@gmane.org; Wed, 14 Oct 2015 12:28:44 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZmPr1-0006ii-6l for ding@lists.math.uh.edu; Wed, 14 Oct 2015 12:28:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZmPqz-0000QH-T7 for ding@lists.math.uh.edu; Wed, 14 Oct 2015 12:28:43 -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 1ZmPqy-0003Gr-1j for ding@gnus.org; Wed, 14 Oct 2015 19:28:40 +0200 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 642922049C for ; Wed, 14 Oct 2015 13:28:37 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 14 Oct 2015 13:28:37 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=RuyHeUkrvTebaSPtHg0ZhqlfGFM=; b=YQ7qc L7NMgwF6cc2wIF7zCUCy9YiPljvbnQKonFDbyVb1zyAreJmqLaFXH/rleu7OzgzB hGshGvhw31e7I7uAfBHb8yFSi1rxR15vlCKixqh4VfgSSbCbXdmWgM/5RDNWylGj GlfEaPR3139IMAqn+pjUbdEwYpyRI1IxrVgrlU= X-Sasl-enc: k7lokPUNi7wTxgJUZax4tGDhkY9Hk0x6A8UVGCpkQ3Ev 1444843717 Original-Received: from ebox.rath.org (ebox.rath.org [45.79.69.51]) by mail.messagingengine.com (Postfix) with ESMTPA id 1F069680105 for ; Wed, 14 Oct 2015 13:28:37 -0400 (EDT) Original-Received: from thinkpad.rath.org (thinkpad [192.168.12.2]) by ebox.rath.org (Postfix) with ESMTPS id 1CB9CC443F for ; Wed, 14 Oct 2015 17:28:36 +0000 (UTC) Original-Received: by thinkpad.rath.org (Postfix, from userid 1000) id C87DFC5777; Wed, 14 Oct 2015 10:28:35 -0700 (PDT) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org 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:86218 Archived-At: Hello, I would like to change the definition of the gnus-summary-exit function. I have made a copy of gnus-sum.el, put it in a new directory, modified it, and added this directory to my load path in ~/.emacs: | (add-to-list 'load-path "/home/nikratio/dir-with-gnus-sum.el") If I start gnus and do C-h f gnus-summary-exit, it tells me that the function is defined in gnus-sum.el. If I click on gnus-sum.el, Emacs opens my modified gnus-sum.el file. *However*, the version of gnus-summary-exit that Gnus is actually using is *not* my modified one, but the original. In order to use my version, I have to explicitly eval the definition using C-x C-e. After that, it is used by Gnus. 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? Thanks, -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