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
878 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
1answer
890 views

Is it possible to read user input from STDIN while tangling a source block?

Is it possible to read user input from STDIN while tangling a source block with org-babel-tangle? I am aware of this: Org Mode Babel - Interactive code block evaluation. That doesn't help solve this ...
9
votes
1answer
847 views

How to get the raw data for an org-mode agenda without an agenda view?

Q: How can I have org-mode return the raw data for an agenda view without actually creating an agenda view? I'd like to access my agenda for an arbitrary day. However, I do not want to create an ...
9
votes
1answer
245 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
0answers
438 views

Edebug orgmode source code blocks with input variables

What is the standard method to debug emacs-lisp orgmode source code blocks with input variables as header arguments? I found the hacky solution to insert the following snipped in front of a source ...
8
votes
2answers
5k views

org-mode: How to export underscore as underscore instead of highlight in HTML?

I am using org-mode, and the document I am writing has a table name whose name looks like this: tab_weekly_report. When I export the document to HTML, I expect the name to exported as ...
8
votes
4answers
2k views

Org Mode Babel - Interactive code block evaluation in Python

Similarly to this question I would like to evaluate (in org mode) Python source code blocks containing "input" instructions but I can't find a way to have an interactive evaluation (with user input) ...
8
votes
3answers
847 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
3k 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

Adding/Modifying TODO keywords

I just installed Emacs 25.1 for windows. I want to modify the TODO keyword list, and I use this code: (setq org-todo-keywords '((sequence "TODO" "MAYBE" "NEXT" "STARTED" "...
8
votes
3answers
4k views

Disable enlarged Org mode header appearance

I am using Org mode on Macintosh GNU Emacs version 24.5.1 in GUI mode and the headers are enlarged. I would like to disable this feature so they rendered in the default font size. I have tried this... ...
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
3k 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
655 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
1answer
2k 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.
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
2answers
2k views

Is it possible to insert images from the web with its url?

Is it possible to insert images directly from the web with its url in org-mode? i.e. Can I paste something like this into emacs' buffer, so that it changes into the image of a cat in the link in image ...
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
770 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
781 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
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?
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
467 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
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>. ...
8
votes
1answer
906 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
3k 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
613 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 ...
8
votes
1answer
451 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 ...
8
votes
2answers
1k 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
1answer
1k 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-...
8
votes
1answer
436 views

Org - show checkboxes in Agenda?

Is there anyway to show outline with its checkboxes in Org Agenda views like this? ** TODO Checkboxes [1/3] SCHEDULED: <2014-11-28 Fri 12:00> - [X] Wash cloths - [ ] Buy milk - [ ] Wash ...
8
votes
3answers
752 views

How to make hyperlinks clickable in markdown mode?

In an emacs org-mode buffer it is possible to type a hyperlink and then click on the hyperlink with a mouse to open the url in an external browser. Is there a way for markdown mode to have active ...
8
votes
2answers
378 views

Hiding State Changes of Org Mode Repeating Task

I have several repeating tasks (some with the "habit" style). I like my setup but now I have a lot state changes log just below the not drawers. For example: ** TODO Random Task ...
8
votes
2answers
1k 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 ...
8
votes
3answers
928 views

Emacs: function to make a file with date/time as filename, and a shortcut for it

I need to generate text files with the following name format: YYYYY-MM-DD--hh-mm-ss.org. How can I use the capture funtionality for this? That is, instead of making one entry per capture in a single ...
8
votes
1answer
1k 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 ...
8
votes
1answer
703 views

Fontify broken links in org-mode

If I create a bad [[file:link]] or an internal [[Link]] that does not exist, I would like to org-mode to fontify this using org-warning face. How can I get this done? Thanks,
8
votes
1answer
921 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. ...
8
votes
1answer
2k views

How to set my own date format for Org

Hello I am new to Emacs and I have started using org mode for improving my productivity. Currently when I press C-c . the date format displayed is <2016-01-26 Thu> I would like to change it to ...
8
votes
1answer
232 views

Fold region of org file

Is there a way to fold a region in org-mode? (Not the whole file, and not an individual item, but a region containing multiple items.) Often I want to collapse only a portion of an org file, say ...
8
votes
2answers
383 views

Why does Emacs org-mode ask for master file?

When opening .org files, Emacs asks for a master file. Why is that and how can I disable this feature? I guess it is because of using latex-related packages like ox-latex and ox-beamer. Is there ...
8
votes
3answers
806 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 ...
8
votes
3answers
675 views

Fold/collapse sections in org agenda?

A custom multi-section agenda view can get quite long. Is there a built-in mechanism to fold or collapse sections like the standard outline view of org files to help with readability? I'm interested ...
8
votes
2answers
1k views

Embed Image as Base64 on HTML export from Orgmode

The goal is to make a self-contained html file when exporting from orgmode so that the images are intrinsic to the file and a single html file will can be distributed (I am trying to do this for a ...
8
votes
2answers
400 views

Hide items with a certain tag in agenda based on time of day

Is it possible to hide items with a certain tag after at specific time of the day? For example, I'd like that after 5pm and on weekends, :WORK: items don't appear in the agenda. EDIT: I am dealing ...
8
votes
1answer
1k views

How can I use helm with org-refile?

I'd like use org-refile and select the heading with helm with an interface like helm-org-in-buffer-headings. I know I can use helm-org-in-buffer-headings to do this using f2, but is there a way to ...
8
votes
2answers
604 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 ...
8
votes
2answers
2k views

org-habit graph on todo list agenda view

I'm using org-habit, and the habit graphs show up nicely on the normal agenda view. However, I'd like to use the todo list with tag filtering, and there the habits look like normal todo items, ...
8
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" #+...
8
votes
2answers
1k views

Exploring org-mode outlines without Emacs

I'm looking for a way to share org-mode outlines such that it is accessible to non-Emacs users; preserves as much of org-mode's expand/collapse functionality as possible. I know that one can export *...