all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
Subject: Re: Cedet and lmcompile
Date: Wed, 17 Jan 2007 22:57:02 -0700	[thread overview]
Message-ID: <eon275$fbg$1@sea.gmane.org> (raw)
In-Reply-To: <1168957507.204169.321480@l53g2000cwa.googlegroups.com>

[Please don't top-post.]

Fred wrote:
> 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)

What does `C-h f lmcompile-do-highlight' say about its arguments?

If you set debug-on-error to t before running it via the hook, a
*Backtrace* buffer will be displayed.  Post it so we can see what
function is signalling the error, what type it is expecting for
its argument, and what function called it.

> 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

  reply	other threads:[~2007-01-18  5:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 20:19 Cedet and lmcompile fred
2007-01-15  5:21 ` Kevin Rodgers
     [not found] ` <mailman.3086.1168880189.2155.help-gnu-emacs@gnu.org>
2007-01-16 14:25   ` Fred
2007-01-18  5:57     ` Kevin Rodgers [this message]
     [not found]     ` <mailman.3237.1169099839.2155.help-gnu-emacs@gnu.org>
2007-01-23 23:17       ` Fred

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='eon275$fbg$1@sea.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.