bmonkey's Emacs page

[Japanese]


Stuff on Emacs (a text editor integrated with an interactive Lisp environment) by the Free Software Foundation) and its cousin XEmacs.


Update information

21 August 2004
Release mcomplete.el version 1.5.
9 January 2004
Release screen-lines.el version 0.55 (kill-line improvement for GNU Emacs21).
18 December 2003
Release mcomplete.el version 0.20 (to get along with howm 1.1)
28 October 2001
Released mcomplete.el version 0.18 (for GNU Emacs21).

My environment

Debian GNU/Linux
Windows 9x

My init (.emacs) file

.emacs

Bookmarks on Emacs

This is in Netscape communicator's bookmarks file format. You can import this file into your communicator's bookmarks.

Emacs Lisp packages

completing-help.el (35,328 bytes)
Version
3.13
Info
;; This package enhances the completion mechanism of Emacs by
;; allowing you to display information on completions.
;;
;; While entering an argument to a command which supports completion
;; in the minibuffer, by pressing `?', you see possible completions
;; of what you've entered so far. This is one of the standard features
;; of Emacs.
;;
;; With this package, you can see not only possible completions, but
;; also information on them (e.g. docstrings of elisp variables.)
;;
;; This package directly supports the following standard commands:
;;
;;     bookmark-jump            (C-x r b)
;;     customize-group          (M-x customize-group, also on the menu-bar)
;;     customize-option         (M-x customize-option, also on the menu-bar)
;;     describe-function        (C-h f)
;;     describe-variable        (C-h v)
;;     execute-extended-command (M-x)
;;     find-function            (M-x find-function)
;;     find-variable            (M-x find-variable)
;;     setenv                   (M-x setenv)
;;     where-is                 (C-h w)
;;
;; As for the other commands, this package can guess, to some extent,
;; what's relevant as help information, based on knowledge of the type
;; of argument you are entering, so your custom commands and other
;; standard commands might work right off the bat without requiring
;; any configuration on your part. You can also add support for a command
;; by defining a "group" (a property list) for it,
;; see "How this package works" section.


;;; Requirements:

;; Tested with GNU Emacs 20.7.2 and XEmacs 21.1.9.


;;; Compatibility:

;; This package can work with `icomplete.el' and `complete.el'
;; (both of which also enhance the completion mechanism.)


;;; Change Log:

;; Version 3.13 (9 Dec 2000)
;;  * Discovered the cause of `completing-read' problem of XEmacs described
;;    in yesterdays change log.
;;    The redefinition of `completing-read' done by evi.el distributed with
;;    `lookup' package seems to corrupt the defadvise facility.
;;    The problem was solved simply to load evi.el and completing-help.el
;;    in that order in .emacs. The same problem would reappear whenever
;;    another package tries to redefine advised functions (precisely, then
;;    call the original function).

;; Version 3.11 (8 Dec 2000)
;;  * Changed not to advise `completing-read' when running on XEmacs.
;;    On XEmacs, using `defadvise' for `completing-read' causes
;;    an unpredictable error. See the ";;; Bugs" section for specifics.
;;    This means that completing-help won't work for some commands
;;    on XEmacs any more.

;; Version 3.5 - 3.10
;;  * Changed to use `minibuffer-prompt-end' if available for Emacs 21

;; Version 3.4 (29 Sep 2000):
;;  * Nearly a complete rewrite
;;  * Not compatible with the previous versions.
;;  * Changed to use group symbols and property lists.
;;  * Abolished weird format options.
;;  * Wrote doc on how to add support for a command.
            

iman.el (21,043 bytes)
Version
2.22
Info
;; Call the viewers of Unix manual pages and GNU Info with completion.
;;
;; This package provides the `iman' command.
;; The `iman' command reads the name of a Unix manual page or an item of
;; GNU Info top directory in the minibuffer with completion, and shows
;; that page.
;;
;; The job of actually showing the page is done by calling the standard
;; viewers.


;;; Requirements:

;; Tested with GNU Emacs 20.6.2 and XEmacs 21.1.9 on Debian GNU/Linux.
;;
;; You need a man(1) program. You probably have one already if you
;; run a Unix like system.


;;; Enhancements:

;; completing-help.el (>= version 3.3)
;;   With this packege, short descriptions on completions is displayed
;;   by pressing <TAB> (XEmacs only) or `?' which looks like:
;;   -----------------------------------------------------------------
;;   Click mouse-2 on a completion to select it.
;;   In this buffer, type RET to select the completion near point.
;;    
;;   Possible completions are:
;;   find(1)             - search for files in a directory hierarchy
;;   findaffix(1)        - Interactive spelling checking
;;   finding files: (find).   Listing and operating on files that mat$
;;   findoidjoins(1)     - list joins on oids between PostgreSQL tabl$
;;   findsuper(8)        - No manpage for this program, utility or fu$
;;   -----------------------------------------------------------------


