unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: Glenn Morris <rgm@gnu.org>
Cc: 27399@debbugs.gnu.org
Subject: bug#27399: 26.0.50; Tooltips displayed on images in shr do not line wrap
Date: Thu, 22 Jun 2017 16:45:11 +0200	[thread overview]
Message-ID: <87vanojd3c.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <8owp84u8ik.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 21 Jun 2017 21:16:19 -0400")

Glenn writes:

> I guess this broke in 656caef.

Lars mentioned that it probably was broken during the proportional font
changes, so that sounds like you agree.

Your patch:

> --- i/lisp/net/shr.el
> +++ w/lisp/net/shr.el
> @@ -512,6 +512,7 @@ shr-fill-text
>                                         (* (frame-char-width) 2)
>                                       0))))
>  	(shr-insert text)
> +	(shr-fill-lines (point-min) (point-max))
>  	(buffer-string)))))

however, does not seem to work for me.

When I edebug-defun the function and step through it (point-min) and
(point-max) both return 1, which I don't know is the reason it doesn't
help, but it looked kind of suspicious to me.

I can send the messages when stepping through the function, if that is
of any use.


  Thanks for looking at this!

    Adam

-- 
 "I gotta go right now; someone is videotaping me in          Adam Sjøgren
  my spaceship"                                          asjo@koldfront.dk





  reply	other threads:[~2017-06-22 14:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-16 16:05 bug#27399: 26.0.50; Tooltips displayed on images in shr do not line wrap Adam Sjøgren
2017-06-16 16:30 ` Eli Zaretskii
2017-06-16 16:43   ` Stephen Berman
2017-06-16 16:52     ` Stephen Berman
2017-06-16 17:26   ` Adam Sjøgren
2017-06-22  1:16     ` Glenn Morris
2017-06-22 14:45       ` Adam Sjøgren [this message]
2017-06-22 14:47         ` Adam Sjøgren
2017-06-22 18:13           ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vanojd3c.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=27399@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).