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,477 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14 votes
2 answers
1k views

orgmode line wrap except table

In orgmode, how can I get below line wrap behavior: for text (other than table), I wish line wrapped. for table, I do not wish it's wrapped. I can add below line in init.el (global-visual-line-mode ...
lucky1928's user avatar
  • 1,644
12 votes
0 answers
1k 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 ...
Tobias's user avatar
  • 32.8k
10 votes
2 answers
2k views

How to better align tags in Org Mode using variable-width font

I prefer using variable-width fonts in Emacs whenever I can. That said, Org Mode tags are horribly aligned when headings use variable-width fonts, even if the tags themselves use fixed-width fonts. Is ...
kgo's user avatar
  • 532
8 votes
0 answers
1k views

How to archive an org-mode subtree along with its parent headlines

Let me start out by saying I've seen various attempts to address questions similar to mine, but none of them handle the things I'm looking for. Here is an example of what I'm looking for: Say I ...
Mark's user avatar
  • 828
8 votes
0 answers
313 views

Can body-only exports be performed by default?

I have an org file: #+TITLE: Hello! Hello world! I can perform a "body-only" export of this file to html by issuing C-c C-e C-b h h. Here, the C-b keystroke toggles the "body-only" variable from ...
Brian Fitzpatrick's user avatar
8 votes
0 answers
611 views

how to expand org-mode macros in HTML blocks in export to HTML?

I'd like to use org-mode macro replacement to expand macros inside HTML blocks in org-mode export to HTML. I'd like this... #+MACRO: event-url bar #+HTML_HEAD: <meta property="og:url" content="...
incandescentman's user avatar
8 votes
0 answers
562 views

org-mode ODT export template

I would like to export org file to ODT. Is there any nice ready to use ODT template that can be used for exported documents? Default template is not good looking. I had the same problem with html ...
Hubidubi's user avatar
  • 213
8 votes
0 answers
535 views

How to indicate the currently clocked-in task?

I'm using org-mode's clocking functions to track the hours I spend on projects. Since my main org file is rather large and I scroll through it a lot, it would be great to have a visual cue of the task ...
ph0t0nix's user avatar
  • 1,119
8 votes
0 answers
3k views

Move item from org archive back into org agenda file?

Q: how does one move a project out of the org archive and back into its original spot in the agenda file? org-mode has facilities to archive projects. Every once in a while, however, I need to ...
Dan's user avatar
  • 32.7k
8 votes
1 answer
956 views

How to get org-mode fully support Arabic language for export?

