* Using `ignore`
@ 2013-04-17 17:57 Steven Degutis
2013-04-18 1:24 ` Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: Steven Degutis @ 2013-04-17 17:57 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
[-- Attachment #1: Type: text/plain, Size: 222 bytes --]
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.
:)
-Steven
[-- Attachment #2: Type: text/html, Size: 380 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Using `ignore`
2013-04-17 17:57 Steven Degutis
@ 2013-04-18 1:24 ` Stefan Monnier
2013-04-18 1:52 ` Le Wang
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-04-18 1:24 UTC (permalink / raw)
To: help-gnu-emacs
> 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.
FWIW, I use (global-set-key [?\C-x ?\C-i] 'ignore) so I can easily run
it on a tty where mouse-movement is generally not available.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Using `ignore`
2013-04-18 1:24 ` Stefan Monnier
@ 2013-04-18 1:52 ` Le Wang
2013-04-18 3:12 ` Steven Degutis
0 siblings, 1 reply; 7+ messages in thread
From: Le Wang @ 2013-04-18 1:52 UTC (permalink / raw)
To: Stefan Monnier; +Cc: GNU Emacs List
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
On Thu, Apr 18, 2013 at 9:24 AM, Stefan Monnier <monnier@iro.umontreal.ca>wrote:
> > 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.
>
> FWIW, I use (global-set-key [?\C-x ?\C-i] 'ignore) so I can easily run
> it on a tty where mouse-movement is generally not available.
>
What are you guys talking about?
Le
[-- Attachment #2: Type: text/html, Size: 988 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Using `ignore`
2013-04-18 1:52 ` Le Wang
@ 2013-04-18 3:12 ` Steven Degutis
0 siblings, 0 replies; 7+ messages in thread
From: Steven Degutis @ 2013-04-18 3:12 UTC (permalink / raw)
To: Le Wang; +Cc: GNU Emacs List, Stefan Monnier
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
Sorry Le, I would have responded the first time I read that question, but I
added Stefan's key binding and did C-x C-i before I had a chance to.
-Steven
On Wed, Apr 17, 2013 at 8:52 PM, Le Wang <l26wang@gmail.com> wrote:
> On Thu, Apr 18, 2013 at 9:24 AM, Stefan Monnier <monnier@iro.umontreal.ca>wrote:
>
>> > 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.
>>
>> FWIW, I use (global-set-key [?\C-x ?\C-i] 'ignore) so I can easily run
>> it on a tty where mouse-movement is generally not available.
>>
>
> What are you guys talking about?
>
>
> Le
>
[-- Attachment #2: Type: text/html, Size: 1669 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Using `ignore`
[not found] <mailman.24267.1366221437.855.help-gnu-emacs@gnu.org>
@ 2013-04-18 8:21 ` Alan Mackenzie
2013-04-18 12:37 ` Stefan Monnier
2013-04-18 14:33 ` Steven Degutis
0 siblings, 2 replies; 7+ messages in thread
From: Alan Mackenzie @ 2013-04-18 8:21 UTC (permalink / raw)
To: help-gnu-emacs
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).
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Using `ignore`
2013-04-18 8:21 ` Using `ignore` Alan Mackenzie
@ 2013-04-18 12:37 ` Stefan Monnier
2013-04-18 14:33 ` Steven Degutis
1 sibling, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2013-04-18 12:37 UTC (permalink / raw)
To: help-gnu-emacs
> 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.
Good point. Tho in Emacs trunk you can use `trace-values' instead.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Using `ignore`
2013-04-18 8:21 ` Using `ignore` Alan Mackenzie
2013-04-18 12:37 ` Stefan Monnier
@ 2013-04-18 14:33 ` Steven Degutis
1 sibling, 0 replies; 7+ messages in thread
From: Steven Degutis @ 2013-04-18 14:33 UTC (permalink / raw)
To: Alan Mackenzie; +Cc: help-gnu-emacs@gnu.org
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
Yep, and I've got (setq ring-bell-function 'ignore)
On Thu, 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, 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).
>
>
[-- Attachment #2: Type: text/html, Size: 1596 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-04-18 14:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.24267.1366221437.855.help-gnu-emacs@gnu.org>
2013-04-18 8:21 ` Using `ignore` Alan Mackenzie
2013-04-18 12:37 ` Stefan Monnier
2013-04-18 14:33 ` Steven Degutis
2013-04-17 17:57 Steven Degutis
2013-04-18 1:24 ` Stefan Monnier
2013-04-18 1:52 ` Le Wang
2013-04-18 3:12 ` Steven Degutis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).