From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78161 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: shr - span elements with title attribute, tooltip? Date: Tue, 29 Mar 2011 19:52:17 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <871v1tc82r.fsf@topper.koldfront.dk> <87ei5rkr6b.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301421199 21678 80.91.229.12 (29 Mar 2011 17:53:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 17:53:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26471@lists.math.uh.edu Tue Mar 29 19:53:13 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 1Q4d6K-0006hl-Du for ding-account@gmane.org; Tue, 29 Mar 2011 19:53:08 +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 1Q4d5w-0003BF-8W; Tue, 29 Mar 2011 12:52:44 -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 1Q4d5u-0003Ax-Rk for ding@lists.math.uh.edu; Tue, 29 Mar 2011 12:52:42 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q4d5l-0001Zd-Kk for ding@lists.math.uh.edu; Tue, 29 Mar 2011 12:52:37 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q4d5k-0006Al-Tc for ding@gnus.org; Tue, 29 Mar 2011 19:52:32 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q4d5k-0006S1-B9 for ding@gnus.org; Tue, 29 Mar 2011 19:52:32 +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 ; Tue, 29 Mar 2011 19:52:32 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2011 19:52:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEX+zNl3SWHQk6r6scb+ u83/0t7+w9MTrMgDAAACaUlEQVQ4jU2TwXbbIBBFp07FuoPTrA1yvbaF6nUsCGudnEPWsk34/0/o G7DSsBFwefNmGER8pi7JeP+TEg1vVBddInN4gD6leTjKHtY/O3IvVA+9/03z7SgzWapPKv0yYzYf Unqq5+ugV1quC2LNt8/08do267lAtNnh+7RL6vVxusI7LfSCiSUVv+2nlIlo6NJmR6rm0K0US9q8 fWgq1JJ7gFkU6vfpKAKpZ17NMzw6+zwrUdBMDQPg4EIQlFJEI0N1pBYcLAuZ44UNH5iN1j9YW2a2 Ga4bu7vyiaM2xm6vbI1hY6WOjT2I4qwN6+0VuwaKO6Jnnb0bxzJ6H+BVJAl1p9sBh3NpQynxRDPI k9Wsn12OFZAqEQrk5WnLMmIugpaSY61ITSRWbMYQmsafEYuoTBRu2OcQQl6BSDJAZO33AM3ejwhI Kg8ULrx32F9DjbEssKpgdOM3RZQcQgXegcQSGqifb6DFypOTLIIfKF41gF/BIH4lWEvxAtAEMYcw yHywAHdeAVwQwrlBSrZ0ZXau7ecKJmxrgNsKigicdV6uCIBU+A+c0y7gvNEWrS1rfcF7p8dgayu/ QAs1bN2gYc3PcsUAqAPWwZ16h5wgeSE8oaoQJyegNk4AFHJV3vajBxg9qqsKyk7Swhpf08Pc4h0c qkfNV+p33I8Ti+IsjW9XUn24d1PfnwzXJ5EfIAbUN9rq0d6KgBxwuRMK93Azusgfq9BP1LcP6I2L ecCF/JL/ZC6+NSmUCxQWFroCvMvHE8kn7bx1vdW7CsrXAAjnG25maaG+htFoIMox9V9EWos8aNVA wE1YWv4Be978G7eLAEUAAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Manic Street Preachers's _Generation Terrorists_: "Motorcycle Emptiness" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:jNl3sZDT63jR6yV0xQwrtNEVqXU= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78161 Archived-At: Ted Zlatanov writes: > AS> With shr, does span elements with title attributes get a tooltip (the > AS> small pop-up text that appears if you hold the mouse over the element > AS> for a while) with the text of the attribute? > > AS> Shouldn't they? The patch looks good, but all elements can have titles, can't they? So if shr is going to support titles, it should probably be done in the general tag handling thing. (And, of course, handling needs special-casing.) > What if two such titled span elements are nested? shr aims to be fast, not a complete HTML renderer. So if that's difficult, it's not essential. > Also the mouse is required for tooltips and that's annoying when there's > no mouse. Maybe it can be an `shr-show-titles' toggling command on an > article, like `t' toggles the headers? I think we already have > something like that for toggling images in the shr renderer, right? Hm... isn't there a general Emacs tool tip thing that can show the tool tip without using the mouse? I have no idea, but there probably should be if there isn't. :-) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen