From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: danjhiggi3@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Scroll output in compilation mode Date: 3 Apr 2007 10:50:29 -0700 Organization: http://groups.google.com Message-ID: <1175622629.194134.66760@o5g2000hsb.googlegroups.com> References: <1175523648.483010.14420@q75g2000hsh.googlegroups.com> <57dbssF2d0kckU1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1175625464 2986 80.91.229.12 (3 Apr 2007 18:37:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2007 18:37:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 03 20:37:36 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HYnst-0006p1-UU for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Apr 2007 20:37:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYnw3-0003We-4R for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Apr 2007 14:40:51 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!o5g2000hsb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: 164.109.49.208 Original-X-Trace: posting.google.com 1175622631 32391 127.0.0.1 (3 Apr 2007 17:50:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 3 Apr 2007 17:50:31 +0000 (UTC) In-Reply-To: <57dbssF2d0kckU1@mid.individual.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.6 (like Gecko),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o5g2000hsb.googlegroups.com; posting-host=164.109.49.208; posting-account=Jm9W6g0AAABO5l4Yq3OZupKTtjt3Tx4B Original-Xref: shelby.stanford.edu gnu.emacs.help:146796 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42400 Archived-At: 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)) > ))))