From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86108 Path: news.gmane.org!not-for-mail From: Peter Davis Newsgroups: gmane.emacs.gnus.general Subject: Re: Macro suddenly broken Date: Mon, 17 Aug 2015 08:18:56 -0400 Message-ID: <6sw6c7vbcew1jj.fsf@dhcp-6-148.hmco.com> References: <87tws1q39b.fsf@gnu.org> <6sw6c737zlyhdc.fsf@dhcp-6-148.hmco.com> <87r3n2xtzg.fsf@gnu.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 1439814011 16913 80.91.229.3 (17 Aug 2015 12:20:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Aug 2015 12:20:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34342@lists.math.uh.edu Mon Aug 17 14:19:59 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 1ZRJOP-0003IH-O9 for ding-account@gmane.org; Mon, 17 Aug 2015 14:19:57 +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 1ZRJNY-0002Zl-Fs; Mon, 17 Aug 2015 07:19:04 -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 1ZRJNV-0002ZK-Bv for ding@lists.math.uh.edu; Mon, 17 Aug 2015 07:19:01 -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 1ZRJNU-0005BU-21 for ding@lists.math.uh.edu; Mon, 17 Aug 2015 07:19:01 -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 1ZRJNS-0001et-2J for ding@gnus.org; Mon, 17 Aug 2015 14:18:58 +0200 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8584B21BD5 for ; Mon, 17 Aug 2015 08:18:56 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 17 Aug 2015 08:18:56 -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:references:subject:to :x-sasl-enc:x-sasl-enc; s=smtpout; bh=WPzlJ2Y2a5l0VDOSg4ogzlX9Sy 0=; b=mReE9SdDAD+m0hspKXZXbCs8zl4kull9SD5ZP63smdO1Y8shaSKJ9DZTMl i1Ia9ZKFtbJTaFNhHomyFPhiKehfqkud3xyU7SDlnNIAmosjfhrFZXuTughhyAQA WHmnO5J638fGuE2mgxkamdCUpJIKpow2B9HVIpzfYWCMLJDl0= X-Sasl-enc: ZMv/FTHtfM6HYwdGE+Vtb1buEJbzWzNwknVdpDCaXpBe 1439813936 Original-Received: from dhcp-6-148.hmco.com (unknown [206.208.105.129]) by mail.messagingengine.com (Postfix) with ESMTPA id 442E6C00025; Mon, 17 Aug 2015 08:18:56 -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:86108 Archived-At: Tassilo Horn writes: > Peter Davis writes: > >>> Not really but what happens when you run the keyboard macro manually, >>> i.e., just press the sequence of keys defining it? >>> >>> The "ringing the bell" means that some error during movement >>> occurred, e.g., like pressing when you are already on the last >>> line of the buffer. >> >> Thank you. On the non-working system, I type: >> >> M M e, but Emacs displays: >> >> ^M ^M E is undefined > > Same here: M M e is undefined > > I guess, that's already the reason. The keyboard macro fails because > the start of the macro's key sequence doesn't invoke any command. On the working system, 'M M e' is nothing, but 'M M e e' is: =E2=87=A7M =E2=87=A7M E E runs the command gnus-summary-put-mark-as-exp= irable, which is an interactive Lisp function in `gnus-sum.el'. It is bound to =E2=87=A7M =E2=87=A7M E E. (gnus-summary-put-mark-as-expirable N) Mark the current article as expirable. If N, the prefix, then repeat N times. If N is negative, move in reverse order. The difference between N and the actual number of articles marked is returned. > >> The definitions (and the .gnus.el files) are the same on the two systems: >> >> (defun pm/alter-summary-map () >> (local-set-key "d" [?M ?M ?e ?e down ?g])) >> >> (defun pm/alter-article-map () >> (local-set-key "d" "MMeen")) > > Is is possible that you are running two different Gnus versions on the > two computers, i.e., in one version M M e is bound to something and in > one it is not? (I use the latest Gnus version from Git, and there M M > e is not bound neither in the summary nor in the article buffer.) > > Anyway, what does `C-h k M M e' show in a summary/article buffer on the > computer where your macro still works? As above, 'M M e e' is (gnus-summary-put-mark-as-expirable N) So it appears something is causing the failing emacs to think 'M M e' is th= e whole sequence, and it's undefined. That gets me a little closer. Thank you, Tassilo! -pd