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
2answers
555 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
2answers
2k views

Customize org-mode priorities

I want to replace the default org-mode priorities with my own. default: #A #B #C desired: #1 #2 #3 #4 #5 How can I do this?
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
936 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
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
811 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

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

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
2answers
4k 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
743 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
2answers
979 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
1k views

org mode - prevent future repetitive entries from showing up in agenda view

It seems to be obvious but I don't seem to have been able to find an answer yet... I have some repetitive tasks which have a property in the style of SCHEDULED: <2015-05-22 Fri 23:00 .+4d>. ...
9
votes
2answers
936 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
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
297 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
809 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
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
375 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
924 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
2k 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
1k 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
1answer
637 views

Automatically run org-lint through flycheck

I've got a heap of org-mode files which I publish into HTML for a knowledge base, sometimes the publishing crashes out due to a broken link or something and it's hard to find the problem. I've been ...
9
votes
2answers
703 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
1answer
927 views

How to add a column in org-mode agenda clockreport to show percentage of time for each group of activities?

I have been using Bernt Hansen's org-mode setup (http://doc.norang.ca/org-mode.html - modified slightly to my needs) for some time and I came up with a question that I cannot solve. I would like to ...
9
votes
2answers
2k views

Integrating jupyter notebook (ipython) into org-mode notebook

is there a way I can link in jupyter notebooks (ipython) into the org-mode notebook? The same way other files (images) can be brought in? If it is possible will the outputs are also seen in the note (...
9
votes
2answers
2k 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
1answer
310 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
222 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
3answers
929 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
3answers
4k views

org-plus-contrib and org with `require` or `use-package`

How can I ensure I'm downloading and using org-plus-contrib from the org-mode repository using require or use-package? Package.el downloads the package, compiles everything and then says it can't load ...
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
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 ...
8
votes
1answer
752 views

Disable '+' markup in org-mode on a by-file basis

How do you escape the + to not mean strikethrough in a single file? For example, when typing use += 1 instead of ++ how can this not-be-strikethrough'ed? Escaping the + with \ as in \+ works ...
8
votes
2answers
640 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 ...
8
votes
1answer
2k views

Reference cells of other tables in org-mode table

I have a long document with 10 tables, and I want to to have a summary table at the end of the document. Something like that: tab1 | Nº | Description | Value | +----+-------------+-------+ |... ...
8
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 ...
8
votes
2answers
2k views

How to reference source blocks in org text

I want to create source blocks (in any language including LaTeX), then refer to these in the text using internal links, with descriptions as shown below. This similar post is not working for me. I ...
8
votes
1answer
799 views

Change figure environment options

It is possible to change the figure options for a latex figure in org-mode? Currently I'm using the following to insert a figure in my org document. #+CAPTION: awesome figure #+NAME: fig:my-figure [[...
8
votes
1answer
2k views

Adding “date completed” timestamp in org-mode

In org-mode, I would like to add a timestamp to a TODO marking the date completed. What is the best way to do this?
8
votes
1answer
825 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-...
8
votes
1answer
967 views

Is it possible to file a capture template in a subheading of a day in a datetree?

In Org-mode, I would like to have a capture template get stored like this: * 2015 ** 2015-05 May *** 2015-05-21 Thursday <--- I can get this with file+datetree **** Todo today <-...
8
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)?
8
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 "...
8
votes
1answer
530 views

How to add annotation in PDF src block like in this screenshot?

How to write Org-mode, (maybe need use LaTeX) to archive this effect?
8
votes
1answer
766 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 ...
8
votes
1answer
2k views

Display org-todo-list of entries with deadlines?

Is there a way to get a list of org-mode entries with deadlines? Ideally with the deadlines displayed and ordered by deadline. I haven't found anything like this. The closest thing I find is org-...

1 3 4 5 6 7 74