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

1
vote
1answer
19 views

Specify the shell variant in Emacs local variables for the file

How can I specify the shell variant for a file in that file's Emacs local variables, when the file is not a standalone program? Emacs allows me to specify that a shell include file should be opened ...
0
votes
0answers
4 views

Emacs rmail and gmail (IMAP) and google contacts

It's been a few years since somebody asked http://stackoverflow.com/questions/66132 So, I'll ask it again. Despite several google searches and having a look at the rmail website and the Emacs ...
0
votes
4answers
1k views

How do I manage newlines in Latex?

So, maybe I missed something completely when I started using Latex, but I have a difficult managing newlines in the Latex source. I have to put hard returns at the end of lines because even powerful ...
3
votes
1answer
191 views

Emacs does not redraw properly inside VirtualBox

I am running Emacs inside a virtual machine, and are experiencing redrawing problems when scrolling or adding/removing lines of text. It seems only a small portion of the window is being redrawn, ...
0
votes
1answer
73 views

C-space doesn't work in Emacs

When I open a C++ file and press C-space to try to select some codes, but it doesn't work now. And there's an error message at the bottom: symbol's function definition is void semantic-mrub-update. ...
0
votes
0answers
12 views

Apply and display subtask schedulings/deadlines in org-mode checklists

Org-mode has a nice way to track task completion with nested checklist items: - [-] job 1 - [X] task 1 - [ ] task 2 I often need to do something like this, though: * big job - [-] job 1 - ...
0
votes
0answers
7 views

replace shift > generated tab with spaces in emacs win32

