From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: germano carella Newsgroups: gmane.emacs.devel Subject: Some problems with key bindings on windows Date: Tue, 21 Mar 2017 13:25:53 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1490099170 13058 195.159.176.226 (21 Mar 2017 12:26:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Mar 2017 12:26:10 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 21 13:26:04 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cqIrR-0002U4-5p for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2017 13:26:01 +0100 Original-Received: from localhost ([::1]:39315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqIrX-0004rQ-8d for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2017 08:26:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqIrR-0004rE-I2 for emacs-devel@gnu.org; Tue, 21 Mar 2017 08:26:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqIrO-0001fC-7Q for emacs-devel@gnu.org; Tue, 21 Mar 2017 08:26:01 -0400 Original-Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35844) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cqIrN-0001ee-Vz for emacs-devel@gnu.org; Tue, 21 Mar 2017 08:25:58 -0400 Original-Received: by mail-wm0-x22f.google.com with SMTP id n11so10835848wma.1 for ; Tue, 21 Mar 2017 05:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=XY24UIOc0tU0zzLwqy7n5CnMy8spYdqFqkBRfdJ5BZI=; b=egopPDjoQkgamG2wJ0IjmlMLRjOu7M8lO7PHm1LPYn0HyYms6fWHPgPUJ4aF3pMANg 1sXpQikXBo7VQa+C6BxSzzfYnSFFGNbs4n/F6cRHedbqfJPEV4TwJG+S/AqgsubbJSr6 NMZGsPqCgekoTu2HeoLY5QbxFLSq3oNQjZFcsWrMbqF8/FxUsm+LPbZT7wVfxYXaaQaH hjRsBH+JB7NzL5qrCQ/ODLDMrGQ9Ut7LOob0np4MZ81yHXEq1RnlqmoPDjbVicpSmxQ+ Eyw/EU0txxK5yAJWFyxEWxQ4GKAlcK3m2kVke7OolRrpEBtuW9+5ot5RubVfv1V4O+AA dJvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=XY24UIOc0tU0zzLwqy7n5CnMy8spYdqFqkBRfdJ5BZI=; b=jRDmyKpryENjJ/1TRC/cAquaC+JSvg0WW0QGWGsXIDEMJcnpPOvQeC7Ar6D4hdtJdd Jea4x+KIDCu2qyRiMGJK91Ta+w2zlt5kzQQ010HX+VQUVq+JxATNn/iu4ZOEZ4li9zi9 vCSJq4uv+m6lysm8ez0wH78WoW3SBwIHkXTUx2pN1TvPLH7LqDEXVYmS/JpAY+IBl/9a Xw+aXWUfAiOa6LOZg/h27j9fU9GoXafOwSzf8nNVBuGo7Wjf4cab1E2c/xiYXHtS9kY7 DgF0lzb9aup1JlwYSwUeyazbPMdAPWAOIXf3HtTM3OdryegT4kzJVjsbFPU++EaPT/6b yQ+w== X-Gm-Message-State: AFeK/H1Lh+OfTDal/8s80ByFgqHYJ+EaHpXls7soOouwmHKrSe0em5wHEqrGfdGrRpsJ0Q== X-Received: by 10.28.214.146 with SMTP id n140mr2521759wmg.58.1490099156498; Tue, 21 Mar 2017 05:25:56 -0700 (PDT) Original-Received: from [192.168.1.66] (93-45-210-253.ip104.fastwebnet.it. [93.45.210.253]) by smtp.googlemail.com with ESMTPSA id p185sm17475098wme.20.2017.03.21.05.25.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 05:25:55 -0700 (PDT) X-Google-Original-From: germano carella X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213198 Archived-At: Hi to all, I’m Germano from Italy. I’m writing a simple application in elisp, and I need to assign some key bindings, using left window key as key modifier. I hope this is the correct place for my question. If not, can you point me in some direction? I tried some solutions found on internet, but none seem to work. I’ve emacs 25.1.1 on Windows 10 64 bit. I do: (setq w32-pass-lwindow-to-system nil) (setq w32-lwindow-modifier ‘super) Now, pressing left window key doesn’t open cortana. This is ok. I tried to set, for example, win+j to a simple function that display a message. (global-set-key (kbd “s-j”) ‘hello) Doesn’t work. Win+j is not assigned on Windows, so it should work fine. I tried “s-f9” and it works! I read on internet someone used autohotkey but I don’t know how to use it. Some suggestions? An other question: can be capslock and insert key be used as modifier Keys? Thanks!