From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78660 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: shr-map keymap issues Date: Mon, 02 May 2011 12:07:35 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87oc3lvxns.fsf@lifelogs.com> References: <8739ljfij1.fsf@lifelogs.com> <87mxjjm9b4.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304356136 10766 80.91.229.12 (2 May 2011 17:08:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 17:08:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26962@lists.math.uh.edu Mon May 02 19:08:52 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 1QGwc6-0005bl-8O for ding-account@gmane.org; Mon, 02 May 2011 19:08:50 +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 1QGwbC-00012v-7P; Mon, 02 May 2011 12:07:54 -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 1QGwbA-00012d-PJ for ding@lists.math.uh.edu; Mon, 02 May 2011 12:07:52 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QGwb9-0003EC-Ur for ding@lists.math.uh.edu; Mon, 02 May 2011 12:07:52 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QGwb7-0004MA-Pf for ding@gnus.org; Mon, 02 May 2011 19:07:49 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QGwb3-0004wW-Ju for ding@gnus.org; Mon, 02 May 2011 19:07:45 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2011 19:07:45 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2011 19:07:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 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" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:bqJIzrgekE5iITZIi9CwYi/MQrA= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78660 Archived-At: On Sun, 01 May 2011 18:13:41 +0200 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> Lars, I implemented a few of these. Please see the attached patch and >> see if you can add it (and fix the two TODO items). I don't know shr.el >> well so please tell me if I did something stupid. LMI> [...] >> + (define-key map "\C-c\C-ss" 'shr-show-source) >> + (define-key map "\C-c\C-s?" 'shr-show-mini-help) >> + (define-key map "\C-c\C-si" 'shr-insert-images) >> + (define-key map "\C-c\C-sI" 'shr-hide-images) >> + (define-key map "\C-c\C-sc" 'shr-copy-url) LMI> These are all rather long keystrokes, aren't they? The others conflict with the existing bindings. Please feel free to use something else as the default. LMI> Anyway, I think -show-source just copies the `C-g' keystroke, but in a LMI> less standard fashion. Can you explain how `C-g' views the source? I thought it viewed the raw article, which is not the same thing. LMI> -mini-help should be covered by `C-h m', but isn't currently. Do you know why? LMI> And -insert-/-hide- images is also already in Gnus... On Sun, 01 May 2011 18:10:25 +0200 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> 2) `i' and `I' are OK, but we should also have a way to hide images and >> to copy their URL. It would be nice to also provide "insert all images" >> and "hide all images". LMI> There's Gnus-level functions to do that, isn't there? I don't see them in `C-h m' or any of the menus. >> 5) `+' and `-' should expand and collaps the current element. LMI> Collapse/expand how? Like Outline mode for example. Ted