From: Rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cant type unicode in emacs any more
Date: Tue, 29 Apr 2014 08:51:08 -0700 (PDT) [thread overview]
Message-ID: <4e6d9045-d68e-4288-aea4-7b9cf46c5d18@googlegroups.com> (raw)
In-Reply-To: <mailman.261.1398775319.1147.help-gnu-emacs@gnu.org>
On Tuesday, April 29, 2014 6:14:45 PM UTC+5:30, Eric Abrahamsen wrote:
> Rusi writes:
> > For some time now I have this in my X startup programs:
> > $ setxkbmap -option compose:menu
> > After this I can type (in mostly any window) for example:
> > (with MN being the windows-menu key)
> > MN.. gives ... ie an ellipses
> > MN--. gives - ie an en dash
> > MN--- gives -- ie an em dash
> > Not to mention all the e" giving ë
> > etc etc - all the unicode goodies at
> > /usr/share/X11/locale/$LANG/Compose
> > Now suddenly its stopped working.
> > ie it works in most other X apps but not in emacs
> > I thought there may be a race-condition between the setxkb and emacs
> > which are both in my startup programs.
> > So I ran the setxkb command by hand from a shell and (re)started emacs
> > from the shell
> > No luck:
> > The compose works outside emacs
> > Doesn't work inside
> > Any clues?
> > Its the same for emacs 23 and 24
> Many of us have had to start emacs with the XMODIFIERS environment
> variable *unset* for quite some time, to make this work:
> /usr/bin/env -u XMODIFIERS /usr/bin/emacs
> If I recall correctly, the emacs developers have caught this and fixed
> it (?) in the development trunk, but I wouldn't be surprised if that
> hasn't made its way to any releases yet. Why you've only bumped into
> this recently I can't say, though again I have a feeling that one of the
> linux distros updated not too long ago in a way that exposed this bug.
> Anyhow, try unsetting the environment variable and see if that's it...
No that did not work
However Ive found what made it stop working:
I had created a .XCompose file containing the one line
<Multi_key> <less> <bar> : "↵" U21B5
No I am not very addicted to the ↵ character -- just trying out how easy
it is to add one's own compose-sequences
Removing the .XCompose file makes it work again.
This of course raises more questions than it answers:
Minor: If its a bug/inconsistency then in whom
Significant: I thought X was one (or more) levels below emacs.
Why is emacs (effectively) looking into .XCompose?
Because currently the behavior I am seeing is:
- Other apps *add* contents of .XCompose to the builtin composeables
- Emacs *replaces* builtins with .XCompose
next prev parent reply other threads:[~2014-04-29 15:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-29 11:22 Cant type unicode in emacs any more Rusi
2014-04-29 12:44 ` Eric Abrahamsen
[not found] ` <mailman.261.1398775319.1147.help-gnu-emacs@gnu.org>
2014-04-29 15:51 ` Rusi [this message]
2014-04-30 12:19 ` Stefan Monnier
[not found] ` <mailman.368.1398860422.1147.help-gnu-emacs@gnu.org>
2015-01-02 2:57 ` Rusi
2015-01-02 3:10 ` Rusi
2015-01-02 5:23 ` Rusi
2015-01-04 3:53 ` Rusi
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=4e6d9045-d68e-4288-aea4-7b9cf46c5d18@googlegroups.com \
--to=rustompmody@gmail.com \
--cc=help-gnu-emacs@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.
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).