From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58851 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: Bookmarking summary limit commands? Date: Wed, 13 Oct 2004 23:42:08 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <871xg4ekn5.fsf@guti.no-ip.org> <87brf6js0x.fsf@guti.no-ip.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097703914 14679 80.91.229.6 (13 Oct 2004 21:45:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2004 21:45:14 +0000 (UTC) Original-X-From: ding-owner+M7389@lists.math.uh.edu Wed Oct 13 23:44:58 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CHqvZ-000694-00 for ; Wed, 13 Oct 2004 23:44:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CHqtN-0001u1-00; Wed, 13 Oct 2004 16:42:41 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CHqtF-0001tt-00 for ding@lists.math.uh.edu; Wed, 13 Oct 2004 16:42:33 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CHqtC-0004vj-TY for ding@lists.math.uh.edu; Wed, 13 Oct 2004 16:42:30 -0500 Original-Received: from fitch6.uni2.net (fitch6.uni2.net [130.227.52.109]) by justine.libertine.org (Postfix) with ESMTP id D104D3A0203 for ; Wed, 13 Oct 2004 16:42:27 -0500 (CDT) Original-Received: from defun.localdomain (83.72.232.87.ip.tele2adsl.dk [83.72.232.87]) by fitch6.uni2.net (8.12.6/8.11.6) with ESMTP id i9DLgPKn029782 for ; Wed, 13 Oct 2004 23:42:25 +0200 Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org In-Reply-To: <87brf6js0x.fsf@guti.no-ip.org> (Cristian Gutierrez's message of "Wed, 13 Oct 2004 17:13:18 -0300") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58851 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58851 Cristian Gutierrez writes: > I added a pop-limit command just before the actual limit command for > each entry, to be able to switch between them without manually doing > "/w" every time: You could move pop-limit down to the function instead to make the bookmarks easier to write. > But now when a limit fails, I get blocked trying to switch to another > one with the message "No limit to pop" (yes, because the limit has > already been popped in the last [failed] limit). > > ,---- > | ("analytics" . (progn > | (condition-case nil > | (gnus-summary-pop-limit) > | (error nil)) > | (gnus-summary-limit-to-author "analytics\\|dads"))) > `---- This works for me. Maybe you forgot to reevaluate the defvar. Remember that evaluating a defvar, e.g. with `C-j', does not change the value if the variable is already defined. To set it unconditionally you can use `C-M-x'. -- Jesper Harder