From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pascal Quesseveur Newsgroups: gmane.emacs.help Subject: Emacs configuration on Thinkpad running W10 Date: Wed, 30 May 2018 11:07:25 +0200 Organization: Les Enchantements de Miraldra Message-ID: <84vab5v7ea.fsf@gmail.com> Reply-To: pquessev@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1527671159 11159 195.159.176.226 (30 May 2018 09:05:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 May 2018 09:05:59 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 30 11:05:55 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNx3K-0002me-QI for geh-help-gnu-emacs@m.gmane.org; Wed, 30 May 2018 11:05:54 +0200 Original-Received: from localhost ([::1]:37101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNx5R-0008L6-VI for geh-help-gnu-emacs@m.gmane.org; Wed, 30 May 2018 05:08:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNx50-0008Kz-GM for help-gnu-emacs@gnu.org; Wed, 30 May 2018 05:07:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNx4x-0003ME-BA for help-gnu-emacs@gnu.org; Wed, 30 May 2018 05:07:38 -0400 Original-Received: from [195.159.176.226] (port=43699 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNx4x-0003LF-44 for help-gnu-emacs@gnu.org; Wed, 30 May 2018 05:07:35 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fNx2n-0002Do-Og for help-gnu-emacs@gnu.org; Wed, 30 May 2018 11:05:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@blaine.gmane.org X-Attribution: PQsr Cancel-Lock: sha1:2q9Btw0e5k1gZYa8RBi/KfX43wk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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 Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116898 Archived-At: Hello, I use Emacs 24.5.1 on a Thinkpad E570 running Windows 10. My TP has a french keyboard with no Apps key. On my previous computer I used Apps key as the HYPER modifier and I was very happy with these settings: #+BEGIN_SRC (setq w32-pass-apps-to-system nil) (setq w32-apps-modifier 'hyper) (setq w32-pass-multimedia-buttons-to-system nil) ... (global-set-key (kbd "H-a") 'some-function) #+END_SRC As there is a PrintScreen key on my keyboard on the right of the Spacebar between AltGr and CtrlRight I tried to use it in place of Apps. I run an AutoHotKey command to set PrintScreen key to send Apps: #+BEGIN_SRC $PrintScreen::Send {AppsKey} #+END_SRC It seems to work fine for Windows Explorer and other applications (Firefox), but not in Emacs: when I hit Apps key nothing happens and when I hit Apps + a, Emacs inserts a. Do I have to change in my config to make it work? -- Pascal Quesseveur pquessev@gmail.com