Emacs is a powerful text editor with an embedded Lisp environment, which allows for great extensibility. Emacs is a lisp environment with many features that also make it a powerful text editor.

learn more… | top users | synonyms

0
votes
1answer
16 views

what does emacs without X support means?

I'm going to install emacs for linux mint, I ran synaptic and searched for emacs and then I see Emacs24-nox(without X support). What does emacs without X support means? In what ways is it different ...
0
votes
0answers
22 views

Emacs indent with tabs to 2 columns [migrated]

Current with C, Javascript, Ruby, etc. when inserting a block with { <RETURN>, Emacs automatically indents the next line, but it does so with spaces. How do I change this behavior to tab ...
0
votes
1answer
20 views

Hide Emacs initial buffer list when opening 3+ files

When I open 3 or more files at once with Emacs, e.g. emacs file-1.txt file-2.txt file-3.txt ... then the initial Emacs view is two panes, one for one of the files, and the other for the buffer ...
0
votes
1answer
47 views

Tramp Issue in Emacs 24.4 Installed through Homebrew

I recently installed Emacs 24.4 through homebrew through the command brew install emacs --cocoa I need to edit the files in a remote cluster with two step authentication. To do this I save the ...
0
votes
2answers
37 views

How can I get my prompt back after starting Emacs from the command line?

After I type emacs somefile at the command prompt and hit Enter, I don't get my prompt back until after Emacs closes. How can I run Emacs so that I get the prompt back immediately after Emacs starts? ...
0
votes
1answer
41 views

Emacs fails to evaluate .emacs file under Windows

I have following simple .emacs (require 'package) (push '("marmalade" . "http://marmalade-repo.org/packages/") package-archives ) (push '("melpa" . "http://melpa.milkbox.net/packages/") ...
0
votes
0answers
18 views

switching from emacs to Preview of the compiled latex document, resets its display to page 1

I just upgraded to Yosemite but had to reinstall various pieces and this is what happens. I edit my latex document using emacs, and preview its pdf using Preview (auctex is installed, and I compile ...
3
votes
2answers
46 views

View patch files with different region highlighted

Is there a desktop application, console utility, or preferably Emacs extension, which can highlight the different regions in a patch file? An example is the diff viewer of GitHub. The different part ...
0
votes
0answers
11 views

How to export org-mode to html without css, any added text and heading with the same level as in org-file?

How to export org-mode to html without css, any added text (name, table of contents, filename as title - nothing) and heading with the same level as in org-file, and no numbering? It would be best, ...
1
vote
3answers
33 views

Notepad++/other editors: How to view same file in multiple columns with auto scrolling?

Is there any editor that allows me to have two columns, where the second column picks up after the last line of the first column? I don't mean cloning like in Notepad++ where I have two open copies of ...
-2
votes
0answers
47 views

Too many open files

When I use emacs on my windows7-64 and try to connect to web by (url-retrieve "http://google.com" 'print),it shows the error: Warning (initialization): An error occurred while loading ...
1
vote
1answer
23 views

Turning on color syntax highlighting in Emacs

I recently installed Emacs 24.3.93.1 on Cygwin. When I first opened code in it, I got a sort of black-and-white syntax highlighting - keywords were white, function names in declarations were black on ...
1
vote
2answers
29 views

Emacs binding keys to commands

I'm following the "trick" described here to add new key bindings to my .emacs file: http://www.gnu.org/software/emacs/manual/html_node/efaq/Binding-keys-to-commands.html However, it's resulting in ...
1
vote
1answer
56 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 ...
0
votes
1answer
22 views

Get buffer with all macros expanded in org-mode

I'm trying to troubleshoot some macro expansions in my org-mode file, how to I get a buffer that is the org-source with all org-mode macros expanded?
2
votes
2answers
51 views

Sort structures in file [duplicate]

For example I have file consisting of structures like name = { foo = bar; ... }; So in file there are lots of structures like this. How can I sort them (I'm using vim but emacs is surely ok ...
1
vote
1answer
19 views

Undefine prefix in Emacs

In Emacs, I've become accustomed to using "C-x p" for switching to the previous window. I've recently had to start including a company-wide startup .el file that defines the prefix "C-x p-". I don't ...
0
votes
1answer
13 views

Emacs freezes on long line wrapping of shell / REPL output

I have a constant problem with Emacs that it cannot handle the long line-wrapped printouts in RELP or shell mode. The Emacs process starts running on full CPU and is almost completely unresponsive ...
2
votes
1answer
46 views

How to know which keyboard layout is currently active using cmd in Windows 7 32bit?

Suppose I can switch between 3 keyboard layouts, English, German, and Spanish from the language bar of Windows 7 32bit. What command can be run from cmd to return the value of the current layout in ...
0
votes
1answer
74 views

Directly open remote shell with tramp in emacs

I find that the best to run my shells in remote machines in emacs is using TRAMP (using the ssh command in a local shell does not work for my needs). However, I only know how to run a TRAMP shell if I ...
0
votes
1answer
33 views

Launch emacs with ediff-files (of ediff-directories) from command line

I would like to launch emacs to ediff either files or directories. For example, I'd like something like: emacs -f ediff-files file1 file2 But when I do this, it doesn't take file1 and file2 as the ...
0
votes
1answer
18 views

Emacs org-mode org-capture: at beginning of headings?

Is it possible to use org-capture in Emacs org-mode so that captured sub-headings are put at the beginning of a section? How to control this behaviour?
0
votes
0answers
20 views

Emacs: failed to install ELPY

I tried to install ELPY package for python development in Emacs. I followed instructions from here: https://github.com/jorgenschaefer/elpy Yet I kept getting this error every time I start Emacs: ...
0
votes
1answer
208 views

gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated

I'm trying to run emacs 24.4-1 on up-to-date Arch Linux. My dotfiles have gone a bit awry, so I cleared out my ~/.emacs.d/ and put in it an init.el with this content (taken verbatim from here): ...
1
vote
1answer
22 views

Remember search/replace strings across sessions

Is there a setting in emacs to remember the search/replace string across multiple sessions? %> emacs -nw fileA %> emacs -nw fileB should automatically replace X with Y (without having to enter ...
2
votes
1answer
25 views

In emacs edit section of file as if it was a separate file

For some tasks I prefer single big files over splitting a project (say: a LaTeX report, a medium-sized python script) into separate smaller files, e.g. for easier searching and search-and-replace. ...
0
votes
0answers
10 views

screen+emacs conflict on ESC key

I have a problem in running emacs -nw inside a screen session. In this setup, pressing ESC followed by any key behaves like pressing CTRL+KEY together. For example, pressing ESC followed by k will ...
0
votes
0answers
18 views

How to stop Putty grabbing Ctrl + Page Up/Down?

Putty grabs Ctrl + Page Up/Down as shown here. How to stop Putty doing so? I have configured Emacs to jump between section comments using Ctrl + Page Up/Down. It works fine with Linux but on Windows ...
0
votes
1answer
34 views

Emacs Latex mode error "symbol's function definition is void : latex/setup-keybinds

I get this error when I try to load the .tex files in Latex or Tex mode. symbol's function definition is void : latex/setup-keybinds Checked all files but dont know why error is coming as ...
1
vote
1answer
75 views

Emacs — sort - usefulness of side effect modifying initial list [closed]

Is there any usefulness of the side-effect of the function sort, which modifies the initial list? The modified list is different than the result of sort: (let* ( (initial-list '(3 2 4 1)) ...
0
votes
1answer
19 views

Package dependencies in emacs

I'm trying to install js2-refactor mode using package-install inside of emacs but I'm getting a dependency error: package-compute-transaction: Need package `yasnippet-20130218', but only 0.9.0.1 is ...
-1
votes
1answer
44 views

Emacs — tree-view libraries that show date modified, size, permissions, etc

I have modified ztree-mode to provide a tree-view with a few of the dired-mode features -- e.g., mark, unmark, ztree-get-marked-files, up-directory, copy, rename/move, delete, sort by name and sort by ...
0
votes
1answer
48 views

remove spurious ending spaces when copy pasting from emacs console mode?

I'm not really sure where this comes from but it's really annoying: Using emacs in console mode, and when I want to copy from emacs and paste to another application (possibily another term) I often ...
0
votes
1answer
33 views

Defining faces for syntax highlighting in Emacs

This is a follow-up question to Adding syntax highlighting for a comment section in Emacs. I have the following face definition adapted from the definition of font-lock-warning-face in font-lock.el: ...
0
votes
1answer
111 views

How to create a Mac App launcher for Emacs via HomeBrew?

I created a Mac App launcher for Emacs installed via Homebrew. The technique uses Automator. The problem with Automator is that a spinning gear goes into the taskbar each time. I'd rather not have to ...
0
votes
1answer
29 views

How to override a keybinding in Emacs org-mode

I just updated emacs org-mode and when visiting org files, this binding takes effect: C-TAB (org-force-cycle-archived) Cycle a tree even if it is tagged with ARCHIVE. What's the best way ...
0
votes
0answers
33 views

Emacs Melpa and Marmalade

Does it make sense to include both Melpa and Marmalade package repositories with emacs HEAD. And if so, what is the best way to ensure that one is using the latest and/or correct package, when many ...
0
votes
2answers
24 views

why do I get duplicated menu items in emacs dired mode

I have two menu items for dir, mark, regexp, multiple and single on the menu bar in dired mode. While it doesn't affect the usage, but it seems something is wrong and makes me feel uncomfortable. ...
0
votes
0answers
22 views

How to ignore white spaces in emacs evil surround

I learned from here http://kana.github.io/config/vim/surround.html that yss should operates on the current line, ignoring leading whitespace. But it always includes the leading whitespace on my ...
0
votes
1answer
60 views

Adding syntax highlighting for a comment section in Emacs

I have the following (defun add-c-syntax-highlighting () (font-lock-add-keywords nil '( ("\\<\\(\\-+\\)" 1 font-lock-warning-face prepend) ("\\<\\(FIXME\\):" 1 ...
1
vote
0answers
27 views

how to manage images in emacs org mode

I am considering switching from zim wiki to org mode for managing collection of web page pieces. Typically it includes images and texts I copied from a web browser. The question: 1 how to insert ...
0
votes
2answers
34 views

Emacs - dired-mode - copy files/directories recursively — remote to local

Using tramp / dired-mode to access a remote shared Centos linux server -- e.g., (find-file "/ssh:lawlist@12.34.56.789:/home/lawlist/") -- I have not been able to subsequently copy files / directories ...
1
vote
1answer
13 views

what is the keys to minimise help frame of emacs

I have a small screen, I typed ? in ediff mode and the control frame enlarges to show me the keybinding. How do I minimise it to its original size after that? Thank you very much!
1
vote
2answers
23 views

Emacs opens “Messages” pane on startup

On startup Emacs now opens a pane labelled "Messages" in addition to the "scratch" pane. How can I modify my configuration to suppress this? Google seaches just seem to give me ways to suppress the ...
2
votes
1answer
70 views

Trouble with emacs .el file (Searching for program; permission denied) error

I have emacs version 24.3.1 (i386-mingw-nt6.2.9200) installed on a Windows 8.1 machine. I am trying to use the ledger.el distributed with John Weigley's ledger (version 2.6.1). While the lisp file ...
1
vote
1answer
27 views

How can I properly interpret M4's $# variable without starting comment syntax in emacs?

I have the following M4 macro definition: define(`printlist',`$1`'ifelse(`$#',1,,`printlist(shift($@))')') # does begin a comment in M4 syntax, but only when it isn't preceded by a $: $# is the ...
0
votes
1answer
32 views

How to remove the visual line from Python mode in Emacs

I started to use Emacs for Python and I am using this package: https://github.com/gabrielelanaro/emacs-for-python After I install it, I see this: There is a white line (like underscore) ...
2
votes
2answers
80 views

Make Emacs open with three frames by default for OCaml editing

I wish that if I open a .ml (OCaml file), or enter Tuareg mode (a mode for OCaml programming), then the frame should be split like shown in the picture. Left is the main. Top right is secondary. ...
2
votes
0answers
28 views

How to install magit manual?

I have magit installed on my system with elpa. However, it comes without documentation, and that makes using it a hassle (since help on its mode is somewhat lacking). Is there a way consistent with ...
2
votes
1answer
111 views

Installing Emacs color theme

I've been trying to install color themes for emacs and I'm not quite sure how I can do it. I have downloaded an .el file and put it under my .emacs.d folder, then edited my .emacs file and added this: ...