Emacs Questions

Emacs Questions

  • All Sites

3 answers

Carbon Emacs: no `focus' in minibuffer on incremental search

Good day all, my trusty old Carbon Emacs has developed a frustrating habit: when I use C-s, the minibuffer prompts for a search string, but it is not focussed. Obviously, typing in a string doesn’t …

2 answers

Initialization file not loading in Emacs?

I'm trying to go through the complicated process of getting Emacs to work as a Python IDE. However, the .emacs file doesn't seem to be loading. Ctrl-h, v shows me that user-init-file is what it should …

2 hours ago
0 answers

emacs Semantic/senator : autocomplete for external lib's

It seems this forum is more alive than mailing list : http://sourceforge.net/mailarchive/forum.php?forum_name=cedet-semantic. I would like repost my quest from a week ago from there: First hi to all …

2 hours ago
1 answer

Merge cells in org-mode tables

Is it possible to merge cells in Org-mode tables? Examples of horizontal merging would be something like that: | Header | Merged header | |--------+-------+-------| | Text1 | Text2 | Text3 | | ...

3 hours ago
2 answers

Is there a good emacs mode for displaying and editing huge delimiter separated files?

I've been searching without finding for a while for a mode that makes editing huge tab/comma/colon-separated files easy. I've been wanting a mode that ensures that columns always line up, just like …

4 hours ago
2 answers

How do I get region (selection) programmably in Emacs Lisp?

I need to access the selection in Emacs buffer. I have found this article How do I access the contents of the current region in Emacs Lisp? and it helps me a lot. But there is a problem. The first …

6 hours ago
0 answers

Emacs Ruby autocomplete almost working

I've been updating my emacs config with the use of Rsense to allow for an autocomplete drop down box to appear whilst typing code. This works well in most files except I've found it doesn't allow me …

0 answers

How do I Create a Context Menu to Open a File in GNU Emacs inside Mintty under Cygwin?

I run GNU Emacs under Cygwin. What I am interested in doing: Configuring Windows shell integration (right-click context menu) for GNU Emacs inside Mintty under Cygwin so that I can use it to edit …

0 answers

Japanese font for emacs on 12.04

i use emacs to edit multilingual files with latex/xetex/platex Since I have upgraded to 12.10, the Japanese font has a hand-writing feeling that makes it hard to read. Which font can I choose to have …

19 hours ago
1 answer

Emacs other-window-or-previous-buffer

in an effort to reduce the number of keystrokes I have to memorize I'd like to have a function which either a) switches to the previous buffer when there is only one window/frame b) switches to the …

20 hours ago
1 answer

NXHTML in Emacs 24

I am having a issue where i cant get nxhtml working in emacs 24. I have the correct load path (add-to-list 'load-path "C:/Documents and ...

22 hours ago
2 answers

sh.exe": emacs: command not found (Git bash Windows)

I'm using Git Bash on Windows 7 and have a problem with setting up emacs as the default text editor - I've tried git config --global core.editor emacs, then git config --global core.editor ...

23 hours ago
1 answer

using emacs shell with gnu screen?

How can I use a bash shell in emacs (M-x shell) when I am trying to connect restart a GNU screen session (on a remote ssh connection)? When I try it, I get: avilella@remote-machine-002~$ bash ...

23 hours ago
3 answers

How to enable global menu bar for Emacs on Ubuntu (Unity 11.04)

I use latest Ubuntu 11.04 which has Unity desktop. I am learning to use Emacs 23. As you know, Unity has top panel. I want to enable global menu bar for Emacs so that I could save valuable screen ...

23 hours ago
1 answer

minibuffer input: word completion with custom dictionary

I am trying to accept user input for a command-line utility in emacs. I've got a handful of words that I can use in this command-line (something like the possible target list of a make invocation), …

1 answer

Emacs and latex math delimiters

The forward-sexp command in EMACS can be used to find the $ that closes an inline equation: if the point is before the $ that opens the equation, then forward-sexp moves the point after the closing $. …

yesterday
4 answers

Emacs: move the cursor to the last character of a word

Is there a shortcut to move the cursor to the last character of the word? If there isn't, how to write some functions in .emacs to have?

3 answers

How to Load Emacs Configuration File in LISPBOX

I am currently using Lisp in a Box which comes pre-configured to not load the ".emacs" configuration file. I would like to change the shortcut so that Emacs does load this file by default but I ...

0 answers

Change Windows [Ctrl+Tab] Key Binding to the Emacs Key Binding Ctrl + x o which changes windows

I always want to hit Ctrl+x o when coding in python to switch to another window just coded in from emacs usage but ipython doesn't understand that as a key binding nor any other program for that ...

2 answers

How do I run capistrano with rinari in a system with rvm?

This happens when I try to run rinari-cap: ~/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require': no such file to load -- rvm/capistrano ...

0 answers

What's wrong with `(add-to-list 'process-coding-system-alist '(“zsh” . utf-8))`?

In Emacs, I routinely use an inferior shell, invoked with M-x shell. I often need to specifically set its coding system, which I do with C-x RET p followed by utf-8 (twice). I want to do this once …

yesterday
0 answers

Can't see #date #desc in html generated by emacs and muse

I read the document of emacs muse from here http://mwolson.org/static/doc/muse.html, I tried to use #date and #desc as following: "#author chenshu" "#title This is my test title" "#date 2012-5-15" …

yesterday
2 answers

Colorize current line number

I am using global-linum-mode for line numbers. It would be nice if the line number of the current line was highlighted with different color (and/or also different background). Anybody has an idea how …

yesterday
0 answers

Emacs rebind C-i while keeping <tab> bindings

I'm using Aquamacs. It can distinguish between <tab>, the actual tab key, and TAB, which comes from typing C-i. I want to bind C-i to 'next-line permanently. This works for that: ...

8 answers

Are Lisp source code files themselves lists?

No matter the Lisp dialect, it looks like every source code file containing Lisp functions isn't itself a list (the first time I was "surprised" by this was when working on my Emacs .el files). I've …

1 answer

How to map “jj” to Esc in emacs Evil mode

Recently I tried Emacs and found Evil helpful to keep my vim custom. I'm used to typing "jj" to return normal mode from insert mode like many Vimers do but don't know how to make it in Evil mode. I …

yesterday
2 answers

Dynamic global replacement with line numbers, emacs

I'm trying to do some debugging on some Prolog code, and I have several calls to a method. Is it possible to do a global replace within emacs so that I could create a write statement that would ...

yesterday
2 answers

Mapping Command-<left> in Emacs to move cursor to beginning of line

Anyone knows what needs changing in OSX .emacs to get Command-left to act as C-a and move the cursor to beginning of line? The same for Command-right, I'd like to map it to move the cursor to end of …

2 days ago
1 answer

Emacs elisp expand-file-name behaviour on windows

I encountered strange behaviour of expand-file-name function on windows during installation of last cedet using el-get. The issue is related to generation of autoloads. The autoload.el on last emacs …

2 days ago
2 answers

Accidently ran shortcut key combo for org-columns in org mode emacs and now want to get rid of column view at the top of the buffer

As stated accidently ran the org-column command and I manage to remove it from the todo item somehow. Not sure how but it got rid of it but it's still at the top of the buffer it shows the column ...

2 days ago
15 30 50 per page
1 2 3