all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Robot <john.robot@laposte.net>
Subject: Re: Print key
Date: Mon, 21 Jun 2004 12:10:38 +0200	[thread overview]
Message-ID: <usmcpp6g1.fsf@laposte.net> (raw)
In-Reply-To: uhdt636ry.fsf@jasonrumney.net

jasonr (Jason Rumney) @  f2s.com writes:
> John Robot <john.robot@laposte.net> writes:
>> jasonr (Jason Rumney) @  f2s.com writes:
>
>>> What does C-h k say?
>>
>> Nothing. `describe-key' does not "see" the `Print Screen' key;
>> it does not display anything, still waiting for an input key...
>
> "Print Screen" is globally used by Windows as a hotkey (it puts a
> screen snapshot on the clipboard). To override this, you need to get
> Emacs to re-register it:
>
> (w32-register-hot-key [snapshot])

Yeah!  The following code is now *perfectly* working:

(w32-register-hot-key [snapshot])
(global-set-key [(snapshot)] 'ps-print-buffer-with-faces)

Many thanks for your help!

Best regards,
  John

-- 
John Robot

      reply	other threads:[~2004-06-21 10:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-16 10:50 Print key John Robot
2004-06-16 16:23 ` Kevin Rodgers
2004-06-16 16:37   ` John Robot
2004-06-17  2:50     ` Bruce Ingalls
2004-06-17  7:46       ` John Robot
2004-06-30 15:43     ` Kai Grossjohann
     [not found]     ` <mailman.2831.1088610753.1953.help-gnu-emacs@gnu.org>
2004-07-02 14:43       ` Fabrice Niessen
2004-06-17  5:56 ` Jason Rumney
2004-06-17  7:40   ` John Robot
2004-06-20  9:42     ` Jason Rumney
2004-06-21 10:10       ` John Robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=usmcpp6g1.fsf@laposte.net \
    --to=john.robot@laposte.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.