Stack Exchange Network

Stack Exchange network consists of 175 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.

9
votes
0answers
421 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
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
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
3answers
821 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

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

How can I evaluate elisp in an orgmode file when it is opened?

I have elisp code I'd like to run in orgmode files when they load (different for different files, and defined in the file itself). Is there a way to do this? I didn't see anything in http://orgmode....
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
751 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
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
449 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
892 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
504 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
428 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
424 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
704 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
360 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
856 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 ...
8
votes
3answers
897 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
691 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
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
229 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
371 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
774 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
631 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
1answer
1k views

Display errors and warnings in an org-mode code block

I would like to be able to report warnings and errors when evaluating a Python code block in an Org file. When a code block has Python syntax errors, Org helpfully pops them up in a separate ...
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
4k views

Downscaling inline images in org-mode

I used to be able to scale down an inline image in org-mode with #+attr_html: :width 650 px [[file:~/org/def/202a3-9.jpeg]] But now it doesn't work anymore, presumably because of an update to 8.3.5. ...
8
votes
2answers
385 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
584 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 *...
8
votes
2answers
471 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 (...
8
votes
1answer
605 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). ...
8
votes
1answer
707 views

Org calendar : change date language?

I am able to set the date language with (setq system-time-locale "LOCALE") but it doesn't affect the calendar. How can I change the language of calendar?