From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Robot Newsgroups: gmane.emacs.help Subject: Re: Print key Date: Mon, 21 Jun 2004 12:10:38 +0200 Organization: John Robot Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088537219 22560 80.91.224.253 (29 Jun 2004 19:26:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:26:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:26:43 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfOFf-0006V8-00 for ; Tue, 29 Jun 2004 21:26:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfOHL-0006EJ-4W for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:28:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news2.telebyte.nl!newshub2.home.nl!home.nl!newsfeeder.concepts.nl!zonnet-feed!newsfeed.wirehub.nl!newsfeed.arcor.de!feed1.news.be.easynet.net!feed0.news.be.easynet.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Hamster/2.0.5.5 Cancel-Lock: sha1:He8lzJCelTMjjww32mr+BCeAD58= Original-Lines: 27 Original-NNTP-Posting-Date: 21 Jun 2004 10:11:57 GMT Original-NNTP-Posting-Host: 81.188.7.157 Original-X-Trace: 1087812717 feed0.news.be.easynet.net 8990 [::ffff:81.188.7.157]:1865 Original-X-Complaints-To: abuse@be.easynet.net Original-Xref: shelby.stanford.edu gnu.emacs.help:123864 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19225 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19225 jasonr (Jason Rumney) @ f2s.com writes: > John Robot 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