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

2
votes
0answers
34 views

What are the benefits of keeping Caps Lock on after swapping with CTRL? [closed]

I have swapped CTRL and Caps Lock (as it is easier for emacs/bash to have homerow access to the CTRL key). Most places I have read don't mention whether they just turn off Caps Lock (don't remap to ...
1
vote
3answers
32 views

How to select and kill column in Emacs

I want to select a column in emacs and remove it. For example, here I want to remove the word test. This is a test text... This is a test text... This is a test text... In Visual Studio, or ...
0
votes
0answers
30 views

Configure emacs to kill/copy region including character under cursor

When I select a region using C-Space, move the cursor, and then C-w kill (or copy) the region, the character under the cursor is not part of what gets killed (or copied). I would like to configure ...
1
vote
0answers
22 views

Emacs Dired: Sorting by time / date as default

In emacs dired-mode, when I press s I can toggle between alphabetical and chronological sorting of files. Usually, I always prefer chronological sorting, but alphabetical sort is the default. How can ...
0
votes
0answers
23 views

How to make this elisp work? Send STDIN to EMACS

Sending stdin to emacs list this doesn't work: $ ~jsmith/bin/some_script some_arg | emacs -nw I found this elisp code at an older superuser post: # An emacs 'alias' with the ability to read from ...
0
votes
1answer
29 views

Making emacs emit a sound

While programming I am trying to impose a limit of ~ 80 characters per line. In emacs, is it possible to emit a loud short beep when I cross 80 characters on a line?
0
votes
0answers
10 views

Gnus does not delete expired articles

I am trying to use emacs gnus to read my mail. I have read in the documentation (emacs info) that the way to clear away the mail messages is: Mark them as expireable (E) Expire mail articles (with ...
0
votes
0answers
9 views

How to compile predictive mode using Gow instead of Cygwin on Windows?

I want to install the predictive mode for latex in Emacs editor. Since I have windows so I should have the make utility available. I don't want to install the fussy Cygwin (over 100MB), but the much ...
0
votes
0answers
16 views

Emacs, gdb: How do direct program output to gdb buffer in gdb 2 window mode

Is there a way to tell Emacs 24.3.1 with gdb 7.5 to display the program output in the gdb buffer instead of a separate "** input/output **" buffer? (Displaying it in a separate buffer in 2 window ...
1
vote
0answers
25 views

Repeat command in Aquamacs

I am running ESS on Aquamacs. When I execute a command in the command line I can press esc-p to repeat the line. However, when I execute a command from another buffer and then go to the command line, ...
1
vote
0answers
54 views

Make command line unmodifiable in Aquamacs

I am running Aquamacs on OSX. Let's say I open a shell: M-x-shell I find it annoying that I can press backspace and it will delete the command line prompt > and also that I can delete ...
0
votes
0answers
32 views

Emacs on Win7: Gap on top when full vertical

Using emacs 24.4 on Win7 x64 with classic win2000-theme on a dual-monitor setup, each running at 1920x1080, I want to have the emacs window side by side with a browser window. While fullscreen works ...
0
votes
0answers
35 views

Turn off “Java/l Abbrev” mode on JS files in emacs

How do turn off "Java/l Abbrev" mode when editing JS files in emacs? When I open a file in emacs it defaults to the "Java/l Abbrev" mode. I do not want this.
0
votes
1answer
30 views

Emacs: how to auto-pick the next instead of previous window (pane) on C-x 0

Suppose I have an Emacs frame (what normal people call a window) with three windows (what normal people call panes or frames), and that it looks like this, with the cursor at X: ...
1
vote
0answers
50 views

How to copy the whole line with easy way in emacs?

to copy the whole line, I use : ctrl+k and ctrl+y (restore the kill line) and use ctrl+y to yank it is there any easy way?
1
vote
0answers
30 views

Prevent emacs desktop save from holding onto theme elements

I've been having an odd interaction between desktop save and the theme system. I noticed while trying to set up a custom theme that certain elements weren't matching the theme values. Things like ...
2
votes
0answers
42 views

Gnu Emacs : how to minimize it to system tray?

i've been searching around for a way to minimize to tray or hide Emacs app, i don't really want to close it every time i finish using it nor i want to have it's icon showing on taskbar and "alt-tab" ...
0
votes
1answer
19 views

Suppress appearance of headline tags in pdf export

I have headlines like * Title :tag: in my org file. The :tag: text appears in the pdf export of the org file. I don't want to see the tag-names when I export. How do I ...
0
votes
0answers
14 views

How to input Chinese in emacs of mac ox?

My Mac OS is 10.10.1 My Emacs is : GNU Emacs 22.1.1 Copyright (C) 2007 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the ...
0
votes
1answer
25 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
1answer
26 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
2answers
98 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
43 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
104 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
43 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
59 views

View patch files with different region highlighted [closed]

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
26 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, ...
2
votes
3answers
52 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 ...
1
vote
1answer
38 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
31 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
65 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
27 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
21 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
24 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
91 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
143 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
55 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
26 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
34 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: ...
2
votes
2answers
605 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
23 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
30 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
11 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
30 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
64 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
79 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
25 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
58 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 ...
1
vote
1answer
87 views

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

Using emacs in console mode, I want to copy mouse selected text from emacs and paste it to another application (possibily another term). But emacs will add full spaces to the selection to fill the ...