The Emacs text editor, one of the main text editors used on Unix and derivative operating systems.

learn more… | top users | synonyms

0
votes
0answers
7 views

How can I run GUI emacs (using a shortcut) in a very light xmonad installation?

I am trying to launch Emacs through a keyboard shortcut on my Debian/xmonad system. Relevant lines from my xmonad.hs: ~$ cat .xmonad/xmonad.hs import XMonad ... main = xmonad =<< xmobar ...
0
votes
0answers
12 views

Agda input method, Σ ⇛ ⇒, and Latex export

I can use agda input method in emacs to type effortlessly a gazillion unicode character in my nice beamer presentation. Now I want to process it with latex and I apparently have to map each missing ...
0
votes
0answers
14 views

speedbar “display buffers” on startup

I would like to start the speedbar with the "Display Buffers" instead of "Display Files" option on startup. (setq speedbar-mode-hook (lambda () (interactive) (other-frame 0))) (when window-system ...
0
votes
0answers
5 views

`ob-lilypond' cannot generate cropped inline image

I want to pass :cmdline -dpreview to ob-lilypond as the following: #+BEGIN_SRC lilypond :file ly1st.png :cmdline -dpreview \version "2.18.2" { c' e' g' e' } #+END_SRC But I got this warning, and ...
4
votes
1answer
441 views

How can I disable the icon bar in Emacs GUI under OSX?

Is there a way to get rid of this tool/icon bar in Emacs GUI under OSX?
2
votes
2answers
652 views

How do I send Ctrl-; in iterm2?

How can I send Ctrl+; in iterm2 (emacs)? There seems to be a solution here, here and here These are close to what I want, but I am still unable to make it work.
2
votes
2answers
574 views

how to choose printer in emacs on Mac OSX

I am new to both emacs and also do not have much experience with bash. I have a few questions which are related? (1) Can I set up emacs such that I can choose the printer that I print to? I have ...
4
votes
1answer
447 views

Thunderbird with external editors possible?

The known add-on external editor says it is compatible with Thunderbird 5. But the latest Thunderbird is version 31.1.0 already. Is it still usable? Or is there any other add-on that can enable ...
3
votes
1answer
345 views

which auto-complete mode to use for writing English in Emacs

What's the best Emacs auto-complete mode to use for writing prose in English? My main requirement would be to automatically complete its best guess as to the MOST LIKELY match with a single keystroke, ...
0
votes
0answers
17 views

VNC Meta key not working with realVNC server+viewer android on Mac OS X

I'm using realVNC server on Mac OS X (VNC® Server 5.3.1 (r17370) x64) and VNC viewer on Android from realVNC. I use emacs in Terminal and iTerm2, where I normally set option to Meta, but this does ...
1
vote
1answer
14 views

emacs flyspell save word to file being checked

In the past, I saved special words in the file being checked (as comments). I no longer can work out how to do this. I remember there was an option when checking a word: add to global dictionary, add ...
6
votes
5answers
7k views

Emacs fails to load (.emacs) configuration file

I am using Emacs on Ubuntu 9.04. I have my emacs configuration file in the ~/.emacs.d directory. My emacs file is called .emacs. I have some basic configuration. However, when I start emacs, it ...
0
votes
0answers
24 views

Skia rendering for Emacs

I've wanted to give emacs a try (again) for the past few days, but I can't get past the text differences between Emacs (the app version) and Sublime Text. Take a look: Emacs: Sublime: I'm ...
0
votes
0answers
18 views

Emacs editor default keyboard shortcuts for find replace

I'm looking for know what are the default keyboard shortcuts for search or find and go through the results.
0
votes
0answers
14 views

Emacs default search or find keyboard shortcuts

What is the default shortcuts for search or find in Emacs editor? By pressing Alt (my meta) + s, w = mark for search. But i can't move through search results. I can't do the normal find words and ...
0
votes
0answers
20 views

GNU Emacs Gnus can't connect to gmail IMAP

I'm in the process of configuring Gnus to retrieve emails from my gmail account via IMAP. I have done as recommended at https://www.emacswiki.org/emacs/GnusGmail, however I keep on getting errors from ...
0
votes
1answer
55 views

How to keep org-mode links from stretching over text in unspaced languages?

In Japanese and other languages, there are no spaces in a paragraph. Org-mode interprets this as a continuation of a link description, which messes up the semantics and formatting. Example: ...
1
vote
2answers
223 views

Do I need the meta-key for vim?

I'm looking in to learning emacs or vim. I started out with emacs but found the need for a meta key to be a hassle, especially since I have a non-english keyboard layout on my macbook. So far I ...
15
votes
4answers
4k views

How to find out the current color theme in emacs

While emacs is running, how can I find out which color theme is currently in use?
0
votes
0answers
15 views

How can I toggle input language in emacs with ctrl+shift in linux?

I am using Control+Shift for switch languages in linux. The problem is that this keybinding is not works well in emacs: When I am on russian keymap, emacs's keybindings are not working. Emacs have ...
6
votes
3answers
1k views

Emacs CSS modes - most feature complete and maintained?

According to EmacsWiki there are bunch of CSS modes for Emacs, but none of them seems to be very actively developed or even that feature complete. Which one is the most feature complete so far and is ...
7
votes
5answers
1k views

Is there any way to convert camel-cased names to use underscores in emacs?

For instance, I want to convert "CamelCasedName" to "camel_cased_name". Is there a way to do this in emacs?
1
vote
1answer
197 views

Emacs window management and switching buffers

In emacs I like to have 4 windows open at a time. For example, I frequently have a python interpreter in the first window, my python code I am editing in the second window, mysql in the 3rd window and ...
3
votes
2answers
1k views

Setting truncation and wrap in Emacs config file

I'm using Emacs 23 in a Debian GNU/Linux variant distribution. In a default Emacs session launched with emacs -q (to confirm the settings) I execute the following to setup the environment I would ...
2
votes
2answers
45 views

Emacs : Jump to the next line with same indentation

Very often, I am stuck searching for the end of loops and methods and classes and end up sifting through all the code which is both time-consuming and frustrating. I would rather skip to go to the ...
0
votes
1answer
13 views

emacs/LaTeX error for first time LaTeX user

I am using LaTeX with Emacs for the first time. I am getting the following error message: ! Missing $ inserted This is the code I put in: center\[ $$Q(t) = Pi a^2 \sqrt{2gh}$$ ] What am I ...
1
vote
1answer
104 views

Microsoft Word file corrupted because I opened it in emacs

So I, being dumb, decided to open my history essay in emacs and tried to edit a word. So I removed a letter from my introduction, and I saved it. The next time I opened the file in word, it said my ...
10
votes
4answers
2k views

Emacs - kill buffer without prompt

I'm wondering how it can be done, so Emacs doesn't pop the prompt asking me whether I really want to kill current buffer with C-x k shortcut. Interesting thing is that same action done via toolbar ...
1
vote
3answers
174 views

Combine key-chord and an input method

I would like to be able to use simultaneously key-chord and an input method such as rfc1345. Presently I use C-x RET C-M-\ rfc1234 RET to activate the input method. and M-x ...
17
votes
2answers
8k views

How to turn off Emacs's auto line wrapping for the current session?

How to turn off Emacs's auto line wrapping for the current session? I normally need the automatic wrapping, but when editing a email draft, i don't need that. is there a way to turn it off for a ...
1
vote
1answer
42 views

Emacs: How to split, open shell in bottom window at launch?

I tried adding this snippet to my ~/.emacs, but the resulting buffer/window mapping is weird. ;; Open split shell on launch (add-hook 'after-init-hook (lambda () (let ((w (split-window-below ...
0
votes
1answer
31 views

Unreadable text characters on emacs and some other programs

I'm using VNC on a remote host with Red Hat Enterprise Linux Server release 5.7. Whenever I run "emacs" I get this output: Warning: Cannot convert string ...
0
votes
0answers
30 views

org-mode in emacs, press <RET> have no effect

I am trying out org-mode in emacs. Strangely, after hooking org-mode to text-mode, whenever I press <RET> key on headlines, the mini-buffer shows Wrong type argument: stringp, nil And nothing ...
1
vote
1answer
46 views

Emacs: suppress indent after && in shell-script-mode

In shell-script-mode, when a line ends in &&, Emacs will indent the following line. Is there a way to switch that off? (I am concatenating most of my statements with &&. This gives ...
4
votes
2answers
1k views

How can I use Emacs in terminal mode and use Alt + ? shortcuts?

I want to use emacs in the terminal, but in Ubuntu 11.10 the bash terminal already has many Alt started shortcuts, how can I handle that?
1
vote
2answers
330 views

Ispell and its process have different character maps

I've just started getting this error with emacs on my Macbook Pro: Ispell and its process have different character maps I've tried changing my character map to utf-8. No luck. It would be nice if ...
2
votes
0answers
24 views

wrap for unspaced languages in emacs

Emacs has a nice wrapping mode called visual-line-mode that is pretty good at sensibly wrapping text. However, it depends almost completely on spaces, which causes the below failure in unspaced ...
0
votes
0answers
52 views

How to run conemu inside spacemacs (emacs)?

I am trying to replace windows shell terminal which is run from inside spacemacs with SPC a s i I have this in my .spacemacs file (setq explicit-shell-file-name "D:/Program Files ...
0
votes
0answers
23 views

“Mutt hook” to configure the mail text editor (Emacs)

Can I configure Mutt/Emacs such that, depending on the person I am writing to, it configures the text editor with custom commands? More specifically, I would like to set the ispell dictionary to a ...
0
votes
1answer
43 views

How do I make emacs-key-bindings work everywhere in linux

I am just tired of reaching for the home and arrow keys. There is a windows hack: http://www.davesquared.net/2008/02/emacs-key-bindings-everywhere.html How can we achieve that in linux? The ...
0
votes
0answers
3 views

Enable EMACS key bindings in Apache pig grunt shell?

Is there a way to enable EMACS key bindings in Apache pig's grunt shell?
3
votes
2answers
909 views

Minimal emacs24 installation on ubuntu

I need a minimal emacs 24 installation for distribution in a virtual box. When I try to install emacs-snapshot from synaptics I get tons of stuff installed like ghostscript and imagemagic and various ...
0
votes
1answer
52 views

Ubuntu virtual terminal cursor style resetting

I am running Ubuntu 14.04 and using one of the virtual terminals (TTY[1-6], accessible via Ctrl-Alt-F[1-6]); I want to permanently change the appearance of my cursor from the apparent default, a ...
0
votes
0answers
57 views

OSX Preview.App instead of xpdf as standard PDF-Viewer for Lilypond in emacs

I think about using emacs for Lilypond-Editing. I run OS X 10.11.3. Questions: Is there a chance to use Apple's Preview.app as a PDF-Viewer instead of xpdf, which is quite slow? Any idea? Is there ...
0
votes
1answer
97 views

Emacs freezes on long line wrapping of shell / REPL output

I have a constant problem with Emacs that it cannot handle the long line-wrapped printouts in RELP or shell mode. The Emacs process starts running on full CPU and is almost completely unresponsive ...
1
vote
1answer
40 views

Emacs org-mode display time range visually in agenda

I'm looking for a way to get the agenda view in org-mode to 'block out' periods of time for entries with a specified time range. By default it lists items with a specified time range at their start ...
1
vote
1answer
30 views

Attachment in Emacs org mode

How could I attach Word document in my .org file? I could do it for plain text file but not .doc type. Are the other options to point to Word file in my system other the attaché? Thanks
1
vote
1answer
447 views

Editor for 'git bash' on Windows (editor for mingw/msys+mintty)?

I am using 'git bash' for Windows (from 'git for Windows') which in turn consists of mingw+msys and a mintty. This mingw installation contains a 'vi' editor which works in the mintty. Good. ...
0
votes
1answer
45 views

stty example to change key binding for “Ctrl-z”

I am using cua-mode in emacs, but that overwrites the "Ctrl-Z", which links with suspend job in linux. So, I am thinking of changing the "Ctrl-Z" key binding in linux, and I learned that "Stty" can ...
1
vote
3answers
578 views

Emacs (Aquamacs) org-mode agendas are suddenly empty

I'm sorry for this newbie question, but I'M lost at this point: I'm using Aquamacs 2.4 on MacOS X 10.6.8 and I'm currently trying to learn emacs and org-mode. I have several *.org files containing ...