unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maurizio Tomasi <tomasi@lambrate.inaf.it>
To: emacs-pretest-bug@gnu.org
Subject: Modifier keys not recognized in Emacs 23.0.0NS-9.0rc2 [Ubuntu Linux 7.10 using GNUstep]
Date: Fri, 02 Nov 2007 14:57:32 +0100	[thread overview]
Message-ID: <3578a4218726e09f9bbb253e82e45379@tomasi-laptop> (raw)

I have compiled Emacs.app 23.0.0 (9.0rc2) under GNUstep (Ubuntu Linux 
7.10), and have some problems in getting my modifier keys working 
properly. Both problems do not occur with the emacs version (22.1.1) 
packaged with Ubuntu (compiled with the Gtk libraries, no GNUstep 
support). In this mail, I will refer to GNUstep Email as "Email.app".


1. THE ALT KEY

When I press "Alt+<some key>", Emacs.app does not detect the Alt key 
and inserts the plain key in the buffer (e.g. Alt-X inserts "X"). 
Pressing "C-h c" and then "Alt+<some key>" shows that only <some key> 
has indeed been detected. The Alt key seems not to work at all under 
Emacs. (Note that I configured GNUstep to use my "Windows" key as the 
command key, so there should be no conflict with GNUstep).

Note that I am able to overcome this problem by pressing "ESC <key>".


2. THE ALTGR KEY

My italian keyboard layout produces {} using key combinations with 
Shift+AltGr, e.g. to produce "}" I press Shift+AltGr+*. This is 
Ubuntu's default for italian keyboards, and it is a common setting 
among other Linux distributions as well.

These keys work fine under X and GNUstep applications (such as 
Terminal.app and GNUMail), but under Emacs.app pressing Shift+AltGr+* 
produces a plain "*" instead of "}". It is worth to note that to 
produce "]" I have to press AltGr+*, and this works perfectly even 
under Emacs.app!

Fortunately, there is an alternative key sequence that produces {}, 
namely AltGr+7 and AltGr+0, and this works even under Emacs (because 
it does not use a Shift+AltGr sequence).


MY CONFIGURATION

I am running GNUstep under Linux Ubuntu 7.10 on a i386 laptop (Acer 
Aspire 1694Wlmi), and have set the command key to the "Windows key" of 
my keyboard. Here is the output of "defaults read | grep GSFirst":

NSGlobalDomain GSFirstAlternateKey Alt_R
NSGlobalDomain GSFirstCommandKey Super_L
NSGlobalDomain GSFirstControlKey Control_L

I have downloaded the Emacs.app source package and compiled it using 
the "nextstep/compile" script. All the GNUstep packages were installed 
using Ubuntu packages, including the development libraries:

gnustep-base-common (1.13.0-7)
gnustep-base-runtime (1.13.0-7)
libaddresses-dev (0.4.6-8)
libaddresses0 (0.4.6-8)
libaddressview-dev (0.4.6-8)
libaddressview0 (0.4.6-8)
libgnustep-base-dev (1.13.0-7)
libgnustep-base1.13 (1.13.0-7)
libgnustep-base1.13-dbg (1.13.0-7)
libgnustep-gui-dev (0.11.0-2)
libgnustep-gui0.11 (0.11.0-2)
libgnustep-gui0.11-dbg (0.11.0-2)
libpantomime1.2 (1.2.0~pre2.dfsg-2)
libpantomime1.2-dev (1.2.0~pre2.dfsg-2)
libpopplerkit-dev (0.0.20051227svn-4ubuntu1)
libpopplerkit0 (0.0.20051227svn-4ubuntu1)
librenaissance0 (0.8.0-10)
librenaissance0-dev (0.8.0-10)

The information about Emacs.app (compiled from sources) are:

GNU Emacs 23.0.0 (i686-pc-linux-gnu, *Step 9.0-rc2) of 2007-11-02 on 
tomasi-laptop

configured using `configure '--with-ns' '--without-x' '--prefix=' 
'--exec-prefix=/home/tomasi/emacs-23.0.0_NS-9.0rc2/nextstep/build/Emacs.app' 
'--libexecdir=/home/tomasi/emacs-23.0.0_NS-9.0rc2/nextstep/build/Emacs.app/libexec' 
'--with-pop' '--enable-font-backend' '--without-freetype' 'CFLAGS=-g 
-O2''

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: en_US.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Best regards,
   Maurizio Tomasi.

             reply	other threads:[~2007-11-02 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 13:57 Maurizio Tomasi [this message]
2007-11-03 10:07 ` Modifier keys not recognized in Emacs 23.0.0NS-9.0rc2 [Ubuntu Linux 7.10 using GNUstep] Adrian Robert

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=3578a4218726e09f9bbb253e82e45379@tomasi-laptop \
    --to=tomasi@lambrate.inaf.it \
    --cc=emacs-pretest-bug@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).