From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13608 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: Re: gnus registry menu problem in emacs 23.1 Date: Mon, 01 Feb 2010 09:55:54 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87hbq1kl11.fsf@lifelogs.com> References: <87zl4egdga.fsf@gmail.com> <87k4v0ojkf.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265042464 30811 80.91.229.12 (1 Feb 2010 16:41:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Feb 2010 16:41:04 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Feb 01 17:41:01 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NbzKZ-0006Km-I9 for gegu-info-gnus-english@m.gmane.org; Mon, 01 Feb 2010 17:40:55 +0100 Original-Received: from localhost ([127.0.0.1]:49308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbzKZ-0005mN-00 for gegu-info-gnus-english@m.gmane.org; Mon, 01 Feb 2010 11:40:55 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!syros.belnet.be!news.belnet.be!news.k-dsl.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 42 Original-X-Trace: news.albasani.net CzNd+aVHar7uRRPlKm+hlSM1fIZMETCrnARoMPSUiSpecevCqrzbqa2dZN0MiMzbhnZSuBACNAQCbwyWwPrFVShOTdxNLcxa2jY0zfurqiWO85Lb8mGOlss1yjZiMLIG Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Mon, 1 Feb 2010 15:55:55 +0000 (UTC) X-User-ID: IaTjgxcrQD+JUPw46kE7jgYRoNLHld4MB0tFcZIKgv4= 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" Cancel-Lock: sha1:eWJlGS4xd2KHRm7y1PO476AHWcI= sha1:rBOnGzyshydGzAGtVAL46Hli5yw= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (gnu/linux) X-NNTP-Posting-Host: Bnr/Oc3H3fErFxl8wicWxuKiyOSAq4YjQFV8dsp/a6g= Original-Xref: news.stanford.edu gnu.emacs.gnus:83992 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13608 Archived-At: On Fri, 29 Jan 2010 12:24:48 -0600 Ted Zlatanov wrote: TZ> On Sat, 16 Jan 2010 17:35:33 +0000 Paul Bibbings wrote: PB> However, with the same article selected as in 2. (above) clicking on the PB> menu item: PB> Gnus | Registry Mark | Important PB> fails with: PB> "Symbol's function definition is void: PB> gnus-registry-set-article-Important-mark" PB> Is anybody able to help me understand what the problem might be here? PB> I'm at a loss, being quite new to Emacs and Gnus (though loving it, I PB> have to say). The menu item seems to be hooked into the correct function PB> call, but it is somehow believing that it is undefined, whereas the PB> other tests (above) show that it clearly is, and operates properly. TZ> Try using this in gnus-sum.el around line 2640: TZ> ("Registry Mark" TZ> ["Important" (lambda () (interactive) (gnus-registry-set-article-Important-mark)) t] TZ> ["Not Important" (lambda () (interactive) (gnus-registry-remove-article-Important-mark)) t] TZ> ["Personal" (lambda () (interactive) (gnus-registry-set-article-Personal-mark)) t] TZ> ["Not Personal" (lambda () (interactive) (gnus-registry-remove-article-Personal-mark)) t] TZ> ["Later" (lambda () (interactive) (gnus-registry-set-article-Later-mark)) t] TZ> ["Not Later" (lambda () (interactive) (gnus-registry-remove-article-Later-mark)) t] TZ> ["Work" (lambda () (interactive) (gnus-registry-set-article-Work-mark)) t] TZ> ["Not Work" (lambda () (interactive) (gnus-registry-remove-article-Work-mark)) t] TZ> ["To Do" (lambda () (interactive) (gnus-registry-set-article-To-Do-mark)) t] TZ> ["Not To Do" (lambda () (interactive) (gnus-registry-remove-article-To-Do-mark)) t]) TZ> instead of the version that just calls those functions. I think it's TZ> happening because the function is not defined when the menu is made, but TZ> I don't know the exact failure mode. TZ> If the above doesn't work, I may have to use `intern'. Does anyone have TZ> a better idea? I don't want gnus-sum.el to load the registry because TZ> not everyone wants it, but once this menu is built it's hard to update TZ> it again. Can anyone else try this change or suggest a better fix? Ted