emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to bind something to PrtScr
@ 2011-05-04 12:17 Piter_
  2011-05-04 12:22 ` Matt Lundin
  2011-05-04 12:27 ` Antoine Levitt
  0 siblings, 2 replies; 3+ messages in thread
From: Piter_ @ 2011-05-04 12:17 UTC (permalink / raw)
  To: emacs-orgmode

Hi.
I want to bind image inserting function to Ctrl-PrtScr, but cant
figure out what is the name of this button in emacs.
Does anybody know?
Thanks.
Petro

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

* Re: how to bind something to PrtScr
  2011-05-04 12:17 how to bind something to PrtScr Piter_
@ 2011-05-04 12:22 ` Matt Lundin
  2011-05-04 12:27 ` Antoine Levitt
  1 sibling, 0 replies; 3+ messages in thread
From: Matt Lundin @ 2011-05-04 12:22 UTC (permalink / raw)
  To: Piter_; +Cc: emacs-orgmode

Piter_ <x.piter@gmail.com> writes:

> I want to bind image inserting function to Ctrl-PrtScr, but cant
> figure out what is the name of this button in emacs.

Typing C-h k and the button in question should give you the name.

On my system, the name is <print>.

Best,
Matt

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

* Re: how to bind something to PrtScr
  2011-05-04 12:17 how to bind something to PrtScr Piter_
  2011-05-04 12:22 ` Matt Lundin
@ 2011-05-04 12:27 ` Antoine Levitt
  1 sibling, 0 replies; 3+ messages in thread
From: Antoine Levitt @ 2011-05-04 12:27 UTC (permalink / raw)
  To: emacs-orgmode

04/05/11 14:17, Piter_
> Hi.
> I want to bind image inserting function to Ctrl-PrtScr, but cant
> figure out what is the name of this button in emacs.
> Does anybody know?
> Thanks.
> Petro

Use C-h k to figure it out. Here, C-h k ctrl-prtscr does "<C-print> is
undefined", so you'd do

(global-set-key (kbd "<C-print>") 'something)

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

end of thread, other threads:[~2011-05-04 12:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-04 12:17 how to bind something to PrtScr Piter_
2011-05-04 12:22 ` Matt Lundin
2011-05-04 12:27 ` Antoine Levitt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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