GNU bug report logs - #2549
23.0.60; doc-view: scrolling other window wraps unexpectedly

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Tue, 3 Mar 2009 01:45:02 UTC

Severity: wishlist

Merged with 21439

Found in version 25.0.50

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2549 in the body.
You can then email your comments to 2549 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2549; Package emacs. (Tue, 03 Mar 2009 01:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Markus Triska <markus.triska <at> gmx.at>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 03 Mar 2009 01:45:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Markus Triska <markus.triska <at> gmx.at>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; doc-view: scrolling other window wraps unexpectedly
Date: Tue,  3 Mar 2009 02:39:43 +0100 (CET)
With p.ps from:

   http://www.logic.at/prolog/p.ps

when I do:

   $ emacs -Q p.ps

and press:

   C-c C-c C-x 2

and then press C-M-v repeatedly, the other window eventually wraps
around instead of stopping at the image border like C-v does.


In GNU Emacs 23.0.60.2 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
 of 2009-01-06 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2549; Package emacs. (Tue, 03 Mar 2009 12:05:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tassilo Horn <tassilo <at> member.fsf.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 03 Mar 2009 12:05:08 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Tassilo Horn <tassilo <at> member.fsf.org>
To: Markus Triska <markus.triska <at> gmx.at>
Cc: 2549 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#2549: 23.0.60; doc-view: scrolling other window wraps unexpectedly
Date: Tue, 03 Mar 2009 13:00:55 +0100
Markus Triska <markus.triska <at> gmx.at> writes:

Hi Markus,

> With p.ps from:
>
>    http://www.logic.at/prolog/p.ps
>
> when I do:
>
>    $ emacs -Q p.ps
>
> and press:
>
>    C-c C-c C-x 2
>
> and then press C-M-v repeatedly, the other window eventually wraps
> around instead of stopping at the image border like C-v does.

That's because `scroll-other-window' calls scroll-up/down in the other
window, but if the other window contains an doc-view buffer it should
ideally call image-scroll-up/down.

The only good solution I see is to define buffer local variables
`scroll-up-function' and `scroll-down-function' which are used by
`scroll-up' and `scroll-down' and then binding them appropriate in each
mode.

Anyway, that's not really related to doc-view.  All non-text modes are
pertained here.  Comments?

Bye,
Tassilo




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2549; Package emacs. (Tue, 03 Mar 2009 12:05:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tassilo Horn <tassilo <at> member.fsf.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 03 Mar 2009 12:05:09 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2549; Package emacs. (Tue, 03 Mar 2009 16:50:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 03 Mar 2009 16:50:07 GMT) Full text and rfc822 format available.

Message #20 received at 2549 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Tassilo Horn <tassilo <at> member.fsf.org>
Cc: 2549 <at> debbugs.gnu.org, Markus Triska <markus.triska <at> gmx.at>
Subject: Re: bug#2549: 23.0.60; doc-view: scrolling other window wraps unexpectedly
Date: Tue, 03 Mar 2009 11:44:37 -0500
> That's because `scroll-other-window' calls scroll-up/down in the other
> window, but if the other window contains an doc-view buffer it should
> ideally call image-scroll-up/down.

> The only good solution I see is to define buffer local variables
> `scroll-up-function' and `scroll-down-function' which are used by
> `scroll-up' and `scroll-down' and then binding them appropriate in
> each mode.

Indeed, something like a hook seems necessary.  I'd rather leave it as
is for Emacs-23.1, tho.  Makes me wonder: do we have a way to tag bugs
as "post-23.1"?


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2549; Package emacs. (Tue, 03 Mar 2009 19:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tassilo Horn <tassilo <at> member.fsf.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 03 Mar 2009 19:20:03 GMT) Full text and rfc822 format available.

Message #25 received at 2549 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Tassilo Horn <tassilo <at> member.fsf.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 2549 <at> debbugs.gnu.org, Markus Triska <markus.triska <at> gmx.at>
Subject: Re: bug#2549: 23.0.60; doc-view: scrolling other window wraps unexpectedly
Date: Tue, 03 Mar 2009 20:14:23 +0100
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

>> That's because `scroll-other-window' calls scroll-up/down in the
>> other window, but if the other window contains an doc-view buffer it
>> should ideally call image-scroll-up/down.
>
>> The only good solution I see is to define buffer local variables
>> `scroll-up-function' and `scroll-down-function' which are used by
>> `scroll-up' and `scroll-down' and then binding them appropriate in
>> each mode.
>
> Indeed, something like a hook seems necessary.  I'd rather leave it as
> is for Emacs-23.1, tho.  Makes me wonder: do we have a way to tag bugs
> as "post-23.1"?

We could abuse the "Version:" pseudo-header for that or create a new tag
for that.  The latter seems more desirable, but I don't know how to
create a tag.  Maybe they're created automagically?  I'll try by sending

  tags 2549 + post-23.1

to the control server address...

Bye,
Tassilo




Tags added: Request was from Tassilo Horn <tassilo <at> member.fsf.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 03 Mar 2009 19:25:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2549; Package emacs. (Wed, 04 Mar 2009 01:25:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 04 Mar 2009 01:25:05 GMT) Full text and rfc822 format available.

Message #32 received at 2549 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Tassilo Horn <tassilo <at> member.fsf.org>
Cc: 2549 <at> debbugs.gnu.org, Markus Triska
	<markus.triska <at> gmx.at>,
        don <at> donarmstrong.com
Subject: Re: bug#2549: 23.0.60; doc-view: scrolling other window wraps unexpectedly
Date: Tue, 03 Mar 2009 20:16:40 -0500
> We could abuse the "Version:" pseudo-header for that or create a new tag
> for that.  The latter seems more desirable, but I don't know how to
> create a tag.  Maybe they're created automagically?  I'll try by sending

>   tags 2549 + post-23.1

> to the control server address...

Actually, I think there's a way to classify bugs w.r.t releases.
So probably not tagging this as "post-23.1" but rather tagging the
others as "needs to be fixed before we can release Emacs-23.1".
But I can't figure out how to do it.


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2549; Package emacs. (Wed, 04 Mar 2009 12:55:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 04 Mar 2009 12:55:04 GMT) Full text and rfc822 format available.

Message #37 received at 2549 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Tassilo Horn <tassilo <at> member.fsf.org>
Cc: 2549 <at> debbugs.gnu.org
Subject: Re: bug#2549: 23.0.60;	doc-view: scrolling other window wraps unexpectedly
Date: Wed, 04 Mar 2009 13:44:25 +0100
> That's because `scroll-other-window' calls scroll-up/down in the other
> window, but if the other window contains an doc-view buffer it should
> ideally call image-scroll-up/down.

Just a technical note: `scroll-other-window' calls window_scroll and not
scroll-up/down.

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2549; Package emacs. (Wed, 13 Jan 2016 17:40:02 GMT) Full text and rfc822 format available.

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

From: Marcin Borkowski <mbork <at> mbork.pl>
To: 2549 <at> debbugs.gnu.org
Subject: Bug still present
Date: Wed, 13 Jan 2016 18:38:53 +0100
As of GNU Emacs 25.1.50.1, this bug still persists (both in doc-view and
a third-party module pdf-tools, see https://github.com/politza/pdf-tools).

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2549; Package emacs. (Wed, 13 Jan 2016 18:30:03 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: Marcin Borkowski <mbork <at> mbork.pl>
Cc: 2549 <at> debbugs.gnu.org
Subject: Re: bug#2549: Bug still present
Date: 13 Jan 2016 18:29:50 -0000
In article <mailman.2298.1452706808.843.bug-gnu-emacs <at> gnu.org> you wrote:
> As of GNU Emacs 25.1.50.1, this bug still persists (both in doc-view and
> a third-party module pdf-tools, see https://github.com/politza/pdf-tools).

Just a small matter, but it might be helpful if you could give some
indication within the body of posts what the bugs referred to are about.
Even just giving the original titles would be most appreciated.

> -- 
> Marcin Borkowski
> http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
> Faculty of Mathematics and Computer Science
> Adam Mickiewicz University

-- 
Alan Mackenzie (Nuremberg, Germany).





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2549; Package emacs. (Wed, 13 Jan 2016 19:21:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Marcin Borkowski <mbork <at> mbork.pl>
Cc: 2549 <at> debbugs.gnu.org
Subject: Re: bug#2549: Bug still present
Date: Wed, 13 Jan 2016 21:20:36 +0200
> From: Marcin Borkowski <mbork <at> mbork.pl>
> Date: Wed, 13 Jan 2016 18:38:53 +0100
> 
> As of GNU Emacs 25.1.50.1, this bug still persists (both in doc-view and
> a third-party module pdf-tools, see https://github.com/politza/pdf-tools).

Would you like to propose a patch along the lines discussed in the
beginning of this bug analysis?

Thanks.




Forcibly Merged 2549 21439. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 29 Sep 2019 13:29:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2549; Package emacs. (Sun, 08 May 2022 12:21:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Markus Triska <markus.triska <at> gmx.at>
Cc: 2549 <at> debbugs.gnu.org, 21439 <at> debbugs.gnu.org
Subject: Re: bug#21439: 25.0.50; Make scroll-other-window work with special
 modes such as doc-view-mode
Date: Sun, 08 May 2022 14:20:30 +0200
Markus Triska <markus.triska <at> gmx.at> writes:

> With p.ps from:
>
>    http://www.logic.at/prolog/p.ps
>
> when I do:
>
>    $ emacs -Q p.ps
>
> and press:
>
>    C-c C-c C-x 2
>
> and then press C-M-v repeatedly, the other window eventually wraps
> around instead of stopping at the image border like C-v does.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I can reproduce this in Emacs 28.1, but not in Emacs 29 --
scroll-other-window was recently changed to respect how scrolling
commands are defined in the "other window".

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




bug marked as fixed in version 29.1, send any further explanations to 21439 <at> debbugs.gnu.org and Tassilo Horn <tsdh <at> gnu.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 08 May 2022 12:21:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 06 Jun 2022 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 39 days ago.

Previous Next


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