From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steven Degutis Newsgroups: gmane.emacs.help Subject: Re: Using `ignore` Date: Thu, 18 Apr 2013 09:33:30 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b16018d81552304daa37c94 X-Trace: ger.gmane.org 1366295636 27123 80.91.229.3 (18 Apr 2013 14:33:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 14:33:56 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Alan Mackenzie Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 18 16:33:58 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 1USpuP-0008E6-SN for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Apr 2013 16:33:57 +0200 Original-Received: from localhost ([::1]:42162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USpuP-00041l-8e for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Apr 2013 10:33:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USpu2-0003tB-9x for help-gnu-emacs@gnu.org; Thu, 18 Apr 2013 10:33:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USptz-0001Rr-As for help-gnu-emacs@gnu.org; Thu, 18 Apr 2013 10:33:34 -0400 Original-Received: from mail-pa0-f48.google.com ([209.85.220.48]:41273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USptz-0001Rg-4o for help-gnu-emacs@gnu.org; Thu, 18 Apr 2013 10:33:31 -0400 Original-Received: by mail-pa0-f48.google.com with SMTP id lj1so1628848pab.35 for ; Thu, 18 Apr 2013 07:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=FYVc3soumYD6BA2WCX8GxNnG7we0pXWUBzxUbyjSeY4=; b=fqK/PNBeuUdqPVnQJlsx2dzwmm5As+ahDHrlR0K4gWL/SmyKMQ3OE8EWNOKLGuFXfy 1WwtUfvmw2Ari9y7LFmANhof/r6qvNud4G8qjM/tRL0dRFmyv+SPH+wL50qHj4yhnZAj fdCTD9V9y75kfl/8FEt6ku01rFznhmR7cyY9ndrFagWGa9/h0IotUSjsUFkQdtUu386j 4vVOciV582kE+xZBu7LcE5hUC1kvjtDcmqKHtWROCiuycQf6Jxdwi7LsD9XdKGxPoZUq nr+F2kWbxuOpzZcCQSW7mkRxMrui1xr2EKLRTLYt0fJv5UJ6lxqPaSZjlM6RXcLlopgx rp6A== X-Received: by 10.67.4.227 with SMTP id ch3mr13670887pad.59.1366295610215; Thu, 18 Apr 2013 07:33:30 -0700 (PDT) Original-Received: by 10.70.24.197 with HTTP; Thu, 18 Apr 2013 07:33:30 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.48 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:90234 Archived-At: --047d7b16018d81552304daa37c94 Content-Type: text/plain; charset=ISO-8859-1 Yep, and I've got (setq ring-bell-function 'ignore) On Thu, Apr 18, 2013 at 3:21 AM, Alan Mackenzie wrote: > 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). > > --047d7b16018d81552304daa37c94 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yep, and I've got=A0(setq ring-bell-function 'igno= re)


On T= hu, Apr 18, 2013 at 3:21 AM, Alan Mackenzie <acm@muc.de> wrote:
Steven Degutis <sbdegutis@gmail.com> wrote:
> [-- text/plain, encoding 7bit, charset: ISO-8859-1, 11 lines --]

> Just in case anyone was wondering how to use the function ignore, emac= s
> gave me this helpful tip today:

> "You can run the command `ignore' with <mouse-movement>= "

> Yep, that's it. A lot easier than M-x ignore.

> :)

Don't knock `ignore'. =A0It's an incredibly useful and versatil= e 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

=A0 =A0 (ignore foo bar baz)

, and then do M-x trace-function-background <CR> ignore <CR>. = =A0This is a
useful trick for places edebug can't reach.

> -Steven

--
Alan Mackenzie (Nuremberg, Germany).


--047d7b16018d81552304daa37c94--