A text editor, usually characterized by its extensibility. Often described as "the extensible, customizable, self-documenting, real-time display editor."

learn more… | top users | synonyms

1
vote
0answers
7 views

emacs org-mode clocktable - clock-in clock-out columns

Is there a way to configure the summary clocktable to have two extra columns for clock-in and clock-out times. | Headline | Clock-in | Clock-out | Time | | ...
0
votes
1answer
33 views

How to make a portable Linux app?

I'd like to make a "portable" version of Emacs 24.3. I am using some Debian 7 systems, where I don't have root access. Since Debian 7 is missing Emacs 24, I'd like to build a portable version of it, ...
0
votes
2answers
41 views

How do I install emacs 24.3 on Fedora 17 using yum?

I already have emacs 24.1.1, but I need to use version 24.3. I tried: sudo yum install emacs24.3 but it is not recognized. Is there a way to upgrade my emacs or should I simply install emacs 24.3? ...
3
votes
1answer
30 views

How to replace a char at the cursor in emacs lisp

I want to create a minor mode that helps to input thai tone character. This is what I wrote: (defvar thai-input-mode-map (let ((map (make-sparse-keymap))) (define-key map "2" (lambda () ...
3
votes
0answers
38 views

How can you achieve vi's `se ai` in Emacs?

What's the simplest way to set up auto indentation in Emacs? I can see that auto-fill correctly wraps, say: This is an indented block, and the wrapping happens as expected. On the other hand, I ...
1
vote
0answers
59 views

Emacs — terrible font spacing [closed]

System: Archlinux latest Emacs: 24.3 Emacs Config config: https://github.com/jilen/prelude Seems emacs cannot handle Ligatures
2
votes
0answers
47 views

Emacs slow loading time with AUCTeX on TeX files

I installed the auctex and emacs packages on two Xubuntu 14.04 computers, both of which have been working fine. Emacs itself works fine on both, but now with the auctex package installed, when I load ...
3
votes
0answers
12 views

Window display table and buffer display table conflict in Emacs

In Emacs; Is there a way for both window-display-table and buffer-display-table to have effect at the same time? The reason is, I'm using Pretty-Control-L (from Emacs Goodies El script package) and ...
2
votes
4answers
92 views

Recover GUI window after minimizing in ratpoison

I'm running ratpoison. I was running emacs started through a keybinding (hence no xterm). Then I hit Ctrl-Z by mistake and emacs disappeared (emacs iconify-or-deiconify-frame). I know it is still ...
3
votes
3answers
39 views

emacs: in terminal selected string gets lost on ctrl-k

I select an absolute file name with the mouse in a terminal I want to open this file in a running emacs: ctrl+x ctrl+f Emacs mini buffer: contains "~/...." I enter ctrl-a ctrl-k to delete "~/...." I ...
1
vote
1answer
28 views

Configuring footnotes in emacs org mode

I came along the post Footnotes in emacs org mode: how to disable [n], but keep [fn:]? some months ago, and, as I said there, I don't believe the answer is right. However, I 'd still like to know ...
3
votes
1answer
28 views

Underscores in variable names and Emacs `f90-mode`

Editing Fortran in Emacs with f90-mode, I would like the “word commands” M-b, M-f, M-d, M-DEL and so on to act on “words” as separated by underscores. On the other hand, for the syntax highlighting, ...
1
vote
1answer
43 views

Emacs, complete list of color “keys”

If you want to customize the colors in Emacs, specifying them in the .emacs init file, without installing any extra package, and without using a pre-made theme, something like this seems to work: ...
1
vote
1answer
63 views

How to remove emacs 23 related packages and leave installed emacs 24

I installed emacs 24 in Linux Mint 16, and want to uninstall emacs 23. I thought sudo apt-get remove emacs23 is enough, but it was not. This is my packages list relating emacs. $ sudo dpkg ...
2
votes
0answers
14 views

Setting `$EDITOR` to open file in local emacs session [duplicate]

Sometimes I need to issue a remote command which uses $EDITOR to pick the, well, editor (think git commit for example). Is it possible to use the local emacs session to open it via, for example, port ...
1
vote
2answers
201 views

“emacs: standard input is not a tty” when starting Emacs at login

I have Fedora 20 and Gnome3 classic, and I am trying to use the CTRL/ALT/Fn terminal windows. When I want to edit a file with emacs I use the following script so that my Hints file is automatically ...
2
votes
2answers
63 views

Converting an if-else statement into a switch statement [closed]

I'm having trouble turning this program from an if-else statement into a switch statement. Any help would be appreciated. #!/bin/bash for x in $@ do array[$i]=$x i=$((i+1)) done # initial state ...
0
votes
1answer
48 views

How to binding right and left ctrl keys separately in Emacs

I reassigned left ctrl key to capslock key to use ctrl in Emacs. Is there a way to bind right and left ctrl keys separately? For example, I want to bind left-ctrl-a to select all and right-ctrl-a to ...
4
votes
0answers
54 views

Tracking my shell path in Emacs

Not a long time ago, I found the following precious snippet that allows Emacs to track my current directory on any ansi-term buffer. More specifically, if I cd <some/path> from within a ...
1
vote
1answer
32 views

osx server, windows client, running emacs opens it on server not client

I've installed emacsformacosx on my OSX box. I'd like to shove my macmini in a data center and run it headless. I've gotten x-windows working. If I run xeyes, it displays on my Windows 7 client. ...
1
vote
0answers
33 views

customizing size of emacs windows in twm, depending on the vnc session

I connect to the same Unix system (that runs tab windows manager, twm) via vnc. I connect from a laptop with a small screen and from a workstations with a large screen. I have started two different ...
1
vote
0answers
40 views

tmux color theme in emacs gtk

When I use emacs -nw I always use it in tmux 256-color mode. tmux applies its default color theme to emacs so it looks like this: For some reason I like that color theme far better than any other ...
0
votes
2answers
54 views

Emacs how do I interpret this Lisp debugger report

I am trying to make up a .emacs file on my new Fedora 20 computer, and get this line when I use emacs -debug-init &. I expect it to be a trivial mistake, but I find the help on this too detailed ...
1
vote
1answer
85 views

How to enable horizontal scroll bar in GNU Emacs for linux ubuntu?

How can u put a horizontal scroll bar with "don't wrap"? I am also new to linux. Thanks
2
votes
3answers
51 views

How to commit a modified file if it wasn't locked by RCS beforehand (and I'm using Emacs VC mode)?

Sometimes, a file under the control of RCS gets modified while it is not locked (= checked out for modification by me). (In these cases, it was actually set read-only by RCS to prevent such ...
1
vote
0answers
62 views

How to make `helm-execute-persistent-action` not to follow symlink original path

I want to complete by Tab when using find-file, so I bind a function helm-execute-persistent-action to Tab like this. ;; For find-file etc. (define-key helm-read-file-map (kbd "TAB") ...
1
vote
0answers
19 views

How to know function name inside helm

I just installed helm in Emacs. It works fine, but I want to change some key bindings. For example, Go to precedent level inside find-file is binding with C-l. I want to rebind it with C-w. I can't ...
1
vote
2answers
55 views

emacs wont let me use a different background color

I've tried different themes in emacs (on mac with xterm set to 256) and everything works great except it's ignoring the theme's background color. Even if I add (set-background-color "red") for example ...
3
votes
1answer
135 views

Unset Fn key in emacs (console)

When I run emacs24 on the console the Fn key on both my Lenovo laptops sets the selection mark (in the same way as C-SPC). That's pretty crazy behavior as I need the Fn key to change screen ...
0
votes
1answer
9 views

Eval emacs init.el from CLI

I want to eval my ~/.emacs.d/init.el file periodically from CLI (cron) since it generates other files that I use in my projects according to some extra data. Something like "emacs -q -eval-file ...
1
vote
1answer
32 views

Hide “Mail” in emacs mode line

This is small stuff but I haven't been able to figure it out: How do I hide "Mail" from the mode line in emacs?
2
votes
1answer
113 views

“Unknown terminal type” error when trying to run emacsclient

(I’m using emacs23; on Debian 7; Xfce.) I want to try Gilles’s recommended solution for taking quick notes with Emacs. When trying to run emacsclient -a "" -e "(remember-other-frame)", I get the ...
1
vote
1answer
54 views

Combos with shift not working in emacs on console

I'm running emacs 24.3.1 on a system with a console-only minimal install of Debian Jessie. Non of the keybindings that involve the shift key works in emacs (except shift to modify upper case). These ...
0
votes
2answers
92 views

How to kill a process in a terminal inside emacs

When I code, I usually use multiple buffers in emacs. Some buffers with my code, and a buffer with a terminal emulator (M-x term), There I compile, execute interpreters, etc. When I get an infinite ...
0
votes
1answer
33 views

Run emacs elisp command with next word as argument

How can I tell emacs to run my own script (which can be elisp too or something in Perl, BASH or whatever), and use the next word after the mouse cursor as argument, or maybe using a group of marked ...
3
votes
1answer
136 views

bash command line editing (Emacs shortcuts)

When writing a command on the bash command line, I can use CTRL+w to delete a word backwards, or ALT+d to delete word forwards. The problem is, that these two shortcuts are not exactly complementary: ...
2
votes
1answer
47 views

Copying emacs content through terminal app's clipboard copies unexpected tabs for some spaces

I'm using terminal.app on OS X, and when typing in emacs I often want to copy the text and paste it into some other program. When I do, I find that copied text has some spaces unexpectedly replaced by ...
1
vote
1answer
76 views

Footnotes in emacs org mode: how to disable [n], but keep [fn:]?

How can I disable the [n] being linked to a footnote and highlighted? [n] can be many things, like any index of an array. So, I want my footnotes to be[fn:n]and only[fn:n]`.
1
vote
2answers
60 views

Howto copy and text from termial to (GTK-)emacs?

If I select text in my terminal (in my case urxvt) and then click with the middle mouse button into an emacs window (GTK), it pastes the selected text from terminal. Since I don't want this ...
1
vote
2answers
556 views

How do I get emacs on a newly installed Fedora 20 system?

I have upgraded from Linux Fedora 12 to Fedora 20 by buying a new computer, and the shop has kindly installed Linux for me from the DVD I bought for the purpose. I assume he did the most basic ...
1
vote
2answers
87 views

Emacs temp dot hash file don't exist

I use find | xargs grep a lot when working on large source code and when I didn't save a file in Emacs it creates .#SomeFile and grep give error that there's not such file (I'm not including because ...
1
vote
1answer
29 views

“Jagged” rectangle text in emacs

Suppose I have something like this is text I want to change it to be "this" "is" "text" The first quote I can insert simply by making a rectangle and doing C-x r t, but the trailing quote I ...
3
votes
2answers
63 views

How to find Emacs backup files?

Emacs backup files start with .# but I can find those in my directory. I've try: find . -name '^\.#.*' or find . -name '.*#.*' and they are not show up, and I have them. For instance if I create ...
1
vote
1answer
24 views

Emacs/Lisp interactive string variable scoping

Why doesn't this work? (defun load-browser (app) (interactive "sChoose Browser? ") (cond ((string= app '"c") (setq browse-url-generic-program "chromium") (setq ...
0
votes
1answer
117 views

When I type vim in terminal my bodhi linux complains emacs is not installed (bodhi linux) [closed]

jcress@jcress$ vim The program 'emacs' can be found in the following packages: * emacs23 * emacs23-nox * e3 * emacs23-lucid * jove Try: sudo apt-get install <selected package> I can't ...
3
votes
1answer
60 views

Customizing less colors

When using less in OS X, how can I customize the colors with with things are displayed? When I run less within an ansi-term in Emacs the colors don't come out nicely. $ less --version less 418 ...
2
votes
1answer
62 views

ess has disappeared from emacs

I frequently use emacs ess functions. Specifically, I use r-mode and run R in emacs. However, quite suddenly, emacs is no longer offering ess options. r-mode is no longer an option in emacs nor is R. ...
1
vote
2answers
56 views

Emacs, getting the output of the echo area

How can I insert directly the text displayed in the echo area? (also wrongly called the minibuffer). When I for example run (+ 2 2) in a buffer and execute it with C-x C-e it correctly displays the ...
0
votes
1answer
92 views

vncserver -compatiblekbd fails with unrecognized option

I found that when I connect to my computing cluster via vnc Alt-x is not recognized correctly asM-. I tried vncserver -compatiblekbd but I get Unable to start Xvnc, exiting Actually once my ...
0
votes
1answer
74 views

Trouble Running Emacs Daemon on Ubuntu Boot

I want to run emacs as a daemon, on Ubuntu bootup. The daemon call works, and the init script works, when called in a logged in session. However, when I boot my system, the emacs init script doesn't ...