Code Monkey home page Code Monkey logo

ibus's Introduction

ibus.el README

----------------------------------------------------------------------
0. Introduction
----------------------------------------------------------------------

IBus is a new input method framework under active development which
is designed to overcome the limitations of SCIM.

IBus uses D-Bus protocol for communication between the ibus-daemon
and clients (engines, panel, config tools). Since the components
run in separate processes there is enhanced modularity and stability.
Client processes can be loaded, started and stopped independently.
The input method engines and clients can be written in any language
with a dbus binding.

ibus.el is a IBus client for GNU Emacs. This program allows users
on-the-spot style input with IBus. 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 by using it.

This program is *not* a part of IBus.

----------------------------------------------------------------------
1. License
----------------------------------------------------------------------

GNU General Public License version 3

----------------------------------------------------------------------
2. Requirements
----------------------------------------------------------------------

emacs (>= 22)
python (>= 2.5)
ibus (>= 1.2)
python-xlib

----------------------------------------------------------------------
3. Installation
----------------------------------------------------------------------

i) Common settings

Save this file as ibus.el and byte-compile in a directory that is
listed in load-path, and also 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 ibus-agent-file-name "/PATH/TO/ibus-el-agent")

To disable XIM in Emacs, put the following in ~/.Xresources:

 Emacs*useXIM: false

and restart X session or execute a shell command:

 xrdb ~/.Xresources

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ii-a) Using ibus-anthy

To toggle half-width eisu mode by C-j, add the following to .emacs:

 (ibus-define-common-key ?\C-j t)

To use kana input method with jp106 keyboard, you can enable kana
onbiki key as follows:

 (setq ibus-use-kana-onbiki-key t)

If you use thumb shift input method, you have to specify the
simultaneous pressing time as:

 (setq ibus-ibus-simultaneous-pressing-time 0.1)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ii-b) Using ibus-skk

To enter kana mode by C-j, add the following to .emacs:

 (ibus-define-common-key ?\C-j t)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ii-c) Using ibus-mozc

To toggle half-width eisu mode by C-j, add the following to .emacs:

 (ibus-define-common-key ?\C-j t)

By default, the suggestion window is shown under the start point of
preedit text. To put the window at the cursor position as in the other
applications, add the following to .emacs:

 (setq ibus-prediction-window-position t)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ii-d) Using ibus-chewing

Please set input style to "in application window" in ibus-chewing's
configuration dialog.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

iii) Example of settings in .emacs

 (require 'ibus)
 ;; Turn on ibus-mode automatically after loading .emacs
 (add-hook 'after-init-hook 'ibus-mode-on)
 ;; Use C-SPC for Set Mark command
 (ibus-define-common-key ?\C-\s nil)
 ;; Use C-/ for Undo command
 (ibus-define-common-key ?\C-/ nil)
 ;; Change cursor color depending on IBus status
 (setq ibus-cursor-color '("red" "blue" "limegreen"))

----------------------------------------------------------------------
4. Web sites
----------------------------------------------------------------------

Home page (in Japanese):

 http://www11.atwiki.jp/s-irie/pages/21.html

Wiki:

 http://www.emacswiki.org/emacs/IBusMode

Development:

 https://launchpad.net/ibus.el

Bug tracker:

 https://bugs.launchpad.net/ibus.el

----------------------------------------------------------------------
5. Author
----------------------------------------------------------------------

IRIE Shinsuke <[email protected]>

ibus's People

Contributors

iri-e avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.