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.

Filter by
Sorted by
Tagged with
9
votes
1answer
5k views

Export code blocks in org-mode with minted environment

After inspecting the LaTeX generated for my org-mode file, I figured out that the code blocks are exported with the verbatim environment. Are there any way to tell org-mode to export code blocks using ...
9
votes
1answer
4k views

Org-mode schedule 1 event for multiple days?

I cannot find anything on being able to set TODO tasks with SCHEDULE to occur on multiple days of the week. For example I have STAT class on Mon Wed and Fri that I would like the event to repeat ...
9
votes
2answers
3k views

How can I get a custom org drawer to open/close?

My drawers don't seem to collapse with TAB. I've even tried the canonical example: * This is a headline Still outside the drawer :DRAWERNAME: This is inside the drawer. :END: After the ...
9
votes
2answers
366 views

Make isearch skip folded content in org-mode

Q: How can I tell isearch to ignore the contents of folded blocks by default in org-mode buffers? More specifically, I'd like isearch to ignore contents of comment blocks and drawers: When authoring ...
9
votes
3answers
3k views

Orgmode insert link from clipboard?

Is there a simple way to insert an org-mode link directly from the system clipboard? I'm thinking of selecting an URL in Safari, and inserting that link directly in an org-mode document.
9
votes
2answers
701 views

What to do to make orgmode faster?

I have org-mode file with more than 10k lines of notes and traversing through the tree (just basic up/down movements) is very slow (to the point that it's unusable). What can i do to make it work ...
9
votes
2answers
3k views

How to fill (wrap) an org mode heading?

I would like to fill (wrap) a long heading in org mode. I don't see mention of how to do so in the org manual. If I manually wrap the line by inserting a newline, org mode does not recognize the ...
9
votes
2answers
620 views

Config, examples and use cases of Library Of Babel

I want to understand how org-babel's Library Of Babel works. Seems like a powerful yet underused tool. The documentation says that I can add code to the library, by first saving the code in ...
9
votes
1answer
3k views

How to disable the org-mode in a buffer

For a test purpose, I enabled the org-mode by M-x org-mode in a buffer (e.g., in scratch buffer). How to disable it? Doing again an M-x org-mode does not turn it off.
9
votes
2answers
1k views

Default Inline Image Background in Org Mode

When an image has a transparent background, Emacs of course respects that. Unfortunately, this can lead to issues with display: Is there a way to display a specific color (e.g. white) behind the ...
9
votes
3answers
3k views

With org-babel, how to name the results of a function call and reuse them

In org-mode, I am trying to define a function, a variable, and then assigning to another variable the result of the function call on the first variable. However, then it seems that I cannot use this ...
9
votes
1answer
2k views

How to have wrapped text when exporting from org to Latex?

I have an org file which I export to LaTeX and then to a PDF document. The problem is I have some long text that exceeds the length of the page. How to wrap it so that it falls into the next line? ...
9
votes
2answers
2k views

org-babel result to a separate buffer

I use org-babel to generate some reports which can't be automatically processed, and since org is a good outline format, I print the results in org to represent them as trees. I've noticed that ...
9
votes
2answers
987 views

Generating tables with headers from code block

I would like to generate tables that have headers from code blocks. Something like this: #+BEGIN_SRC emacs-lisp :results value table :table-header | First | Second | (identity '((a b) (c d))) #+...
9
votes
1answer
882 views

Use formula in agenda clockreport to convert time? (pomodoro count in Agenda)

I'm trying to make the Agenda Clockreport show how many pomodoros I've invested in a task. A Pomodoro is 25 minutes. For example, 1:15 hours of work is 3 pomodoros. I'm trying to customize org-agenda-...
9
votes
2answers
5k views

The syntax highlight and indentation of source code block in exported html file for org-mode

When I insert C code block inside an org-mode file, the syntax highlight and indentation of the source code are customized as I wanted. When I export it into a html file, the syntax highlight in the ...
9
votes
2answers
3k views

Where is the org contrib directory?

I'm trying to use org-checklist. The documentation says that I should 'Ensure the org contrib directory is in load-path'. Where is the contrib directory?
9
votes
2answers
851 views

ORG-MODE - Trigger TODO status on a certain date?

Rather than manually check a tickler file or calendar every morning, how can I create a trigger that will set the status of an item to TODO on a certain date?
9
votes
2answers
2k views

How to format/fill poorly-formatted bullet items in org-mode?

Q: how can I format/fill poorly-formatted items in an org-mode bulleted list? I'm trying to figure out how to make fill-paragraph work on poorly formatted bulleted items in an org-mode list. By "...
9
votes
2answers
2k views

Alternative Org Mode Implementations [closed]

Has the org-mode text syntax been adopted anywhere besides emacs? The only place I can think of is that Github allows you to write readmes in org mode and can display it like it can markdown. Are ...
9
votes
2answers
1k views

Is it possible to add templates other than #+BEGIN_ #+END_ to org-structure-template-alist?

I've noticed that org-structure-template-alist changed (I'm using org-mode version 9.2) to automatically expand to #+BEGIN_<some block tag> #+END_<some block tag>. I wonder if it's ...
9
votes
2answers
3k views

