Emmabuntus, Ubuntu, Derivate, Linux, Open Source BackTrack, Linux, distributions, Ubuntu, derivate, securuty, forensic VirtualBox, Linux, Ubuntu, Raring Ringtail synaptic, Ubuntu, Linux, software packages jwplayer, multimedia, Linux, Ubuntu, flash Meshlab, graphic, software, Ubuntu, open source, Linux Synapse, Linux, Ubuntu, raring, Quantal Gimp, Ubuntu, Linux FreeMind, Linux, open source Linux, infographic, history

QEmacs, small emacs clone editor with HTML and DocBook editing support.

QEmacs, small emacs clone editor with HTML and DocBook editing support

QEmacs (for Quick Emacs) is a very small but powerful UNIX editor. It has features that even big editors lack :

    * Full screen editor with an Emacs look and feel with all Emacs common features: multi-buffer, multi-window, command mode, universal argument, keyboard macros, config file with C like syntax, minibuffer with completion and history.
    * Can edit files of hundreds of Megabytes without being slow by using a highly optimized internal representation and by mmaping the file.
    * Full Unicode support, including multi charset handling (8859-x, UTF8, SJIS, EUC-JP, ...) and bidirectional editing respecting the Unicode bidi algorithm. Arabic and Indic scripts handling (in progress).
    * WYSIWYG HTML/XML/CSS2 mode graphical editing. Also supports lynx like rendering on VT100 terminals.
    * WYSIWYG DocBook mode based on XML/CSS2 renderer.
    * C mode: coloring with immediate update. Emacs like auto-indent.
    * Shell mode: colorized VT100 emulation so that your shell work exactly as you expect. Compile mode with next/prev error.
    * Input methods for most languages, including Chinese (input methods come from the Yudit editor).
    * Hexadecimal editing mode with insertion and block commands. Unicode hexa editing is also supported.
    * Works on any VT100 terminals without termcap. UTF8 VT100 support included with double width glyphs.
    * X11 support. Support multiple proportionnal fonts at the same time (as XEmacs). X Input methods supported. Xft extension supported for anti aliased font display.
    * Small! Full version (including HTML/XML/CSS2/DocBook rendering and all charsets): 200KB big. Basic version (without bidir/unicode scripts/input/X11/C/Shell/HTML/dired): 49KB.

Configuration files:

QEmacs tries to load a configuration file in `~/.qe/config'. Each line of the configuration file is a QEmacs command with a C like syntax ('-' in command name can be replaced by '_').

Read the example file `config.eg' to have some examples.

The following commands are useful:

global_set_key(key, command)
    Set a global key binding to a command.
set_display_size(width, height)
    (X11) Set the window size, in character cells.
set_system_font(family, system_fonts)
    (X11) Maps a system font to a QEmacs font family. Multiple fonts can be given as fallback
set_style(stylename, css_property, css_value)
    Set a colorization style (see `qestyle.h' and `config.eg' for common style names)

Editing Modes
 C mode

This mode is currently activated by `M-x c-mode'. It is activated automatically when a C file is loaded.
 Hexadecimal, ascii and unihex modes

Unlike other editors, QEmacs has powerful hexadecimal editing modes: all common commands are working these modes, including the block commands.

The hexadecimal mode (M-x hex-mode) shows both the hexa decimal and ascii (bytes) values. You can toggle between the hexa and ascii columns with 'TAB'.

The ascii mode (M-x ascii-mode) only shows the ascii column.

The unihex mode (M-x unihex-mode) shows both the unicode and glyph associated to each character of the buffer by using the current buffer charset.

You can change the line width in these modes with 'C-left' and 'C-right'.
shell mode

You can activate it with M-x shell. Unlike other editors, a very complete colorized VT100 emulation is done [it means you can launch qemacs in the qemacs shell :-)].

By default, interactive mode is selected. It means that most keys you type are transmitted to the shell. This way, you can use the shell completion and editing functions. By pressing C-o, you toggle between interactive and editing mode. In editing mode, you can editing the shell buffer as any other buffer.
 Dired mode

You can activate it with C-x C-d. You can open the selected directory with RET or right. left is used to go to the parent directory. The current selected is opened in the right window.
 Bufed mode

You can activate it with C-x C-b. You can select with RET or right the current buffer.
 XML mode

This mode is currently activated by M-x xml-mode. It is activated automatically when an XML file is loaded.

Currently, only specific XML colorization is done in this mode. Javascript (in SCRIPT tags) is colored as in C mode. CSS Style sheets (in STYLE tags) are colorized with a specific color

 Graphical HTML2/CSS mode

This mode is currently activated by M-x html-mode. It is activated automatically when an HTML file is loaded.

The XML/HTML/CSS2 renderer has the following features:

    * The parse errors are written in buffer '*xml-error*'.
    * Strict XML parser or relaxed mode for HTML pages.
    * Letter case can be ignored or strictly respected.
    * Integrated HTML to CSS2 converter so that the renderer do not depend on HTML quirks.
    * Quite complete CSS2 support (including generated content and counters).
    * Full Bidirectionnal Unicode support.
    * Table support with both 'fixed' and 'auto' layout algorithms.
    * 'tty' and 'screen' CSS2 medias are supported.

6.7.3 Known limitations

    * Cannot load external resources (e.g. style sheets) from other files.
    * No image handling (only a rectangle with 'ALT' name is drawn).
    * No javascript.
    * No frames.



Adserver          610x250

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:


Share on Google Plus

About Hugo Repetto

Ubuntu is a Linux distribution that offers an operating system predominantly focused on desktop computers but also provides support for servers. Based on Debian GNU / Linux, Ubuntu focuses on ease of use, freedom in usage restriction, regular releases (every 6 months) and ease of installation.
    Blogger Comment
    Facebook Comment


Post a Comment