From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: lisp evaluation command Date: Wed, 14 Jan 2009 11:30:27 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1231980378 5432 80.91.229.12 (15 Jan 2009 00:46:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2009 00:46:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 15 01:47:28 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LNGOO-0008V5-2f for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jan 2009 01:47:28 +0100 Original-Received: from localhost ([127.0.0.1]:50625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNGN7-0007Ci-MH for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2009 19:46:09 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h16g2000yqj.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 34 Original-NNTP-Posting-Host: 24.6.175.142 Original-X-Trace: posting.google.com 1231961428 29928 127.0.0.1 (14 Jan 2009 19:30:28 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 14 Jan 2009 19:30:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h16g2000yqj.googlegroups.com; posting-host=24.6.175.142; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:166006 comp.emacs:97657 X-Mailman-Approved-At: Wed, 14 Jan 2009 19:45:47 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61336 Archived-At: On Jan 14, 4:50 am, moueza 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: =E2=80=A2 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. =E2=80=A2 Tips For Editing Lisp Code With Emacs http://xahlee.org/emacs/emacs_editing_lisp.html Xah =E2=88=91 http://xahlee.org/ =E2=98=84