In org mode, how do I reference a figure?

I have a figure declared like this: #+CAPTION: Google NGrams Viewer Search #+NAME: fig:ngrams [[file:ngrams.png]] And I'd like to reference it, so that I can write, e.g. Please refer to Figure [[...
9
votes
2answers
1k views

Syntax highlighting in org mode #+BEGIN_LATEX block

Is this possible? (I know it's possible for #+BEGIN_SRC latex blocks.)
9
votes
2answers
4k views

How to make eww default browser in Emacs?

When I click on links in my org-mode buffer it opens up my external browser. How can I make Emacs default to eww (and let me open up an external browser from there if I wish)?
9
votes
2answers
778 views

Can I set a particular file to automatically and silently accept changes?

That is, can I specify for a particular file that I don't want Emacs to notify me that the file has changed on disk and prompt me about whether I want to accept changes or not? I don't want to do ...
9
votes
4answers
2k views

How to change Org-mode babel tangle write to file way as append instead of override by default?

By default, Org-mode will override current babel src block content on file original content (when the file already has content). For example, I have an org-mode file content as the bellowing block: #...
9
votes
1answer
1k views

Automatically tangle org files in a specific directory

I'm converting my dotfiles to org-babel files because I really enjoyed rewriting my Emacs configuration in it, and I have a function for the init.org that automatically tangles it whenever I save. ...
9
votes
1answer
347 views

How to navigate most efficiently to the start or end of the main text of an org headline?

It's easy to navigate quickly from the start of one org-mode headline to another using speed keys. Suppose now I'm at the start of a headline, and I want to add to the main text, in the beginning ...
9
votes
2answers
2k views

org-block-background font not having effect

I use variable-pitch-mode with org buffers. Normally I set org-block to fixed-pitch and the code between #+BEGIN_SRC and #+END_SRC are properly rendered as fixed width fonts, also with proper syntax ...
9
votes
3answers
1k views

How to control where the org todo keywords buffer displays?

Q: how can I control where the org todo keywords buffer appears? Entering a todo keyword with C-c C-t (org-todo) opens a new buffer with the keyword options and then closes it again after I select ...
9
votes
2answers
876 views

Is there a simple way to use all org-files referenced in a main file for the org-mode clock table

I'm using org-mode to keep track of the time I spend on various projects. I have one main org file and two more for two large projects I'm working on. All three are listed in org-agenda-files. I ...
9
votes
1answer
2k views

Setting class attribute for html table in orgmode export

I would like to set the class for a table in html export, e.g.: <table class="table table-striped"> While it seems that setting some attributes for export of tables to HTML are possible: #+...
9
votes
2answers
1k views

org-mode clock sum to count 8h a day and not 24

I'm using effort estimate with specification as 1d or 4:00, and these are correctly collected with the 8h a day in mind, but these are summed up the section hierarchy to count 24 hours a day. Here's ...
9
votes
1answer
421 views

How to toggle Org-mode source code block “:eval no” status

I often limit or unlimit the evaluation of specific code blocks in org-mode babel using :eval header argument. Here's an example: #+BEGIN_SRC emacs-lisp :results value scalar :eval no (+ 1 1) #+...
9
votes
3answers
1k views

Org Mode Default to Alt-Enter for Bullets

I want org-mode to default to alt-enter when under bullets, so that for bullets I can just press enter to make a new bullet. So for instance: Banana Apple Kiwi [MOUSE CURSOR HERE] When I press ...
9
votes
4answers
3k views

How can I add “side-notes” to a text file in org mode?

I wonder how could I add the equivalent of side-notes (cues, thinking points indications, references) to a text in org mode? Tags work fine, but they seem to be limited to headlines. I could also ...
9
votes
1answer
1k views

Code blocks that produce org tables to be later consumed by other code blocks

I am having a bit of trouble with code blocks that produce org tables to be later consumed by other code blocks. For example: #+NAME: upper_air #+BEGIN_SRC clojure :results output raw (clojure....
9
votes
2answers
2k views

Using both fixed-width and variable-width font in org-mode

I would like to have an org-mode file with the following content: #+TITLE: My awesome Emacs file * My Header Here's some information under the header #+BEGIN_SRC sh echo "this is some code" #+...
9
votes
2answers
3k views

How to strike-through or un-strike-through a region or line in org-mode?

Given a region or line of text in org-mode I would like to call a function that either strikes-through the region or removes the strike-through of the region or line if strike-through is already ...
9
votes
2answers
766 views

How to automatically tangle another source block to file when evaluate a source block in org-mode?

The source block what I want to evaluate (src2) need to source a file which should be the tangle result of another source block (src1). How could it make the tangle to file automatically everything ...
9
votes
2answers
3k views

Create image links in org-mode

I want to create clickable image links in org-mode. This would be equivalent to: <a href="path-to-file"> <img src="path-to-image"> </a> Currently, I can display inline image ...
9
votes
2answers
1k views

Autocompletion when creating Internal Links in Org-mode

In Org-mode, when creating internal links, we have to type full name of the section heading to which we want to link. Is it possible that the heading name gets automatically filled in when we are ...
9
votes
1answer
782 views

Is there a way to make tags work well with line wrapping in emacs org mode?

If the buffer is too narrow, if I make a tag for a heading, the amount of whitespace before the tag causes the tag to wrap past the end of the line onto a new line (I have visual-line-mode turned on). ...
9
votes
1answer
357 views

Prevent org-mode code block background color from bleeding through when collapsed?

I'm applying a background color to code blocks in org-mode, as shown in this line from my colortheme: '(org-block ((t (:background "#F5F5F5" :family "Source Code Pro" :height 140)))) When I collapse ...
9
votes
1answer
246 views

org folding: show tags after the “…”, not before?

When parental level node, which contains both child items and tags, is folded by tab, the ... indication for folded child items is associated with the tags rather than the node text. for instance, it ...
8
votes
2answers
2k views

In Org-Mode, is there a way to narrow the buffer to just the text under a heading?

For example, say I have a buffer that looks like this: * Org-Mode This is a document written in Org-Mode ** This is a subheading below that Would it be possible to narrow the buffer to just "This ...
8
votes
4answers
4k views

how to use org-mode speed commands (speed keys)?

This keybinding was working on my Spacemacs with evil mode, org-mode, and ivy: t org-todo and is listed in the Spacemacs bindings: http://spacemacs.org/layers/+emacs/org/README.html#key-bindings ...
8
votes
3answers
982 views

Figures with multiline captions in Org-Mode

I would like to include figures with long comments in an org-mode file. The problem is that the #+CAPTION directive only recognizes the text on its same line. If you write many sentences in a very ...
8
votes
2answers
2k views

Toggle org checkbox?

I have the following checklist in org-mode: * Delete data for problem days [0/4] - [ ] task 1 - [ ] task 2 - [ ] task 3 - [ ] task 4 Is there a command for quickly tagging one of these items as ...
8
votes
4answers
3k views

Converting an xls file to org-mode?

Is it possible to convert convert an xls file into an org table? I found this article on the emacs wiki but wasn't able to get it to work.

1
3 4
5
6 7
78