From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79682 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME button mystery Date: Fri, 19 Aug 2011 17:52:04 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1313743974 21498 80.91.229.12 (19 Aug 2011 08:52:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2011 08:52:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27976@lists.math.uh.edu Fri Aug 19 10:52:50 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QuKoq-0006nr-Hx for ding-account@gmane.org; Fri, 19 Aug 2011 10:52:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QuKoD-0000G1-Eh; Fri, 19 Aug 2011 03:52:09 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QuKoB-0000Fi-Vz for ding@lists.math.uh.edu; Fri, 19 Aug 2011 03:52:07 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QuKoA-00011N-TW for ding@lists.math.uh.edu; Fri, 19 Aug 2011 03:52:07 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QuKo9-0005y2-Ci for ding@gnus.org; Fri, 19 Aug 2011 10:52:05 +0200 Original-Received: from localhost ([127.0.0.1]:36836) by orlando.hostforweb.net with smtp (Exim 4.69) (envelope-from ) id 1QuKo5-0007Sm-IJ for ding@gnus.org; Fri, 19 Aug 2011 03:52:02 -0500 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (i686-pc-cygwin) Cancel-Lock: sha1:bMpS7TXzEzQ1w8/3MyVRZMJH60I= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79682 Archived-At: --=-=-= Content-Disposition: inline Katsumi Yamaoka wrote: > If you use Gnus to read this article, please try: > Type `M-t' in the summary buffer to make MIME buttons visible. > In the article buffer, put the cursor under a MIME button. > Type the `E' key. > And you will get: Wrong type argument; stringp, nil --=-=-= Content-Disposition: inline > Why this happens is that the keymap there is the one for the MIME > buttons, not the article commands, in spite of outside the button > (`C-h c E' there tells that the `E' key is bound to the command > `gnus-mime-view-part-internally'), but there is no handle data > associated with the button above. > What provides the MIME buttons keymap there? There is neither a > text property nor an overlay that provides a local map, so the > keymap used there should be that for the article commands. --=-=-= Content-Disposition: inline I found the cause of this behavior in the `keymap' section of (info "(Elisp)Special Properties"): The property's value for the character before point applies if it is non-`nil' and rear-sticky, and the property's value for the character after point applies if it is non-`nil' and front-sticky. So, I've made changes so as to add the (rear-nonsticky t) property to MIME buttons. --=-=-=--