Most Popular

1500 questions
26
votes
2 answers

Magit - How can I checkout a remote branch locally without typing the entire branch name?

I have a remote branch remote-branch-long-name. When I magit checkout with helm completion I can type remote-branch and origin/remote-branch-long-name will show up as an option. The issue is that to checkout this branch locally, I actually cannot…
irregular
  • 962
  • 1
  • 9
  • 21
26
votes
1 answer

Number of Emacs users in the world?

I saw someone on Twitter posing the question: It struck me as a very interesting question and got me thinking about how large the community actually is! I came up with two data points: Based on the 2016 Stack Overflow Survey, 5.2% of 46,613…
ebpa
  • 7,319
  • 26
  • 53
26
votes
1 answer

What does (require 'package) mean for emacs and how does it differ from load-file?

I just began using emacs a few days ago and I read somewhere that (require 'package-name) is not needed when the said package is installed using package-install. But why, what does (require 'package-name) actually do and how does it differ from…
Chakravarthy Raghunandan
  • 3,132
  • 2
  • 18
  • 42
26
votes
3 answers

What's the difference between the different vim implementations?

I'm aware of several different vim implementations in Emacs. There's evil-mode, viper, vimpulse and vim-mode. Are there others? How do they compare? I note that there are a lot of evil-* packages on MELPA, suggesting none of them are 100%…
Wilfred Hughes
  • 6,890
  • 2
  • 29
  • 59
26
votes
3 answers

org-mode , export , how to 'force' newline on lines between paragraphs?

I have an org-mode file, some sub-sections have some big paragraphs. When I export as html the whole paragraphs are displayed as single lines. I understand that I have to put a '\\' on every line, a bit PITA, its around 4000 lines there. Is there…
xMris
  • 361
  • 1
  • 3
  • 3
26
votes
8 answers

Close all dired buffers

Sometimes my buffer list has 10+ dired windows, and I end up using buffer-menu to manually mark and kill all of them. Is there a faster way to close all open dired windows?
nispio
  • 8,175
  • 2
  • 35
  • 73
26
votes
2 answers

Python org-mode source block output is always ': None'

This is my source block: #+BEGIN_SRC python print "hello" #+END_SRC The output is always: #+RESULTS: : None This is my org-babel configuration: (org-babel-do-load-languages 'org-babel-load-languages '((python . t) (C . t) (calc . t) …
Empty_Mind
  • 1,341
  • 12
  • 27
26
votes
2 answers

Current path in Dired or Dired+ to clipboard

Say we have a Dired buffer open on some directory. How can I send the directory path to the clipboard? Also, how can I do the same when the Dired cursor is on a specific file, without opening the file first?
Amelio Vazquez-Reina
  • 5,157
  • 4
  • 32
  • 47
26
votes
3 answers

How do I clear a buffer completely with elisp?

If I want to delete everything in a buffer with elisp, how do I do that?
26
votes
5 answers

Emacsdaemon and Emacsclient on Mac

OS: OS X 10.9.5, Mavericks GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0, Carbon Version 1.6.0 AppKit 1265.19) of 2014-04-03 on Rainers-MacBook-Pro-3.local I installed emacs via homebrew from railwaycat and it works nicely - no complaints. I do…
Rainer
  • 897
  • 10
  • 16
26
votes
1 answer

How to use org-refile to move a headline to a file as a toplevel headline?

I wish to have an "inbox.org" file where I collect notes into (trying to implement GTD :P), and then later move things around to the proper places. I understand that org-refile is the way to do this (move things around), but it seems that it is only…
26
votes
3 answers

How can I stop the enter key from triggering a completion in company mode?

I often want to go to a newline while the company mode suggestion is showing. How can I set up company mode so only the tab key triggers a completion?
Connor
  • 1,591
  • 1
  • 19
  • 26
26
votes
4 answers

Prebuilt Ubuntu Emacs "25.1"

Where can I find pre-built Emacs for what Ubuntu calls emacs 25.1?
turbopape
  • 363
  • 1
  • 3
  • 9
25
votes
4 answers

org-habit - do a repetitive task certain days of the week only?

I want to know how can I set a repetitive task for only a range of days of the week, for instance from Monday to Friday only.
shackra
  • 2,702
  • 18
  • 47
25
votes
2 answers

What is the point of quote with single argument and comma? (quote ,arg)

(quote x) makes x not be evaluated, but adding a , in front of x within quote makes it evaluated. What is then the point of using quote with a single argument with a comma in front of it, like so: (quote ,x)? Motivated by line 59 from annoying…
The Unfun Cat
  • 2,393
  • 16
  • 32