From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86114 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Macro suddenly broken Date: Thu, 20 Aug 2015 07:01:30 +0200 Message-ID: <87k2sqimdx.fsf@gnu.org> References: <87tws1q39b.fsf@gnu.org> <6sw6c737zlyhdc.fsf@dhcp-6-148.hmco.com> <87r3n2xtzg.fsf@gnu.org> <6sw6c7vbcew1jj.fsf@dhcp-6-148.hmco.com> <87h9nx2g4z.fsf@gnu.org> <6sw6c7a8towzl5.fsf@dhcp-6-148.hmco.com> <87egj01yde.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440046995 4914 80.91.229.3 (20 Aug 2015 05:03:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2015 05:03:15 +0000 (UTC) Cc: ding@gnus.org To: Peter Davis Original-X-From: ding-owner+M34348@lists.math.uh.edu Thu Aug 20 07:03:04 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 1ZSI0G-0005hV-3X for ding-account@gmane.org; Thu, 20 Aug 2015 07:03:04 +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 1ZSHzN-000469-2F; Thu, 20 Aug 2015 00:02:09 -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 1ZSHzK-00045l-7r for ding@lists.math.uh.edu; Thu, 20 Aug 2015 00:02:06 -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 1ZSHzH-0006Mw-G7 for ding@lists.math.uh.edu; Thu, 20 Aug 2015 00:02:06 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ZSHzF-0001LA-Ii for ding@gnus.org; Thu, 20 Aug 2015 07:02:01 +0200 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id A50B02096E for ; Thu, 20 Aug 2015 01:01:59 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 20 Aug 2015 01:01:59 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=tZwkzmTrO6mbc09DFvZLRNSR9Ck=; b=HcfRp E1iDgL59FwLaFp/qt50dCUtrfWvWz38t3uWX28voq8TIa4uJnUhdzDUU77WP9akl GUOuwRRXUM6Q+S/LrRqenUHq3fM4d0xtu5PQo/QbQ8fYMtVQnruAdlKeEkVYZe5U x4N+jftviASSlR4ylsAcK4kcyexvcRtrUg0/M4= X-Sasl-enc: hGltt/t2YGFK6uSK8cZeG+y0RT06Dygr2Tp5YbWImRCY 1440046909 Original-Received: from thinkpad-t440p (unknown [2.161.214.166]) by mail.messagingengine.com (Postfix) with ESMTPA id 5A19BC00012; Thu, 20 Aug 2015 01:01:38 -0400 (EDT) Mail-Followup-To: Peter Davis , ding@gnus.org In-Reply-To: (Peter Davis's message of "Wed, 19 Aug 2015 19:23:36 -0400") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-Spam-Score: -2.3 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86114 Archived-At: Peter Davis writes: Hi Peter, > Thanks very much for the detailed instructions. This will certainly be > useful in the future. However, ... > > I did this, resulting in: > > (fset 'pd/gnus-expire-and-show-next > (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("E " 0 "%d")) arg))) > > (defun pm/alter-summary-map () > ; (local-set-key "d" [?M ?M ?e ?e down ?g]) > (local-set-key "d" 'pd/gnus-expire-and-show-next) > (local-set-key "vj" "BmINBOX.Junk Mail") > ) > > Unfortunately, I'm *still* getting: > > After 0 kbd macro iterations: undefined: Keyboard macro terminated by > a command ringing the bell Strange. I can use that here and it works, i.e., it marks the current article as expirable and then selects the next one if there's any. No errors. Sorry, now I'm running out of ideas... Bye, Tassilo