From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nurullah Akkaya Newsgroups: gmane.emacs.help Subject: doc-view bookmark page Date: Wed, 28 Jan 2009 18:41:09 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636c5a2a58f6a7304618da3a1 X-Trace: ger.gmane.org 1233160992 9226 80.91.229.12 (28 Jan 2009 16:43:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2009 16:43:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 28 17:44:25 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LSDWS-0000yK-2m for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 17:44:16 +0100 Original-Received: from localhost ([127.0.0.1]:59797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSDV9-0004Lq-UZ for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 11:42:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSDTX-0003R2-R4 for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 11:41:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSDTX-0003Pt-2D for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 11:41:15 -0500 Original-Received: from [199.232.76.173] (port=38384 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSDTW-0003Pf-Tt for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 11:41:14 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.156]:29710) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSDTT-000808-MP for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 11:41:12 -0500 Original-Received: by fg-out-1718.google.com with SMTP id e12so653456fga.30 for ; Wed, 28 Jan 2009 08:41:09 -0800 (PST) Original-Received: by 10.181.208.15 with SMTP id k15mr2216846bkq.130.1233160869210; Wed, 28 Jan 2009 08:41:09 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61732 Archived-At: --001636c5a2a58f6a7304618da3a1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I am trying to make doc-view remember last page i read in a book so i can jump back to where i was. turns out saveplace does not save the page i left. i saw two undocumented functions in doc-view doc-view-bookmark-jump doc-view-bookmark-make-record can anyone give me pointers on how i can make a wrapper function that will save the page i am on and allow me to jump to it? or is it possible to use bookmark-jump with doc-view? Thanks, Nurullah --001636c5a2a58f6a7304618da3a1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

I am trying to make doc-view remember last page i read in a book so i can jump back to where i was.
turns out saveplace does not save the page i left. i saw two undocumented functions in doc-view

doc-view-bookmark-jump
doc-view-bookmark-make-record

can anyone give me pointers on how i can make a wrapper function that will save the page
i am on and allow me to jump to it? or is it possible to use bookmark-jump with doc-view?

Thanks,
Nurullah
--001636c5a2a58f6a7304618da3a1--