From: Eli Zaretskii <eliz@gnu.org>
To: David Engster <deng@randomsample.de>
Cc: thomas.wiecki@gmail.com, 14567@debbugs.gnu.org
Subject: bug#14567: Scrolling of large images
Date: Sat, 15 Jun 2013 12:39:11 +0300 [thread overview]
Message-ID: <83d2rnvhkw.fsf@gnu.org> (raw)
In-Reply-To: <87bo77d9vt.fsf@engster.org>
> From: David Engster <deng@randomsample.de>
> Cc: thomas.wiecki@gmail.com, 14567@debbugs.gnu.org
> Date: Sat, 15 Jun 2013 11:02:46 +0200
>
> > Thanks. Unfortunately, using Emacs with Imagemagick support is a
> > no-starter for me.
>
> It's only needed for scaling, though. If you have at least libjpeg, then
> just download those two images
>
> http://randomsample.de/bigimage.jpg
> http://randomsample.de/smallimage.jpg
>
> and use
>
> (with-current-buffer (get-buffer-create "test")
> (erase-buffer)
> (let ((imagelarge (create-image "~/bigimage.jpg"))
> (imagesmall (create-image "~/smallimage.jpg")))
> (dotimes (i 20)
> (insert "\n*** " (number-to-string i)" ***\nThis is a line of text.\nAnd here's a large image:\n")
> (insert-image imagelarge)
> (insert "\nAnd a small image:\n")
> (insert-image imagesmall))
> (goto-char (point-min))))
>
> >However, I tried to cover every possibility of using non-numeric values
> >in numeric context. Please try the patch below (it's relative to the
> >current trunk, not to the previous patch), and see if it gives good
> >results. If you still get errors, please manually load simple.el (not
> >simple.elc) into your Emacs, run your test snippet, and see if the
> >backtrace can pinpoint the place where I missed something.
>
> It fails in line 4789 because 'py' is nil. I attached the backtrace.
Thanks. I fixed that and committed the result as trunk revision
112998. I am not closing the bug yet because it still jumps
sometimes, although the context of point is now preserved, unlike
before the changes. I will see if I can prevent those jumps.
next prev parent reply other threads:[~2013-06-15 9:39 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-06 12:17 bug#14567: Scrolling of large images Thomas Wiecki
2013-06-06 16:42 ` Eli Zaretskii
2013-06-06 17:16 ` Thomas Wiecki
2013-06-06 17:32 ` Eli Zaretskii
2013-06-08 14:19 ` Eli Zaretskii
2013-06-08 15:52 ` Thomas Wiecki
2013-06-08 16:49 ` Eli Zaretskii
2013-06-08 17:51 ` Thomas Wiecki
2013-06-08 18:44 ` Eli Zaretskii
2013-06-08 21:39 ` Thomas Wiecki
2013-06-09 2:42 ` Eli Zaretskii
2013-06-09 9:27 ` Vitalie Spinu
2013-06-11 20:14 ` David Engster
2013-06-15 8:23 ` Eli Zaretskii
2013-06-15 9:02 ` David Engster
2013-06-15 9:39 ` Eli Zaretskii [this message]
2013-06-15 10:08 ` David Engster
2013-06-15 11:13 ` Thierry Volpiatto
2013-06-15 11:26 ` Eli Zaretskii
2013-06-15 12:41 ` Eli Zaretskii
2013-06-16 5:33 ` Thierry Volpiatto
2013-06-16 6:18 ` Thierry Volpiatto
2013-06-16 16:24 ` Eli Zaretskii
2013-06-17 4:57 ` Thierry Volpiatto
2013-06-17 15:14 ` Eli Zaretskii
2013-06-18 11:35 ` Thierry Volpiatto
2013-06-18 16:13 ` Eli Zaretskii
2013-06-19 6:43 ` Thierry Volpiatto
2013-07-06 9:02 ` bug#14567: These changes sometimes break plain text navigation Dima Kogan
2013-07-06 11:02 ` Eli Zaretskii
2013-07-06 16:14 ` Dima Kogan
2013-07-06 17:41 ` Eli Zaretskii
2013-07-06 21:51 ` Dima Kogan
2013-07-07 2:48 ` Eli Zaretskii
2013-07-07 4:46 ` Dima Kogan
2013-07-07 15:51 ` Eli Zaretskii
2013-07-07 18:57 ` Dima Kogan
2013-07-08 17:35 ` Eli Zaretskii
2013-07-08 23:42 ` Dima Kogan
2013-07-09 17:00 ` bug#14598: " Eli Zaretskii
2013-07-10 9:30 ` Stephen Berman
2013-07-10 16:27 ` Eli Zaretskii
2013-07-10 21:33 ` Stephen Berman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83d2rnvhkw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=14567@debbugs.gnu.org \
--cc=deng@randomsample.de \
--cc=thomas.wiecki@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.