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
3 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
3 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
15 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
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 ...
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
20 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
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
19 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
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 ...
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
32 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
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
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
20 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
46 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
33 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
54 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
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'...
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
31 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
45 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
52 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
97 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
59 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
70 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
88 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
37 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
57 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
63 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
21 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
21 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
16 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
21 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
103 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
60 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 ...
0
votes
0answers
84 views

Emacs eww cannot access https sites

here's my proxy setup: (setq url-proxy-services '(("no_proxy" . "my-corp-proxy") ("http" . "my-corp-proxy:8080") ("https" . "my-port-proxy:8080")...
1
vote
0answers
30 views

My Git was disabled after I installed El Capitan 10.11.1

After I installed El Capitan 10.11.1 my Git was disabled. I ran my MacBook Pro and my MacBook Air in Recovery mode (Command+R) and restarted and without "csrutil disable" or without disabling my SIP ...
2
votes
2answers
49 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
0answers
39 views

What is a sparse tree in Emacs

I tried to find out what a sparse tree means in Google in vain. Can someone just point me in the right direction to find out the meaning of sparse tree. I'm learning org-mode in emacs, where I came ...
1
vote
3answers
47 views

Unix - remove file with pound signs around it

I am using SSH to another terminal with very limited disk space. upon typing ls I see a file called #korpus.txt#. I suspect this file is an emacs buffer, but upon running emacs and trying to kill it ...
0
votes
0answers
39 views

emacs pinky map space to ctrl on mac

So I am starting to use emacs and I do touch typing. I am on mac but I use external keyboard. I am not getting problem using L-CTRL key but for R-CTRL key I use pinky and it hurts after a hour or so. ...
4
votes
1answer
144 views

Can Emacs be set up to display Python code in Python mode and display docstrings in ReST mode?

I often edit Python code in my Emacs and have it set up to display Python files in Python mode. I often find myself formatting dosctrings as ReStructured Text and I was thinking that it would be great ...
0
votes
0answers
68 views

How can I enable cursor scrolling via mousewheel in emacs with urxvt?

mouse-wheel-mode is enabled in emacs, however the cursor does not scroll as it had in other terminal emulators, on other distros. I've done a lot of digging and cant seem to find the answer. Again I'm ...