unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Capture the command
@ 2003-10-16 21:41 Artist
  2003-10-16 23:21 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Artist @ 2003-10-16 21:41 UTC (permalink / raw)


May be I am missing an obvrious functionality.
But how do I put the 'command-name' where my cursor is at the
beginning of the 'c' into kill-ring ?

In other words, I like to yank everything that's upto the last
[A-Z,a-z,-,1-9] character.

ie..
I like to capture 'print-buffer' from the following sentence

Hi I have another function called print-buffer    which  is defined on
C-c-p



Thanks,
Artist.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Capture the command
  2003-10-16 21:41 Capture the command Artist
@ 2003-10-16 23:21 ` Kevin Rodgers
  2003-10-16 23:23   ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2003-10-16 23:21 UTC (permalink / raw)


Artist wrote:

> May be I am missing an obvrious functionality.
> But how do I put the 'command-name' where my cursor is at the
> beginning of the 'c' into kill-ring ?
> 
> In other words, I like to yank everything that's upto the last
> [A-Z,a-z,-,1-9] character.

`C-M-k', followed by `C-x u' or `C-y' if don't want to delete it.


Or `C-SPC C-M-f M-w'.

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Capture the command
  2003-10-16 23:21 ` Kevin Rodgers
@ 2003-10-16 23:23   ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2003-10-16 23:23 UTC (permalink / raw)


> Or `C-SPC C-M-f M-w'.

Aka `C-M-SPC M-w'.


        Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-16 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-16 21:41 Capture the command Artist
2003-10-16 23:21 ` Kevin Rodgers
2003-10-16 23:23   ` Stefan Monnier

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).