From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs 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 Message-ID: <87hahs1owc.fsf@gmail.com> References: <87txlv7dyt.fsf@gmail.com> <878v34zkeu.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369402602 23655 80.91.229.3 (24 May 2013 13:36:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 May 2013 13:36:42 +0000 (UTC) Cc: 14435@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 24 15:36:41 2013 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 1UfsAh-0005ki-HV for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 May 2013 15:36:39 +0200 Original-Received: from localhost ([::1]:43870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfsAh-000310-6E for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 May 2013 09:36:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfsAV-00030f-J5 for bug-gnu-emacs@gnu.org; Fri, 24 May 2013 09:36:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfsAQ-0001Uh-8G for bug-gnu-emacs@gnu.org; Fri, 24 May 2013 09:36:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfsAQ-0001UW-4Z for bug-gnu-emacs@gnu.org; Fri, 24 May 2013 09:36:22 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UfsB5-00058Z-ID for bug-gnu-emacs@gnu.org; Fri, 24 May 2013 09:37:15 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 May 2013 13:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14435 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14435-submit@debbugs.gnu.org id=B14435.136940261819715 (code B ref 14435); Fri, 24 May 2013 13:37:03 +0000 Original-Received: (at 14435) by debbugs.gnu.org; 24 May 2013 13:36:58 +0000 Original-Received: from localhost ([127.0.0.1]:59982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UfsAy-00057t-VN for submit@debbugs.gnu.org; Fri, 24 May 2013 09:36:57 -0400 Original-Received: from mail-pb0-f53.google.com ([209.85.160.53]:38300) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UfsAq-00057A-NT for 14435@debbugs.gnu.org; Fri, 24 May 2013 09:36:54 -0400 Original-Received: by mail-pb0-f53.google.com with SMTP id un4so4204474pbc.26 for <14435@debbugs.gnu.org>; Fri, 24 May 2013 06:35:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=0gEFq1as1sx35iEr3HcWvEVYiAYJxpn6fW+5deSF1R0=; b=P3uqBJOZg2gUIbIpwWTVIN2OYw8yK/mdmnmxMittWwFYoCLQznZYJcTzO4AG0+GJq3 S50yicmcEm/0GnKvlySPbL0tbM8tfR+Hri0BUxSuyq6rbVkFisXPJOXylclDljEyhetr +F0nRxxjE+wh5viNQvG4FPjYnrA/qRsKt1/IvZUOHoEZGzHt1jykGv58rIQUg77oTPhC 0M6psh6+TE6cSIKF0f1e+fmo8nvp051iEaoxjqSOjR/LEkeQlL9Tm9bgdSyGhGlqWlf8 iuQhYHzWeLPLRUyMvNcAbkVbPKrFUhqfMXcCdxdoRV9YOACb7Nnip965YV+tQ2HUcMUM Lkag== X-Received: by 10.66.100.231 with SMTP id fb7mr17915105pab.162.1369402547384; Fri, 24 May 2013 06:35:47 -0700 (PDT) Original-Received: from debian-6.05 ([101.63.171.242]) by mx.google.com with ESMTPSA id 3sm16199200pbj.46.2013.05.24.06.35.44 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 24 May 2013 06:35:46 -0700 (PDT) In-Reply-To: <878v34zkeu.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 24 May 2013 13:28:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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:74522 Archived-At: Tassilo Horn 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.