https://bugzilla.redhat.com/show_bug.cgi?id=835313
Bug ID: 835313 QA Contact: extras-qa@fedoraproject.org Severity: unspecified Version: 16 Priority: unspecified CC: dueno@redhat.com, i18n-bugs@lists.fedoraproject.org Assignee: dueno@redhat.com Summary: ibus-init.el flaw: forgets to test whether it runs under X Regression: --- Story Points: --- Classification: Fedora OS: Unspecified Reporter: aeb@cwi.nl Type: Bug Documentation: --- Hardware: Unspecified Mount Type: --- Status: NEW Component: emacs-ibus Product: Fedora
Description of problem: start emacs and see error messages printed by ibus
Version-Release number of selected component (if applicable): emacs-ibus-0.3.1-1.fc16.noarch (bug in emacs-ibus.spec, not upstream)
How reproducible:
Steps to Reproduce: 1. do a remote login to a Fedora 16 machine 2. start emacs -nw on an xterm 3. see error messages
Actual results: % emacs -nw IBus: Xlib.error.DisplayConnectionError: Can't connect to display "...": [Errno 113] No route to host IBus: Process ibus-agent exited abnormally with code 1 IBus: error: ("process: ibus-agent status: exit")
Expected results: Correct emacs startup.
Additional info: Clearly ibus expects to be started only on X. But emacs-ibus.spec creates a 2-line file ibus-init.el that starts ibus unconditionally, without testing (equal window-system 'x) or so.