;;; Change Log:

;; Version 2.22 (29 Sep 2000)
;;  * Changed to support completing-help.el (>= version 3.3)
;;  * Cleaned up some code.
;;  * Added `iman-ignore-case'.


          

mcomplete.el (49,743 bytes)
Version
1.5
Info
;; This package enhances Emacs's minibuffer completion mechanism.
;;
;; In short, this is icomplete.el + iswitchb.el +/- something.
;;
;; Features:
;;  * supports 2 completion methods (prefix and substring matching).
;;    Prefix matching is the Emacs's default completion method.
;;    Substring matching is a completion method where all the
;;    completion commands work in terms of a substring of the
;;    all possible completions.
;;    e.g.  "buffer" matches "backup-buffer", "buffer-name",
;;                                   ^^^^^^    ^^^^^^
;;          "exit-minibuffer", ...
;;                    ^^^^^^
;;
;;    You can cycle through the completion methods by `C-n' and
;;    `C-p' in the minibuffer.
;;
;;  * displays possible completion candidates in the minibuffer.
;;    e.g. When you enter `M-x apr', the minibuffer looks like
;;         the following:
;;         M-x apr[opos]{,-command,-documentation,-value,-zippy}
;;
;;  * `RET' in the minibuffer picks the first candidate displayed.
;;    e.g. `M-x apr RET' selects `apropos' command (and execute it).
;;
;;    You can cycle through the candidates by `C-s' and `C-r'.
;;
;;    When you want to give the exact string you entered, use `M-RET'
;;    or `ESC RET'.
;;
;;  * `C-c' in the minibuffer toggles case significance in completion.
;;
;;  * supports faces (highlights the display).
;;
;;  * supports customization per user command.


;;; Requirements:

;; Tested with GNU Emacs 20.7.2, GNU Emacs 21.0.91.1 and XEmacs 21.1.9.


;;; Compatibility:

;; complete.el
;;   tab, space, ... is used for mcomplete-mode.
;;   M-tab, M-SPACE, ... might work.
;;
;; completing-help.el (>= version 3.3)
;;   With this packege, short descriptions on completions is displayed
;;   by pressing `?'.
;;
;; icomplete.el
;;   icomplete-mode gets turned off when mcomplete-mode is activated.
;;
;; ido.el (http://www.cua.dk/emacs.html)
;;   Both work. ido commands take precedence.
;;
;; iswitchb.el
;;   Both work. iswitchb commands take precedence.


;;; Change Log:

;; Version 1.5 (21 Aug 2004)
;;  * Apply a patch from J.D. Smith which changes the way completion candidates
;;    are sorted in subtring match method to combine the best of both
;;    prefix and substring completion methods. By this change, completion
;;    candidates which match the prefix are sorted to show up *before*
;;    candidates which match in the middle.
;;    So in substring match method, when you enter `M-x set-v', you get
;;    M-x set-v<set-variable, set-visited-file-name customize-set-value,...>
;;    Instead of
;;    M-x set-v<customize-set-value, set-variable, set-visited-file-name,...>
;;    Any comments are welcome about this change.

;; Version 0.20 (18 Dec 2003)
;;  * To get along with howm 1.1, apply patch from HIRAOKA Kazuyuki <hira@ics.saitama-u.ac.jp>
;;  * Correct doc error in the last line of Activation section
;;    (`M-x turn-on-mcomplete-mode' should be `M-x turn-off-mcomplete-mode'),
;;    which Stephen Eglen reported.

