Tag Info

Hot answers tagged


By now Cassou's PPA offers not only an emacs-snapshot but also an emacs24 package which provides the current stable version of Emacs 24. ppa:cassou/emacs (Click here for instructions on using PPAs.)


I love Vim. It's so powerful and effective and perfect in every way. However, most of the time I just use gedit, because I'm not as powerful and effective as Vim.


That would be emacs-nox I believe. This is the meta-package that currently points to emacs24-nox . Description: The GNU Emacs editor (without X support) So, just as before but with that package: sudo apt-get install emacs-nox or sudo apt-get install emacs24-nox For cases like this, where you wonder what's in what package, try this : ...


Nano is the easiest to use and learn. A lot of people will swear by Vim and Emacs but Nano is a very good text editor. Nano is good for editing a config file but if you are going to program you'll be better off using Vim or Emacs. Nano supports highlighting. But this is very subjective. Everyone is going to have their favorite editors for some reason. Find ...


The command-line emacs is installed along with the GUI. To run it, use the -nw option. An explanation from man emacs: -nw, --no-window-system Tell Emacs not to use its special interface to X. If you use this switch when invoking Emacs from an xterm(1) window, display is done in that window. So run the following ...


I had this same issue and it looks like it's a problem with ibus. From the commandline run: ibus-setup Under General::Next Input Method you should see <Control>space. Click on the three dots and change it to something else. Hit Apply and close out. ctrl-space should work in Emacs now.


Consider using Damien Cassou's PPA: To add this PPA: sudo add-apt-repository ppa:cassou/emacs sudo apt-get update For emacs-snapshot: sudo apt-get install emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot Or, for emacs24 (i.e. 24.3, stable): sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg Update As mentioned in Damien Cassou's ...


The temporary solution You can press C-x C-+ and C-x C-- to increase or decrease the buffer text size. The permanent solution Put the following in your .emacs-file: (set-face-attribute 'default nil :height 100) The value is in 1/10pt, so 100 will give you 10pt, etc. Source: How to set the font size in emacs?


The short answer is that you almost certainly want emacs23: it's the full version of Emacs 23 with graphical support. emacs23-nox is the same, but without any graphical support. If you're installing Emacs onto a server or other environment that lacks an X window system, you should fetch this version instead. (Note that emacs23 works just fine on the ...


First off, you should download the Emacs 24.4 source tarball: cd ~ mkdir emacs-src && cd emacs-src wget http://mirror.team-cymru.org/gnu/emacs/emacs-24.4.tar.gz tar xvf emacs-24.4.tar.gz Now, you want to compile the Emacs binary. sudo apt-get install build-essential sudo apt-get build-dep emacs24 cd emacs-24.4 ./configure make sudo make install ...


emacs without suffix is the GTK+ version of Emacs emacs-nox with the -nox suffix is the emacs version without the X server support. emacs-lucid with the -lucid suffix includes the Emacs with a Lucid user interface. Now the question is "What is the Lucid interface?" Certainly the package description isn't helpful in this case. Fortunately I found a bug ...


Emacs' default mode is to create a backup file with a "~" suffix every time you edit and save a file. You can disable this by creating a .emacs file in your home directory and setting an option inside it. This happens with Emacs on all platforms. Other editors may do the same under Ubuntu, but it has nothing to do with Ubuntu itself.


If you're using gtk3 the settings are in the libgtk-3-common package in /usr/share/themes/Emacs/gtk-3.0/gtk-keys.css and you can enable them with: gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" And to switch back: gsettings set org.gnome.desktop.interface gtk-key-theme "Default" If you're using gtk2 the settings are in the ...


Press Ctrl-Space to mark start of block. Move cursor until end of block. Press Alt-w to copy Move to insert position Press Ctrl-y to paste


The solution is to create an emacsclient.desktop file including a directive to it the class of the window using the StartupWMClass settings. Without it, Unity can't tell that that window came from Emacsclient. This will create one based on the contents of the Emacs one (/usr/share/applications/emacs23.desktop): mkdir -p ~/.local/share/applications cat ...


Is this an insane request? No! :-) You can install the Firemacs addon to get emacs keybindings in Firefox: There's also a rather technical article on MozillaZine on how to enable Emacs-style key bindings for Firefox via GTK. Both work very well, but I recommend the extension since it's so easy to install.


Another good one to use is Geany, found in the Ubuntu package manager or at geany.org . Has really good features and the built-in terminal window is really nice. I use it for most programming projects. I use VIM alot too, mostly when ssh'd into a server. The built-in Gedit is useful for quick edits and config files.


Simple answer is ... Nano is a simple text editor. Emacs is a full fledged text editor with features for programming. This one is usually easier to learn but is still confusing. This is because advanced features are key combinations like crtl + e (goto end of line). Vim is like Emacs only it uses a much different form of input. Vim is modal meaning that ...


emacs-snapshot is a development version of Emacs. It has more goodies but likely also more bugs, so use it at your own risk. The others are released versions; the only reason I can think not to install the latest one is if you're very short on disk space. The emacs package depends on emacs23 (you can see the dependencies in any package administration tool). ...


To run emacs in the Terminal without a GUI (i.e., without it creating a graphical window for itself), use: emacs -nw The -nw flag stands for "no window."


same problem as you. This worked for me: gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" Source: http://situmam.blogspot.com.es/2012/05/emacs-keybidings-in-ubuntu-1204-precise.html


There is a cron job that executes emacs weekly for updating AUCTeX auto-loads. You can expect that behaviour if you installed auctex. To confirm, check out if the file /etc/cron.weekly/auctex is pressent.


There are stopped jobs message is far, far away to be an error. It's just a notification telling you that you attempt to exit from the shell, but you have one or more suspended jobs/programs (in your case emacs which you putted in background using & at the end of your command). The system doesn't let you to exit from the shell and kill the jobs unless ...


The relevant option is no longer available in the settings menu in Ubuntu 13.10; this has been reported as a bug (https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1218322). However, it is still possible to swap these keys using the Gnome tweak tool. First, install gnome-tweak-tool using sudo apt-get install gnome-tweak-tool from a ...


So thanks to the kind people at #emacs, I've found out. It's color-theme-tango. Check out the code here: http://www.emacswiki.org/emacs/color-theme-tango.el


emacs has inbuilt support for git. If you are using old version of emacs (say 22.1) you might want to install 'magit' plugin. I like using magit in any version since it is way better than the generic inbuilt. here are few key bindings generate (got by pressing C-x v C-h in a git repo dir) Global Bindings Starting With C-x v: key binding ...


I recommend gedit. It's got color coding for programming code which makes everything from HTML/CSS to PHP easier to read and edit. Emacs can do it, but it takes some effort to learn how to set up and use. Gedit is usable on your first attempt with no documentation required.


~/.bashrc is usually read for secondary interactive shells after you log in. If you want to initialise your parameters on login the use ~/.profile instead. To apply you parameters system-wide use /etc/profile. It's the first file read by bash.To make things clearer I think I'd explain a bit more. When you login, your login shell reads first the global ...


If you run sudo apt-get build-dep emacs23 that installs everything that is needed to compile the emacs23 package. Quite likely that's enough to compile Emacs 24.2, too.

Only top voted, non community-wiki answers of a minimum length are eligible