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
6 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
31 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
18 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
22 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
26 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
14 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
46 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
46 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
33 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
17 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
18 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
18 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
37 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
29 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
25 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
32 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
11 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
10 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
19 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
58 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
41 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
52 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
15 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
28 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
116 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
45 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
146 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
49 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
62 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
30 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
60 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
42 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
33 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
67 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
28 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
53 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
115 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 ...