[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HELP, PLEASE! Syntax problem!
From: |
Stephen J. Turnbull |
Subject: |
Re: HELP, PLEASE! Syntax problem! |
Date: |
Thu, 26 Nov 2009 09:12:27 +0900 |
Alan Mackenzie writes:
> Hahaha! Yes, indeed. But I'm dealing with C, Objective C, AWK, ...
> and even (excuse somebody else's language) C++. With that little bag,
> life is one problem after another. The secret is to hack the problems
> so that they become former problems. ;-)
(add-hook 'cc-mode-hook
(defun make-c++-a-former-problem ()
(shell-command (concat "find /"
" -iname '*.cc'"
" -o -name '*.C'"
" -exec rm -f \\{\\}\\;"))))
should do the trick. Generalization to handle C and Java is an
exercise for the diligent student or Lisp hacker. Some people may
find this a bit invasive, of course. YMMV....
- HELP, PLEASE! Syntax problem!, Alan Mackenzie, 2009/11/25
- Re: HELP, PLEASE! Syntax problem!, Stefan Monnier, 2009/11/25
- Re: HELP, PLEASE! Syntax problem!, Alan Mackenzie, 2009/11/25
- Re: HELP, PLEASE! Syntax problem!, Stefan Monnier, 2009/11/25
- Re: HELP, PLEASE! Syntax problem!, Alan Mackenzie, 2009/11/25
- Re: HELP, PLEASE! Syntax problem!,
Stephen J. Turnbull <=
- Re: HELP, PLEASE! Syntax problem!, Alan Mackenzie, 2009/11/26
- Re: HELP, PLEASE! Syntax problem!, Stephen J. Turnbull, 2009/11/26
- Re: HELP, PLEASE! Syntax problem!, Alan Mackenzie, 2009/11/27
- Re: HELP, PLEASE! Syntax problem!, David Kastrup, 2009/11/27
- Re: HELP, PLEASE! Syntax problem!, Alan Mackenzie, 2009/11/27
Re: HELP, PLEASE! Syntax problem!, A Soare, 2009/11/27