From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: extract lines with regexp Date: Wed, 06 May 2009 15:33:52 +0200 Organization: Anevia SAS Message-ID: <7ceiv25pa7.fsf@pbourguignon.anevia.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241617325 20665 80.91.229.12 (6 May 2009 13:42:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2009 13:42:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 06 15:41:55 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 1M1hNj-0007J7-1W for geh-help-gnu-emacs@m.gmane.org; Wed, 06 May 2009 15:41:55 +0200 Original-Received: from localhost ([127.0.0.1]:44181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1hNi-0007BM-9U for geh-help-gnu-emacs@m.gmane.org; Wed, 06 May 2009 09:41:54 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newshub.sdsu.edu!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp10-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:MDk5NTEwNTg5ZGZiMmM1NWMzN2QzMzA3MDIwNGY0YjQ2YjVjYjIwYQ== Original-Lines: 18 Original-NNTP-Posting-Date: 06 May 2009 15:34:02 MEST Original-NNTP-Posting-Host: 88.170.236.224 Original-X-Trace: 1241616842 news-2.free.fr 16994 88.170.236.224:53615 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:168937 comp.emacs:98131 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:64207 Archived-At: no-toppost@motz.invalid writes: > I've found the powerfull: ^c h i leading to a massive verbose info, > but can't find how to enter the: edit-eval-print cycle from emacs. Basically, in all modes (but some, where it's redefined), eval-last-sexp is bound to C-x C-e You may use the *scratch* buffer, put it in the emacs-lisp-mode (M-x emacs-lisp-mode RET) and edit some emacs lisp forms, then move the cursor after the form you want to eval and type C-u C-x C-e to get the result inserted at the point. (C-x C-e will display the results in the mini-buffer). Now, if you want a REPL for emacs lisp, you may launch it with M-x ielm RET -- __Pascal Bourguignon__