Hot answers tagged emacs
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 ...
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 alternatively sudo apt-get install emacs24-nox For cases like this, where you wonder what's in what package, try ...
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 ...
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 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?
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 libgtk2.0-...
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 ...
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
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.
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 ...
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."
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.
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.
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 ...
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 ...
You can install the nightly packages from the ubuntu-elisp ppa. sudo add-apt-repository ppa:ubuntu-elisp/ppa sudo apt-get update sudo apt-get install emacs-snapshot
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). ...
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
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.
setxkbmap -option ctrl:swapcaps Will work on all linux distributions and versions. You will need to add it to your startup file to get it to run automatically when you log in.
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.
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 ...
You'll probably be better off using the version of emacs already built, tested, and packaged by Ubuntu rather than building it on your own, unless you need specific features that are only available in 24.3. In a terminal: sudo apt-get install emacs
Only top voted, non community-wiki answers of a minimum length are eligible