From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Fred" Newsgroups: gmane.emacs.help Subject: Re: Cedet and lmcompile Date: 16 Jan 2007 06:25:10 -0800 Organization: http://groups.google.com Message-ID: <1168957507.204169.321480@l53g2000cwa.googlegroups.com> References: <1168633168.181082.275390@38g2000cwa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1168958433 23711 80.91.229.12 (16 Jan 2007 14:40:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Jan 2007 14:40:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 16 15:40:31 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 1H6pUA-0001eu-9y for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jan 2007 15:40:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6pUA-0003jY-9I for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jan 2007 09:40:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l53g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 207.45.240.31 Original-X-Trace: posting.google.com 1168957521 5399 127.0.0.1 (16 Jan 2007 14:25:21 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 16 Jan 2007 14:25:21 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: l53g2000cwa.googlegroups.com; posting-host=207.45.240.31; posting-account=NwFkTQ0AAABqOyrHceYxB2H4GlmMvSu6 Original-Xref: shelby.stanford.edu gnu.emacs.help:144754 Original-To: help-gnu-emacs@gnu.org 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:40359 Archived-At: Thanks but... A command seems to be executed after the compilation process. The pb is that this command generates an error. If I type manually lmcompile-do-highlight, OK. With the add-hook, pb. The error appears in the mini buffer is not very clear (wrong type of argumnent... + binary data) Kevin Rodgers wrote: > fred@mayot.net wrote: > > Hi, > > In the Cedet web site, it is said that > > "You can also add the above command [lmcompile-do-highlight] to > > compilation-finish-functions to have it occur automatically." > > How? I don't know anything about elisp!! > > Would it be something like this > > (setq compilation-finish-functions '(lmcompile-do-highlight)) > > Almost: (add-hook 'compilation-finish-functions 'lmcompile-do-highlight) > > > -- > Kevin Rodgers > Denver, Colorado, USA