“ctrl+space” has been bound to invoke some input method and does not work in Emacs or Eclipse auto-complete


This can be caused by a number of different things.

For one, you might consider creating a new workspace and copy the old files into the new one. This has worked for others. Just remember to check the “Copy projects into workspace” when you import.

Another cause could be a wrong configuration in Eclipse. Go to
Preferences --> Java --> Editor --> Content Assist --> Advanced. Here you have to make sure “Other Java Proposals” is ticked.

It could also very well be another applications using the same shortcut which are conflicting with Eclipse. There are no such applications installed by default on Ubuntu though, but it you are using apps such as GNOME-DO (which i believe uses CTRL + SPACE) that might be your...

0 0

How to: Solve the ‘Ctrl-Space (auto-complete) not working’ problem in Eclipse

This problem is known by various names such as:

Ctrl-Space doesn’t do anything in Eclipse! Why can’t I get auto-complete to work properly in Eclipse? I’ve just set up a new University computer and things don’t work like they do on my laptop (maybe that one’s just me…)

It’s actually very simple to solve, but the problem is actually nothing to do with Eclipse. First of all, let’s see what the problem is:

You’ve just installed Eclipse, are starting to do some programming in it, and want to use the very handy auto-complete feature. So, you type part of a function name and press Ctrl-Space, waiting for the magic to work and the rest of the name to be automatically typed….but it doesn’t happen!

In the image above (which unfortunately doesn’t include the cursor) I had typed ST, and pressed Ctrl-Space to autocomplete it but nothing happened.

When trying to fix this...

0 0

ibus.el is IBus client for GNU Emacs.

ibus.el provides ibus-mode minor mode, which allows users on-the-spot style input with IBus on Emacs. The input statuses are individually kept for each buffer, and prefix-keys such as C-x and C-c can be used even if IBus is active. So you can input various languages fast and comfortably.

System requirements

emacs22 or emacs23 python (>= 2.5) ibus (>= 1.2) python-xlib


You can download ibus.el from ibus.el project in Launchpad If you use Ubuntu Linux, you can install ibus-el package from PPA for Irie's Elisp


Manual Installation

