Hot answers tagged emacs
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.)
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 ...
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 ...
That would be emacs22-nox I believe. Description: The GNU Emacs editor (without X support) So, just as before but with that package: sudo apt-get install emacs22-nox For cases like this, where you wonder what's in what package, try this : apt-cache search ^emacs then apt-cache show <whateverpackage>
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?
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.
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 ...
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.
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 ...
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 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 ...
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.
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). ...
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 ...
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
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.
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 ...
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."
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 ...
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
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 ...
If you're running it in default mode, it's in the menu: Options > Show/Hide > Line Numbers. Then Options > Save Options to save it for future sessions. If you're running it in a terminal (emacs -nw), then it's M-x line-number-mode. M- is usually the Windows key, but may be Alt, or you can press Esc followed by x. (Edit: The above only affects the mode ...
~/.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 ...
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
I managed to solve the problem by using AutoKey, as recommended in this answer. Some of my phrases are: content | hotkey | description --------------------------------------------------------------- <ctrl>+f | <ctrl>+<alt>+f | replace the find operation <home> ...
I had the same error yesterday. I tried installing every emacs package in the repository, and when that didn't work, it occurred to me that maybe conflicts were the problem. Since I didn't need emacs23 if emacs-snapshot would work, I did the following: Uninstall All Emacs Packages Before proceeding, have a look at what emacs packages might be installed by ...
One way to find out is navigate to the following URL in a browser: http://packages.ubuntu.com/ try your search there, of course you will need to select the appropriate version your using. This should give you a brief answer if the package is included for your version of ubuntu. Another easy way is to search on your local system if emacs is available in ...
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.
It doesn't. I also have Emacs 23 installed on Ubuntu 12.10 and just installed Emacs 24 from the Ubuntu Software Center. The two app versions run side by side independent of each other (although they do share the .emacs file among other default paths, etc.). You would have to uninstall Emacs 23 separately if you wanted to just have one installed version ...
Only top voted, non community-wiki answers of a minimum length are eligible