[Regression] X resources take no effect

Bug #949126 reported by IRIE Shinsuke on 2012-03-07
This bug affects 11 people
Affects Status Importance Assigned to Milestone
emacs23 (Ubuntu)
emacs24 (Ubuntu)

Bug Description

Ubuntu 12.04
Emacs 23.3+1-1ubuntu8

I'm setting "Emacs*useXIM: false" in ~/.Xresources file to use Emacs' internal input method, but Emacs on Precise ignores this setting, so I cannot use the internal input method. It's very annoying that XIM unwantedly handles the key events!

Also, all of the other X resources are ignored and the settings are not working at all.

== Regression details ==
Discovered in version: emacs23 23.3+1-1ubuntu8
Last known good version: emacs23 23.3+1-1ubuntu7

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in emacs23 (Ubuntu):
status: New → Confirmed
Hajime Mizuno (mizuno-as) wrote :

see: https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/725988

Emacs Class has been changed to Emacs23.
Please try Emacs23*useXIM.

Changed in emacs23 (Ubuntu):
status: Confirmed → Invalid
Hajime Mizuno (mizuno-as) wrote :

Re-open this bug.

LP #725988 response is not reasonable.
Better do not change the Window Class. Because, there may be side effects.

Changed in emacs23 (Ubuntu):
status: Invalid → Confirmed
IRIE Shinsuke (irie) wrote :

I think this is exactly a bug.

EMACS_CLASS should not be changed for such a minor issue.

IRIE Shinsuke (irie) on 2012-03-12
summary: - X resources take no effect
+ [Regression] X resources take no effect
IRIE Shinsuke (irie) on 2012-03-12
description: updated
tags: added: regression-release
IRIE Shinsuke (irie) wrote :

Attached a patch. This is for debian directory (not a quilt patch).

This patch removes the patch introduced in LP #725988, and gives another solution which creates a symlink emacs.desktop as follows:

1. Install upstream emacs.desktop file into /usr/share/emacs/@FULL_VERSION@/etc/

2. Use the Debian alternatives system for /usr/share/applications/emacs.desktop by adding the following to emacsVER.postinst:

  --slave /usr/share/applications/emacs.desktop emacs.desktop \
          /usr/share/emacs/@FULL_VERSION@/etc/emacs.desktop \

3. Remove @MENU_VERSION@ from StartupWMClass in emacsVER.desktop

Note that emacsVER.desktop is still necessary when the multiple flavors (emacs23, emacs24, emacs-snapshot, etc.) are installed. emacsVER.desktop will be used to launch the desired flavor's Emacs.

tags: added: patch

The attachment "a patch for debian directory (not a quilt patch)" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

IRIE Shinsuke (irie) wrote :

Updated the patch for emacs23 23.3+1-1ubuntu9. No functional change.

Deokhwan Kim (dkim) on 2012-07-27
security vulnerability: no → yes
security vulnerability: yes → no
Richard Hansen (rhansen) wrote :

also affects emacs24

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers