all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Scroll two buffers in unison
@ 2003-01-20 17:09 Harry Putnam
  2003-01-20 19:23 ` Henrik Enberg
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Harry Putnam @ 2003-01-20 17:09 UTC (permalink / raw)


Pretty sure I've been able to scroll two buffers in split frame in
unison somehow.  I don't mean in ediff mode.

Calling C-h b and ferriting out all instances of `scroll' seems like
it should lead to such a command unless it isn't bound.  Not sure how
to search unbound commands unless C-h w displays them but I didn't
find it there either.

I went through M-x apropos <RET> scroll <RET> which produces a
massive list but still didn't notice a likely hit.

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

* Re: Scroll two buffers in unison
  2003-01-20 17:09 Scroll two buffers in unison Harry Putnam
@ 2003-01-20 19:23 ` Henrik Enberg
  2003-01-20 20:01 ` Glenn Morris
  2003-01-20 20:49 ` Dan Debertin
  2 siblings, 0 replies; 12+ messages in thread
From: Henrik Enberg @ 2003-01-20 19:23 UTC (permalink / raw)


Harry Putnam <hgp@sbcglobal.net> writes:

> Pretty sure I've been able to scroll two buffers in split frame in
> unison somehow.  I don't mean in ediff mode.

Are you thinking of `follow-mode'?

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

* Re: Scroll two buffers in unison
  2003-01-20 17:09 Scroll two buffers in unison Harry Putnam
  2003-01-20 19:23 ` Henrik Enberg
@ 2003-01-20 20:01 ` Glenn Morris
  2003-01-20 20:25   ` Eli Zaretskii
       [not found]   ` <mailman.636.1043098071.21513.help-gnu-emacs@gnu.org>
  2003-01-20 20:49 ` Dan Debertin
  2 siblings, 2 replies; 12+ messages in thread
From: Glenn Morris @ 2003-01-20 20:01 UTC (permalink / raw)


Harry Putnam wrote:

> Pretty sure I've been able to scroll two buffers in split frame in unison
> somehow.

scroll-all-mode

> I went through M-x apropos <RET> scroll <RET> which produces a massive
> list but still didn't notice a likely hit.

No, it doesn't seem to be easily found. It's in the manual under
Emacs -> Windows -> Window Convenience
but maybe it should be in the scrolling section as well.

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

* Re: Scroll two buffers in unison
  2003-01-20 20:01 ` Glenn Morris
@ 2003-01-20 20:25   ` Eli Zaretskii
       [not found]   ` <mailman.636.1043098071.21513.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2003-01-20 20:25 UTC (permalink / raw)


> From: Glenn Morris <gmorris+news@ast.cam.ac.uk>
> Newsgroups: gnu.emacs.help
> Date: Mon, 20 Jan 2003 20:01:10 +0000
> 
> > I went through M-x apropos <RET> scroll <RET> which produces a massive
> > list but still didn't notice a likely hit.
> 
> No, it doesn't seem to be easily found. It's in the manual under
> Emacs -> Windows -> Window Convenience
> but maybe it should be in the scrolling section as well.

I just typed "i scroll TAB" in the Emacs Manual's *info* buffer, and
saw several possible completions, one of them "scrolling all windows",
and another one "scrolling windows together".  Choosing any one of
these leads to the description of scroll-all-mode.

This is in the CVS version of Emacs, so perhaps the released version
doesn't yet have those index entries.  However, the point I'd like to
drive home is that the moste efficient way of looking up something
quickly is the Info Mode's `i' command.

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

* Re: Scroll two buffers in unison
  2003-01-20 17:09 Scroll two buffers in unison Harry Putnam
  2003-01-20 19:23 ` Henrik Enberg
  2003-01-20 20:01 ` Glenn Morris
@ 2003-01-20 20:49 ` Dan Debertin
  2003-01-20 21:12   ` Harry Putnam
  2 siblings, 1 reply; 12+ messages in thread
From: Dan Debertin @ 2003-01-20 20:49 UTC (permalink / raw)


Harry Putnam <hgp@sbcglobal.net> writes:

> Pretty sure I've been able to scroll two buffers in split frame in
> unison somehow.  I don't mean in ediff mode.

