basic beginning emacs questions - install latest version and pick appropriate UI
Posted
by
MountainX
on Ask Ubuntu
See other posts from Ask Ubuntu
or by MountainX
Published on 2012-03-31T01:25:31Z
Indexed on
2012/03/31
5:41 UTC
Read the original article
Hit count: 400
I'm running the latest Kubuntu (12.04 beta 2) and I would like to run the latest emacs (currently v24). The repos are one version behind. What's the best way to install v24 or later (and avoid future version conflicts)?
Also, is there any reason not to aways use the GUI version of emacs if X is running? For example, could I set the GUI emacs version as the default text editor and use it to edit cron jobs (crontab -e)? I'm assuming the answer is yes, but since I haven't done that yet (my default editor is nano), I want to check if there are reasons I should leave nano as the default editor.
Usually when I'm working on the command line I end up using nano. Now that I think about it, I have no idea why I keep doing that. Is there any downside to calling a GUI editor when working in an X terminal?
EDIT: I briefly tested these two versions
- GNU Emacs 24.0.94.1 (x86_64-pc-linux-gnu, GTK+ Version 3.3.20) from
- GNU Emacs 23.3.1 (x86_64-pc-linux-gnu) installed by default in Kubuntu.
This post explains some of the differences between versions.
Unfortunately (for me) the defaults installed version (23.3.1, 23.3+1-1ubuntu9) is the nox version.
Package: emacs23-nox
Status: install ok installed
Version: 23.3+1-1ubuntu9
Replaces: emacs23, emacs23-gtk, emacs23-lucid
The package with version 24 opens in GUI mode by default. That's what I prefer. Some of the version 24 changes that interest me are listed in the references below.
But there appear to be a multitude of different packages and versions I could install.
References:
What’s New In Emacs 24 (part 1) | Mastering Emacs http://www.masteringemacs.org/articles/2011/12/06/what-is-new-in-emacs-24-part-1/ " shell-mode uses pcomplete rules, with the standard completion UI. Yowzah! There’s a lot of cool, new functionality hidden away in this gem of a change."
EmacsWiki: Recent Changes http://www.emacswiki.org/emacs/?action=rc;showedit=0
© Ask Ubuntu or respective owner