Tagged Questions

From the official GNU Project Site: GNU Emacs is an extensible, customizable text editor—and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. It provides features common to programming text ...

learn more… | top users | synonyms

3
votes
1answer
24 views

Emacs - Better completion mechanism for comint mode?

When I open a shell in Emacs and try to Tab-complete paths, this stupid window pops up: Click <mouse-2> on a completion to select it. In this buffer, type RET to select the completion near ...
1
vote
0answers
27 views

Emacs Shell backwards regexp search too slow

When I use comint-history-isearch-backward-regexp (M-r) and I mistype something so it will not be found Emacs starts searching backward for 500 results before giving up. I cannot Control-g out so it ...
1
vote
1answer
51 views

Emacs (Aquamacs) org-mode agendas are suddenly empty

I'm sorry for this newbie question, but I'M lost at this point: I'm using Aquamacs 2.4 on MacOS X 10.6.8 and I'm currently trying to learn emacs and org-mode. I have several *.org files containing ...
1
vote
1answer
10 views

How to override ctl-tab keybinding in textmate.el minor mode

I'm playing around with textmate.el: https://github.com/defunkt/textmate.el. A little confusing at first if you've never tried textmate, but pretty cool! I'd like to override a binding in the minor ...
1
vote
2answers
50 views

How can I install emacs customizations without apt-get?

I'm an emacs newbie trying to make the switch; after configuring org-mode to my liking (my primary reason for switching) the next thing I wanted to do was customize the colors. I know several people ...
1
vote
4answers
45 views

How to view a delimiter-separated-value file in Emacs with highlighting helpful for reading?

How to view a delimiter-separated-value file in Emacs with highlighting helpful for reading? Ideally the delimiter character/string should be customizable. If Emacs can't do, any other tool ...
0
votes
0answers
26 views

How to use pandoc to convert a block of text in Emacs from Markdown to Wiki text?

How to use an external program such as pandoc to convert a block of text in Emacs from Markdown to Wiki text (as used by Mediawiki), and substitute the content in situ?
0
votes
2answers
50 views

How to view Gmail using VM in Emacs via Imap?

I followed instructions at here and now I get the following error when I ran vm: vm-imap-protocol-error: IMAP protocol error: "unexpected char (10)" $ lsb_release -rd Description: Ubuntu 11.10 ...
1
vote
1answer
79 views

How to restore Emacs' windows and buffers from the last session?

How to restore Emacs' windows and buffers from the last session? The behavior I want is like in web browser that you can restore all the tabs from last session.
0
votes
1answer
46 views

How to efficiently type in a pair of XML tags in Emacs?

How to efficiently type in a pair of XML tags such as <tag></tag> in Emacs? I am hoping some sort of auto-complete behavior.
0
votes
0answers
31 views

Hide initial buffer list in Emacs' iswitchb-mode

How can I configure iswitchb-mode so that it does not display the list of all (matching) buffers until I hit TAB for the first time?
0
votes
2answers
76 views

Can't find .emacs file on Windows XP

I have installed emacs, specifically GNU Emacs 23.1.50.1 for Windows x86. After installation, I can't find .emacs file. I have the .eamcs.d folder which contains other customization files that will be ...
1
vote
1answer
66 views

Emacs CSS modes - most feature complete and maintained?

According to EmacsWiki there are bunch of CSS modes for Emacs, but none of them seems to be very actively developed or even that feature complete. Which one is the most feature complete so far and is ...
1
vote
1answer
122 views

Emacs on “software hatelist”. What does he mean with. “Lacks controlled cross-module code/data protection.” [closed]

Simply curious. (I use Emacs for Scheme and nothing more). Found this on a programmers "software hatelist" Quote: Emacs. Lacks controlled cross-module code/data protection. I don't understand what ...
3
votes
1answer
58 views

How can I make checklist counters accumulate results from subheaders in org-mode?

I want to do something like this in Emacs' Org-mode: * headline [%] ** subheadline1 [%] - [ ] list item 1 - [ ] list item 2 ** subheadline2 [%] - [ ] list item 1 - [ ] list item 2 The ...
1
vote
2answers
53 views

How to comment a block of code in Emacs?

In Emacs, how to comment a block of text, i.e. how to indent a block of text rightward by n whitespace characters and put a chosen character sequence, say ##, at the beginning of each line? Original ...
2
votes
1answer
21 views