As others have replied, scroll-all is the mode you want for that. You
should get it out of CVS, though, as the scroll-all.el distributed with
21.2 contains a few bugs. Scrolling by line works, but by page
(C-v/M-v) doesn't.


Dan
--
/^Dan Debertin$/         
airboss@nodewarrior.org  | Windows is a ghetto.
www.nodewarrior.org      | 

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

* Re: Scroll two buffers in unison
  2003-01-20 20:49 ` Dan Debertin
@ 2003-01-20 21:12   ` Harry Putnam
  2003-01-20 23:21     ` Glenn Morris
  0 siblings, 1 reply; 12+ messages in thread
From: Harry Putnam @ 2003-01-20 21:12 UTC (permalink / raw)


Dan Debertin <airboss@nodewarrior.org> writes:

> Harry Putnam <hgp@sbcglobal.net> writes:
>
>> Pretty sure I've been able to scroll two buffers in split frame in
>> unison somehow.  I don't mean in ediff mode.
>
> As others have replied, scroll-all is the mode you want for that. You
> should get it out of CVS, though, as the scroll-all.el distributed with
> 21.2 contains a few bugs. Scrolling by line works, but by page
> (C-v/M-v) doesn't.

Thanks posters... scroll-all-mode was it alright.
I must have a recent enough cvs since paging works here.  I did
notice another possible bug though:

I start an emacs session and get two similar files in buffers of a
single frame. (2 windows 1 frame) 

Scolling works as expected, that is scroll-all mode is not in force.
Buffers scroll individually.

Now comes what seems kind of like a bug:

M-x scroll-all-mode <RET>
  Returns `Scroll-All mode is disabled'
and of course scroll-all still doesn't work.

Once again:

M-x scroll-all-mode <RET>
  Now returns `Scroll-All mode is enabled' and now scroll-all works.

So 2 M-x scroll-mode-all <RET> seem necessary to enable it.

Mine is not a real recent cvs.  Maybe someone can verify if that
behavior is evident in a recent one.

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

* Re: Scroll two buffers in unison
       [not found]   ` <mailman.636.1043098071.21513.help-gnu-emacs@gnu.org>
@ 2003-01-20 21:44     ` Glenn Morris
  2003-01-21  6:08       ` Eli Zaretskii
  2003-01-21  2:35     ` Harry Putnam
  1 sibling, 1 reply; 12+ messages in thread
From: Glenn Morris @ 2003-01-20 21:44 UTC (permalink / raw)


"Eli Zaretskii" wrote:

> I just typed "i scroll TAB" in the Emacs Manual's *info* buffer, and saw
> several possible completions, one of them "scrolling all windows", and
> another one "scrolling windows together". Choosing any one of these leads
> to the description of scroll-all-mode.
>
> This is in the CVS version of Emacs, so perhaps the released version
> doesn't yet have those index entries. However, the point I'd like to
> drive home is that the moste efficient way of looking up something
> quickly is the Info Mode's `i' command.

