* Flymake from CVS doesn't require
@ 2006-07-22 13:31 Paulo J. Matos
2006-07-22 14:10 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Paulo J. Matos @ 2006-07-22 13:31 UTC (permalink / raw)
Hi all,
I've retrived flymake from CVS :
http://cvs.savannah.gnu.org/viewcvs/*checkout*/emacs/emacs/lisp/progmodes/flymake.el?rev=1.2.4.21
But when I compile it and try to load it I get:
Debugger entered--Lisp error: (void-variable
compilation-error-regexp-alist-alist)
(flymake-reformat-err-line-patterns-from-compile-el
compilation-error-regexp-alist-alist)
(append (quote (... ... ... ... ... ...))
(flymake-reformat-err-line-patterns-from-compile-el
compilation-error-regexp-alist-alist))
(defvar flymake-err-line-patterns (append (quote ...)
(flymake-reformat-err-line-patterns-from-compile-el
compilation-error-regexp-alist-alist)) "Patterns for matching
error/warning lines.\n(REGEXP FILE-IDX LINE-IDX ERR-TEXT-IDX).\nUse
`flymake-reformat-err-line-patterns-from-compile-el' to add
patterns\nfrom compile.el")
eval-buffer(#<buffer *load*<2>> nil "flymake" nil t)
load-with-code-conversion("/home/pmatos/emacs/site/flymake/flymake.el"
"flymake" nil t)
require(flymake)
eval-buffer(#<buffer *load*> nil "~/.emacs" nil t)
load-with-code-conversion("/home/pmatos/.emacs" "~/.emacs" t t)
load("~/.emacs" t t)
#[nil "
" [init-file-user system-type user-init-file-1
user-init-file source alt ms-dos "~" "/_emacs" windows-nt
directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "~/_emacs"
vax-vms "sys$login:.emacs" "/.emacs" t load file-name-extension "elc"
file-name-sans-extension ".el" file-exists-p file-newer-than-file-p
message "Warning: %s is newer than %s" sit-for 1 "default"
inhibit-default-init inhibit-startup-message] 5]()
command-line()
normal-top-level()
I'm using emacs 21.4.
Any ideas on what might be wrong?
Cheers,
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flymake from CVS doesn't require
2006-07-22 13:31 Flymake from CVS doesn't require Paulo J. Matos
@ 2006-07-22 14:10 ` Eli Zaretskii
2006-07-22 15:32 ` Paulo J. Matos
[not found] ` <mailman.4353.1153642987.9609.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 9+ messages in thread
From: Eli Zaretskii @ 2006-07-22 14:10 UTC (permalink / raw)
> Date: Sat, 22 Jul 2006 14:31:39 +0100
> From: "Paulo J. Matos" <pocmatos@gmail.com>
>
> Hi all,
>
> I've retrived flymake from CVS :
> http://cvs.savannah.gnu.org/viewcvs/*checkout*/emacs/emacs/lisp/progmodes/flymake.el?rev=1.2.4.21
>
> But when I compile it and try to load it I get:
> Debugger entered--Lisp error: (void-variable
> compilation-error-regexp-alist-alist)
> (flymake-reformat-err-line-patterns-from-compile-el
> compilation-error-regexp-alist-alist)
> [...]
> I'm using emacs 21.4.
>
> Any ideas on what might be wrong?
Yes: you cannot just rip off a single Lisp file from CVS and hope for
it to work. The variable compilation-error-regexp-alist-alist did not
exist in Emacs 21.4.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flymake from CVS doesn't require
2006-07-22 14:10 ` Eli Zaretskii
@ 2006-07-22 15:32 ` Paulo J. Matos
2006-07-22 21:51 ` Eli Zaretskii
[not found] ` <mailman.4353.1153642987.9609.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 9+ messages in thread
From: Paulo J. Matos @ 2006-07-22 15:32 UTC (permalink / raw)
On 22/07/06, Eli Zaretskii <eliz@gnu.org> wrote:
> Yes: you cannot just rip off a single Lisp file from CVS and hope for
> it to work. The variable compilation-error-regexp-alist-alist did not
> exist in Emacs 21.4.
>
So, flymake is only usable with CVS Emacs?
Or is there a version for 21.4?
Cheers,
Paulo Matos
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flymake from CVS doesn't require
2006-07-22 15:32 ` Paulo J. Matos
@ 2006-07-22 21:51 ` Eli Zaretskii
0 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2006-07-22 21:51 UTC (permalink / raw)
> Date: Sat, 22 Jul 2006 16:32:32 +0100
> From: "Paulo J. Matos" <pocmatos@gmail.com>
>
> On 22/07/06, Eli Zaretskii <eliz@gnu.org> wrote:
> > Yes: you cannot just rip off a single Lisp file from CVS and hope for
> > it to work. The variable compilation-error-regexp-alist-alist did not
> > exist in Emacs 21.4.
> >
>
> So, flymake is only usable with CVS Emacs?
The version from CVS, yes.
> Or is there a version for 21.4?
I don't know, sorry.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flymake from CVS doesn't require
[not found] ` <mailman.4353.1153642987.9609.help-gnu-emacs@gnu.org>
@ 2006-07-24 10:00 ` Vagn Johansen
2006-07-25 0:15 ` Paulo J. Matos
[not found] ` <mailman.4433.1153786557.9609.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 9+ messages in thread
From: Vagn Johansen @ 2006-07-24 10:00 UTC (permalink / raw)
"Paulo J. Matos" <pocmatos@gmail.com> writes:
> So, flymake is only usable with CVS Emacs?
> Or is there a version for 21.4?
>
Yes. The 0.2 version
https://sourceforge.net/project/showfiles.php?group_id=77501
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flymake from CVS doesn't require
2006-07-24 10:00 ` Vagn Johansen
@ 2006-07-25 0:15 ` Paulo J. Matos
[not found] ` <mailman.4433.1153786557.9609.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 9+ messages in thread
From: Paulo J. Matos @ 2006-07-25 0:15 UTC (permalink / raw)
Cc: help-gnu-emacs
On 24/07/06, Vagn Johansen <gonz808@hotmail.com> wrote:
> "Paulo J. Matos" <pocmatos@gmail.com> writes:
>
> > So, flymake is only usable with CVS Emacs?
>
> > Or is there a version for 21.4?
> >
>
> Yes. The 0.2 version
>
> https://sourceforge.net/project/showfiles.php?group_id=77501
>
Thanks, do you have any idea on how it works? When I open a C++ file,
I do M-x flymake-mode but nothing seems to happen. Do I need to do any
kind of configuration or anything?
The page doesn't seem to provide much help.
Regards,
Paulo Matos
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flymake from CVS doesn't require
[not found] ` <mailman.4433.1153786557.9609.help-gnu-emacs@gnu.org>
@ 2006-07-25 20:46 ` Vagn Johansen
2006-07-26 12:55 ` Paulo J. Matos
0 siblings, 1 reply; 9+ messages in thread
From: Vagn Johansen @ 2006-07-25 20:46 UTC (permalink / raw)
"Paulo J. Matos" <pocmatos@gmail.com> writes:
> On 24/07/06, Vagn Johansen <gonz808@hotmail.com> wrote:
>> "Paulo J. Matos" <pocmatos@gmail.com> writes:
>>
>> > So, flymake is only usable with CVS Emacs?
>>
>> > Or is there a version for 21.4?
>> >
>>
>> Yes. The 0.2 version
>>
>> https://sourceforge.net/project/showfiles.php?group_id=77501
>>
>
> Thanks, do you have any idea on how it works? When I open a C++ file,
> I do M-x flymake-mode but nothing seems to happen. Do I need to do any
> kind of configuration or anything?
> The page doesn't seem to provide much help.
Yes. For C++ you need a makefile with a check-syntax target. flymake
calls the check-syntax target with CHK_SOURCES set to a filename. This is
needed because flymake does not know about your includes files etc. For
same languages (eg. Perl) flymake can work without the Makefile.
Take a look at the example in flymake/samples/make-based/cpp/Makefile
(from flymake-0.2a.zip)
Also, here are two lines from one of my own makefiles
check-syntax:
g++ -O -Wall -g $(INC) $(CHK_SOURCES)
--
Vagn
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flymake from CVS doesn't require
2006-07-25 20:46 ` Vagn Johansen
@ 2006-07-26 12:55 ` Paulo J. Matos
2006-07-26 13:21 ` Paulo J. Matos
0 siblings, 1 reply; 9+ messages in thread
From: Paulo J. Matos @ 2006-07-26 12:55 UTC (permalink / raw)
On 25/07/06, Vagn Johansen <gonz808@hotmail.com> wrote:
> "Paulo J. Matos" <pocmatos@gmail.com> writes:
>
> > On 24/07/06, Vagn Johansen <gonz808@hotmail.com> wrote:
> >> "Paulo J. Matos" <pocmatos@gmail.com> writes:
> >>
> >> > So, flymake is only usable with CVS Emacs?
> >>
> >> > Or is there a version for 21.4?
> >> >
> >>
> >> Yes. The 0.2 version
> >>
> >> https://sourceforge.net/project/showfiles.php?group_id=77501
> >>
> >
> > Thanks, do you have any idea on how it works? When I open a C++ file,
> > I do M-x flymake-mode but nothing seems to happen. Do I need to do any
> > kind of configuration or anything?
> > The page doesn't seem to provide much help.
>
> Yes. For C++ you need a makefile with a check-syntax target. flymake
> calls the check-syntax target with CHK_SOURCES set to a filename. This is
> needed because flymake does not know about your includes files etc. For
> same languages (eg. Perl) flymake can work without the Makefile.
>
> Take a look at the example in flymake/samples/make-based/cpp/Makefile
> (from flymake-0.2a.zip)
>
>
> Also, here are two lines from one of my own makefiles
>
> check-syntax:
> g++ -O -Wall -g $(INC) $(CHK_SOURCES)
>
I also got emacs-cvs to work. I guess it works the same, right?
Thanks,
Paulo Matos
> --
> Vagn
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Flymake from CVS doesn't require
2006-07-26 12:55 ` Paulo J. Matos
@ 2006-07-26 13:21 ` Paulo J. Matos
0 siblings, 0 replies; 9+ messages in thread
From: Paulo J. Matos @ 2006-07-26 13:21 UTC (permalink / raw)
On 26/07/06, Paulo J. Matos <pocmatos@gmail.com> wrote:
> > Also, here are two lines from one of my own makefiles
> >
> > check-syntax:
> > g++ -O -Wall -g $(INC) $(CHK_SOURCES)
> >
>
> I also got emacs-cvs to work. I guess it works the same, right?
>
> Thanks,
>
> Paulo Matos
>
> > --
> > Vagn
> >
Now I remember, I'm using autotools, which means automake, & friends.
What to do in this case?
Cheers,
Paulo Matos
>
> --
> Paulo Jorge Matos - pocm at sat inesc-id pt
> Web: http://sat.inesc-id.pt/~pocm
> Computer and Software Engineering
> INESC-ID - SAT Group
>
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-07-26 13:21 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-22 13:31 Flymake from CVS doesn't require Paulo J. Matos
2006-07-22 14:10 ` Eli Zaretskii
2006-07-22 15:32 ` Paulo J. Matos
2006-07-22 21:51 ` Eli Zaretskii
[not found] ` <mailman.4353.1153642987.9609.help-gnu-emacs@gnu.org>
2006-07-24 10:00 ` Vagn Johansen
2006-07-25 0:15 ` Paulo J. Matos
[not found] ` <mailman.4433.1153786557.9609.help-gnu-emacs@gnu.org>
2006-07-25 20:46 ` Vagn Johansen
2006-07-26 12:55 ` Paulo J. Matos
2006-07-26 13:21 ` Paulo J. Matos
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.