From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: Using `ignore` Date: Thu, 18 Apr 2013 08:21:01 +0000 (UTC) Organization: muc.de e.V. Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1366273966 12505 80.91.229.3 (18 Apr 2013 08:32:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 08:32:46 +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 Apr 18 10:32:51 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1USkGw-0003Z7-LK for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Apr 2013 10:32:50 +0200 Original-Received: from localhost ([::1]:50994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USkGw-0001UH-9v for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Apr 2013 04:32:50 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!news.space.net!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: news.muc.de Original-X-Trace: colin.muc.de 1366273261 76802 193.149.48.2 (18 Apr 2013 08:21:01 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: Thu, 18 Apr 2013 08:21:01 +0000 (UTC) User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/8.4-PRERELEASE (amd64)) Original-Xref: usenet.stanford.edu gnu.emacs.help:197960 X-Mailman-Approved-At: Thu, 18 Apr 2013 04:32:41 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90227 Archived-At: Steven Degutis wrote: > [-- text/plain, encoding 7bit, charset: ISO-8859-1, 11 lines --] > Just in case anyone was wondering how to use the function ignore, emacs > gave me this helpful tip today: > "You can run the command `ignore' with " > Yep, that's it. A lot easier than M-x ignore. > :) Don't knock `ignore'. It's an incredibly useful and versatile command. I've got it bound to C-c C-g, C-x C-g, C-x 4 C-g, etc., so I can cancel with C-g "in the middle of a key sequence". It's also useful for dumping out variable values; in the middle of a defun, you can insert (ignore foo bar baz) , and then do M-x trace-function-background ignore . This is a useful trick for places edebug can't reach. > -Steven -- Alan Mackenzie (Nuremberg, Germany).