unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 14435@debbugs.gnu.org, Jambunathan K <kjambunathan@gmail.com>
Subject: bug#14435: 24.3.50; Co-operation of doc-view + desktop-save-mode, save-place etc.
Date: Sun, 26 May 2013 20:48:37 +0200	[thread overview]
Message-ID: <87ip25tw56.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <jwvzjvjj036.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 24 May 2013 21:55:42 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>   1. When opening a doc that already has cached images, you'll only see
>>      the raw contents but no image.  In order to make the image appear,
>>      you have to do something like switch pages or scroll.
>
> That was my main test case while writing the patch, so "it works for me".
> Could you give a detailed recipe?

Sure.

  1. emacs -Q
  2. C-x C-f some.pdf
     conversion is done and I see the first page of the PDF
  3. k
  4. C-x C-f some.pdf
     I only see the raw PDF contents
  5. <down>
     Now I see the image.

>>   2. When splitting a doc-view window, the new window only shows the raw
>>      contents.  In order to make the image appear, you need to select
>>      the new window once.
>
> Same here: it works for me.  So please provide a recipe.

Hm, when I did C-x 2 or C-x 3 after step 5 above, I used to see the raw
PDF contents in the new window, but now I get the image immediately.

But the problem still happens with my usual emacs config, i.e., without
-Q.  The only configuration wrt. doc-view is

    (setq doc-view-resolution 200).

and

    ;; Enable ImageMagick
    (when (fboundp 'imagemagick-types)
      (setq imagemagick-render-type 1)
      (imagemagick-register-types))

for image-mode.  That doesn't seem to be needed anymore, so I've removed
it.  But that doesn't change anything...

Ah, now I found the difference.  You get that behavior when you disable
`scroll-bar-mode' as I do.

Bye,
Tassilo





  reply	other threads:[~2013-05-26 18:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22  5:58 bug#14435: 24.3.50; Co-operation of doc-view + desktop-save-mode, save-place etc Jambunathan K
2013-05-24 11:28 ` Tassilo Horn
2013-05-24 13:35   ` Jambunathan K
2013-05-24 17:44   ` Stefan Monnier
2013-05-24 22:23     ` Tassilo Horn
2013-05-25  1:55       ` Stefan Monnier
2013-05-26 18:48         ` Tassilo Horn [this message]
2013-05-27  0:59           ` Stefan Monnier
2013-05-27  7:46             ` Tassilo Horn

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=87ip25tw56.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=14435@debbugs.gnu.org \
    --cc=kjambunathan@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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).