unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: lisp evaluation command
Date: Wed, 14 Jan 2009 11:30:27 -0800 (PST)	[thread overview]
Message-ID: <a8fd2c16-80d9-4dc0-9058-6f2ca0d7f6ab@h16g2000yqj.googlegroups.com> (raw)
In-Reply-To: mailman.4832.1231937444.26697.help-gnu-emacs@gnu.org

On Jan 14, 4:50 am, moueza <mouezape...@gmail.com> wrote:
> hi,
> C-j unavailable for me, what is the minibuffer equivalent command for C-j ?

in emacs, there are systematic ways to find out which shortcut is
associated with which command, and which command has what shortcuts.

This is describe-key and describe-function.

For detail, see:

• Tips on Long Term Emacs Productivity
  http://xahlee.org/emacs/effective_emacs.html

In lisp modes, there are several commands to eval lisp code. Each has
a shortcut, and you may also define alias so you can type less.

(defalias 'eb 'eval-buffer)
(defalias 'er 'eval-region)
(defalias 'ee 'eval-expression)
(defalias 'elm 'emacs-lisp-mode)
(defalias 'eis 'elisp-index-search)

The C-j you mentioned is not a shortcut for any of them in any lisp
mode i know of.

• Tips For Editing Lisp Code With Emacs
  http://xahlee.org/emacs/emacs_editing_lisp.html

  Xah
∑ http://xahlee.org/

       reply	other threads:[~2009-01-14 19:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4832.1231937444.26697.help-gnu-emacs@gnu.org>
2009-01-14 19:30 ` Xah Lee [this message]
2009-01-15  7:46   ` lisp evaluation command Tassilo Horn
     [not found]   ` <mailman.4901.1232005634.26697.help-gnu-emacs@gnu.org>
2009-01-15  8:13     ` Teemu Likonen
2009-01-15 11:49       ` Tassilo Horn
     [not found]       ` <mailman.4919.1232020169.26697.help-gnu-emacs@gnu.org>
2009-01-22 16:41         ` mouezapeter
2009-01-14 12:50 moueza
2009-01-14 13:04 ` Tassilo Horn

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8fd2c16-80d9-4dc0-9058-6f2ca0d7f6ab@h16g2000yqj.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).