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


View this message in rfc822 format

From: Tassilo Horn <tsdh <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 16541 <at> debbugs.gnu.org, Suhail Shergill <suhailshergill <at> gmail.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#16541: 23.3; doc-view-open-text should grab place in current doc
Date: Thu, 03 Oct 2019 11:05:03 +0200
Lars Ingebrigtsen <larsi <at> gnus.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?

I think it hasn't been too important to anybody so it has just been
forgotten.  Feel free to install it, though.

Bye,
Tassilo




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.