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

Type a “:” in Emacs minibuffer

I can't type a ":" in Emacs minubuffer, spacifically to enter /ssh:something, it hangs as soon as I type ":" (GNU Emacs 24.5.1, clean emacs -q). How can I enter a ":" in Emacs minibuffer?
0
votes
0answers
4 views

Emacs on Mac, trouble with jshint

I am testing out a small fibonacci program and purposely removed a semi colon in hopes to run a joshing for debugging. When i submitted the command I got an error of: "Compilation exited abnormally ...
1
vote
1answer
17 views

emacs - show vertical scrollbar or indicator of position

I would like to show my position within a buffer on the left (or right) side of a buffer. For example, if my cursor is 75% of the way down a buffer, I would like to see an indicator 75% of the way ...
1
vote
1answer
457 views

Cedet 1.1 with Emacs 24.2 in Windows cannot parse c++ header files without extension

Emacs 24.2, Cedet 1.1, Windows 7 Visual Studio 10.0 Include directory (add-to-list 'load-path " ~/.emacs.d/cedet-1.1/common") (load-file "~/.emacs.d/cedet-1.1/common/cedet.el") (semantic-load-...
1
vote
1answer
59 views

Windows 10 linux bash shell ctrl+space doesn't set mark in Emacs

In Windows 10 I installed Subsystem for Linux Bash. But I have a problem with shortcut in Emacs Ctrl+space doesn't set mark point. What i tried and didn't help: I tried to uncheck "enable Ctrl key ...
3
votes
1answer
364 views

Multiple background colors in Emacs?

I'm trying to get my emacs color scheme set up like I have it in Textmate. Currently, variables, methods, and comments have a different background color than the main body. See the following link for ...
5
votes
1answer
999 views

Enabling Italics, Underline on Emacs, Xterm and Putty

I'm using a Ubuntu (11.04 Server Edition) virtual machine as my development environment. It doesn't have a desktop environment since I don't think its necessary and I want to keep it lightweight. I'm ...
0
votes
2answers
474 views

How to customize the eshell prompt?

How can I customize the prompt of eshell? Specifically how can I prevent it from showing the full current path?
0
votes
1answer
1k views

Remove all traces of emacs and start over

I've been trying to install PolyML in Emacs on my Mac in OSX but I can't get that or SML-mode to work. I've tried the builtin emacs, the gui version and the one from homebrew. Neither poly or sml ...
0
votes
0answers
13 views

Gnus: How to fix 'Warning - invalid active <folder> <number> <number> y'

Something I've done but not yet identified has hosed my working-for-years Gnus<->offlineimap<->GMail setup. Gnus gives me a bunch of errors like: Warning - invalid active: [Gmail].Starred 26 2 ...
41
votes
8answers
41k views

Can I create a link to a specific email message in Outlook?

I use Outlook as my email client at work, but I don't want to use it to manage my tasks and todos. (Instead I use plain text files and Emacs org-mode.) Since many todo items start out as mails in my ...
1
vote
0answers
12 views

emacs weird font and big UI

I just installed spacemacs in my Ubuntu 12.04 LTS but when I started the app I get this: Big fonts and weird numbers in emacs links, I tried to load it without spacemacs config file I get the same ...
1
vote
2answers
465 views

Wanderlust doesn't update new messages counter when using with Gmail account

I want to use Wanderlust IMAP client to read my email in Emacs. However, when configured to use with Gmail account it doesn't update number of new messages correctly. Wanderlust's notification (ws-...
11
votes
5answers
929 views

Emacs - Disable Some Minibuffer Messages

In Emacs, there are some cases where I would like to prevent messages from appearing in the minibuffer, mainly pertaining to "Beginning/End of buffer" and "Text is read-only". Is there any way I can ...
1
vote
1answer
21 views

Emacs commands to calculate sum, average, etc. of region

Suppose I have highlighted a region of text in a buffer. The region contains numbers separated by whitespace. E.g. 1 19 23 28 41 Is there some package with ready-made interactive commands that ...
0
votes
1answer
29 views

How to pass options to command using cygwin run.exe

I want to execute a bash command with my user environment, and I do not want to open a terminal windows on my Windows desktop. I tried: c:\cygwin64\bin\run.exe zsh -lic emacs And it opens a emacs ...
0
votes
0answers
27 views

How to config Emacs to fit screen size on startup?

My Emacs often extends outside the visible range of a screen on startup, e.g. on a virtual machine, as shown below. This becomes a problem because the status line is invisible (and it's tedious to ask ...
0
votes
1answer
20 views

regexp search and replace for bash variables

A number of my bash scripts need tidying up before sending them round. One of the thing I would like to do is to use curly braces for all variable names. So everywhere it says $PWD should be changed ...
14
votes
1answer
314 views

Hang on jabber-connect in emacs

I use jabber.el to connect to my work chat server from within emacs. This was working until recently, but now when I run jabber-connect it hangs after prompting for my JID. Emacs locks up until I ...
3
votes
1answer
33 views

How does emacs save files by default?

Usually, applications perform atomic saves either by renaming the old file and writing the new file in place, or by writing a temp file and then replacing the old file with the new temp file. Which of ...
0
votes
0answers
34 views

conemu (windows terminal program): text not visible in emacs

I am running the most recent alpha build 160503 of the ConEmu terminal / console program on Windows 7. I start a console window running the cygwin bash shell. I can start "emacs -nw" (terminal-based,...
4
votes
1answer
266 views

With ERC in Emacs, how can I automatically alias server buffer names?

I use ZNC to connect to IRC, and since ZNC seems to have the unfortunate characteristic of making me create a new "login" for each server I want to connect to (i.e Freenode and Quakenet), when erc ...
0
votes
0answers
18 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
21 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
495 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
707 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
586 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
464 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
355 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
47 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
18 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
34 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
56 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
56 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: [[link][...
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
19 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 it'...
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
202 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
50 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
15 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
107 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
179 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 key-chord-...