Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [org-mode]

is an Emacs major mode for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system. Because Org mode is a vast subject area, other tags must accompany the `org-mode` tag.

13
votes
1answer
555 views

I want to have the <kbd> tags for my blog written in org-mode

I write and publish my blog with org-mode and org-page. The thing is that I want to write about Emacs and, I would like to have the keystrokes highlighted as Stack Exchange does with the <kbd> ...
5
votes
1answer
888 views

Have org-mode's exported HTML use CUSTOM_ID when linking to sub-sections in TOC

If I have an org-mode buffer like that looks like: * My headline :PROPERTIES: :ID: id1 :END: * My second headline :PROPERTIES: :ID: id2 :END: And I export this to HTML with a table-of-contents, the ...
19
votes
2answers
2k views

When are org-mode attachments preferable to file hyperlinks?

As far as I can tell, org-mode attachments solve the same problem as do file hyperlinks but in a clunkier way. In what situations would attachments be the superior solution?
6
votes
1answer
270 views

Predicates in ibuffer saved filter groups

How do I add a new ibuffer saved filter group which matches all files in org-agenda-files? Something like: (setq-default ibuffer-saved-filter-groups `(("Default" ("...
19
votes
1answer
693 views

Org Mode: Prevent editing of text within collapsed subtree

Is it possible to prevent editing of text within a collapsed subtree in Org Mode? That is, I would like to make it impossible to edit the hidden text. This seems like something that should exist but I ...
5
votes
1answer
678 views

How can I see total time today on _all projects_ in the modeline?

The variable org-clock-modeline-total gives me several options for what time to show in the modeline, but they limited to time clocked into the current task. I would like to show the total time clock ...
4
votes
1answer
760 views

Create table for existing data using org-mode

Is there a way of creating table for existing data using org-mode ? Let's assume I have the following data row1 row2 row3 And now I want to create a table of dimension 1x3 (col*row) on it. The ...
7
votes
2answers
2k views

How can I have an agenda timeline view of multiple files?

I'm using org-mode as a knowledge base, where each file is for a specific project that I'm working on. Each file has its own journal and I would love to see an aggregated journal of all the things I'...
5
votes
2answers
233 views

Detect when a key is rebound to another command

First, some context: I am in the process of debugging a strange interaction between smartparens and Org Speed Keys: After editing an .org file for a while, specific speed keys for navigating the ...
5
votes
2answers
404 views

Using evil-mode with a function that does not work well with evil-mode

The great org-mode has a fast way to jump between headings in an org file; M-x org-goto or C-c C-j. This doesn't work with evil mode that well. If I am on evil normal mode in an org file, C-c C-j ...
13
votes
2answers
1k views

How to bind a key to a specific agenda command/list in org mode

I've added a custom key for the org agenda to show all unscheduled TODO items following Sacha Chua: (defun sacha/org-agenda-skip-scheduled () (org-agenda-skip-entry-if 'scheduled 'deadline 'regexp "...
6
votes
1answer
433 views

time value in org-table formula

Is there any way to have time constant in an Org spreadsheet formula? For example, i would like to have something like this: @>$3=@>$5-'08:00:00'*vcount(@2..@-1) to calculate how much longer I'...
2
votes
3answers
2k views

What's wrong with my org-mode capture settings?

I've been trying to setting the capture configuration for org-mode, however, when I try to select a capture template, I get this message: Template key: byte-code: Capture template `p': listp Here ...
10
votes
2answers
540 views

How do I speed up org-mode agenda generation

It takes several seconds for Emacs org-mode to generate my agenda. How can I make it faster? I'm already using archive files, and I have less than 30 .org files, all of them reasonably short. Partial ...
11
votes
4answers
514 views

Preview fields in org table

Sometimes it is convenient to set a manual column width when creating a table in org-mode. This makes it so that columns do not have to grow to the size of their longest entry. When an entry in and ...
3
votes
1answer
345 views

Adding table headings to #+RESULTS: tables

I'm using org-babel to generate a result I want to export in my table. However I can't find a way to easily control the heading of the table. At the moment the best I can manage is echo'ing some CSV ...
10
votes
1answer
344 views

Truncate beginning of right-aligned column in org table

I have a column in an org-mode table that contains long file names. The interesting part of the filename is the last few characters rather than the first. For example, given the files below: /data/...
13
votes
1answer
696 views

How to control in which window a buffer is displayed?

Q: how can I control which window org-deadline uses to display the calendar? org-deadline temporarily pops up the calendar buffer in a window when setting a deadline, and then closes it again after ...
6
votes
1answer
705 views

Listing SCHEDULED headlines from an org file ordered by date

A few months ago, I converted my init file into an org file, and I’ve since been using it as a way to organize my blog posts. I won’t go into too much detail here, suffice to say that this is a huge ...
4
votes
2answers
769 views

Supporting images/diagrams in exported org-mode presentations

I'm currently preparing a presentation which I've outlined in org-mode and I'm having difficulty in including diagrams in the exported HTML. I'm currently using org-reveal but I'm happy to use another ...
7
votes
1answer
604 views

Creating permalinks for sections in HTML exported from org-mode

By default when org-mode documents are exported to HTML, the section and sub-section links look like file:///path/to/export/location/doc.html#sec-1-1 The problem is that the above link won't point ...
16
votes
4answers
10k views

Best ways of generating UML from within Emacs

There are a bunch of integration options between Emacs and UML tools, like org-mode's plantuml embedding, a plantuml major mode etc. Of course I can try them out but I'm wondering what other people ...
21
votes
1answer
856 views

How to implement Markdown style link IDs in org-mode?

At times, I need to use the same link at multiple places in a long document. For those cases it would be useful to have link IDs like in markdown. From markdown syntax ref, You can optionally use ...
7
votes
1answer
1k views

How to have org-publish automatically publish generated images?

I use org-publish to publish HTML exports of org-mode files quite often to share documents with my coworkers, however, I generate a lot of diagrams with plantuml and gnuplot. These diagrams aren't ...
1
vote
1answer
154 views

org-mode with predictive mode key conflict

I'm using org-mode with predictive and having an issue with predictive changing a key binding that org-mode uses. Specifically, predictive changes M-tab and I prefer to keep org-mode's definition of M-...
6
votes
1answer
323 views

Finding and executing org-babel snippets programatically

I currently I have a couple of org-babel shell snippets to package up a build and push it to a server for later usage. This also handily keeps a reference to the last execution of the snippet so I can ...
21
votes
4answers
2k views

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 ...
38
votes
2answers
4k views

Intelligent spell-checking in org-mode

By default, the results of running M-x ispell-buffer in org-mode are very disappointing. Ispell looks inside :PROPERTY: drawers, which commonly contain things like :ID: 797495bd-581b-4a42-...
19
votes
1answer
4k views

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 ...
4
votes
2answers
348 views

How do I make 'org-beginning-of-line' move cursor to the first text in heading body

For example in a org file (cursor represented as |): * heading this is body |of the heading 1. some 2. list After 'org-beginning-of-line' : * heading |this is body of the heading ...
5
votes
3answers
677 views

TOC of tables for org-mode long tables

Here is a super-short org mode file ready to export to pdf C-c C-e l o. It is a sample file to demonstrate long tables and the issue I am facing with the auto generated index of tables by org-mode. #+...
6
votes
3answers
153 views

Tracking when variables get updated

I have a problem with org-mode's agenda view. While I've set org-agenda-files to '("~/org/") invariably when I finally spin up M-x org-agenda I find that org-agenda-files just points to one org-file. ...
24
votes
2answers
4k views

New line in Title of an org-mode exported html document

I use org-mode to document stuff and usually export it to pdf (via latex) and html. If the \\ characters are at the end of a line, it forces a newline character when exporting to both pdf and html. ...
5
votes
1answer
624 views

controlling display of latex equations in org-mode

By default org-mode will overlap images of the latex equations for a given section, or for the whole document. If I press C-c C-c on an equation with an image overlay, all the images are removed. Can ...
10
votes
3answers
654 views

Emacs function to convert an arbitrary ORG PROPERTY into an arbitrary string (namely, a LaTeX label)?

I have many documents as org-files which have a CUSTOM_LABEL property, like * Introduction :PROPERTIES: :CUSTOM_LABEL: AP 1 :END: In this case, the files need to be exported as LaTeX, ...
5
votes
2answers
1k views

How can I create an Org link for each email sent by mu4e?

I'm using org-mode and mu4e. I'd like to have each email become the active link so that I can link to it in Org. When viewing an email, I can C-c C-l (bound to (org-store-link)) to make a link to it, ...
8
votes
1answer
977 views

How to sometimes but not always add a note to an Org TODO state change?

I have this in an Org mode projects file: #+TODO: TODO(t!) WAITING(w!) DONE(d!) CANCELED(c@) When I move something from TODO to WAITING, it adds a timestamp without asking for a note. That's fine 8 ...
6
votes
1answer
996 views

Exporting beamer with org-mode

How do I generate a beamer presentation from an org-mode file? What beamer features can I use in my file?
10
votes
2answers
229 views

How to auto calculate the begin and end lines when including source files in org-mode?

I have the below in my documentation: #+INCLUDE: "code/basic.sv" :src systemverilog :lines "14-117" Here line 14 is where I have class basic extends .. and line 116 is where I have endclass. Is ...
24
votes
2answers
1k views

How to clear a cell in an org-mode table?

Is there a built-in command to delete the contents of a cell in a single keystroke within an org-mode table? Note, I don't want to delete the row, just the cell contents. | some text | ==> | ...