From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69627 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.w3m Subject: Re: right clicking on URL in emacs-w3m vs. gnus Date: Wed, 21 Apr 2010 09:23:02 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87iq7kc2bd.fsf@lifelogs.com> References: <87sk6thfcc.fsf@jidanni.org> <87sk6qf3bu.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: dough.gmane.org 1271859911 8015 80.91.229.12 (21 Apr 2010 14:25:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2010 14:25:11 +0000 (UTC) Cc: , To: Katsumi Yamaoka Original-X-From: ding-owner+M18017@lists.math.uh.edu Wed Apr 21 16:25:07 2010 connect(): No such file or directory 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 1O4arR-0000s8-7Z for ding-account@gmane.org; Wed, 21 Apr 2010 16:25:05 +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 1O4arH-0006Dp-5W; Wed, 21 Apr 2010 09:24:55 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1O4arF-0006DW-Il for ding@lists.math.uh.edu; Wed, 21 Apr 2010 09:24:53 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1O4arB-0003D4-Va for ding@lists.math.uh.edu; Wed, 21 Apr 2010 09:24:53 -0500 Original-Received: from chirelay1o.jumptrading.com ([38.98.147.153] helo=chirelay1.jumptrading.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1O4arB-00019J-00 for ; Wed, 21 Apr 2010 16:24:49 +0200 Original-Received: from chirelay1.jumptrading.com (unknown [127.0.0.1]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id 1CEA832000F for ; Wed, 21 Apr 2010 09:24:18 -0500 (CDT) X-AuditID: 26629395-a116abb000007f51-e1-4bcf0a92ef3e Original-Received: from chiexchange02.w2k.jumptrading.com (unknown [38.98.147.140]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id 0263B2DC007 for ; Wed, 21 Apr 2010 09:24:18 -0500 (CDT) Original-Received: from internalsmtp.w2k.jumptrading.com (10.2.4.29) by chiexchange02.w2k.jumptrading.com (10.2.4.71) with Microsoft SMTP Server id 8.1.291.1; Wed, 21 Apr 2010 09:23:04 -0500 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com ([10.2.13.58]) by internalsmtp.w2k.jumptrading.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 21 Apr 2010 09:23:03 -0500 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: (Katsumi Yamaoka's message of "Wed, 21 Apr 2010 15:08:26 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-OriginalArrivalTime: 21 Apr 2010 14:23:03.0880 (UTC) FILETIME=[27778480:01CAE15E] X-Brightmail-Tracker: AAAAAA== X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69627 gmane.emacs.w3m:8574 Archived-At: On Wed, 21 Apr 2010 15:08:26 +0900 Katsumi Yamaoka wrote: >>>>>> Ted Zlatanov wrote: >> On Sun, 18 Apr 2010 06:41:23 +0800 jidanni@jidanni.org wrote: j> In emacs-w3m, right clicking on a link brings up a menu with lots of choices. j> However doing the same action inside gnus doesn't. j> E.g., try right clicking on http://example.org/ . >> This is composed of two things actually: >> 1) the emacs-w3m popup menu should be accessible in the Article buffer. >> Currently it can be invoked with (w3m-mouse-major-mode-menu EVENT) so it >> *can* be bound to right-click in the article mode by the user. This >> part is pretty easy. >> 2) right-click on a URL should bring up that menu. I'm not sure if >> there are any other logical things to hang on right-click in Gnus. For >> instance we could bring up the Treatment or Commands menus that are >> otherwise in the pulldown. So maybe the emacs-w3m menu should be under >> the main popup menu in the article buffer, and it should also show up in >> the menu bar when the article buffer is using emacs-w3m. >> Any opinions? KY> I don't know what items the menu should provide but I tried hacking KY> it as attached below. Currently the right-click pops up this menu: KY> ,---- KY> | Open this link with KY> | =================== KY> | browse-url KY> | emacs-w3m KY> `---- KY> (The first item overlaps to the middle-click though.) Maybe Treatment, Article, and Commands should precede the w3m menu, and they should always show up on a right-click? Can we also hang the w3m menu in the menubar when HTML is rendered in the article buffer? I'm OK with any changes you think are appropriate here, these are just suggestions. You could make a "yamaoka-dev" branch and push it with any proposed changes instead of a patch (the commit e-mail will still go out and we can see your changes in the e-mail). Then we can try the feature (collaboratively making changes to yamaoka-dev in the process) and merge it into the master branch when it's ready and you can then delete yamaoka-dev. I don't know if that's the right model for us so feel free to propose something else if you think it's better. Ted