[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using `ignore`
From: |
Alan Mackenzie |
Subject: |
Re: Using `ignore` |
Date: |
Thu, 18 Apr 2013 08:21:01 +0000 (UTC) |
User-agent: |
tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/8.4-PRERELEASE (amd64)) |
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, emacs
> 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'. 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 <CR> ignore <CR>. This is a
useful trick for places edebug can't reach.
> -Steven
--
Alan Mackenzie (Nuremberg, Germany).
- Using `ignore`, Steven Degutis, 2013/04/17
- Re: Using `ignore`,
Alan Mackenzie <=