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

Edit text file contain unknown format

I have a text file when I open it with gedit warn me: and when I open with emacs: I have another file with this character and I want to remove this character from that file with a bash script.
1
vote
2answers
41 views

Emacs startup, how to spawn windows and buffers

I switched from sublime to emacs and I love it. Org mode is a must-have for me and I would like to customize my emacs startup with it. I usually work like this : ______________ | | B | | ...
1
vote
0answers
56 views

Gnu Emacs on Windows 7 very slow when VPN connection is used

I'm using Gnu emasc 24.3 on Windows 7 and normally I don't have any problems with speed/responsiveness. I'm launching Emacs with the runemacs.exe However, when I am travelling and try to connect to ...
0
votes
2answers
46 views

Emacs spellcheck tool for comments in c/c++ code

I am using emacs as my text editor for c/c++ code. Is there any tool which spell check comments for me? Thank you.
1
vote
1answer
24 views

emacs: C major mode: how to get Tab key to insert tab (\t) always?

How to set Emacs to use \t for tabs, when C major-mode is active, and cursor is at any position - including line beginnings?
0
votes
1answer
32 views

emacs and pasting from clipboard gives this “don\u2019t know”

How can I stop this happening please, when I import text from the debian clipboard into emacs like this source text Remember, most breast lumps are not cancerous, but you don’t know if you don’t ask. ...
1
vote
1answer
44 views

Multiply two vectors in Calc element-wise

2: [0.5, 0.25, 0.125, 0.125] 1: [1, 2, 3, 4] Suppose, this is how the stack looks like, what I'd like to be the result of multiplication: [1 * 0.5, 2 * 0.25, 3 * 0.125, 4 * 0.125] Instead, Calc ...
0
votes
0answers
25 views

Emacs incremental search - blinking cursor

I am trying to move from vim to emacs. I am using emacsformacosx build. I have noticed that when I try to do an incremental search in emacs (C-s), the cursor in the search field blinks as I type each ...
1
vote
1answer
93 views

Emacs maximized but leaves few pixels in Awesome WM

I love emacs and Awesome WM. But dont know why, but when I maximize the emacs, it always leaves few pixels in Awesome WM. I've tried font_size_honor=false for emacs class in rc.lua but it just does ...
1
vote
1answer
32 views

How to change string literals in Emacs (from a VIM user)

Assume that the cursor is at the top of the following file: <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Hello World</string> ...
0
votes
0answers
37 views

How can I make emacs ignore bell when recording macros?

Currently, emacs will halt the recording of a macro when the bell rings. This is extremely useful for things like halting when C-s fails to get a new match. However, when I'm recording a macro, and ...
0
votes
0answers
6 views

I downloaded a different version of Octave and new it will not work inside emacs

I downloaded a different version of GNU Octave and now it will not work inside emacs. To run it in a typical terminal window, I can just execute octave3.8. I believe the solution would be as simple as ...
1
vote
3answers
100 views

Emacs not loading init file when run as sudo

Emacs loads my .emacs.d/init.el startup file just fine when run as a regular user, but refuses to load it when run as sudo emacs file.type. I have tried changing the owner of .emacs.d to root with no ...
2
votes
0answers
23 views

Emacs DocumentView: how to see PDF contents page?

Basically what the title says - if I open a PDF using Emacs' DocumentView, how can I bring up the PDF's contents page? Also, how would I 'jump' to a particular page in the PDF (from the contents page ...
0
votes
1answer
76 views

How can I have Emacs window(s) and cygwin shell running simultaneously on Windows?

I have Cygwin working with Emacs 24.3.1 on windows 8.1 with Emacs downloaded from the Cygwin installation, however I can't use Emacs and the Cygwin shell at the same time or open up multiple Emacs ...
0
votes
1answer
125 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
0answers
30 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
16 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 ...
0
votes
0answers
43 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 ...
0
votes
1answer
47 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 ...
3
votes
1answer
100 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
1answer
58 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 . ...
1
vote
1answer
54 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
1answer
153 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 ...
0
votes
1answer
52 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
54 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 ...
0
votes
0answers
70 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
45 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
46 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
183 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
50 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
40 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 ...
2
votes
0answers
18 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
33 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") ...
4
votes
0answers
50 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 ...
1
vote
1answer
61 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
38 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
54 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 foo@bar.com into ...
1
vote
1answer
37 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 ...
1
vote
1answer
138 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.
0
votes
2answers
88 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
1answer
35 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
28 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
1answer
43 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") ...
1
vote
0answers
41 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 ...
0
votes
0answers
56 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 ...
1
vote
2answers
167 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 ...
0
votes
1answer
42 views

How to get “long press for international chars” in Emacs on Mac OS X

I recently started using Emacs, and so far it's quite good. Since I have to type a lot of international characters, I got used to Mac's way[*] of entering them (for example, press "a" and wait until ...
0
votes
0answers
48 views

How can I see (on my local display) emacs (and other graphical apps) running on a VPS?

Original Question posted on StackOverflow by mistake. The VPS is running CentOS 6.x It looks like this post is highly relevant, but neither -Y nor -X worked. (As an I do trust the remote server, but ...
1
vote
1answer
115 views

Emacs can not be closed, because it cannot save customizations

Debugger entered--Lisp error: (error "Cannot save customizations; init file was not fully loaded") signal(error ("Cannot save customizations; init file was not fully loaded")) error("Cannot ...