Is there a way to let Emacs' regexp based commands such `query-replace-regexp` use Perl regexp?

Is there a way to let Emacs' regexp based commands such query-replace-regexp use Perl regexp? I am hoping there is some reasonably simple way to achieve this, for example, by adding code in .emacs.
0
votes
1answer
69 views

How to open an Emacs bookmark in a new frame?

In Emacs I can do C-x 5 C-f or C-x 5 f to find a file in a new frame. I want to do something similar but for bookmarks. How can I jump to a bookmark in a new frame?
0
votes
0answers
51 views

Emacs transparent background on gnome-shell?

I'm using emacs gui on gnome-shell(3.2). I just set transparent background as the guide shows. It actually works on xfce4 (with compositor turned on). But failed on my gnome-shell laptop. So is there ...
0
votes
3answers
84 views

How to indent a block of text rightward by 2 whitespace characters in Emacs?

How to indent a block of text rightward by 2 whitespace characters in Emacs? How to indent a block of text rightward by 4 whitespace characters in Emacs? [EDIT] I need a method that doesn't ...
0
votes
0answers
84 views

No rule to make target `/usr/lib/crt1.o' Trying to compile emacs

I am trying to compile emacs as a prerequisite to attempting Linux From Scratch I have a brand new Ubuntu VM. So I unpackaged emacs and run ./configure make and get make[1]: Entering ...
0
votes
1answer
44 views

Ctrl+h causing backspace instead of help in emacs on cygwin

I want to access the help for a command by using ctrl+h in emacs, but it keeps deleting the previous character. I googled it, and apparently ctrl+h is backspace in a terminal. How do I remove this key ...
0
votes
1answer
46 views

How can I run Windows cmd in a separate emacs window?

M-x cmd runs the cmd, but upon typing ... well, anything ... I get "no answer". How can I get plain old cmd in a separate emacs buffer? Like the one I would get by typing Win-R cmd? p.s. Emacs newbie ...
0
votes
0answers
45 views

Where to find non-boring tutorial/book about Emacs for users familiar with Vim? [closed]

Possible Duplicate: I'm an Emacs user. How do I learn Vim? Emacs is said to be good environment to program Lisp-based (and not only) programming languages. However when I try to work ...
1
vote
0answers
63 views

how to get gnome-terminal to not mess up emacs keybindings

In particular, if I type "C-M-SPC" gnome-terminal sends "M-SPC" to emacs. xterm does not have this problem. Note that this is a different problem than the one where emacs keybindings conflict with ...
1
vote
1answer
83 views

Emacs-like Meta (Option/Alt) key functionality in OS X Lion?

I'd like to have word-forward/backward functionality with M-f and M-b plus all the other convenient shortcuts. Is this possible?
0
votes
1answer
34 views

What is the easiest way to reformat paragraphs to a certain width in emacs?

For Vim users: I'm looking for the equivalence of tw=80, gq I have two paragraphs of a certain width, which I'd like to reformat to fit in the width of 80 characters. What is the easiest way to do ...
0
votes
1answer
49 views

How to stop Emacs from opening binary files

How can I make Emacs give me a warning if I am about to open a file that does not contain text? Example: When I edit a c++ source code in file test.cpp and compile it as an executable test in the ...
2
votes
3answers
48 views

How to type guillemets in Emacs?

How to type guillemets (book title mark in Chinese) in Emacs (efficiently)?
3
votes
1answer
75 views

Re-file outline tree into new org-mode file?

I'm just getting started with org-mode and imagine a workflow whereby I capture new tasks and notes in an org-mode "inbox" file. For tasks that grow into projects, I would imagine refiling them into a ...
1
vote
1answer
59 views

How to quickly access files in different folders in emacs?

Basically I have different type of files in different folders. org notes in E:\org-notes , certain php files in e:...\wamp\www\ and so on. And I want to quickly open files from these different ...
1
vote
1answer
65 views

How to write a fixed comment in an emacs buffer, respecting the mode?

I want to write a little function to enter a fixed comment string such as the following on a new line, respecting the mode, e.g. in elisp I would like it to write ;; this is a comment on the next ...
1
vote
0answers
24 views

set-input-method in emacs and colour highlighting

I am using set-input-method in emacs (with (set-input-method "portuguese-prefix") in my .emacs file). I write notes on Portuguese grammar in a file opened in the org-mode. The file has both English ...
6
votes
1answer
92 views

Emacs two windows for one file, seamless scrolling?

Is it possible to open one file in two windows, that are next to each other (C-x 3) and the first window shows lines x .. y and the next window has lines y .. z and when you scroll one window the ...
0
votes
2answers
65 views

send emacs file buffers to/from browser with Gmail message?

I sometimes find myself writing a Gmail email on the browser and I want to switch to editing it into my open emacs session, then once I am done, flip back to Gmail on the browser text window. Is there ...
1
vote
1answer
75 views

how to bind a key to more than one operation in emacs

I've been using emacs for years, but I'm relatively new to customizing lisp (beyond plugging in lines from other emacs scripts / package installation instructions). I programmed scheme before, so I'm ...
1
vote
0answers
41 views

Messy output in zsh working in emacs M-x shell

I have changed my shell to oh-my-zsh, which is working great in iTerm. However when I open up my Emacs, M-x shell, I see it also changes to zsh, but the output from executing commands is messy: ➜ ...
0
votes
0answers
20 views

Narrowing in speedbar?

Quite simply, I want to narrow down my selection in speedbar to the tags in a single file. The key seems to be selecting all child-nodes of a file as region. Or maybe there is a more elegant way ...
0
votes
2answers
63 views

How can I disable prompt about trust when encrypting file with gpg in emacs

I want to use emacs to edit files encrypted with gnu privacy guard. Im using the gpg support built into emacs 23 which I think is easy pg assistant. I import keys created at the command line with M-x ...
2
votes
2answers
182 views

How do I set up Emacs on Linux to read/send mail from Gmail?

I generally like Gmail, but there's something about well formatted, color highlighted plain text over a black background that appeals to me a lot. I'd like to be able to use Emacs to read/send email ...
0
votes
1answer
59 views

Terminal keystrokes confusion

#1 tmux ignores some keystrokes: Ctrl + Delete Ctrl + F* #2 Something similar happens in virtual consoles (even without tmux) with the difference that Ctrl + Delete and Delete behaves the same. ...
4
votes
1answer
92 views

Rebinding <s-mouse-1> to <mouse-2> in Emacs on OS X

I use a macbook pro and thus am subjected to a trackpad with one button. I can, of course, do mouse-1 by clicking and mouse-3 by clicking with two fingers, but there isn't much I can do about a middle ...
0
votes
0answers
40 views

isearch-forward-regexp key binding using Ctrl+Alt+s

The key binding for isearch-forward-regexp is C-M-s, however I cannot invoke that bindings somehow using Ctrl+Alt+s. I can do Esc then C-s to invoke it though. Other commands with the C-M prefix ...
3
votes
2answers
74 views

Pasting from OS X clipboard manager into emacs

I love emacs. I love having my clipboard history. I've used Jumpcut for a long time and recently purchased the powerpack for Alfred and tried its clipboard manager. I have the same problem with both ...
0
votes
0answers
22 views

emacs ansi-term remote directory tracking?

I followed the instructions on here: http://www.emacswiki.org/emacs/AnsiTermHints#toc4 But C-x C-f still only tries to open files from my local directory. My /etc/hosts seems to contain the full ...
0
votes
2answers
98 views

Why can't I open the easter eggs like Tetris on Emacs?

I am in terminal on a Mac, and I type in emacs tetris. It comes up with a blank page and something at the bottom saying: Loading image...done, but that is it. I leave it for a little while but nothing ...
0
votes
0answers
36 views

Emacs: rename-save file?

Is it possible in Emacs to save a buffer to a different filename than the currently associated filename and to remove the file with the current filename? For example, I'm editing file1.txt in a ...
2
votes
1answer
54 views

zsh completion will not work in emacs shell

I'm learning about the more powerful tab-completion and expansion capabilities of zsh, and they don't seem to work when I run zsh under emacs with M-x shell: cat $PATH<TAB> expands the tab ...
1
vote
0answers
56 views

Org-mode - table columns alignment - little tweak

In org-mode when I am using tables I need either to set up somehow or change algorithm of alignment in columns. By default there is text aligned to right with one whitespace character prepended. If ...
0
votes
2answers
91 views

How do I get back emacs on Mac Lion?

I have Mac Lion, I was trying to install Emacs 23.3 using these instructions and others. Emacs 23 didn't work, and I lost the one that was already there (emacs 2. something). Now, when I type: ...

1 2 3 4 5 12