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.

1,240 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
244 views

Add another level to org-mode visibility cycling

The way S-TAB (org-global-cycle) switches between "top headline -> all headlines -> all content" is great for showing an outline and provide overview, but acts on the full document. Using TAB (org-...
4
votes
0answers
894 views

orgmode open link in system browser or eww

I want orgmode web links to open in my system browser with C-o, and to open in eww with C-u C-o. This seems in line with the function description for org-open-at-point but it doesn't seem to be ...
4
votes
0answers
689 views

Export to multiple files according to tags

I am using org mode to build teaching presentations (through beamer export) and I have a global document containing all the slides I use. Each slide has a tag to indicate the corresponding teaching ...
4
votes
0answers
167 views

Custom in-buffer settings in org-mode

Is there a way to define a custom in-buffer setting that I can use in my own elisp functions? For example, I want to be able to have this at the top of my script #+HTML_OUTPUT_FILE: Some text Then ...
4
votes
0answers
276 views

Separating state change log entries from other notes

Following Rainer König's example in this video, I've customized org-log-into-drawer to be LOGBOOK. I've also added timestamps for various state changes such as from DOING to DONE, so that when these ...
4
votes
1answer
269 views

Org Mode: Difference in results when evaluating code block and evaluating called code block

I am a beginner who wants to evaluate a Call to a code block in an org-file and get the same results as when I evaluate the actual code block. Like so: #+NAME: Myblock #+BEGIN_SRC emacs-lisp :results ...
4
votes
0answers
213 views

org-mode: I can recalculate all tables, or realign, but not both

I've got a dynamic block in org-mode (e.g. a clocktable) and I want to update it on save. To do this, I have written the following function (which I'm calling in a before-save-buffer hook): (defun my/...
4
votes
0answers
237 views

How to use italic in quoted text in org-mode

Let us say I have the following code in an org file that I want to export to LaTeX and pdf. #+BEGIN_QUOTE These kinds of models show that coalition building might be important.\\ [[citep:Pamp2015]...
4
votes
1answer
615 views

How can I get :LOGBOOK: into Column View?

The items in my org-mode file will have a number of properties relating to data points that I need to capture. In conjunction with this, I'd like to continue using C-c C-z to log notes tracking ...
4
votes
0answers
230 views

Echo contents of a heading of one .org file in another

Is there a way to have contents of a heading of an .org file echoed in another .org file, so that the text in the second file would be updated automatically when the first file changes? For example, ...
4
votes
0answers
320 views

Control vertical spacing between paragraphs in org-mode export?

I want to export org-mode to PDF or preferably ODT format. How do I set arbitrarily vertical space, e.g space before paragraph 6pt, space after 12pt. Is there any global option for me to do this?
4
votes
0answers
1k views

How to embed external file contents in org file?

I'm creating a simple bash tool that uses various flags/arguments from the user, and I'm using an org file for the documentation. I have several examples and I'd like to include some explanation of ...
4
votes
1answer
463 views

Export all org-mode sections as Beamer frames?

Is there a way to have all of my Org-mode sections export as Beamer frames? For instance, if I have a document like * A ** B ** C then I would like a slide for each of A, B, and C. Setting H:2 gives ...
4
votes
0answers
56 views

How to prevent single lines from disappearing when cycle with TAB key?

Sometimes my latex commands (with #+LATEX:) get buried within my org document. Can I disable the visibility cycle behavior for single lines? A preferred behavior would be to leave non-indented lines ...
4
votes
0answers
288 views

Org-babel and anaconda-mode in src blocks

I practice python literate programming with tangling to generate a full project structure. There are dependencies between modules and packages, and so I will say in the C-c ': #+begin_src python ...
4
votes
1answer
1k views

Can I automatically export org deadlines and scheduled tasks as an iCal file and import it with another calendar app?

I would like to update Google Calendar / iCal automatically by exporting my org deadlines and scheduled tasks in .ics format, then automatically importing them into a cross-platform calendar app. I ...
4
votes
0answers
165 views

Is there any way to postpone or update all expired deadlines (or scheduled tasks) at once?

Is there any way to postpone or update all expired deadlines (or scheduled tasks) at once in org-agenda mode? I tend to schedule more than I can handle and need a way to quickly either (a) remove old ...
4
votes
0answers
554 views

Sorting an archive file while preserving headline structure in org-mode

When I complete a task and move its todo state to "Done", it adds the date the task was completed. Later during the weekend, I might archive these "Done" tasks so that they are moved into an ....
4
votes
0answers
251 views

Prevent :EXPORT_LATEX_HEADER: in a subtree from overriding all buffer #+LATEX_ lines

Possibly a bug: When using :EXPORT_LATEX_HEADER: in a subtree's :PROPERTIES: it overrides all the buffer-level #+LATEX_HEADER: commands as well as everything given in an external file with #+SETUPFILE:...
4
votes
0answers
163 views

How to keep current time balance in org-mode's clock table

I currently have my clocktable defined as #+BEGIN: clocktable :maxlevel 4 :scope file :tags "RESIM|DOAS|GENIUP|NOIUP" :block 2016 :step week :stepskip0 :emphasize nil The output looks like this: | ...
4
votes
0answers
281 views

org-mode report with start and end time for each day of the week

I'm starting to use (a total newbie, actually) org-mode clocking commands to track time spent during the job day. I need to fill some reports on daily start and end time of my work day. This is just:...
4
votes
0answers
1k views

How to set the Ispell language via a file variable in Org-Mode?

I put the following in the beginning of the Org file: * :noexport: Local Variables: ispell-local-dictionary: "american" End: #+EXPORT_EXCLUDE_TAGS: noexport And I start flyspell via a hook: (add-...
4
votes
0answers
60 views

Org-export to lisp comments

I like using org-mode in my packages' Readme files, but I also like writing instructions under the ;;; Commentary: header that goes in the source file. Whenever I change some part of the ...
4
votes
0answers
403 views

Stopping a runaway process using C-c C-c

When i evaluate some source code blocks using C-c C-c sometimes i might have an error and the system hangs on me . The only way to exit at this point is by quitting emacs. Are there any solutions to ...
4
votes
1answer
671 views

How to limit exported column view to a filtered subset of your headings?

I have a big org-mode file using tags and TODO keywords and properties. I would like to display a summary of "Effort" estimates on subsets of the headings with sums as we go up in the section ...
4
votes
0answers
405 views

How to update org-mode default template?

I use C-c C-e -> # -> default to insert the default template for org-export. But some of the value of the options are not what I want. How could I modify the default template (change values or add ...
4
votes
0answers
173 views

how to get Emacs to stop saving org-agenda as a file?

In my directory I keep on winding up with dozens of files with names like these: #%2AOrg%20Agenda%2A#12182wk# #%2AOrg%20Agenda%2A#13353nN# #%2AOrg%20Agenda%2A#13568-1B# The content of which is this: ...
4
votes
0answers
842 views

Org mode python session does not return a file name

In the following link you can find the following simple example: #+begin_src python :session :results file import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt fig=plt.figure(...
4
votes
0answers
402 views

How to distinguish between TODO and WAIT in org-summary-todo?

Org-Mode proposes to use the following org-summary-todo function in the org-after-todo-statistics-hook: (defun org-summary-todo (n-done n-not-done) "Switch entry to DONE when all subentries are ...
4
votes
3answers
1k views

Jump to location in org-mode while properly unfolding headings

I'd like to find a way to jump to a location in an org-mode file while automatically unfolding only the heading at the location I'm jumping to and all its parent headings (but not any sibling headings)...
3
votes
0answers
43 views

Do not show deadline if scheduled

Here is a sample entry: *** TODO Some Task SCHEDULED: <2021-07-19 Mon> DEADLINE: <2021-07-01 Thu +1y> As you can see, it is past deadline. But it is still incomplete and it is scheduled ...
3
votes
0answers
40 views

org-structure-template Is Only Lowercase

When I type <s+TAB, a source code block is inserted, but the text is lowercase: #+begin_src #+end_src How can I make it create uppercase text instead? I have always thought that uppercase was the ...
3
votes
0answers
117 views

The export of external links in org files to pdf and html files

I have a problem with the export of external links in org files to pdf and html files. Let's say I have the two org files in the same directory: file1.org = here is the label of file1: <<label&...
3
votes
0answers
63 views

How to embed pgfplots picture in org-mode

I want to include tikz/pgfplots pictures in an org-mode document both for inline visualisation and export. I have tried approaches given in this emacs-orgmode thread and in the worg documentation ...
3
votes
0answers
146 views

Include some content in org-mode only when exporting to HTML

I'm currently exporting a document to latex and HTML and there is some content that I have to create separately for each target. For the latex target, I add the latex code as #+begin_export latex // ...
3
votes
0answers
71 views

How to show remaining task effort in org-mode's column view

I use the column view to show my estimated effort for my tasks, and work. It is very useful to schedule the tasks of the day. But I would like to see the remaining effort of each task, i.e., (...
3
votes
0answers
49 views

Add a source reference to org blocks

During research, I often cite a passage from some website, a local document or org file. For context and later use, I always add the source reference after the block: * Public transport ** Bus Buses ...
3
votes
0answers
130 views

org-babel-tangle-file multiple files into a single output

Is there a way to tangle an org file with #+INCLUDE: statements? Or other ways to tangle multiple org files into a single output?
3
votes
0answers
507 views

org mode, html export of LaTeX equations with tikz support

In my org-mode file I have some LaTeX equations using tikz and tikz-cd packages: #+TITLE: Mixing tikz and equations * An example \begin{equation*} \begin{tikzcd} A\arrow[yshift=.7ex,r,"f"] \arrow[...
3
votes
1answer
182 views

Org mode agenda fails to show consistency graph

I set up the Org mode consistency graph of habits following the manual. Each habit is, e.g.: ** TODO some habit SCHEDULED: <2019-12-22 Sun 07:20 ++1d> :PROPERTIES: :STYLE: habit :LAST_REPEAT: [...
3
votes
1answer
57 views

What is the `'inf-template` file in the ob-template.el file (template for creating new babel language)

Because the options provided by the mathematica.el file in org-contrib are quite limited, I am trying to create a new, extended, mathematica.el file. As explained on the org language development page, ...
3
votes
0answers
59 views

What does w mean in “worg”

It might be trivial, but google searches do not help. What does "W" mean mean in Worg?
3
votes
0answers
424 views

Org-indent with variable-pitch-mode and visual-line-mode indenting lines after the first too far on windows

On my windows machine, org-indent or visual-line-mode seems to be indenting wrapped lines further than it should. It almost seems like it is double-indenting them, as the extra indentation seems to ...
3
votes
0answers
43 views

Tag inheritance respecting mutual exclusivity in org mode

Is it possible to have tag inheritance respect mutually exclusive tag groups in org-mode? What I would like to do is set a default tag on a top-level entry, and override it with one of the other tags ...
3
votes
0answers
112 views

live, literate, lean programming with org-mode

I would like to use lean-mode and org-mode together to write literate code that is also being parsed by the Lean server. lean-mode (available on melpa) supports a live-coding style of interaction, ...
3
votes
0answers
46 views

Letting evil >> increment org level

In evil mode, >> increments the indentation level of the current line. It does so at an org heading too, even though it would be more appropriate there if it would increase the org level (the ...
3
votes
0answers
1k views

How to update Org-mode through Emacs' Package Manager?

I have org-version 9.1.9 installed and am attempting to install the latest version 9.2.2 I followed the instructions on https://orgmode.org/worg/org-faq.html#installing-via-elpa. On my system, M-x ...
3
votes
1answer
3k views

Error enabling flyspell mode in Emacs

I use flyspell hunspell for checking my spelling mistakes in Emacs. Recently, when I run M-x flyspell-mode in .org or .tex files I got the following error: Error enabling Flyspell mode: (hunspell ...
3
votes
0answers
397 views

Any way to display clock time in the modeline for both the current clock and all accumulated clocks simultaneously?

The variable org-clock-mode-line-total controls whether to show the clocked time of only the current clock or of all accumulated clocks of the current task. However, I'd actually like to show both. ...
3
votes
0answers
250 views

Rotate images in org mode

When I toggle inline images I can see the image. But I want to rotate it. There is an option to specify a custom width using: #+ATTR_ORG: :width 80 Is there a similar option to rotate the image?

1
2
3 4 5
25