Save ibus.el and byte-compile in a directory that is listed in load-path, and save ibus-el-agent somewhere in your system. Put the following in your .emacs file: (require 'ibus) (add-hook 'after-init-hook 'ibus-mode-on) If ibus.el and ibus-el-agent are saved in different directories, add a setting to the above as follows: (setq...
0 0
0 0

Central system API to the overall input method framework (IMF) architecture, which arbitrates interaction between applications and the current input method. You can retrieve an instance of this interface with Context.getSystemService().

Topics covered here:

Architecture Overview Applications Input Methods Security

Architecture Overview

There are three primary parties involved in the input method framework (IMF) architecture:

The input method manager as expressed by this class is the central point of the system that manages interaction between all other parts. It is expressed as the client-side API here which exists in each application context and communicates with a global system service that manages the interaction across all processes. An input method (IME) implements a particular interaction model allowing the user to generate text. The system binds to the current input method that is use, causing it to be created and run, and...
0 0

The homepage for GNU Emacs is at http://www.gnu.org/software/emacs/.
For information on using Emacs, refer to the Emacs Manual.
To view this manual in other formats, click here.

This is the GNU Emacs Lisp Reference Manual corresponding to Emacs version 25.1.

Detailed Node Listing

Here are other nodes that are subnodes of those already listed, mentioned here so you can get to them in one step:

Copyright © 1990–1996, 1998–2016 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being “GNU General Public License,” with the Front-Cover Texts being “A GNU Manual,” and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled “GNU Free Documentation License.”

(a) The FSF’s Back-Cover...

0 0

By Mickey Petersen

Altering the key bindings in Emacs should not, on the face of it, be a difficult task. But there’s a reason why the Emacs manual has dedicated 30-odd pages to describing, in great detail, all the subtleties and nuances of how to bind keys.

To save you the time of reading all of that, I’ve written a guide that covers what you need to know to bind keys to even complex commands, and a set of templates you can use in your own code.

This guide will assume that you have little or no knowledge of elisp

What makes up a key bind?

Emacs is “self-hosting” and, depending on who you ask, close to achieving sentience. Almost all of Emacs is written in Emacs-Lisp (weighing in at roughly 1.2 million lines of code!), and most of the complex elisp functions you use are in turn built with simpler building blocks and so on, right down to the core C source code layer.

Emacs’s key engine is very similar, because Emacs lets you control almost...

0 0
GNU Emacs Manual - Characters, Keys and Commands Go to the first, previous, next, last section, table of contents.

This chapter explains the character sets used by Emacs for input commands and for the contents of files, and also explains the concepts of keys and commands which are fundamental for understanding how Emacs interprets your keyboard and mouse input.

GNU Emacs uses an extension of the ASCII character set for keyboard input; it also accepts non-character input events including function keys and mouse button actions.

ASCII consists of 128 character codes. Some of these codes are assigned graphic symbols such as `a' and `='; the rest are control characters, such as Control-a (usually written C-a for short). C-a gets its name from the fact that you type it by holding down the CTRL key while pressing a.

Some control characters have special names, and special keys you can type them with: for example, RET, TAB, LFD, DEL and ESC. The space character...

0 0

I am creating an IDE for a game script with similar functionality as the Visual Studio IDE (at least, some of it). The game script consist of code that looks visually a bit like C code. It uses braces to define the start and end of a 'class' and uses nested braces to define the start and end of an 'event' in a class. What I want finally is to have two Comboboxes above the text editor, one that lists each Class and the other listing each Event. The comboboxes should also show the Class and Event that the caret is currently in, just like in Visual Studio.I have attached an example of such a script (you can open it with Notepad).However, here is a short example where you can also see how I "defined" classes and events: class1 { event1 { [code].... As you can see, the classes are the 'names' of each block of code, defined by matching braces { }. The events are the names of each nested block of code, also defined by matching braces { } but inside a class....

0 0

Installing ibus 1.5.5-1ubuntu1 breaks Emacs 24's control-space keybinding. I generally have that bound to a custom lisp function, but by default (e.g. starting with `emacs -Q`) it is bound to set-mark-command. After doing a dist-upgrade in Trusty which installs ibus 1.5.5-1ubuntu1, emacs no longer even sees the control-space key chord. My guess is that ibus is consuming this event, preventing emacs from seeing it. This is a critical regression that makes emacs almost unusable.

By process of elimination, I've narrowed it down to one of these 4 binary packages.


ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ibus 1.5.5-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-8.27-generic 3.13.2
Uname: Linux 3.13.0-8-generic x86_64
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Feb 10 15:15:57 2014
EcryptfsInUse: Yes

0 0

High-level description of the existing Emacs support for editing reStructuredText text documents. Suggested setup code and usage instructions are provided.

reStructuredText is a syntax for simple text files that allows a tool set - docutils - to extract generic document structure. For people who use Emacs, there is a package that adds a major mode that supports editing the syntax of reStructuredText: rst.el. This document describes the features it provides, and how to setup your Emacs to use them and how to invoke them.

Emacs support for reStructuredText is implemented as an Emacs major mode (rst-mode) provided by the rst.el Emacs package.

Emacs distributions contain rst.el since version V23.1. However, a significantly updated version of rst.el is contained in Emacs V24.3. This document describes the version of rst.el contained in Emacs V24.3 and later versions. This version of rst.el has the internal version V1.4.1.

If you have Emacs V24.3 or later you...

0 0

It sounds like you have Ibus running, which uses Ctrl + Space by default to enable/disable the input editor.

You can change the shortcut key assigned to it in Ibus Preferences.

If Ibus is running in the menubar, you can right-click to choose Preference from the menu. If Ibus is not running in the menubar, you can start the Preferences dialog from the Dash by running Keyboard Input Methods or from the terminal with ibus-setup.

Update for 14.04

ibus-setup is no longer available for 14.04. Functions from the former ibus-setup are instead integrated into System Settings >> Text Entry.

Input switching is now set by default to Super + Space, but Ibus may still steal focus from the Control + Space keybinding and cause other system problems, most notably the auto-complete in Eclipse.

Integration of Ibus input switching into the new Text Entry settings is still a work in progress, and this is causing the problem since the older setting still...

0 0