From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78625 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: shr-map keymap issues Date: Sun, 01 May 2011 18:13:41 +0200 Organization: Programmerer Ingebrigtsen Message-ID: 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 1304266687 20935 80.91.229.12 (1 May 2011 16:18:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 May 2011 16:18:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26927@lists.math.uh.edu Sun May 01 18:17:56 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 1QGZLH-0003FA-W4 for ding-account@gmane.org; Sun, 01 May 2011 18:17:56 +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 1QGZKq-0001Zy-Hd; Sun, 01 May 2011 11:17:28 -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 1QGZKp-0001Zp-JE for ding@lists.math.uh.edu; Sun, 01 May 2011 11:17:27 -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 1QGZKp-0007DY-2m for ding@lists.math.uh.edu; Sun, 01 May 2011 11:17:27 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QGZKn-0001Og-B5 for ding@gnus.org; Sun, 01 May 2011 18:17:25 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QGZKl-0002yO-Fz for ding@gnus.org; Sun, 01 May 2011 18:17:23 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 May 2011 18:17:23 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 May 2011 18:17:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEU5OTuhp6Vlamry8/EN CQv///92gH/O0c7oRqQ+AAACOElEQVQ4jXXSS3ObMBAAYJmh7tXr1OhKyOtaV4N1xa7GObuMwjWQ Wr5GobB/v7vIEGeaasYzxp9Xyz6EtfYg0bvanVSpV3Y8gj6VVN45d8pL39kyt+074ACKocpLHKEM UCvlEXRbyhEsjBE9OI+fgOpr52R1msCPkLgkq/XNO8iQQy9TIWp9N8FG+oQiNKSxKa7XxwkOATYu NaZ48BcAUMMIN/1qgooAQa4zQfDyBlftGUr6P6LUAV7TvTyDrSGp4aSiAIW4HgGAk+cpw+mbMfMR +gHU8wC/jdmOsAmwYJC3xjyOcAjwRxRCyNiYL/+AEQVeQgVDr175KjSfQGHMbn0Jlm6i0xDse4K7 D1BjwvBGsJqgZ4BEnCO6DxEn7OmFCu4w5gyKuujuadiIVNuOYO9vGDKARojIYauoG0VGhfczBpct n4UQrlUMcxebh2QWFs4mGeVulaa818mtweU8D4PiIl5U/osAYFH4ZZSLqfArpb7TktBoCmjiLkR4 l3CKTRzvCdL7Jv4aQCecIl8vzIygIdiGAtWmlorOj6gmyKIm3p0rrxAZlCdwWZbF8zPYMoi+p5uy 7NlsR7B6iMDINamIUvM4gecIxELQwovY/CSgVg4bhHR8bERcUPePDNANG0TigbplIhAzrlwpDnly wIcmItIubDtKpG/VMEOg3wVPdgCUV6GRNUjD5xhA59R4eyAA2Q5wF6CV3mP3RPdIXF9G0FtqzPsh uYt4NJ2dtiQsEKcZn/8LfwEvU0HI833KigAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Mapstation's _The African Chamber_: "Nocturama" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:NkDEZzozJMxmz/modrZ7K2uIv38= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78625 Archived-At: 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. [...] > + (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) These are all rather long keystrokes, aren't they? Anyway, I think -show-source just copies the `C-g' keystroke, but in a less standard fashion. -mini-help should be covered by `C-h m', but isn't currently. And -insert-/-hide- images is also already in Gnus... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/