unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Tassilo Horn <tsdh@gnu.org>
Cc: 14435@debbugs.gnu.org
Subject: bug#14435: 24.3.50; Co-operation of doc-view + desktop-save-mode, save-place etc.
Date: Fri, 24 May 2013 19:05:47 +0530	[thread overview]
Message-ID: <87hahs1owc.fsf@gmail.com> (raw)
In-Reply-To: <878v34zkeu.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 24 May 2013 13:28:41 +0200")

Tassilo Horn <tsdh@gnu.org> writes:

Quick feedback from my side.

Session restoration aborts with 
        Error running timer: (wrong-type-argument listp t)

Usecase:
=======

The PDF file is actually created as below

        Scanned Book (Pre-dominantly English with some Chinese) ->
        Unpaper -> Tesseract-> Text -> Org -> HTML -> EPUB -> Kobo Reader

Since the original book has Chinese characters and lots of Footnotes,
there were a lot of errors in Tesseracted file which I had to copy-edit
and fix.

During the above process, a single Emacs frame was split in to two
windows.  One window displaying page (of PDF) and the other window
corresponding text.  During the copy-edit and proof-reading stage, there
were occasions when I found it convenient to

  (i)  C-x 2 and have the PDF page fit to window width.
  (ii) C-x 3 and have the PDF page fit to window height.

Requirements from the above case:
================================

1. Restoration of page number
2. Restoration of "Fit to Height" (H) and "Fit to Width" (W) settings.

Nitpicks
========

1. Why am I asked this question again.  This question shouldn't be asked at
   all.
   
    ,----
    | File unpapered-blyth-single-page.pdf is large (102.3M), really open? (y or n)  y
    `----

2. I don't know what to make of the changing page numbers in the
   modeline when the PDF page is "loaded."  Does this "counting up to
   total number of pages" happen even if the page is loaded from cache.

> (revno 112712).

Tried it out. 

,---- *Messages*
| Loading desktop...done
| Loading savehist...done
| 
|   -------------------------------------- 
|   |
|   V
| File unpapered-blyth-single-page.pdf is large (102.3M), really open? (y or n)  y
| DocView: using cached files!
| Type C-c C-c to toggle between editing or viewing the document.
| Wrote /home/kjambunathan/.emacs.d/.emacs.desktop.lock
| Desktop: 3 buffers restored, 1 failed to restore.
| For information about GNU Emacs and the GNU system, type C-h C-a.
| Error running timer: (wrong-type-argument listp t)  <-------------------------
| gQuit [2 times]
| Mark set
| Beginning of buffer [6 times]
| Mark set
| Quit
| File `~/.emacs' exists; overwrite? (y or n)  y
| Saving file /home/kjambunathan/.emacs...
| Wrote /home/kjambunathan/.emacs
`----

> However, that's not really perfect.

Same here. I am running in to a timer issue.







  reply	other threads:[~2013-05-24 13:35 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 [this message]
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
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=87hahs1owc.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=14435@debbugs.gnu.org \
    --cc=tsdh@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).