emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Compile issues


From: Daniel Pfeiffer
Subject: Re: Compile issues
Date: Wed, 7 Apr 2004 00:41:22 +0200

Saluton,

Dave Love <address@hidden> skribis:

> C-c C-k compiles the buffer.  This isn't relevant --
> `compilation-minor-mode' just doesn't work.  I assume the reason is
> that font-locking just isn't set up:
> 
> (save-window-excursion
>   (save-excursion
>     (global-font-lock-mode 1)
>     (comint-run "bash")
>     (compilation-minor-mode)
>     font-lock-keywords))
>   => (t)

Ok, I have virtually no time this week, so I overlooked that last line.  Of
course this has nothing to do with C-x `, but that is one possible way of
noticing that no messages were recognized.

I have whittled down my .emacs to the one statement that solves this:

(add-hook 'comint-mode-hook (lambda ()))

What is going on here is beyond me.  It looks like adding anything to this
hook makes comint do something differently, which in turn decides whether
compile will manage to install its font-lock-keywords.

It's high time to get some sleep, and I'm not sure I'll be able to explore
further before Easter.

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / läramå / ucz się    Esperanto:
                              http://lernu.net/




reply via email to

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