Most Popular

1500 questions
33
votes
5 answers

How do I automatically save org-mode buffers?

I regularly use org-mode and the agenda to keep track of my to-do list. Since I use Dropbox to sync my list, I need the same tasks to be available on all computers. Sometimes during the course of my cleanup I will forget to save my changes, leaving…
Ryan
  • 4,039
  • 1
  • 27
  • 49
33
votes
3 answers

Org-mode on the phone or on Evernote?

I use Org mode for keeping track of everything; ideas, notes, to-do lists, code snippets, etc. You name it. One problem I have though, is that I can't easily pull up my Org-mode data on my phone, even if it is only for quickly checking my notes or…
Amelio Vazquez-Reina
  • 5,197
  • 5
  • 33
  • 47
33
votes
2 answers

How can I hide/display LaTeX section just like org-mode does with headlines?

When editing org files, I find it extremely convenient how you can hide and display headlines and their content by just hitting TAB on the headline. For instance, consider the following buffer * Headline 1 Some text here. * Headline 2 Some more…
Malabarba
  • 23,148
  • 6
  • 79
  • 164
33
votes
3 answers

Does emacs have an option to display build settings?

Does emacs have an option or some internal command that displays build time settings and whatever features it supports? A good example is the nginx -V command which lists the ./configure options it was compiled with.
vfclists
  • 1,403
  • 1
  • 12
  • 28
33
votes
4 answers

How can I simulate an arbitary key event from Elisp?

Is it possible to simulate an arbitrary key event from elisp? I am aware of ways that I can find the binding for a given key, and then call that command interactively, but what if that key event is not bound to a command? As one example, what if I…
nispio
  • 8,225
  • 2
  • 36
  • 74
33
votes
1 answer

how to move/rename a file within Magit?

The manual's introduction says: Magit wraps and in many cases improves upon at least the following Git porcelain commands: add, am, bisect, blame, branch, checkout, cherry, cherry-pick, clean, clone, commit, config, describe, diff, fetch,…
Jorge Israel Peña
  • 1,265
  • 9
  • 17
33
votes
8 answers

How to select non-contiguous regions in Emacs?

Suppose that I have already selected some text in the current buffer. Is it possible to select another stretch of text, while keeping the previous selection (and so on)? Added: One motivation for this functionality is as follows: Assume that I have…
Name
  • 7,849
  • 4
  • 41
  • 87
33
votes
7 answers

Copy text from Emacs to OS X clipboard

When I run Emacs in a text terminal instead of the normal GUI mode, I can copy in Emacs by activating the start of a region with C-SPC, and then select what I want, and then do M-w. Is there any way to get a region copied this way be available in…
Galder Zamarreño
  • 1,537
  • 2
  • 12
  • 21
32
votes
5 answers

Why do easy templates, .e.g, "< s TAB" in org 9.2 not work?

Easy templates in Org 9.2 are not working for me on GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30. I have changed my elpa/ directory to smelpa/. I load emacs -q and switch to the *scratch* buffer and toggle M-x org-mode. A call to …
Lorem Ipsum
  • 4,477
  • 2
  • 15
  • 35
32
votes
2 answers

Display PDF images in org-mode

Note: This question was asked here before, with no success. Org-mode’s ability to display inline images is fantastic for writing my weekly scientific reports. I can include graphs, link them with their data, link with the conclusions, and really…
Malabarba
  • 23,148
  • 6
  • 79
  • 164
32
votes
3 answers

What functionality is missing in GNU Emacs when compared to XEmacs?

In terms of functionality, what are the key points that presently distinguish XEmacs from GNU Emacs? To account for the different release schedules the most recent development version of each Emacs flavor should be considered as the basis for…
paprika
  • 1,962
  • 20
  • 26
32
votes
1 answer

Set the background of org-exported blocks according to theme

I export org-mode files quite often, and almost all of them have code in them. When I do export code, it ends up coloring the text depending on my theme, however, I switch between a dark theme and a light theme regularly. In the case of the light…
Lee H
  • 2,727
  • 1
  • 17
  • 31
32
votes
3 answers

Why is `let' faster with lexical scope?

While reading through the source code for the dolist macro, I ran into the following comment. ;; This is not a reliable test, but it does not matter because both semantics are acceptable, tho one is slightly faster with dynamic scoping and the…
Malabarba
  • 23,148
  • 6
  • 79
  • 164
32
votes
3 answers

Magit, how to use system's ssh agent and don't ask for password

I've googled and read the FAQ and Wiki for Magit, but still unable to figure this out, all I find are answers about Windows... How can I configure Magit to use my running ssh-agent session and don't ask for my password when doing a push. I'm running…
user2234
31
votes
10 answers

How do use Emacs to look up a function in Python?

What is the easiest way to configure Emacs to be able to look up where a function is defined? I want to highlight it in Emacs and press a key combo to look up where the source of the function is. Can you also find out where a specific function is…
Low Kian Seong
  • 423
  • 1
  • 4
  • 6