From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78221 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: shr - span elements with title attribute, tooltip? Date: Tue, 29 Mar 2011 23:15:08 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87y63xhbmr.fsf@topper.koldfront.dk> References: <871v1tc82r.fsf@topper.koldfront.dk> <87ei5rkr6b.fsf@lifelogs.com> <87sju5g5qa.fsf@lifelogs.com> <87oc4tg3xn.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1301433365 32460 80.91.229.12 (29 Mar 2011 21:16:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 21:16:05 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26531@lists.math.uh.edu Tue Mar 29 23:16:02 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 1Q4gGf-0003Ro-RC for ding-account@gmane.org; Tue, 29 Mar 2011 23:16:02 +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 1Q4gGJ-0006AQ-0Y; Tue, 29 Mar 2011 16:15:39 -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 1Q4gGH-0006AC-Jk for ding@lists.math.uh.edu; Tue, 29 Mar 2011 16:15:37 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q4gG1-0001jf-VI for ding@lists.math.uh.edu; Tue, 29 Mar 2011 16:15:32 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q4gG1-0004XM-8F for ding@gnus.org; Tue, 29 Mar 2011 23:15:21 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q4gG0-00039a-Tn for ding@gnus.org; Tue, 29 Mar 2011 23:15:20 +0200 Original-Received: from 2505ds5-by.0.fullrate.dk ([95.166.24.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2011 23:15:20 +0200 Original-Received: from asjo by 2505ds5-by.0.fullrate.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2011 23:15:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 41 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 2505ds5-by.0.fullrate.dk Mail-Copies-To: never X-Now-Playing: Vintervila, Dom Andra (Kent) X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78221 Archived-At: On Tue, 29 Mar 2011 21:04:00 +0200, Lars wrote: >> As I keep saying, tooltips require a mouse while Emacs runs just fine >> without a mouse or graphics. So let's just provide a way to toggle >> titles in the shr buffer, it's a tiny amount of work. I'll do it if you >> don't feel like it--it will be off by default in any case. > Well, so far we don't have any titles (other than on images, and TAB-ing > to them will show the titles)... > I'm not sure "title" on non-image elements is relevant to shr. Just > like shr doesn't implement
, title on non-image elements may be > outside its domain. I think of title-attributes and tooltips as "extra bonus information for those who are really curious". So in my mind the xkcd case, where the tooltip is part of the real content, is an outlier - usually tooltips are not really important, so I don't think it is crucial to support the no-mouse situation for them. The case that made me try and implement this was a quotation with certain parts elided, using "[...]" and a tooltip on the dots containing the elided text - so you can get the "hidden" text by just putting your mouse where the missing text-"symbol" is shown, rather than having to follow the link to the original. I don't think that is a very common case, but since I wrote the text in question¹, I thought it was very, very important to have it work in shr as well as in Firefox. Best regards, Adam ¹ http://kammeratadam.dk/arkiv/2011/03/27/no_fly_zone -- "Soon we'll have spent a whole month at sea, Adam Sjøgren splitting atoms for no apparent reason" asjo@koldfront.dk