[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++-Mode

From: Dave Sumsky
Subject: Re: C++-Mode
Date: Wed, 8 Jan 2003 15:17:40 GMT
User-agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.2) Gecko/20021203

Boris H. wrote:
Hi all!

How can I make Emacs separately
1. compile the current buffer with g++
2. run the generated file?
in C++-mode?


And how about eshell - shell for EMACS?
I use it for these simple situations ... :-)
And for easy of use, I have this shortcut defined in my .emacs:

(global-uset-key [f7])
(global-set-key [f7] 'my-eshell)

(defun my-eshell()
  (if (string-match "eshell" (buffer-name))
        (switch-to-buffer w)
        (setq w (buffer-name))

(global-set-key [S-f7] 'eshell-command)

HTH, Dave

reply via email to

[Prev in Thread] Current Thread [Next in Thread]