;; Version 0.18 (28 Oct 2001)
;;  * Use `minibuffer-prompt-end' if available for Emacs 21
;;  * Avoid "FSF Emacs" and use "GNU Emacs" since that seems more appropriate.
          

screen-lines.el (24,052 bytes)
Version
0.55
Info
;; This package provides "Screen Lines" minor mode.
;; In this minor mode, the following standard commands work in terms of
;; screen lines, as opposed to text lines when they are called interactively.
;;
;;     `beginning-of-line' (C-a)
;;     `end-of-line'       (C-e)
;;     `next-line'         (C-n, down)
;;     `previous-line'     (C-p, up)
;;     `kill-line'         (C-k)
;;
;; Screen Lines minor mode should be handy when you edit a file with
;; long lines.


;;; Requirements:

;; Tested with GNU Emacs 20.7.2 and XEmacs 21.1.12 on Debian GNU/Linux woody.


;;; Change Log:

;; Version 0.55 (9 Jan 2004)
;;  * Modify Screen-lines-kill-line to work properly on GNU Emacs 21 when point
;;    is at the beginning of a screen line.
;;
;; Version 0.52 (25 Dec 2000)
;;  * Advised `kill-line' to use `Screen-lines-kill-line'.
;;  * Changed the implementation of Screen-lines-beginning-of-line,
;;    Screen-lines-end-of-line, screen-lines-current-column and
;;    screen-lines-move-to-column to work more properly in outline-mode.
;;  * Added turn-on-screen-lines-mode and turn-off-screen-lines-mode
;;  * All the standard commands advised by this package work in terms of
;;    screen lines only if they are called interactively irrespective of
;;    the state of Screen Lines minor mode. (See `screen-lines-mode-p'.)
;;
;;    Hopefully, this should solve compatibility problems with other
;;    packages which call these commands, expecting their original behavior
;;    (e.g. fontlock-lock.el).
;;
;;    On the other hand, there are other packages which work more naturally
;;    if they are under the influence of screen lines mode
;;    (e.g. pc-select.el).
;;    So I introduced `screen-lines-mode-commands' variable for them.
;;  * Fixed a bug in screen-lines-move-to-column.
;;    When a line ended with a tab, and the tab stretched over to
;;    the next line by line folding, `Screen-lines-next-line' didn't
;;    move point.
;;  * Added enabled, disabled messages

tmenu.el (37,142 bytes)
Version
0.23
Info
;; This package provides a text based interface to the menubar.
;; In order to test this as you see this file, proceed as follows:
;;   1: Load this package:  M-x eval-buffer
;;   2: Browse the menubar: M-x tmenu-menubar
;;   3: You see something like the following:
;;      -------------------------------------------------------------
;;      Click mouse-2 on a completion to select it.
;;      In this buffer, type RET to select the completion near point.
;;      
;;      Possible completions are:
;;      b > Buffers                        f > Files
;;      t > Tools                          e > Edit
;;      s > Search                         m > Mule
;;      E > Emacs-Lisp                     h > Help
;;      -------------------------------------------------------------
;;   4: Press the first character (e.g. b for Buffers, E for Emacs-Lisp)
;;      to select the menu item.
;;      Enter C-g to exit the menu without selecting any item.

;;; Requirements:

;; Tested with GNU Emacs 20.7.2 and XEmacs 21.1.12.


;;; Change Log:

;; Version 0.23
;;  * Fixed a bug where tmenu-merge-keymaps distroys some keymap entries
;;    when the local keymap trys to undefine some of the global-map.

;; Version 0.22 (06 Dec 2000):
;;  * First public release
            

There're some elisp files on Junkyard page.

Elisp packages related to Common Lisp are on Lisp page.


[Top page]
Yuji Minejima ggb01164@nifty.ne.jp