From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: fperrin Newsgroups: gmane.emacs.bugs Subject: bug#4782: 23.1; (win32) emacs doesn't receive AltGr from synergy Date: Thu, 22 Oct 2009 10:01:52 +0200 Message-ID: <71024ce3a2aa5cc39e3fdc5929aafede@resel.fr> Reply-To: fperrin , 4782@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1256309438 18124 80.91.229.12 (23 Oct 2009 14:50:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2009 14:50:38 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 23 16:50:31 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N1LTK-0001qE-UX for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2009 16:50:31 +0200 Original-Received: from localhost ([127.0.0.1]:44617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1LTK-0003by-5b for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2009 10:50:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0t0z-0004hu-8G for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 04:27:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0t0t-0004g0-QU for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 04:27:20 -0400 Original-Received: from [199.232.76.173] (port=58058 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0t0t-0004fu-MY for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 04:27:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40324) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N0t0t-0007ko-7G for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 04:27:15 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9M8RC7Z026840; Thu, 22 Oct 2009 01:27:13 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9M8A7cu024508; Thu, 22 Oct 2009 01:10:07 -0700 Resent-Date: Thu, 22 Oct 2009 01:10:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: fperrin Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 22 Oct 2009 08:10:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4782 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125619857522913 (code B ref -1); Thu, 22 Oct 2009 08:10:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Oct 2009 08:02:55 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9M82r8t022910 for ; Thu, 22 Oct 2009 01:02:54 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0sdI-0005Kr-LE for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 04:02:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0sdD-0005K2-KA for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 04:02:51 -0400 Original-Received: from [199.232.76.173] (port=46420 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0sdD-0005Jz-87 for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 04:02:47 -0400 Original-Received: from maisel-gw.enst-bretagne.fr ([192.44.76.8]:56213) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0sdC-00044p-IQ for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2009 04:02:46 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by maisel-gw.enst-bretagne.fr (Postfix) with ESMTP id 7AADE1984D for ; Thu, 22 Oct 2009 10:02:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at resel.fr Original-Received: from maisel-gw.enst-bretagne.fr ([127.0.0.1]) by localhost (mercure.adm.maisel.enst-bretagne.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n2AVfwC2-GrZ for ; Thu, 22 Oct 2009 10:02:31 +0200 (CEST) Original-Received: from roundcube.resel.fr (cyric.pub.maisel.enst-bretagne.fr [172.22.42.80]) (Authenticated sender: fperrin) by maisel-gw.enst-bretagne.fr (Postfix) with ESMTP id 32CBF1984C for ; Thu, 22 Oct 2009 10:02:28 +0200 (CEST) X-Sender: fperrin@resel.fr User-Agent: RoundCube Webmail/0.3-stable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 22 Oct 2009 04:27:20 -0400 X-Mailman-Approved-At: Fri, 23 Oct 2009 10:50:25 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32181 Archived-At: Hello, At work I have to computers, a workstation running Scientific GNU/Linux and a Windows XP laptop. For my own comfort, I use synergy to share my workstation's keyboard between the two computers. The synergy server runs on my workstation, the client on the laptop. On a (French) AZERTY keyboard, the modifiers available are Ctrl (left and right), Alt (on the left of the spacebar) and AltGr (on the right of the spacebar). In order to enter characters such as \, you have to press AltGr-_ (this key is _ without modifiers, 8 when shifted, \ when used wit= h AltGr). I don't know how relevant it is, but under Win32, some (not all) applications will accept Alt+Ctrl as a substitute for AltGr (e.g. using M-C-_ under Firefox will produce \ ; it doesn't under Outlook). When I use emacs on the laptop, with my workstation keyboard shared with synergy, when I type AltGr-_ I get the message "C-M-_ is undefined". When using another application (notepad.exe or Firefox), when I type AltGr-_, = I get (as expected) a \ character. If I use my laptop's keyboard with emacs or another application, when I type AltGr-_, I get (as expected) a \ character. AltGr works as expected (even through synergy) with other applications, that is why I report this as an emacs bug. I use the following software stack: On the workstation: $ lsb_release -a LSB Version: =20 :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: ScientificSL Description: Scientific Linux SL release 5.2 (Boron) $ uname -a Linux frlanw0f03384 2.6.18-128.4.1.el5PAE #1 SMP Tue Aug 4 13:16:50 EDT 2009 i686 i686 i386 GNU/Linux $ grep '^X ' < /var/log/Xorg.0.log X Window System Version 7.1.1 X Protocol Version 11, Revision 0, Release 7.1.1 $ gnome-about --version Gnome gnome-about 2.16.0 Synergy was installed from the binary package synergy-1.3.1-1.i386.rpm available on their website. The keyboard is defined in xorg.conf by: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "fr" EndSection (gnome-keyboard-properties shows the same thing: Generic 105-key intl PC, with layout France Alternaative. I don't have root on this workstation. The keyboard I use is a standard-looking vanilla hp keyboard, with 105 keys much like . On the Windows laptop: Windows XP, with service pack 2, emacs as described below. In the "Servic= e de texte et langues d'entr=C3=A9e" dialog (Text and input language service?) only French is defined as an input method, and hot keys to switch input methods are disabled. If necessary, I do have administrative rights on the Windows laptop. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configur= ed using `configure --with-gcc (4.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: FRA value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: PS Minor modes in effect: desktop-save-mode: t show-paren-mode: t iswitchb-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t -- Fr=C3=A9d=C3=A9ric Perrin frederic.perrin@{Alcatel-Lucent.com,resel.fr}