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

learn more… | top users | synonyms

0
votes
2answers
27 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:...
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
35 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-...
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)?
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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,...
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
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 ...
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
67 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 ...
0
votes
0answers
40 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
71 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
0answers
22 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'...
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 ...
0
votes
0answers
33 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 ...
0
votes
1answer
51 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 "-*-courier-medium-r-*-*-*-120-*-*-*-*-...
1
vote
1answer
54 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 ...
0
votes
0answers
119 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 (x86)/ConEmu/...
0
votes
0answers
24 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
0answers
4 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?
1
vote
1answer
70 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 2))...
0
votes
0answers
73 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 ...
1
vote
1answer
103 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 ...
1
vote
1answer
40 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
64 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 ...
0
votes
1answer
78 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 ...
0
votes
0answers
22 views

Disable 2nd automatic Emacs nag message?

I built and installed Emacs 24.5 on a Banana Pro. I basically followed Minimal emacs24 installation. It was my first time configuring and building Emacs from sources, and all the X, sound, mouse and ...
0
votes
0answers
21 views

Seeing “” (byte-order mark) at the beginning of the first line in a grep buffer

I'm using GNU Emacs 24.3.1 on Windows. When I execute "rgrep", I sometimes see the sequence "" (byte-order mark) at the beginning of the first line in the match. Sometimes I don't. So far, I haven'...
0
votes
0answers
23 views

Dead tab key in Emacs via Putty in Windows 10

I'm logging into a remote CentOS server using Putty. When I start Emacs, the tab key doesn't do anything. I can't indent lines, and I can't tab separate words/characters. I don't have any special ...
0
votes
0answers
22 views

Display octal escapes as hexadecimal in buffer in emacs

I'm working with a file at the moment that's mostly text (and thus somewhat seemingly-random binary) in emacs, and I find the \270 syntax for certain characters very annoying, as I'm far more familiar ...
0
votes
0answers
22 views

Installing mailutils - interface

I'm trying to install mailutils and ran sudo apt-get install mailutils. It began installing, but now I have the following strange interface that appeared on my terminal: I can scroll up and down ...
0
votes
1answer
107 views

Windows 10 extremely smoothed inner window area

With few applications - either old or open source, I have this problem with OS smoothing inner area of window. Everyting is smoothed. This makes using Emacs-w64 very painful and I am forced to use ...
0
votes
0answers
64 views

emacs --daemon doesn't successfully start the server

I am attempting to set up a systemd daemon for emacs in NixOS. When I added a systemd unit, I noticed that it was continually restarting over and over again. I discovered that this was because when I ...