[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using javac with Emacs
From: |
Merciadri Luca |
Subject: |
Re: Using javac with Emacs |
Date: |
Fri, 18 Sep 2009 21:10:28 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
"Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes:
> Merciadri Luca wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Richard Riley <rileyrgdev@gmail.com> writes:
>>
>>>> Perhaps you wanted to type:
>>>>
>>>> M-x compile RET C-a C-k javac nameofmyfile RET
>>>>
>> needed, okay.
>>
> Merciadri,
>
> I have this in my .xemacs/init.el
> (The Xemacs equivalent of .emacs).
> I'm not sure if the key-definition
> syntax is correct for FSF Emacs.
>
> It defines M-! c to run (compile),
> as I use compile frequently.
>
> HTH,
> Colin S. Miller
>
> (global-unset-key '[(meta !)])
> (global-set-key '[(meta !) (meta !)] 'shell-command)
> (global-set-key '[(meta !) c] 'compile)
> (global-set-key '[(meta !) g] 'grep)
> (global-set-key '[(meta !) s] 'shell)
>
> (when (eq system-type 'windows-nt)
> (defun csm-handle-start-dot ()
> (interactive)
> (shell-command "start .")
> )
> (global-set-key '[(meta !) \.] 'csm-handle-start-dot)
> )
Thanks for this. I have saved it.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAkqz2yQACgkQM0LLzLt8Mhx82QCfYs568MZCQLuFau4N5lIzcSM2
TpgAnixz3UGNJBQULw9nfTL49qABnuiD
=SLvS
-----END PGP SIGNATURE-----
- Re: Using javac with Emacs, (continued)
Re: Using javac with Emacs, Peter Dyballa, 2009/09/18
Message not available
Re: Using javac with Emacs, Merciadri Luca, 2009/09/18
Re: Using javac with Emacs, Anselm Helbig, 2009/09/18
Re: Using javac with Emacs, Merciadri Luca, 2009/09/18