help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scroll output in compilation mode


From: danjhiggi3
Subject: Re: Scroll output in compilation mode
Date: 3 Apr 2007 10:50:29 -0700
User-agent: G2/1.0

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))
>          ))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]