unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* scrolling simultaneously 2 buffers in 2 windows
@ 2009-04-28 14:02 mag_dex
  2009-04-28 17:20 ` Xiao-Yong Jin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mag_dex @ 2009-04-28 14:02 UTC (permalink / raw)
  To: help-gnu-emacs

hey,

I'm wonder if there is way to scroll (browser) to files (buffers) in 2
different windows (one up and another at the bottom) that I can scoll
(move) down in up window and it scroll(move) down simultaneously.

one file
A #
B
C
----
second file
A #
B
C

i go down by C-n

and will get:
A
B #
C
----
second file
A
B #
C

# - cursor

I think you catch my point.

M.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: scrolling simultaneously 2 buffers in 2 windows
  2009-04-28 14:02 scrolling simultaneously 2 buffers in 2 windows mag_dex
@ 2009-04-28 17:20 ` Xiao-Yong Jin
  2009-04-28 19:17 ` Peter Dyballa
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Xiao-Yong Jin @ 2009-04-28 17:20 UTC (permalink / raw)
  To: help-gnu-emacs

mag_dex <magnus.ntips@gmail.com> writes:

> hey,
>
> I'm wonder if there is way to scroll (browser) to files (buffers) in 2
> different windows (one up and another at the bottom) that I can scoll
> (move) down in up window and it scroll(move) down simultaneously.
>
You might want to take a look at the two-column minor mode.
-- 
    c/*    __o/*
    <\     * (__
    */\      <




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: scrolling simultaneously 2 buffers in 2 windows
  2009-04-28 14:02 scrolling simultaneously 2 buffers in 2 windows mag_dex
  2009-04-28 17:20 ` Xiao-Yong Jin
@ 2009-04-28 19:17 ` Peter Dyballa
  2009-04-29  6:58 ` Stephen Berman
       [not found] ` <mailman.6229.1240988335.31690.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2009-04-28 19:17 UTC (permalink / raw)
  To: mag_dex; +Cc: help-gnu-emacs


Am 28.04.2009 um 16:02 schrieb mag_dex:

> I'm wonder if there is way to scroll (browser) to files (buffers) in 2
> different windows (one up and another at the bottom) that I can scoll
> (move) down in up window and it scroll(move) down simultaneously.

Combine scroll-down and scroll-other-window-down to a function and  
bind it to one key press and also scroll-up and scroll-other-window  
to another!

--
Greetings
   Pete

When Richard Stallman goes to the loo, he core dumps.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: scrolling simultaneously 2 buffers in 2 windows
  2009-04-28 14:02 scrolling simultaneously 2 buffers in 2 windows mag_dex
  2009-04-28 17:20 ` Xiao-Yong Jin
  2009-04-28 19:17 ` Peter Dyballa
@ 2009-04-29  6:58 ` Stephen Berman
       [not found] ` <mailman.6229.1240988335.31690.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 5+ messages in thread
From: Stephen Berman @ 2009-04-29  6:58 UTC (permalink / raw)
  To: help-gnu-emacs

On Tue, 28 Apr 2009 07:02:53 -0700 (PDT) mag_dex <magnus.ntips@gmail.com> wrote:

> hey,
>
> I'm wonder if there is way to scroll (browser) to files (buffers) in 2
> different windows (one up and another at the bottom) that I can scoll
> (move) down in up window and it scroll(move) down simultaneously.

M-x scroll-all-mode
,----
| scroll-all-mode is an interactive autoloaded Lisp function in `scroll-all.el'.
| 
| (scroll-all-mode &optional arg)
| 
| Toggle Scroll-All minor mode.
| With arg, turn Scroll-All minor mode on if arg is positive, off otherwise.
| When Scroll-All mode is on, scrolling commands entered in one window
| apply to all visible windows in the same frame.
`----

Steve Berman





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: scrolling simultaneously 2 buffers in 2 windows
       [not found] ` <mailman.6229.1240988335.31690.help-gnu-emacs@gnu.org>
@ 2009-04-29  7:21   ` mag_dex
  0 siblings, 0 replies; 5+ messages in thread
From: mag_dex @ 2009-04-29  7:21 UTC (permalink / raw)
  To: help-gnu-emacs

scroll-all-mode does my job.
It's great!

Thanks!


On Apr 29, 9:58 am, Stephen Berman <stephen.ber...@gmx.net> wrote:
> On Tue, 28 Apr 2009 07:02:53 -0700 (PDT) mag_dex <magnus.nt...@gmail.com> wrote:
>
> > hey,
>
> > I'm wonder if there is way to scroll (browser) to files (buffers) in 2
> > different windows (one up and another at the bottom) that I can scoll
> > (move) down in up window and it scroll(move) down simultaneously.
>
> M-x scroll-all-mode
> ,----
> | scroll-all-mode is an interactive autoloaded Lisp function in `scroll-all.el'.
> |
> | (scroll-all-mode &optional arg)
> |
> | Toggle Scroll-All minor mode.
> | With arg, turn Scroll-All minor mode on if arg is positive, off otherwise.
> | When Scroll-All mode is on, scrolling commands entered in one window
> | apply to all visible windows in the same frame.
> `----
>
> Steve Berman



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-29  7:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 14:02 scrolling simultaneously 2 buffers in 2 windows mag_dex
2009-04-28 17:20 ` Xiao-Yong Jin
2009-04-28 19:17 ` Peter Dyballa
2009-04-29  6:58 ` Stephen Berman
     [not found] ` <mailman.6229.1240988335.31690.help-gnu-emacs@gnu.org>
2009-04-29  7:21   ` mag_dex

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).