unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs lisp in windows
@ 2014-10-02 12:47 Ali Abdul Ghani
  0 siblings, 0 replies; 5+ messages in thread
From: Ali Abdul Ghani @ 2014-10-02 12:47 UTC (permalink / raw)
  To: help-gnu-emacs

Welcome
I'm trying to apply
http://www.gnu.org/software/emacs/manual/html_node/eintr/Run-a-Program.html#Run-a-Program
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
I type
(+ 2 2)

and type
Control+x
Control+e
But did not give any result



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: emacs lisp in windows
       [not found] <mailman.10269.1412255582.1147.help-gnu-emacs@gnu.org>
@ 2014-10-02 13:43 ` Dan Espen
  2014-10-02 14:21   ` Filipp Gunbin
  2014-10-02 20:19 ` Pascal J. Bourguignon
  2014-10-02 20:19 ` Pascal J. Bourguignon
  2 siblings, 1 reply; 5+ messages in thread
From: Dan Espen @ 2014-10-02 13:43 UTC (permalink / raw)
  To: help-gnu-emacs

Ali Abdul Ghani <blade.vp2020@gmail.com> writes:

> Welcome
> I'm trying to apply
> http://www.gnu.org/software/emacs/manual/html_node/eintr/Run-a-Program.html#Run-a-Program
> ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
> ;; If you want to create a file, visit that file with C-x C-f,
> ;; then enter the text in that file's own buffer.
> I type
> (+ 2 2)
>
> and type
> Control+x
> Control+e
> But did not give any result

Make sure your cursor is on the ending ")".

-- 
Dan Espen


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: emacs lisp in windows
  2014-10-02 13:43 ` emacs lisp in windows Dan Espen
@ 2014-10-02 14:21   ` Filipp Gunbin
  0 siblings, 0 replies; 5+ messages in thread
From: Filipp Gunbin @ 2014-10-02 14:21 UTC (permalink / raw)
  To: help-gnu-emacs

On 02/10/2014 17:43 +0400, Dan Espen wrote:

> Ali Abdul Ghani <blade.vp2020@gmail.com> writes:
>
>> Welcome
>> I'm trying to apply
>> http://www.gnu.org/software/emacs/manual/html_node/eintr/Run-a-Program.html#Run-a-Program
>> ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
>> ;; If you want to create a file, visit that file with C-x C-f,
>> ;; then enter the text in that file's own buffer.
>> I type
>> (+ 2 2)
>>
>> and type
>> Control+x
>> Control+e
>> But did not give any result
>
> Make sure your cursor is on the ending ")".

Or you could just type C-M-x anywhere inside the expression..

-- 
    Filipp



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: emacs lisp in windows
       [not found] <mailman.10269.1412255582.1147.help-gnu-emacs@gnu.org>
  2014-10-02 13:43 ` emacs lisp in windows Dan Espen
@ 2014-10-02 20:19 ` Pascal J. Bourguignon
  2014-10-02 20:19 ` Pascal J. Bourguignon
  2 siblings, 0 replies; 5+ messages in thread
From: Pascal J. Bourguignon @ 2014-10-02 20:19 UTC (permalink / raw)
  To: help-gnu-emacs

Ali Abdul Ghani <blade.vp2020@gmail.com> writes:

> Welcome
> I'm trying to apply
> http://www.gnu.org/software/emacs/manual/html_node/eintr/Run-a-Program.html#Run-a-Program
> ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
> ;; If you want to create a file, visit that file with C-x C-f,
> ;; then enter the text in that file's own buffer.
> I type
> (+ 2 2)
>
> and type
> Control+x
> Control+e
> But did not give any result

It did, but you weren't looking in the right place.

When you type C-x C-e, it displays the result in the minibuffer, and
insert it in the *Message* buffer.

Type C-u C-x C-e to insert the result at the point, or go look the
*Message* buffer.


-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: emacs lisp in windows
       [not found] <mailman.10269.1412255582.1147.help-gnu-emacs@gnu.org>
  2014-10-02 13:43 ` emacs lisp in windows Dan Espen
  2014-10-02 20:19 ` Pascal J. Bourguignon
@ 2014-10-02 20:19 ` Pascal J. Bourguignon
  2 siblings, 0 replies; 5+ messages in thread
From: Pascal J. Bourguignon @ 2014-10-02 20:19 UTC (permalink / raw)
  To: help-gnu-emacs

Ali Abdul Ghani <blade.vp2020@gmail.com> writes:

> Welcome
> I'm trying to apply
> http://www.gnu.org/software/emacs/manual/html_node/eintr/Run-a-Program.html#Run-a-Program
> ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
> ;; If you want to create a file, visit that file with C-x C-f,
> ;; then enter the text in that file's own buffer.
> I type
> (+ 2 2)
>
> and type
> Control+x
> Control+e
> But did not give any result
>

You may also use:  M-x ielm RET (+ 2 2) RET

-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-02 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.10269.1412255582.1147.help-gnu-emacs@gnu.org>
2014-10-02 13:43 ` emacs lisp in windows Dan Espen
2014-10-02 14:21   ` Filipp Gunbin
2014-10-02 20:19 ` Pascal J. Bourguignon
2014-10-02 20:19 ` Pascal J. Bourguignon
2014-10-02 12:47 Ali Abdul Ghani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).