Most Popular

1500 questions
11
votes
3 answers

Emacs EIN vs IPython shell

I'm trying to make EIN work within Emacs, but right now (with IPython 2) it seems that it's not possible. This errors arise: REQUEST [error] Error from parser ein:json-read: (json-readtable-error) ein: [error] Error (parse-error) while opening…
El Diego Efe
  • 1,601
  • 1
  • 19
  • 24
11
votes
3 answers
11
votes
1 answer

What is the significance of Emacs buffers having names with *earmuffs*?

There are a number of Emacs buffers where their names have "earmuffs", i.e. they have names like *scratch* *R* *ESS* *helm-mode-circe* What is the significance of the earmuffs, and is there a reason for users creating buffers to use them?
Eric Brown
  • 3,212
  • 4
  • 16
  • 20
11
votes
4 answers

Have Ctrl-a increase a number just like in vim

In spacemacs Ctrl-a is being used to move to the beginning of the line. I'm more used to 0 to move to the beginning of the line and $ to the end, which works in spacemacs. Ctrl-a increases numbers in vim and I'd like to use that key in spacemacs…
plx
  • 347
  • 3
  • 11
11
votes
2 answers

org mode: retrieve current heading and parents programmatically

In org-mode whenever I have point on heading it shows me in the mini buffer the full hierarchy. For example, if I have the following in a Org file: * lvl1 ** lvl2 *** lvl3 some text And I put point on lvl3 it shows /lvl1/lvl2/lvl3 in the mini…
plx
  • 347
  • 3
  • 11
11
votes
2 answers

How can I ask for a web server to serve their "mobile friendly" version of their web pages with eww?

I'm using eww lately for browsing the web looking for documentation and things like that. I dislike that eww receives the same web page as it were Firefox or Google Chrome, it cannot render web pages as those web browsers do. Then, what I want to…
shackra
  • 2,702
  • 18
  • 47
11
votes
1 answer

When to specify a package name in use-package's :ensure tag?

use-package lets you automatically install packages by using the :ensure tag. You can do that as follows (use-package :ensure t) But for some packages that doesn't work, such as auctex. In those cases you can specify the package to…
LinFelix
  • 259
  • 2
  • 9
11
votes
1 answer

How to reload .emacs.d/ configuration without restart

When I change any custom configuration file in the .emacs.d/elisp/ directory, I have to quit Emacs and then start it again in order to get my changes applied. Is there any better way?
Ribtoks
  • 213
  • 1
  • 2
  • 5
11
votes
2 answers

How to warn before sending email if Subject: is empty

If I hit C-c C-c in message-mode (I use notmuch) in order to send an email I've composed, I want to be warned if the Subject: header is empty. E.g. "Really send without Subject? (yes or no)" When composing new email I fill in the Subject after I…
Gregor
  • 197
  • 7
11
votes
2 answers

Open new window and switch to it

Assume I'm opening a new window with for example C-x 2 or C-x 3 then the buffer opens and I need to switch to it by hand with C-x o. Is there a build in solution to do this with one command? Or even modifying the above would be cool as well.
daeda
  • 439
  • 3
  • 10
11
votes
2 answers

Use two major-mode-maps in the same buffer

I've run into a few situations where it would be highly convenient to have to have the keymap of one major-mode act as a fallback keymap for another major-mode. For instance: I write a lot of LaTeX in some of my org documents, so it would be great…
Malabarba
  • 22,878
  • 6
  • 78
  • 163
11
votes
1 answer

How to control emacs externally?

I'm developing an app in python which sends commands to a running emacs instance. Currently, I start an emacs server and send the commands through the command line, like this: subprocess.call(['emacsclient', '-e', '(with-current-buffer ' + …
Jesse
  • 1,984
  • 11
  • 19
11
votes
1 answer

changing the role of the underline and the minus-sign just in LateX-mode

During the work with tex files with auctex+emacs (LateX-mode), I use more frequently _ (underline) instead of - (minus sign). The same as ^ instead of 6. The inconvenience is that I should press more frequently the shift-key. It would be desirable…
Name
  • 7,689
  • 4
  • 38
  • 84
11
votes
2 answers

How can I draw pixel- or vector-based UI elements in Emacs?

With that I mean UI elements (for example text fields and animated buttons) that are not restricted to the monospaced character grid of terminal emulators, but can be arbitrary shapes at arbitrary pixel positions on the screen. I’m simply curious…
Lenar Hoyt
  • 1,163
  • 7
  • 25
11
votes
1 answer

How to clear recent files list?

I renamed few files using Dired. I noticed helm shows old names in the list of recent files (helm-recentf). How do I remove the files that do not exist from recent files list?
Andrew-Dufresne
  • 293
  • 4
  • 12