GNU bug report logs - #16541
23.3; doc-view-open-text should grab place in current doc

Previous Next

Package: emacs;

Reported by: Suhail Shergill <suhailshergill <at> gmail.com>

Date: Fri, 24 Jan 2014 20:40:03 UTC

Severity: wishlist

Tags: fixed, patch

Found in version 23.3

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 16541 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 16541 <at> debbugs.gnu.org, Suhail Shergill <suhailshergill <at> gmail.com>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#16541: 23.3; doc-view-open-text should grab place in
 current doc
Date: Sun, 29 Sep 2019 15:09:18 +0200
Tassilo Horn <tsdh <at> gnu.org> writes:

> Suhail is correct.  We could easily make C-c C-t switch to the current
> page using this patch:

[...]

> -	      (setq default-directory dir)))
> -	(doc-view-doc->txt txt 'doc-view-open-text)))))
> +		(setq default-directory dir)
> +		;; Jump to the current page
> +		(goto-char (point-min))
> +		(search-forward "
>                                  " nil t (1- page))))
> +	  (doc-view-doc->txt txt 'doc-view-open-text))))))
>
>  ;;;;; Toggle between editing and viewing
>
> Should I install it?

This makes sense to me, but it was never installed.  Did anybody have an
objection, or was it just forgotten?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.