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

learn more… | top users | synonyms

2
votes
2answers
87 views

where to download emacs manuals as offline html files

When you press C-h i in Emacs, it shows what's called the top of the INFO tree, and it links to all kinds of manuals: AUCTeX, Org Mode, Emacs, Emacs FAQ, Emacs Lisp Intro, Elisp, ... . Is there a ...
0
votes
2answers
25 views

How do I reverse the order of log entries in this file? (Vim for preference)

I've got a set of files that contain notes written in reverse order: ###### 27/07/2016-15:04:20 GMT+1: Really? More? ###### 27/07/2016-15:04:18 GMT+1: It happened again! ###### 27/07/2016-15:04:...
3
votes
5answers
1k views

emacsclient: create a frame if a frame does not exist

I start emacs server using emacs --daemon then open files using emacsclient filename.ext but the first file has to be opened using emacsclient -c filename.ext in order to create a new frame ...
0
votes
0answers
19 views

How to fix application showing generic app icon in OS X (Yosemite)?

This happens in one particular application (emacs for Mac) in a particular directory in my /Applications folder, for one particular account in my system. It used to show the correct icon before but ...
0
votes
1answer
34 views

How do I enable word wrap in Emacs using visual-line-mode?

I have (global-visual-line-mode t) enabled in .emacs. I'd like text to automatically wrap at column 70. These don't work: (setq-default fill-column 70) (add-hook 'text-mode-hook '(lambda() (turn-...
3
votes
2answers
3k views

How do I get Emacs to auto-complete tags and brackets for me?

I've used Emacs for all my development for some time now, but only recently did I start developing HTML. I was wondering how I can configure Emacs to auto-complete tags for me. Also, I'd like for ...
0
votes
0answers
14 views

How to remap control key in emacs?

I want to keep control key for term under emacs. How can I rebind existing mappings to some other key (e.g. Right-CNTL)?
8
votes
3answers
6k views

Installing AucTeX 1.86 over Emacs.app in OS X

I am trying to install AucTeX 1.86 over an Emacs binary (version 24.0.50) from emacsformacosx.com. On first attempt ./configure outputs: configure: error: Cannot find the texmf directory! ...
0
votes
0answers
9 views

Disable Ctr + Mouse Click in Emacs

Whenever I click on my touch pad while holding Ctrl key the buffer menu appears. I accidentally hit it very often and It's really annoying. I'd appreciate if you could help me disable it.
0
votes
0answers
4 views

How to unbind control keys in spacemacs?

I cannot use control keys in terminal connected to emacs buffer because it conflicts with standard bindings which I do not need since I'm running spacemacs. I tried to unset and remap them but with ...
4
votes
2answers
766 views

How do I get bash to respect my physical directory structure? (And likewise for Emacs?)

If in bash, I do "set -P" then bash follows the "physical directory structure" when doing "pwd" and "cd .." etc, rather than the "logical one" that might be defined via symlinks. Unfortunately, bash ...
5
votes
2answers
672 views

Emacs key for Home & End

I'm running Emacs in urxvt with zsh as shell: ~ % echo $TERM && echo $SHELL rxvt-256color /bin/zsh ~ % My current problem is that I can't get Home key & End key working properly in ...
14
votes
2answers
5k views

How to find out current font used in my Emacs?

How to find out current font used in my Emacs? I'm using GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-08 on black.local `
1
vote
2answers
299 views

How to make my Alt_R function as another Control on Linux

I want to use my right Alt as another Control key to use with Emacs. I tried following (with modifications) this tutorial: http://earthviaradio.wordpress.com/2012/02/06/swapping-the-left-alt-and-ctrl-...
0
votes
1answer
21 views

Why is there no appearance of a newer Emacs after installing it on my Mac?

I just installed emacs on my mac from this website: https://emacsformacosx.com/ After copying it to my Applications, I opened emacs and did M-x emacs-version. My old version was still shown (22.1.1).
1
vote
0answers
34 views

How to remove incorrect password for file symmetrically encrypted with GPG

I used Emacs to encrypt a text file with a symmetric key. When decrypting the file, the program pinentry opens a window for password entry. I accidentally clicked the checkbox for "save in password ...
0
votes
1answer
34 views

What would happen if I create a .emacs file and edit it, even if I already have one?

I've spent a long time looking for my .emacs file and have yet to find it even after using the solution here: http://stackoverflow.com/questions/27869909/what-to-do-if-i-cannot-find-my-emacs-init-file ...
0
votes
0answers
25 views

Install org module on XEmacs

I'm running Ubuntu 16.04. I installed XEmacs 21.4 (patch 22) I want to use org module BUT fail to install/configure it. In my case I don't use .emacs but rather I have ~/.xemacs/custom.el where I keep ...
8
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?
0
votes
0answers
10 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?
1
vote
1answer
22 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
460 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
78 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
1k 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
490 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
42k 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
471 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-...
12
votes
5answers
974 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
24 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
38 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
31 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
24 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 ...
15
votes
1answer
364 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
36 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
50 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
267 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
20 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
23 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
524 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
733 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
471 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
357 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
66 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 ...