[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EMACS_INT cleanup
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: EMACS_INT cleanup |
Date: |
Fri, 24 Sep 2010 15:51:23 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Lars Magne Ingebrigtsen <address@hidden> writes:
> Nice. The f7 macro could be extended to do that automatically.
So now the version of the macro look like:
(global-set-key
[f7] (lambda () (interactive)
(save-some-buffers t)
(ignore-errors
(mapcar (lambda (proc) (kill-process proc))
compilation-in-progress))
(setq compilation-in-progress nil)
(compile
(format "make CFLAGS='-g -O2 -Wconversion' -k %s -W %s 2>&1 | egrep
\"(conversion.*'int'.*(Lisp_Obj|long)|error)\""
(file-name-nondirectory
(replace-regexp-in-string ".c$" ".o" (buffer-file-name)))
(file-name-nondirectory (buffer-file-name))))))
And you don't even have to alter the Makefile to add the -Wconversion
any more.
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: EMACS_INT cleanup, (continued)
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup,
Lars Magne Ingebrigtsen <=
- Re: EMACS_INT cleanup, David Kastrup, 2010/09/24
- Re: EMACS_INT cleanup, Stefan Monnier, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Stefan Monnier, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Andreas Schwab, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, David Kastrup, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23