From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#19462: shr: use wrap-prefix when possible, instead of filling the text Date: Sat, 26 Dec 2015 17:53:39 +0100 Message-ID: <567EC613.6050901@gmail.com> References: <83ppbanqhe.fsf@gnu.org> <87vbl2xigp.fsf@ferrier.me.uk> <83ioh2nlow.fsf@gnu.org> <87sig6xech.fsf@ferrier.me.uk> <83fvc5ni0u.fsf@gnu.org> <87k31fwwyv.fsf@ferrier.me.uk> <87bnmq9ibf.fsf@ferrier.me.uk> <87lhlrx5fc.fsf@building.gnus.org> <878uhrcr5l.fsf@building.gnus.org> <83sifzjflk.fsf@gnu.org> <87egric2ki.fsf_-_@violet.siamics.net> <87bn9ezb2h.fsf@gnus.org> <567D8E43.8030408@gmail.com> <87y4ciwe6g.fsf@gnus.org> <567DC781.8040306@gmail.com> <87lh8iuoq1.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WL617Vvrluw4fWqtETSBG4kccSt841IiA" X-Trace: ger.gmane.org 1451154682 19532 80.91.229.3 (26 Dec 2015 18:31:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2015 18:31:22 +0000 (UTC) Cc: 19462@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 26 19:31:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aCtcU-0000je-Fs for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2015 19:31:10 +0100 Original-Received: from localhost ([::1]:39534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCtcT-00087p-Ox for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2015 13:31:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCtcQ-00087e-Ip for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 13:31:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCtcN-0005j1-EF for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 13:31:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCtcN-0005ix-Af for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 13:31:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCtcN-0000vy-6g for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 13:31:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Dec 2015 18:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 19462-submit@debbugs.gnu.org id=B19462.14511546553092 (code B ref 19462); Sat, 26 Dec 2015 18:31:03 +0000 Original-Received: (at 19462) by debbugs.gnu.org; 26 Dec 2015 18:30:55 +0000 Original-Received: from localhost ([127.0.0.1]:42094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCtcF-0000nI-Ac for submit@debbugs.gnu.org; Sat, 26 Dec 2015 13:30:55 -0500 Original-Received: from mout.kundenserver.de ([212.227.17.13]:63053) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCs6K-0000i3-GL for 19462@debbugs.gnu.org; Sat, 26 Dec 2015 11:53:52 -0500 Original-Received: from [192.168.1.82] ([109.24.225.43]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0Mb9Rr-1ZsjkQ3vAJ-00Ki9A; Sat, 26 Dec 2015 17:53:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: <87lh8iuoq1.fsf@gnus.org> X-Provags-ID: V03:K0:vOsZowSf7ijbHMaBBF+muq3BwuJOrJVYy0ih1EJbP7baHxZx924 WodFuZ555ZDZWnTlNrl9qxBzZjej7o39+CN7ZIexnrpejsUyH1NRR9M+JcFfS3eqf3/BRYo daf0mvbUgfWQtUE11Kcz/JYZm6O3OMu0MeT1HFNv8XxF7LLKWmaaN0e+KdBdz4/x67RFwhm PB1ISDffvrH0kjRLAAvvg== X-UI-Out-Filterresults: notjunk:1;V01:K0:5feEq5PgHmc=:0lIP5ryeDMu0GpvVJdylEk 5WrY46pT6DyFy5gEV/HfjwlpH0rj4Q92i1aNPAat44Y96ML+unujfhwEHhuuawhAn7dWrY2rc hH6xTFhHPX2Y2/1PYah/UrECXP0Hc2II6QGMWHnUtGlzTUe1Pn2gwKz2DkXzjbRpMY1Ln6NWN v3KTlJATjnK7R3i3wnOn+gnEUrbfdFx/DhzV6od7kR2Y8kiipWu6FDASlHLIx2cLWieVpyx+V 4rKTADjJtsfZI4LFb604O/wi1twC9V+HUHMTZTrqHoZdbwVmYKjyL9Z/u9VOCmolvo90ilz7d IM/nSsCMxWN60vfcINNFqcOChMYVkKW/HDJCNc7uDPBfRF/hUdK/Tr1R6XRm43MI58hL/DT6l IxksIFGv+o+tPuWU9C0nLiVzFotCcjfv/vtcNQkhWIFpTynQ30/aOzKlL6UrtvVJZ7sUV+H0E rR2j1sM3a0Vw+nbsL+Ki3LheY7UyYjebuDPwDU1Lr3yWp+egNQBnTLHAHBvOsPWFgXoCeocSI 8PzCvPjSFrpM3ijEW+52zbIL7Pgs8o8oPjY60JBGhy3OmvnCvl1wQPzXlmRwgMUVbnRP1JgXG fvwaBEMjsZDAF45xZZqIT5Lx+BRgwCnzRlmFU8HV+c5BhW5fKupwSdy//jt6zO5NV1LqPDNqw w/mHvYUkFlKUoevtN5w/N0ntgSAILc68AA/xBgNHrsF4SueAKx/wU2jV8DwqPLZgui4w= X-Mailman-Approved-At: Sat, 26 Dec 2015 13:30:53 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110727 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WL617Vvrluw4fWqtETSBG4kccSt841IiA Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 12/25/2015 11:51 PM, Lars Ingebrigtsen wrote: > Cl=E9ment Pit--Claudel writes: >=20 >> I do not know how to do this, but it sounds like a convenient >> solution! How does one tell shr to apply a particular font to its >> target (all that I know of is `shr-target-id', which seems to insert a= >> '*')? >=20 > Look at `shr-tag-h1', for instance, and create whatever similar version= > of that you want by overriding with `shr-external-rendering-functions'.= That sounds like a great idea, actually. And I guess I can get the id of = the current element to check it against the target id using (equal (dom-a= ttr dom 'id) TARGET-ID). I'll try that! --WL617Vvrluw4fWqtETSBG4kccSt841IiA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJWfsYYAAoJEPqg+cTm90wj+WcP/i+6W3hT1fpWav438z+Wt3f9 g0sR1VZ3+KsFBVD2GYXk7n5rzr+EmkwDE7d8J14rg+m5vn1oy9jZ/s+6UkWaAUc6 k0LnFrMtie6MWthSs5fYQj9gJL/ryAmXvPN1eIDIq3QDPY6JtxKc0mQIHkJsXLKj 5oYU65jD1Gcgh+nposKoZ0gv+Dhob52MUiXoIX1zB2+m3uQ+hCIrPAoRByhegpxu bkD8x9ZgKl/m82Hfr9048p7tilgwQWTj11VJX4bc1f59zAK3mBvkEBR0bB8wMsas ph5ZU15gM1Y58uQXQUI0CBIt07TiG2U0Fe5iLxZA5rMXRRjJaDuYE5B9I22tWSFe 5NZvDxzGfCntIOfTwg2r3N8cxinLTqy2Kl+fdF0JoA/7U0sY1RrQANTd/Rf8q1hZ VlhC+O06N8VauUMTUV7QXdz1troog9euMV69SMCgKIT0YLdTBahbiYrKTO/DFUsY GelvOyljd2s6D4goT+SwhUqdzZmQFVa9OjpLGMVpj65HGl4vze86F7e1rxApQdYc Phlc/4NdFPsh7kDJD+st0yFrjqkmL0lAVscAAi3/SPSCjwPHYjNjT8RUqqkGj/lw Mg2wgJ6VvPMLFsCjYOrmPaxjcmqdG8RrExINatbXB3CktAQmqQGvBnkpNFVlRvZv DsTvgmr57NSSxkh/YehW =JUOv -----END PGP SIGNATURE----- --WL617Vvrluw4fWqtETSBG4kccSt841IiA--