From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78139 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: shr - span elements with title attribute, tooltip? Date: Mon, 28 Mar 2011 15:14:46 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87fwq7j93d.fsf@lifelogs.com> References: <871v1tc82r.fsf@topper.koldfront.dk> <87ei5rkr6b.fsf@lifelogs.com> <8762r3jbq2.fsf@topper.koldfront.dk> <87tyenjb0v.fsf@lifelogs.com> <87wrjjhv8m.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1301343331 22642 80.91.229.12 (28 Mar 2011 20:15:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2011 20:15:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26450@lists.math.uh.edu Mon Mar 28 22:15:28 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 1Q4IqV-0006VS-OB for ding-account@gmane.org; Mon, 28 Mar 2011 22:15:28 +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 1Q4IqC-0005x5-31; Mon, 28 Mar 2011 15:15:08 -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 1Q4IqA-0005wq-PR for ding@lists.math.uh.edu; Mon, 28 Mar 2011 15:15:06 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q4Iq4-0004b7-FN for ding@lists.math.uh.edu; Mon, 28 Mar 2011 15:15:01 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q4Iq3-0000tr-PV for ding@gnus.org; Mon, 28 Mar 2011 22:14:59 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q4Iq2-0006DW-DP for ding@gnus.org; Mon, 28 Mar 2011 22:14:58 +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, 28 Mar 2011 22:14:58 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Mar 2011 22:14:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 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.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:NiPRBSdeo079137eN10qbBVefZI= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78139 Archived-At: On Mon, 28 Mar 2011 21:59:21 +0200 asjo@koldfront.dk (Adam Sjøgren) wrote: AS> On Mon, 28 Mar 2011 14:33:04 -0500, Ted wrote: >> On Mon, 28 Mar 2011 21:17:57 +0200 asjo@koldfront.dk (Adam Sjøgren) wrote: AS> On Mon, 28 Mar 2011 13:58:52 -0500, Ted wrote: >>>> What if two such titled span elements are nested? AS> When in HTML-land, do as the browser do, I'd say. I.e. last/closest one AS> wins: AS> * http://koldfront.dk/misc/gnus/span.html AS> (If you save the example, you can use M-x shr-visit-file to check if it AS> works as in the browser of your choice.) >> The problem is that shr.el is not as capable as a web browser so it's >> hard to tell what spans are nested and how. So you don't necessarily >> know what you're pointing to. This is actually a problem in regular web >> browsers too--I use the Chrome and Firebug "inspect element" all the >> time. AS> Did you actually try it, or are you just speculating? `shr-visit-file' on that URL gives me (first line is underlined): "span riverrun, past Eve and Adam's, from swerve of shore to bend of bay, brings us by a commodius vicus of recirculation back to Howth Castle and Environs." ...which I took to indicate nested spans are not easy to differentiate visually with shr.el. (Actually I tested it originally on my own file but same idea.) Did I do something wrong? Anyhow, what's wrong with a "toggle-titles" command for shr.el? Thanks Ted