[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shr.el: add linebreaks to mouse-over tooltips (title attributes)
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: shr.el: add linebreaks to mouse-over tooltips (title attributes) |
Date: |
Sat, 13 Dec 2014 16:24:31 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
address@hidden (Adam Sjøgren) writes:
> When reading nntp+news.gwene.org:gwene.com.xkcd there are often long
> title attributes on the comic image, and when shown on one line, the
> text does not fit on my tiny screen.
>
> I guess the correct solution would be for Emacs to wrap the "help-echo"
> to fit the screen automatically.
>
> The second best thing would be if shr.el wrapped the text to fit the
> screen.
>
> And here is what I crudely whipped up, a regex to sort-of-wrap at 72
> chars:
Thanks; I've now committed something similar, but which make it fold
between words.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no