I am using emacs win32 on cygwin. and I encountered this commonly seen 'replace tab with space ' issue on emacs. but slightly different. I have configured like this: (setq tab-width 4) (setq ...
1
vote
2answers
664 views

How to fix emacs popup dialogs on Mac OS X?

I'm out of ideas here - my emacs crashes when popup dialog is opened. The x-popup-dialog function is probably to blame but I found no workaround to this. My Emacs version is 23.1.1 . Unfortunately ...
0
votes
0answers
7 views

S5 controls and formatting seem to be messed up in org-mode 8 exported presentations

The new org-mode exporter uses ox-s5.el, which still has no documentation up at the Emacs Wiki. On the other hand, there is HELP link that appears in exported org files: Unfortunately, none of ...
3
votes
3answers
2k views

How to copy and paste between cygwin's vi/emacs and windows clipboard?

I tried to paste what I copied in windows clipboard into cygwin's vi or emacs, and it doesn't seem to work with yy (vi) or M-w (emacs). Is there a way to do it? I learned that /etc/clipboard has the ...
0
votes
1answer
15 views

Move existing articles to another group in Gnus

I set up nnmail-split-methods to separate mail coming from my mailing list from anything else: (setq nnmail-split-methods '(("vladimir.lenin" "From:.*vladimir\.lenin") ...
0
votes
0answers
15 views

Emacs — how to press C-d in Eshell to exit cat file creation

How do I use the Control key while using Eshell to send that command to the remote server -- e.g., when creating a cat file and I need to press Control+d to save and exit, or when using Nano edit and ...
-2
votes
0answers
23 views

Gnu/Linux learning curve, resources and frustration. Experts, please advice [closed]

I am trying to learn GNU/linux or the unix architecture/pipeline for a computing platform. I feel like everything i try to learn has an unbearable learning curve. I wanted to switch to linux emacs ...
4
votes
1answer
190 views

Can I make Emacs start in text-terminal mode (no window, like `emacs -nw`) by default?

I don't want to get sidetracked too much here, but emacs -nw (in my opinion) ought to open a graphical instance of emacs, with a popup. However, foregoing the -nw switch will bring up the GUI, and an ...
4
votes
3answers
3k views

Disable Windows Key hotkeys when using Virtualbox

I'm currently running a VirtualBox of Arch Linux with Windows 7 x64 as the host. In Arch, I use dwm for window management. As dwm is heavily dependent on hotkeys, I've used the Alt key as its META key ...
0
votes
0answers
10 views

Reload minor mode in .dir-locals.el

In .dir-locals.el, I can only set variables to values, I can't call functions. However, after the following code is executed, I need to disable and then re-enable whitespace-mode: ((nil . ...
0
votes
1answer
27 views

Loading speedbar on emacs startup

I use emacs 23.3.1 on ubuntu 12.04. I installed speedbar on it. The emacs init file looks like this : ;;; Emacs Load Path (setq load-path (cons "~/emacs-config" load-path)) ;; speedbar in the ...
2
votes
1answer
154 views

Portable Emacs TRAMP problems

I put NT Emacs on a usb drive so that I could use it on my University library's Windows machines on days where I can't bring my linux laptop with me. Most of my work involves editing files remotely ...
0
votes
1answer
11 views

Don't show tabs in Emacs whitespace mode

Normally, I use spaces for indentation, but for a specific project I'm working on the convention is tabs for indentation. So I've made a .dir-locals.el file that looks like this: ((nil . ...
0
votes
1answer
11 views

Can I fix the width of a column in an org-mode table?

As a graduate student, I use org-mode to keep track of articles for a lit review. I love tables for their organization, but by default org-mode spreads out tables to fit the content of its fields. How ...
0
votes
0answers
21 views

Where should I install Emacs on Windows 7 as a standard account without admin priviliges for LaTeX pdf output?

I've been able to get Emacs running by putting it in the /Temp directory, but I'd like to be able to export my Org files to Latex pdfs, and I haven't been able to work that out yet, (I don't have ...
4
votes
2answers
2k views

How to fall back to the default Color Theme in Emacs?

I have applied a Color Theme. How can I get back to the default theme without restarting Emacs (version 23)?
0
votes
0answers
12 views

Emacs evil-mode yank and paste entire lines

In Vim I can do this: Example text (cursor is on the semicolon): void test(){ corner[0]=23; } In Vim, the command ddP... results in the following change (cursor ends up on the first c): void ...
0
votes
0answers
9 views

org-mode 8 async export process fails

The new org-mode exporter has an asynchronous mode which seems pretty cool. However, I can't seem to make it work: Initializing asynchronous export process Process 'org-export-process' exited ...
0
votes
1answer
38 views

yas-snippet-dirs is not a directory

I've just installed yasnippet, and added the following to my .emacs: (add-to-list 'load-path "~/.emacs.d/plugins/yasnippet") (require 'yasnippet) (yas-global-mode 1) However, on startup, ...
0
votes
1answer
13 views

Cannot run auctex on emacs

I installed auctex via M-x package-install. I then added this line to my .emacs file: (require 'auctex). However, upon startup, Emacs complains that error: Required feature `auctex' was not provided. ...
0
votes
1answer
20 views

Compiling pdfs from LaTeX in emacs

I'm using auctex in Emacs, and call C-c C-c. This compiles me a DVI, which looks great, and is exactly right, and also a PDF which... doesn't - it essentially has none of my text or formatting, and is ...
0
votes
1answer
26 views

How do I send Ctrl-; in iterm2?

How can I send Ctrl+; in iterm2 (emacs)? There seems to be a solution here, here and here These are close to what I want, but I am still unable to make it work.
1
vote
1answer
45 views

Homebrew CLI Emacs inserting ¯ when I press M-<

When I try to navigate to the start of a buffer with M-<, Emacs instead inserts a weird character ¯. How should I correct Emacs or Terminal.app to fix this? $ specs emacs brew bash os Specs: ...
17
votes
5answers
4k views

Syncing Google Calendar [Gcal] and Emacs Org-mode? Is it possible?

It would be amazing if I could sync Gcal and emacs org-mode, is it possible?
0
votes
1answer
24 views

how to cd to pwd of emacsclient when exiting

Can someone provide a hook to change directory into the current directory of emacsclient when exiting emacsclient? I often navigate to some files via terminal, pop open emacsclient to edit some ...
1
vote
4answers
2k views

How to disable control-alt-arrow Gnome window manager control for RedHat Linux

How do I disable the Gnome window manger keyboard control for control-alt-arrow (left, right, up, and down arrows) to scroll between workspaces? This is a key binding I use in Emacs and the window ...
2
votes
0answers
12 views

wrap for unspaced languages in emacs

Emacs has a nice wrapping mode called visual-line-mode that is pretty good at sensibly wrapping text. However, it depends almost completely on spaces, which causes the below failure in unspaced ...
1
vote
1answer
19 views

How to define variable in .emacs file?

It is my .emacs file: (setq load-path (cons "/usr/local/Cellar/erlang/R16B02/lib/erlang/lib/tools-2.6.12/emacs" load-path)) (setq erlang-root-dir "/usr/local/Cellar/erlang/R16B") ...
3
votes
0answers
17 views

Hang on jabber-connect in emacs

I use jabber.el to connect to my work chat server from within emacs. This was working until recently, but now when I run jabber-connect it hangs after prompting for my JID. Emacs locks up until I ...
0
votes
1answer
34 views

How to stop ido-find-file from looking at my file's contents?

I use ido-find-file in emacs (through the "emacs starter kit"). There is one drawback I've found, namely that it uses the location in the file I'm currently editing as an extra hint. In some cases, ...
1
vote
1answer
16 views

Going back to previous location after following link (org-open-at-point)?

Is there an Emacs function to go back to previous location after I follow an Org link? I usually use bc-set from the breadcrumb.el package, but I'd prefer something builtin from org-mode.
0
votes
1answer
25 views

Gnus auth with username being prepended to domain

I'm trying to solve the problem of Gnus asking you to type a username which it then prepends to the IMAP domain, i.e. preventing Gnus from making username typed at prompt [email protected] into ...
0
votes
1answer
24 views

How to keep org-mode links from stretching over text in unspaced languages?

In Japanese and other languages, there are no spaces in a paragraph. Org-mode interprets this as a continuation of a link description, which messes up the semantics and formatting. Example: ...
4
votes
3answers
131 views

Is there a version of Emacs thats runs exactly the same on OSX, Windows and Linux?

I'm using Emacs on different environments and unsure of which version to use so that they all behave the same as I hear there are differences between XEamcs, Emacs, and some other versions. Which ...
1
vote
1answer
16 views

ispell in emacs exits with error code 2 after upgrading emacs

I recently upgraded my emacs to version 24.3.1 on ubuntu (I had a lower 24 version before). I first purged the old version and the installed the current version to get a clean update. Since, then ...
30
votes
8answers
16k views

How can I open a file read-only from command line with emacs/vi/vim

Is there a way to tell emacs/vi/vim (from the command line) that I want to view the file in view-mode or read-only. I know how to open a file as read only if emacs/vi/vim is already running.
0
votes
1answer
27 views

In Emacs on my Mac, how can `Compile Command` see PATH set in ~/.bashrc?

In Emacs v23.4.1 on my Mac OSX Mavericks, how can Meta-x compile see $PATH for bash as set in my ~/.bashrc? Right now, PATH=/usr/bin:/bin:/usr/sbin:/sbin whereas in a normal shell it is ...
0
votes
0answers
14 views

GNU emacs on ssh and auto-save

I encountered problems of dropped ssh session, which is quite frustrating. I first open up a terminal, and using ssh to login to a remote machine running Ubuntu Linux 13.04. Then in that ssh session, ...
0
votes
1answer
22 views

Emacs: what is the most efficient way to remove the quote?

This is the text I am working on: is_check_point(9) -> {yes, ['{0,20}', '{3,23}', '{6,26}', '{27,47}', '{30,50}', '{33,53}', '{54,74}', '{57,77}']} I have text like the above repeated for ...
0
votes
0answers
29 views

Emacs adding strange characters at the beginning of files

I have an issue with my emacs. Sometimes, when I save and quit a file, emacs adds some characters at the beginning of my files like : B1;2802;0c EDIT : (answer to Drew) 1 and 2 : I don't know, I ...
2
votes
2answers
101 views

Swap the curly and the square braces in emacs

Currently in emacs I have to type SHIFT-[ and SHIFT-] to get { and } respectively. Typing [ and ] yields [ and ] respectively. I want to swap this behaviour in emacs, namely I want to have: [ and ] ...
1
vote
2answers
53 views

Auctex View works or does not depending on how I launched Emacs

I try to open a PDF in Skim from Emacs (via Auctex's View command) on MacOSX Mavericks 10.9.2. When I open Emacs.app by double-clicking or through Spotlight, it fails. Nothing happens. There's no ...
1
vote
0answers
12 views

Idiomatic way to reply to Google Groups mailing list with Gnus

I'm subscribed to a mailing list on Google Groups. Before, i used to reply to people outside mailing list by pressing r (gnus-summary-reply). For list this is no good — the reply is sent directly to ...
1
vote
2answers
156 views

Remote emacs access to my main computer

I have a Samsung Galaxy Note 10.1 which runs the Android OS. I have a nice keyboard for it and would like to be able to keep editing and working in emacs when I am not by my main computer. My desire ...