all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Scroll output in compilation mode
@ 2007-04-02 14:20 danjhiggi3
  2007-04-02 14:44 ` Daniel Rubin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: danjhiggi3 @ 2007-04-02 14:20 UTC (permalink / raw)
  To: help-gnu-emacs

I've spend about 8 hours trying to track this down.

I would like to the compilation  buffer output to scroll even when my
cursor is not in it.
I have seen all of the recommendations to enter use the following...

(setq compilation-scroll-output t)

But this doesn't work as I had hoped.

Again,
I would like to have my cursor in the code,
use the compile command,
The window will spit
my cursor stays in the code  window
the compilation window will scroll as it goes along.

I KNOW this can be done. I had it set up this way years ago and I
can't remember how I did it.

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

* Re: Scroll output in compilation mode
  2007-04-02 14:20 Scroll output in compilation mode danjhiggi3
@ 2007-04-02 14:44 ` Daniel Rubin
  2007-04-02 21:46 ` Will Parsons
  2007-04-03 10:48 ` Jhair Tocancipa Triana
  2 siblings, 0 replies; 6+ messages in thread
From: Daniel Rubin @ 2007-04-02 14:44 UTC (permalink / raw)
  Cc: help-gnu-emacs

danjhiggi3@gmail.com wrote:
> I've spend about 8 hours trying to track this down.
> 
> I would like to the compilation  buffer output to scroll even when my
> cursor is not in it.
> I have seen all of the recommendations to enter use the following...
> 
> (setq compilation-scroll-output t)
> 
> But this doesn't work as I had hoped.
> 
> Again,
> I would like to have my cursor in the code,
> use the compile command,
> The window will spit
> my cursor stays in the code  window
> the compilation window will scroll as it goes along.
> 
> I KNOW this can be done. I had it set up this way years ago and I
> can't remember how I did it.
Hi,

do you use CEDET/Semantic + Emacs 22?  There seems to be some problem 
with this combination that leads to the behaviour you describe.  Try 
doing a lengthy compilation without Semantic being turned on.

This reminds me of a bug report I forgot to write...

Have fun
----Daniel

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

* Re: Scroll output in compilation mode
  2007-04-02 14:20 Scroll output in compilation mode danjhiggi3
  2007-04-02 14:44 ` Daniel Rubin
@ 2007-04-02 21:46 ` Will Parsons
  2007-04-03 17:50   ` danjhiggi3
  2007-04-03 10:48 ` Jhair Tocancipa Triana
  2 siblings, 1 reply; 6+ messages in thread
From: Will Parsons @ 2007-04-02 21:46 UTC (permalink / raw)
  To: help-gnu-emacs

danjhiggi3@gmail.com wrote:
> I've spend about 8 hours trying to track this down.
>
> I would like to the compilation  buffer output to scroll even when my
> cursor is not in it.
> I have seen all of the recommendations to enter use the following...
>
> (setq compilation-scroll-output t)
>
> But this doesn't work as I had hoped.
>
> Again,
> I would like to have my cursor in the code,
> use the compile command,
> The window will spit
> my cursor stays in the code  window
> the compilation window will scroll as it goes along.
>
> I KNOW this can be done. I had it set up this way years ago and I
> can't remember how I did it.

I picked this up from someplace a long time ago and have been carrying it
around in my .emacs file ever since (but setting compilation-scroll-output
works for me too): 

(eval-after-load "compile"
  '(defadvice compile-internal
     (after compile-my-scroll activate compile)
     "Forces compile buffer to scroll. See around line 363 in compile.el"
     (let* ((ob (current-buffer)))
       (save-excursion
         (select-window (get-buffer-window ad-return-value))
         (goto-char (point-max))
         (select-window (get-buffer-window ob))
         ))))

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

* Re: Scroll output in compilation mode
  2007-04-02 14:20 Scroll output in compilation mode danjhiggi3
  2007-04-02 14:44 ` Daniel Rubin
  2007-04-02 21:46 ` Will Parsons
@ 2007-04-03 10:48 ` Jhair Tocancipa Triana
  2007-04-03 11:45   ` Daniel
  2 siblings, 1 reply; 6+ messages in thread
From: Jhair Tocancipa Triana @ 2007-04-03 10:48 UTC (permalink / raw)
  To: help-gnu-emacs

danjhiggi3  writes:

> I've spend about 8 hours trying to track this down.
> I would like to the compilation  buffer output to scroll even when my
> cursor is not in it.
> I have seen all of the recommendations to enter use the following...

> (setq compilation-scroll-output t)

It works with for me: GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+
Version 2.8.20) of 2007-01-19.

-- 
--Jhair

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

* Re: Scroll output in compilation mode
  2007-04-03 10:48 ` Jhair Tocancipa Triana
@ 2007-04-03 11:45   ` Daniel
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel @ 2007-04-03 11:45 UTC (permalink / raw)
  To: help-gnu-emacs

Jhair Tocancipa Triana wrote:
> danjhiggi3  writes:
> 
>> I've spend about 8 hours trying to track this down.
>> I would like to the compilation  buffer output to scroll even when my
>> cursor is not in it.
>> I have seen all of the recommendations to enter use the following...
> 
>> (setq compilation-scroll-output t)
> 
> It works with for me: GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+
> Version 2.8.20) of 2007-01-19.
Are you using the current CEDET version from CVS?  With that one, it 
works in Emacs 22, too.



-- 
Daniel Rubin
daniel warum-ada de

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

* Re: Scroll output in compilation mode
  2007-04-02 21:46 ` Will Parsons
@ 2007-04-03 17:50   ` danjhiggi3
  0 siblings, 0 replies; 6+ messages in thread
From: danjhiggi3 @ 2007-04-03 17:50 UTC (permalink / raw)
  To: help-gnu-emacs

I am running
XEmacs 21.5  (beta27) "fiddleheads" [Lucid] (x86_64-redhat-linux,
Mule) of Thu Jan 25 2007 on xenbuilder1.fedora.redhat.com

I don't understand the question about CEDET. If I try to 'locate'
something called CEDET. I don't get anything.
My CVS version is as follows
$ cvs --version
Concurrent Versions System (CVS) 1.11.22 (client/server)
...

HOWEVER, Will's code snippet worked for me. Thanks, Will!
-dan

Will Parsons wrote:
>
> I picked this up from someplace a long time ago and have been carrying it
> around in my .emacs file ever since (but setting compilation-scroll-output
> works for me too):
>
> (eval-after-load "compile"
>   '(defadvice compile-internal
>      (after compile-my-scroll activate compile)
>      "Forces compile buffer to scroll. See around line 363 in compile.el"
>      (let* ((ob (current-buffer)))
>        (save-excursion
>          (select-window (get-buffer-window ad-return-value))
>          (goto-char (point-max))
>          (select-window (get-buffer-window ob))
>          ))))

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

end of thread, other threads:[~2007-04-03 17:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-02 14:20 Scroll output in compilation mode danjhiggi3
2007-04-02 14:44 ` Daniel Rubin
2007-04-02 21:46 ` Will Parsons
2007-04-03 17:50   ` danjhiggi3
2007-04-03 10:48 ` Jhair Tocancipa Triana
2007-04-03 11:45   ` Daniel

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.