From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86115 Path: news.gmane.org!not-for-mail From: Peter Davis Newsgroups: gmane.emacs.gnus.general Subject: Re: Macro suddenly broken Date: Thu, 20 Aug 2015 08:11:06 -0400 Message-ID: <6sw6c7y4h6qhwl.fsf@pfdstudio.com> 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> <87k2sqimdx.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440072742 13727 80.91.229.3 (20 Aug 2015 12:12:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2015 12:12:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34349@lists.math.uh.edu Thu Aug 20 14:12:11 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 1ZSOhV-0008AX-Oi for ding-account@gmane.org; Thu, 20 Aug 2015 14:12:09 +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 1ZSOgV-00067Z-KR; Thu, 20 Aug 2015 07:11:07 -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 1ZSOgS-00067C-LD for ding@lists.math.uh.edu; Thu, 20 Aug 2015 07:11:04 -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 1ZSOgR-00005U-KX for ding@lists.math.uh.edu; Thu, 20 Aug 2015 07:11:04 -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 1ZSOgP-00059b-Ji for ding@gnus.org; Thu, 20 Aug 2015 14:11:02 +0200 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 4280F20F60 for ; Thu, 20 Aug 2015 08:11:00 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 20 Aug 2015 08:11:00 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:references:subject:to:x-sasl-enc:x-sasl-enc; s= smtpout; bh=ynLEIyMBG0HjtWQrAOpvp4K0xp0=; b=DnaZ3+ma/03uNwVSVsIw N4XLgVEzHU/N3PxeiUJyqJTt1kPMhTwDskqD0IM0eNR8+dVUBp82P2sWZccuBBqs CmXnB9r78+FkpWD376M4N2nLxZDkFhFTD8VipUyds8dsXq3V312fC+UhdLKVxt37 FrM2hv5zRRen5xYGMN56sQU= X-Sasl-enc: tDxKt6DYQyAJo3iUm1NmeXMgSpe5v23fCK8J6vRegmdi 1440072660 Original-Received: from BO-C02P460YG3QC.local (unknown [206.208.105.129]) by mail.messagingengine.com (Postfix) with ESMTPA id 05A57C00018; Thu, 20 Aug 2015 08:11:00 -0400 (EDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEX7+/yUqsBNc5n/ //8Nz43fAAAAAWJLR0QDEQxM8gAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB98HHAoRJOUe cnoAAAGASURBVCjPTZIxb6NAEIUHlCBlKzdx4f4ihV/BFZc6RYwOVydLQfb+is0VJ5kqOsnIUGEE iH2/8t4sPilTLPvp7Q6PN4iwVsCrSArdC1grrro3ClfBHITx/myxQIw3kR/4g4FgR5V3PTo99apw P6kS+dBRdqok8wIGjtAtsFHYuAWCAStfADcIbmb5Lpma9ZnEA33AWQ/vJO4UOoyYnSQuRl/vfY/p U4yLp367B6EjJFP51uQN/ioYVNtTU+GDkBmctk1ZwREkPfv8PbfIFCye8287uhlUUWgYwiwbgS+L 7WHnCQ800Pw8X5jNAuPhfLSzsEFEa7tybzv5JeY3+mKf975ThTD170yN/k2Fyp/qU+sIMaGtLN0o 0CdMm8AZfmmKdDagGwLdRMJEVvLEdJ7/Z5VqXres5fAFIj6jMDBWMugQb1N4/OTE2usCJTNOxjoL Vwo9aqtwaa3rQ/1yoRQ96ZjXTXa8Pt6ZY3hvKet6bNuLwtFKNNUFQpdiCD9EmPI/i0CsgbQMqlYA AAAldEVYdGRhdGU6Y3JlYXRlADIwMTUtMDctMjhUMTA6MTc6NDEtMDQ6MDAZungHAAAAJXRFWHRk YXRlOm1vZGlmeQAyMDE1LTA3LTI4VDEwOjE3OjM2LTA0OjAwp4X3LAAAAABJRU5ErkJggg== X-Face: @Pq3?My0v;TPXbg}b;pHV{1I-kH,?FV:1$wMunQgt%u;KIx8Jl%)8E;Tag?jQQu4+Q,/QiTe@x!bk'k@uXGAj?wVZSBSj}T1X}Yql~e]uv@#]I>5F:BJ;+\k5B&3hG3ZT8_{3>#[D)SbK/9t&3TG$L7SnV3G X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86115 Archived-At: Tassilo Horn writes: > 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. So that suggests that the problem is not in the macro definition at all, but in some function that's getting invoked by it. Maybe I need to completely remove and re-install gnus or Aquamacs or both. I notice, though, from my limited understanding of lisp, it appears the recorded macro still depends on the definition of the "E" key, rather than invoking a lisp function directly. I can try re-recording it just using function calls. > Sorry, now I'm running out of ideas... I was out of ideas when I started this thread, so thank you for keeping this alive, and for the wealth of information you've provided along the way. Cheers, -pd