The released versions don't have tab-completion for the Info i command,
AFAICS. The best one can do is use "i scroll [RET]", and then use the `,'
key to cycle through the matches. And scroll-all mode, although it happens
to come near the top of the alphabetical list offerred by `i [TAB'], is way
down the cycle for `i ,', and then it's not exactly obvious, being at the
end of the "Window Handling Convenience Features and Customization"
section.

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

* Re: Scroll two buffers in unison
  2003-01-20 21:12   ` Harry Putnam
@ 2003-01-20 23:21     ` Glenn Morris
  0 siblings, 0 replies; 12+ messages in thread
From: Glenn Morris @ 2003-01-20 23:21 UTC (permalink / raw)


Harry Putnam wrote:

> M-x scroll-all-mode <RET>
>   Returns `Scroll-All mode is disabled'
> and of course scroll-all still doesn't work.
[...]
> Mine is not a real recent cvs. Maybe someone can verify if that behavior
> is evident in a recent one.

It works fine in today's CVS. I know there have been changes made to the
function scroll-all-mode not too long ago, so I suspect you just happened
to catch it at a bad time.

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

* Re: Scroll two buffers in unison
       [not found]   ` <mailman.636.1043098071.21513.help-gnu-emacs@gnu.org>
  2003-01-20 21:44     ` Glenn Morris
@ 2003-01-21  2:35     ` Harry Putnam
  2003-01-21  6:12       ` Eli Zaretskii
  1 sibling, 1 reply; 12+ messages in thread
From: Harry Putnam @ 2003-01-21  2:35 UTC (permalink / raw)


"Eli Zaretskii" <eliz@is.elta.co.il> writes:

> I just typed "i scroll TAB" in the Emacs Manual's *info* buffer, and
> saw several possible completions, one of them "scrolling all windows",
> and another one "scrolling windows together".  Choosing any one of
> these leads to the description of scroll-all-mode.

Once again I've overlooked your often repeated sound advice to make
use of index search as a main method.  I tried everthing but the
kitchen sink instead.  Maybe I'll think of it first next time.

In fact, one thing I tried actually found it (M-x apropos) but I still
managed to overlook it in the 240 line list dredged up with `scroll'
as regex.

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

* Re: Scroll two buffers in unison
  2003-01-20 21:44     ` Glenn Morris
@ 2003-01-21  6:08       ` Eli Zaretskii
  0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2003-01-21  6:08 UTC (permalink / raw)



On Mon, 20 Jan 2003, Glenn Morris wrote:

> The released versions don't have tab-completion for the Info i command

Then I highly recommend to have the stand-alone Info reader (from the GNU 
Texinfo package) running in its own shell window at all times.  That 
reader supported TAB completion in `i' for ages.

> to come near the top of the alphabetical list offerred by `i [TAB'], is way
> down the cycle for `i ,', and then it's not exactly obvious, being at the
> end of the "Window Handling Convenience Features and Customization"
> section.

AFAICT, the current code, both in stand-alone Info and in Emacs, lands 
you on the right spot, not at the beginning of a section.

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

* Re: Scroll two buffers in unison
  2003-01-21  2:35     ` Harry Putnam
@ 2003-01-21  6:12       ` Eli Zaretskii
  0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2003-01-21  6:12 UTC (permalink / raw)



On Tue, 21 Jan 2003, Harry Putnam wrote:

> Once again I've overlooked your often repeated sound advice to make
> use of index search as a main method.  I tried everthing but the
> kitchen sink instead.  Maybe I'll think of it first next time.
> 
> In fact, one thing I tried actually found it (M-x apropos) but I still
> managed to overlook it in the 240 line list dredged up with `scroll'
> as regex.

The index search is IMHO more powerful than apropos, because the latter 
searches more-or-less arbitrary text (the doc strings), while the former 
searches index entries which were crafted specifically to be useful for 
finding the topic they point to.

So I recommend to try `i' first, even before apropos.  The only 
exception to this rule is when you almost know the exact name of the 
function/variable--in that case, apropos will usually have a higher 
success rate.

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

* Re: Scroll two buffers in unison
       [not found] <mailman.661.1043129478.21513.help-gnu-emacs@gnu.org>
@ 2003-01-21 11:00 ` Glenn Morris
  0 siblings, 0 replies; 12+ messages in thread
From: Glenn Morris @ 2003-01-21 11:00 UTC (permalink / raw)


Eli Zaretskii wrote:

> Then I highly recommend to have the stand-alone Info reader (from the GNU 
> Texinfo package) running in its own shell window at all times.  That 
> reader supported TAB completion in `i' for ages.

Thanks, I will make use of that feature in future.

> AFAICT, the current code, both in stand-alone Info and in Emacs, lands 
> you on the right spot, not at the beginning of a section.

Oh, I hadn't noticed that. Thanks again!

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

end of thread, other threads:[~2003-01-21 11:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-20 17:09 Scroll two buffers in unison Harry Putnam
2003-01-20 19:23 ` Henrik Enberg
2003-01-20 20:01 ` Glenn Morris
2003-01-20 20:25   ` Eli Zaretskii
     [not found]   ` <mailman.636.1043098071.21513.help-gnu-emacs@gnu.org>
2003-01-20 21:44     ` Glenn Morris
2003-01-21  6:08       ` Eli Zaretskii
2003-01-21  2:35     ` Harry Putnam
2003-01-21  6:12       ` Eli Zaretskii
2003-01-20 20:49 ` Dan Debertin
2003-01-20 21:12   ` Harry Putnam
2003-01-20 23:21     ` Glenn Morris
     [not found] <mailman.661.1043129478.21513.help-gnu-emacs@gnu.org>
2003-01-21 11:00 ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.