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
0answers
28 views

how to set a kill string length criterion for storing in kill ring

Is there a way to tell emacs ignore kill that are less than 4 characters long? It is quite annoying to have a lot of single character kills in evil mode. Thank you!
0
votes
2answers
34 views

Can I get Emacs to save a local copy when editing a remote file?

I know I can edit a remote file over SSH by opening a file path of the form /ssh:user@host:/path/to/file. However, right now I'm working on a kernel module in a Linux VM. Since my kernel module might ...
0
votes
0answers
30 views

Creating new headlines through capture and file+olp

I am trying to set up my journal file to use capture and a reformatted datetree (I do not like the style of the typical file+datetree). However, I can't get org-mode to make the headlines if they are ...
0
votes
0answers
22 views

Resize terminal Emacs window to fit when resuming a Screen session from larger display in Ubuntu

Whenever I start a GNU screen session running GNU emacs (nw, so in terminal) on my desktop with a large monitor, then resume it on my laptop, emacs still thinks it's on a large monitor. This means as ...
0
votes
1answer
15 views

AUCTeX installation failure “Error occurred processing /usr/share/emacs24/site-lisp/debian-startup.el”

I started to work with Debian Testing on a new Lenovo Thinkpad X1 Carbon (3rd gen.). I installed Emacs and AUCTeX the 'usual way': sudo apt-get install emacs24 auctex. My .emacs contains (for many ...
0
votes
1answer
24 views

How do I Configure 'org-latex-classes in .emacs?

I use emacs org-mode for keeping track of notes and todos. Sometimes I wish to export notes as a latex file, using the official company style. To get the correct heading styles I run the following ...
0
votes
1answer
5 views

Why do I get a timeout from XEmacs gnuclient on LAN?

I have a running XEmacs (and gnuserv) on host A. I start gnuclient from bash on host B but get a timeout (end of strace output see below). Both hosts are in the file pointed to by $GNU_SECURE_FILE. ...
0
votes
0answers
13 views

How to enable tab complete only in term-line-mode

I have company-mode installed. When I press tab in term-mode, it always calls company-complete. I tried to disable company-mode with (global-company-mode '(not (equal major-mode 'term-mode))) Also ...
0
votes
0answers
14 views

Open file with emacs as administrator on windows

Is it possible to open files as administrator from inside emacs on windows, like one can do on linux with tramp syntax (/sudo::/path/to/file)? What is the syntax for this?
0
votes
1answer
35 views

How can I close all buffers in Emacs?

I often leave Emacs (actually Aquamacs) open and wind up with a lot of buffers cluttering up my auto-complete. I would like to be able to close them all and start fresh. Right now I quit and reopen ...
0
votes
1answer
11 views

Stop Org Mode from exporting headline tags

When I setup a headline like the following #+SELECT_TAGS: export ...snip... * A Heading :export: and do PDF export, the :export: text shows up in the heading. How do I suppress this?
1
vote
1answer
37 views

How to prevent emacs loading saved desktop at start?

I know that we can start emacs without opening last session's files and status, start it by: emacs --no-desktop But how do we do that in the init.el file?
1
vote
0answers
25 views

how to set outline-minor-mode heading levels in outline-regexp

I am trying to add a custom heading to program mode, and I want it to be on the highest level and move all other levels down, so I can add more structure to my long script. For example, for python ...
0
votes
1answer
27 views

How to bind CTRL-<home> and CTRL-<end> to beginning/end-of-buffer in Emacs?

Using PuTTY to connect to Linux from Windows and running Emacs: How do I bind CTRL+Home and CTRL+End to beginning-of-buffer and end-of-buffer respectively? I've been searching the web for a while on ...
0
votes
1answer
36 views

Python debugger not stopping at breakpoints

I'm in a linux based development environment where I don't have superuser permissions. My basic issue is that the breakpoints I set in emacs through pdb never work. The debugger never halts at those ...
1
vote
0answers
18 views

How to show git branch in Emacs shell

How can I show the current git branch as part of the Emacs shell prompt? For example, I have this in my ~/.bash_profile (I'm on Mac OSX 10.9 Terminal): parse_git_branch() { git branch 2> ...
2
votes
0answers
48 views

Yank plain text in Emacs?

Using Windows 7 / 8, GNU Emacs 24.3.1 I often yank text copied from browser or incoming email. Is there a way to yank/paste as plain text, leaving out special characters? I tried Ditto and Puretext ...
0
votes
2answers
51 views

How to un-default Emacs on Mac OS X 10?

I’ve installed Emacs 24.4 on my Mac 10, and it took over the “default editor” role from my other editors (TextMAte, for example). How can I revert that without un-installing Emacs? Could not find ...
0
votes
1answer
15 views

Emcas is not recognizing R scripts as commands I could see only text lines [closed]

I am using Emacs for R when I type in R scripts I could see only text lines and not as scripts so eventually I could not able to run. I saved the work sheet with *.R extension. Please help me thanks
0
votes
0answers
41 views

Loading org-mode agenda files

I'm having trouble getting Emacs to automatically include files in my org-mode agenda. I want files from two folders included, which I've attempted to do by setting (setq org-agenda-files (list ...
0
votes
0answers
22 views

emacs CUA mode Control-C not working

I have CUA mode enabled for gnu emacs 23.1.1 on RHEL. CTL-V and CTL-X are working just as advertised. However CTL-C does not work. I need to use Meta-w. The problem is my fingers have it so ...
0
votes
1answer
15 views

How to scroll the emacs Buffer List window via the keyboard

After invoking the list-buffers via C x C b we have the Buffers Window in the lower pane of the emacs window What are the shortcuts to toggle between the editor windowand the Buffer List window ...
0
votes
0answers
20 views

How to show buffer list while selecting text in emacs CUA mode

What key combination works for selecting buffers in CUA mode? C-x C-x (rapidly) does not work when text is highlighted: it cuts the text. M-x b does not work M-x M-b does not work
0
votes
0answers
23 views

Copying from Emacs to other tmux pane (code execution for Ipython, sql, bash, etc)?

My preferred setup is running a terminal window with several tmux panes (a couple of shells, and an emacs session). What is the easiest way to send code from the emacs pane to be executed in the shell ...
2
votes
0answers
44 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
38 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
34 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
31 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
26 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
34 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
1answer
18 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
13 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 ...
1
vote
0answers
22 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
27 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
59 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
33 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
48 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
53 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
31 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
54 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
21 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
17 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
26 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
30 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
123 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
49 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
197 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
57 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
66 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 ...