From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Alan Mackenzie <acm@muc.de>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: HELP, PLEASE! Syntax problem!
Date: Thu, 26 Nov 2009 09:12:27 +0900 [thread overview]
Message-ID: <87hbsi87pw.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <20091125221328.GB4874@muc.de>
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....
next prev parent reply other threads:[~2009-11-26 0:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-25 12:58 HELP, PLEASE! Syntax problem! Alan Mackenzie
2009-11-25 14:43 ` Stefan Monnier
2009-11-25 20:30 ` Alan Mackenzie
2009-11-25 21:45 ` Stefan Monnier
2009-11-25 22:13 ` Alan Mackenzie
2009-11-26 0:12 ` Stephen J. Turnbull [this message]
2009-11-26 8:53 ` Alan Mackenzie
2009-11-26 15:48 ` Stephen J. Turnbull
2009-11-27 9:16 ` Alan Mackenzie
2009-11-27 9:56 ` David Kastrup
2009-11-27 10:44 ` Alan Mackenzie
2009-11-27 8:16 ` A Soare
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=87hbsi87pw.fsf@uwakimon.sk.tsukuba.ac.jp \
--to=stephen@xemacs.org \
--cc=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.