The Emacs text editor, one of the main text editors used on Unix and derivative operating systems.

learn more… | top users | synonyms

0
votes
0answers
2 views

Xemacs Sql Mode Invalid Converter Character Error

I'm trying to run the following query in XEmacs using Sql Mode. It is giving an "Invalid Converter Character" when the last line of the query is included and it returns results when the last line of ...
0
votes
1answer
37 views

Emacs: suppress indent after && in shell-script-mode

In shell-script-mode, when a line ends in &&, Emacs will indent the following line. Is there a way to switch that off? (I am concatenating most of my statements with &&. This gives ...
4
votes
2answers
1k views

How can I use Emacs in terminal mode and use Alt + ? shortcuts?

I want to use emacs in the terminal, but in Ubuntu 11.10 the bash terminal already has many Alt started shortcuts, how can I handle that?
1
vote
2answers
314 views

Ispell and its process have different character maps

I've just started getting this error with emacs on my Macbook Pro: Ispell and its process have different character maps I've tried changing my character map to utf-8. No luck. It would be nice if ...
2
votes
0answers
24 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 ...
0
votes
0answers
20 views

How to run conemu inside spacemacs (emacs)?

I am trying to replace windows shell terminal which is run from inside spacemacs with SPC a s i I have this in my .spacemacs file (setq explicit-shell-file-name "D:/Program Files ...
0
votes
0answers
15 views

“Mutt hook” to configure the mail text editor (Emacs)

Can I configure Mutt/Emacs such that, depending on the person I am writing to, it configures the text editor with custom commands? More specifically, I would like to set the ispell dictionary to a ...
0
votes
1answer
37 views

How do I make emacs-key-bindings work everywhere in linux

I am just tired of reaching for the home and arrow keys. There is a windows hack: http://www.davesquared.net/2008/02/emacs-key-bindings-everywhere.html How can we achieve that in linux? The ...
0
votes
0answers
3 views

Enable EMACS key bindings in Apache pig grunt shell?

Is there a way to enable EMACS key bindings in Apache pig's grunt shell?
1
vote
0answers
18 views

Emacs: How to split, open shell in bottom window at launch?

I tried adding this snippet to my ~/.emacs, but the resulting buffer/window mapping is weird. ;; Open split shell on launch (add-hook 'after-init-hook (lambda () (let ((w (split-window-below ...
3
votes
2answers
800 views

Minimal emacs24 installation on ubuntu

I need a minimal emacs 24 installation for distribution in a virtual box. When I try to install emacs-snapshot from synaptics I get tons of stuff installed like ghostscript and imagemagic and various ...
0
votes
1answer
24 views

Ubuntu virtual terminal cursor style resetting

I am running Ubuntu 14.04 and using one of the virtual terminals (TTY[1-6], accessible via Ctrl-Alt-F[1-6]); I want to permanently change the appearance of my cursor from the apparent default, a ...
0
votes
0answers
37 views

OSX Preview.App instead of xpdf as standard PDF-Viewer for Lilypond in emacs

I think about using emacs for Lilypond-Editing. I run OS X 10.11.3. Questions: Is there a chance to use Apple's Preview.app as a PDF-Viewer instead of xpdf, which is quite slow? Any idea? Is there ...
0
votes
1answer
72 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 ...
1
vote
1answer
25 views

Emacs org-mode display time range visually in agenda

I'm looking for a way to get the agenda view in org-mode to 'block out' periods of time for entries with a specified time range. By default it lists items with a specified time range at their start ...
1
vote
1answer
17 views

Attachment in Emacs org mode

How could I attach Word document in my .org file? I could do it for plain text file but not .doc type. Are the other options to point to Word file in my system other the attaché? Thanks
1
vote
1answer
260 views

Editor for 'git bash' on Windows (editor for mingw/msys+mintty)?

I am using 'git bash' for Windows (from 'git for Windows') which in turn consists of mingw+msys and a mintty. This mingw installation contains a 'vi' editor which works in the mintty. Good. ...
1
vote
1answer
23 views

stty example to change key binding for “Ctrl-z”

I am using cua-mode in emacs, but that overwrites the "Ctrl-Z", which links with suspend job in linux. So, I am thinking of changing the "Ctrl-Z" key binding in linux, and I learned that "Stty" can ...
1
vote
3answers
540 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 ...
0
votes
3answers
258 views

Is there anyway to open multiple Emacs?

I'm using Ubuntu 12.10, and it has 4 workspaces. Since it's not possible (or is it?) to make Emacs occupying two workspaces so that I could modify multiple files together(more than 2), I would like to ...
1
vote
2answers
1k views

Emacs - using Chrome as default browser when clicking links

Every time I click a link in emacs, it opens Firefox (I'm running Ubuntu). I'd like to replace that with Chrome. I've tried (setq browse-url-browser-function 'browse-url-generic ...
0
votes
0answers
12 views

Disable 2nd automatic Emacs nag message?

I built and installed Emacs 24.5 on a Banana Pro. I basically followed Minimal emacs24 installation. It was my first time configuring and building Emacs from sources, and all the X, sound, mouse and ...
0
votes
0answers
13 views

Seeing “” (byte-order mark) at the beginning of the first line in a grep buffer

I'm using GNU Emacs 24.3.1 on Windows. When I execute "rgrep", I sometimes see the sequence "" (byte-order mark) at the beginning of the first line in the match. Sometimes I don't. So far, I ...
2
votes
3answers
330 views

Can't type ] or } in either the Terminal or Emacs while in “Español - ISO” keyboard language mode

I can type [ and { with no issues, but when I type ] nothing happens, and when I type } a ? sign is typed instead. This is an issue only while in Terminal or Emacs (Terminal and GUI). Everything ...
3
votes
4answers
2k views

How do I make c-basic-offset stick in emacs?

In switching coding styles, I need to go from a one tab width of 4 indentation to a two space indentation. I've added the following to my .emacs file, at the very end: (setq indent-tabs-mode nil) ...
8
votes
4answers
716 views

Emacs - Disable Some Minibuffer Messages

In Emacs, there are some cases where I would like to prevent messages from appearing in the minibuffer, mainly pertaining to "Beginning/End of buffer" and "Text is read-only". Is there any way I can ...
4
votes
3answers
2k views

In emacs, my <C-right> and <C-left> on my mac keyboard, does not work

I have an iMac running OSX 10.8.4. I've tried this on emacs built from Homebrew, as well as a version I've downloaded from http://emacsformacosx.com/ I've tried this with a completely clean ...
0
votes
0answers
5 views

Dead tab key in Emacs via Putty in Windows 10

I'm logging into a remote CentOS server using Putty. When I start Emacs, the tab key doesn't do anything. I can't indent lines, and I can't tab separate words/characters. I don't have any special ...
0
votes
1answer
18 views

Emacs : Jump to the next line with same indentation

Very often, I am stuck searching for the end of loops and methods and classes and end up sifting through all the code which is both time-consuming and frustrating. I would rather skip to go to the ...
0
votes
0answers
10 views

Display octal escapes as hexadecimal in buffer in emacs

I'm working with a file at the moment that's mostly text (and thus somewhat seemingly-random binary) in emacs, and I find the \270 syntax for certain characters very annoying, as I'm far more familiar ...
17
votes
6answers
6k views

Word count for LaTeX within emacs

I want to count how many words my LaTeX document has in it. I can do this by going to the website for the texcount package and using the web interface there. but that's not ideal. I'd rather have ...
0
votes
0answers
11 views

Installing mailutils - interface

I'm trying to install mailutils and ran sudo apt-get install mailutils. It began installing, but now I have the following strange interface that appeared on my terminal: I can scroll up and down ...
8
votes
2answers
2k views

Delete data from the middle of a binary file with hexl-mode

I have a fairly large binary file (a few tens of MB) and would like to remove a few KB somewhere in the middle, it's sandwiched data not the beginning nor the end. Ideally I'd like to use emacs and ...
0
votes
1answer
54 views

Windows 10 extremely smoothed inner window area

With few applications - either old or open source, I have this problem with OS smoothing inner area of window. Everyting is smoothed. This makes using Emacs-w64 very painful and I am forced to use ...
0
votes
0answers
23 views

emacs --daemon doesn't successfully start the server

I am attempting to set up a systemd daemon for emacs in NixOS. When I added a systemd unit, I noticed that it was continually restarting over and over again. I discovered that this was because when I ...
0
votes
0answers
21 views

Emacs eww cannot access https sites

here's my proxy setup: (setq url-proxy-services '(("no_proxy" . "my-corp-proxy") ("http" . "my-corp-proxy:8080") ("https" . ...
-1
votes
1answer
133 views

Emacs - Specific Bracket Behavior Customization

In emacs, I prefer the electric-pair-mode behavior for parentheses and brackets as opposed to what seems like the "jumpy" default behavior. However, I currently use auto-newline and like the ...
1
vote
0answers
24 views

My Git was disabled after I installed El Capitan 10.11.1

After I installed El Capitan 10.11.1 my Git was disabled. I ran my MacBook Pro and my MacBook Air in Recovery mode (Command+R) and restarted and without "csrutil disable" or without disabling my SIP ...
0
votes
0answers
23 views

What is a sparse tree in Emacs

I tried to find out what a sparse tree means in Google in vain. Can someone just point me in the right direction to find out the meaning of sparse tree. I'm learning org-mode in emacs, where I came ...
2
votes
2answers
228 views
21
votes
8answers
6k views

How to make Emacs read buffer from stdin on start?

With Vim I can easily do $ echo 123 | vim - Is it possible to do with Emacs? $ echo 123 | emacs23 ... Emacs starts with a Welcome message $ echo 123 | emacs23 - ... Emacs starts with an empty ...
6
votes
2answers
236 views

Incremental search for un/accented characters

Does emacs have an incremental search mode, where searching for a character will search for itself and for any other versions of the character with accent marks, similar to how Google Chrome (at least ...
4
votes
1answer
135 views

Can Emacs be set up to display Python code in Python mode and display docstrings in ReST mode?

I often edit Python code in my Emacs and have it set up to display Python files in Python mode. I often find myself formatting dosctrings as ReStructured Text and I was thinking that it would be great ...
1
vote
3answers
32 views

Unix - remove file with pound signs around it

I am using SSH to another terminal with very limited disk space. upon typing ls I see a file called #korpus.txt#. I suspect this file is an emacs buffer, but upon running emacs and trying to kill it ...
2
votes
0answers
131 views

How to get bold-italic faces in org-mode docs?

In emacs it's easy to get *bold*, _underline_, or /italic/ lettering, but is there a way to get combinations thereof? I tried a few combinations of symbols, but it looks like once one is enabled, the ...
3
votes
4answers
3k 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 ...
6
votes
1answer
4k views

Configure emacs to insert spaces when pressing the the tab key [duplicate]

How can I configure emacs so that when I press the the Tab key it inserts spaces?
9
votes
1answer
1k views

What is an equivalent of git rm -r … in the emacs magit package?

I want remove some folders from my repository and I can do it as usual with git rm -r junk-folder But how I can do this from emacs with magit package?
1
vote
1answer
109 views

How to send .gz file as attachment from emacs using wanderlust?

I already found out to send attachments with wanderlust through M-x mime-insert-encoded-file and answering some questions. This works. But how can I send a .gz compressed file as an attachment? M-x ...
1
vote
2answers
147 views

How can I get around the length limit for org-mode files? (disabling linum-mode for orgs only)

Org-mode starts to choke around 4000 lines with a really simple outline (I've seen crashes as well as generally slow behavior). This is depressingly short. What can I do to alleviate this? Is there a ...