My intention is to write Arabic document using org-mode. Please consider the following MWE, given that my configuration in init.el has below code to enable writing of Arabic script from right to left (...
doctorate's user avatar
  • 1,799
7 votes
0 answers
858 views

Behavior of indentation in Org

I use Emacs 27.2 and Org 9.4.6. Since a very recent update of Org, I noticed a strange change in the behavior of indentation. In my init file, I have set the variable org-adapt-indentation to '...
Philopolis's user avatar
  • 1,124
7 votes
0 answers
191 views

How to schedule repeatable sequences of tasks

I've been trying to find the right approach of scheduling a repeatable sequence of tasks: first approach was to mark the parent as repeatable and children as normal tasks. * TODO This is the ...
Alex Popescu's user avatar
7 votes
0 answers
765 views

latex inside table using table.el in org mode

I am trying to achieve multicolumn cells in org-mode tables like in Multicolumn cells in org-mode tables, but with Latex inside the cells. * Minimal Example +------------+-----------+-------------...
user19456's user avatar
7 votes
0 answers
1k views

Hierarchical org refile support with ivy

When I enable ivy-mode in an org buffer and C-c C-w for refile, all headlines are presented as refile targets. So far so good. I relied on the org default setting (org-outline-path-complete-in-steps '...
JohnDoe's user avatar
  • 203
7 votes
0 answers
816 views

Narrow to a sparse tree?

There are times I prefer to work in a sparse tree instead of an agenda, namely ease of quick edits. However the sparse tree, even with all folds level set to on (e.g. org-show-siblings and others), ...
traycerb's user avatar
7 votes
0 answers
664 views

Org-mode inline .eps images display error. (.eps created by AI ok, .eps created by matplotlib no)

As I basically use Org to take note and export LaTeX files, I find displaying eps files as inline image to be important for me.I have my emacs compiled with ImageMagick support, and added the ...
L.Zoeta's user avatar
  • 131
7 votes
0 answers
1k views

Scaling of inline SVG previews in org-mode

If I insert a jpg in my org-mode document, I can preview it and scale its width, like so: Add the following code to my init.el file: (setq org-image-actual-width nil) Then insert this code in my ...
Adam's user avatar
  • 1,887
7 votes
0 answers
3k views

How can I correct an "Invalid face" error?

Issuing M-x org-html-htmlize-generate-css gives the error Invalid face: font-lock-string What does this error mean and how can I correct it? Issuing $ grep -r "font-lock-string[^-]" ~/.emacs.d/ ...
Brian Fitzpatrick's user avatar
7 votes
0 answers
444 views

Emacs org-mode, agenda view, discover overlapping tasks

If I have following scheduled items in my org file: ** meeting a SCHEDULED: <2015-11-12 Thu 21:00-23:00> ** meeting b SCHEDULED: <2015-11-12 Thu 22:00-23:00> which generates ...
Wade Winch's user avatar
6 votes
0 answers
380 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 ...
Brutus320's user avatar
6 votes
0 answers
783 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 ...
Nathan McCarty's user avatar
6 votes
0 answers
763 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. ...
xji's user avatar
  • 2,575
6 votes
0 answers
80 views

Can I have a different dictionary for flyspell in different headings?

I have an org-mode file where I use different languages. I was hoping to be able to have flyspell checking them. Something like: * Title 1 :PROPERTIES: :Language: Italian :END: This is italian text ...
Fernando César's user avatar
6 votes
0 answers
136 views

Unfold/expand tree when undoing

When I hit the wrong key in a folded org-mode buffer and I hit undo, the cursor normally jumps to some folded location and it's pretty hard to understand what is going on. Expanding the parents of ...
Ivan Perez's user avatar
6 votes
0 answers
1k 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 ...
Webdev Tory's user avatar
6 votes
0 answers
228 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 ...
Tohiko's user avatar
  • 1,609
6 votes
0 answers
536 views

Making relative line numbers behave well with folds?

Context: I have relative line numbers displayed in emacs. If there is a fold (for example: in org-mode), these relative numbers appear to "jump". For example if I'm on line 0 over a fold, emacs could ...
George's user avatar
  • 889
6 votes
0 answers
137 views

Picture of sender in mu4e

How can I see a mini-picture or icon of the email sender in the headers view and email view in mu4e? Is there an easy way to achieve this using, say org-contacts?
Steve Harman's user avatar
6 votes
0 answers
788 views

Org mode italic does not work with some popular fonts in Linux

In org mode /word/ will display the word in italic. For me on Linux, that works for some fonts like Liberation or DejaVu but doesn't work for others, like Monaco, Noto, Inconsolata. I think fonts were ...
itsok-dontworry's user avatar
6 votes
0 answers
424 views

How can I wrap org-preview-latex-fragment to be async?

Calling org-preview-latex-fragment blocks user input for a second or two depending on the size of your fragment, and with universal args, converting all fragments in buffer can take minutes. It would ...
sooheon's user avatar
  • 481
6 votes
0 answers
183 views

Calculating time remaining in org-mode

I am using org-mode to track effort. I would like to be able to see, in column view, the sum total of time remaining on a project (that is, Effort - CLOCKSUM). I haven't had much luck so far. This ...
hartshoj's user avatar
  • 497
6 votes
0 answers
240 views

CLOCK timestamp field in clocktable

Given the following org data : * PROJECT NAME ** task 1 CLOCK: [2016-03-21 Mon 09:50]--[2016-03-21 Mon 10:03] => 0:13 my comment on task1 ** task 2 mycomment on ...
MichaelC's user avatar
  • 161
6 votes
0 answers
188 views

Show a warning when there are duplicate headings in org-mode

Sometimes I have quite long org-mode documents. I tend to insert new headings and sub-headings throughout the whole document. However sometimes I think that I already used this text and begin ...
Jens Kubieziel's user avatar
6 votes
0 answers
555 views

Is exporting of smart (single) quotes broken in Org 8.3?

I cannot seem to get correctly exported smart single quotes in Org 8.3. Here is a minimal test.org file: #+OPTIONS: ':t #+LANGUAGE: en This is 'within single quotes'. This is "within double quotes"...
user avatar
6 votes
0 answers
1k views

org-default face not having effect

I want to set a different font for org-mode contents. Strangely, setting '(org-level-1 ((t (:inherit variable-pitch)))) has the effect on headers as intended. However, setting '(org-default ((t (:...
xji's user avatar
  • 2,575
5 votes
0 answers
105 views

org-mode - how to ignore link syntax inside of src blocks?

The link syntax [[link]] is parsed as an org-link inside of a source block, as shown in the code and figure below, where my mouse if placed on top of [[2]]. #+begin_src emacs-lisp [[2]] #+end_src ...
Daniel's user avatar
  • 3,603
5 votes
0 answers
397 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 ...
lisp-machine's user avatar
5 votes
0 answers
2k 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 ...
wolfv's user avatar
  • 1,393
5 votes
0 answers
1k views

Have Time showing up only in hours and not converted to days

I have a table were I get the time worked for this week. However it shows the time in "days hours minutes". I would prefer only hours. Is that possible? * work clock tasks week #+BEGIN: clocktable :...
Roberto Morávia's user avatar
5 votes
1 answer
471 views

Org-Mode Latex Preview screen-dependent size

When using the inline latex preview in org-mode, I have discovered that it seems the size of the preview images is dependent on the display size. While at work, I have my laptop connected to a dock, ...
Runei's user avatar
  • 61
5 votes
0 answers
204 views

dvisvgm baseline in org-mode HTML export

When using #+OPTIONS: tex:dvisvgm and exporting to HTML with org-mode, the baseline of the latex exported images does not match the baseline of the text (when using subscripts, for instance). Is there ...
Mario Román's user avatar
5 votes
0 answers
278 views

Fontify (italic) text in agenda views

I have some TODO headings with italicized text. These display correctly in Org buffers, but aren't fontified and italicized (slanted) when retrieved as part of an agenda view. Is there a way to ensure ...
tirocinium's user avatar
5 votes
1 answer
531 views

Export pretty symbols in org source blocks?

I make substantial use of prettify-symbols in my programming buffers. A snippet of some of my python symbols: (add-hook 'python-mode-hook (lambda () (mapc (lambda (pair) (push pair ...
Eric Kaschalk's user avatar
5 votes
1 answer
2k views

Org-Mode Agenda Open in Left Window by Default

With a vertical split (C-x 3), regardless of which buffer I am in, C-c a opens the agenda on the right window, pushing my org file into the left window. Is it possible to have the agenda open into ...
dwrz's user avatar
  • 281
5 votes
0 answers
2k 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-...
ceving's user avatar
  • 1,338
5 votes
0 answers
670 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 ...
ashokragavendran's user avatar
5 votes
0 answers
162 views

How to link from parent source block to child block (included via <<noweb>>)?

When exporting the documentation (HTML or PDF) for a literate program that uses noweb references in blocks, how can I get the output to actually hyperlink the <<noweb_snippet_name>> line (...
Sue D. Nymme's user avatar
  • 1,426
5 votes
0 answers
93 views

Get task duration from old timestamps

Assuming I have a task where I store a timestamp for every taskchange I do: * DONE Extremely important dummy task :categorywhatevs: - State "DONE" from "IN PROGRESS" [2015-06-08 Mo 14:...
Phil Ipp's user avatar
  • 499
5 votes
0 answers
152 views

Special characters (e. g. umlauts) not displayed correctly in *Org tags* fast tag selection buffer

In the "Org tags" buffer (the buffer showing the fast tag selection keys when pressing C-c C-c C-c in a headline) some fast selection keys are shown as e. g. [\212] instead of the actual key. How can ...
user6700's user avatar
4 votes
0 answers
280 views

Completely hide the :PROPERTIES: drawer in org-mode

Prelude: Stackoverflow post: Completely hide the :PROPERTIES: drawer in org-mode The above post already has an accepted answer. This question is a follow up to that. I started discussion in the ...
Inspired_Blue's user avatar

1
2 3 4 5
30