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
2
votes
2answers
167 views

org-mode: wrapping sentence with '+' symbol to strike-through easily seems not working

I've known there's similar question How to strike-through or un-strike-through a region or line in org-mode? but no proper answer they've got yet. I just wonder how to make wrapped word or sentence ...
1
vote
0answers
19 views

How do I insert code block header :var in exported code block in org-mode for SQL

I cannot repeat solution mentioned in 27610 for SQL. Seems there is no org-babel-variable-assignments:sql function in org.el.
1
vote
0answers
255 views

How is #+BEGIN_SRC sh :results drawer different to #+BEGIN_SRC sh

While reading http://www.howardism.org/Technical/Emacs/literate-devops.html I saw the author recommending #+BEGIN_SRC sh :results drawer for "time-consuming and verbose" commands. (I do a ...
1
vote
0answers
234 views

#+include plantuml source in org file?

I have a large plantuml sequence diagram in blah.iuml. I would like to include it in my org-mode file so that it gets regenerated and included each time I export the org file to html. I don't want ...
1
vote
1answer
95 views

Failed to add wikinodes to ‘org-font-lock-extra-keywords

I want to use org-wikinodes (http://orgmode.org/worg/org-contrib/org-wikinodes.html) Org wikinode is activated : (setq org-modules (quote (org-wikinodes))) I can follow wikinodes links with C-c ...
1
vote
1answer
144 views

org-mode export headline without contents

I'm exporting org files to PDF. In some cases, I would like to include a heading without any of its children or contents. There are currently two ways of hiding (part of) a headline. One is to use :...
1
vote
1answer
448 views

Org-mode hide tags in outline view

Can anyone think of a way to hide org-mode tags, perhaps something along the lines of this solution to completely hide the properties drawer? I would love to hide tags but still have them searchable ...
1
vote
1answer
115 views

org-return-follows-link with footnotes?

I want to follow footnote links in org-mode by positioning the point over the link and hitting the return key. In my init.el file, I have (setq org-return-follows-link t) which works fine for regular ...
1
vote
1answer
144 views

Org subtree from yasnippet

Can yasnippet be used to insert an org subtree of the same level as the last? For example, if one often writes ***** $1 #+BEGIN_SRC latex \paragraph{$1.} $0 #+END_SRC how might one avoid ...
1
vote
1answer
139 views

org-mode table layout

hi i'm new to emacs and i'm really amazed about the org-mode. But i have some problems with the tables. i want a nice looking table but i get always a strange format example: But i want it like ...
1
vote
1answer
868 views

How can I get the tags for a headline in a clock report formula?

I'd like to understand how to retrieve the tags for a headline that is being processed by a clock mode report formula. Suppose I have a clock report table defined like this. #+BEGIN: clocktable :...
1
vote
1answer
287 views

visibility cycling - org mode - save and restore folding state of sub trees

Is it possible to have a SAVED visibility in Org mode ? Something like: ,-> FOLDED -> SAVED -> CHILDREN -> SUBTREE --. '--------------------------------------------' akin to this....
1
vote
1answer
125 views

How to gnuplot a referred evaluated table in org-babel?

Hitting ctrl-c ctrl-c on the gnuplot code block returns: org-babel-ref-resolve: Reference ‘foo’ not found in this buffer #+srcname: foo #+begin_src python :results output raw :exports code import ...
1
vote
2answers
378 views

Changing the way org-links behave on clicking only when it's a text file

I'd like to change the way org-links behave on clicking only when it's a text file etc. i.e. I'd like to have org-links opens up a new frame with the buffer of the link in it only when it's the link ...
1
vote
1answer
372 views

org-mode table-formula and code-blocks: function parameter is cut off on whitespace

In Org-mode working with 'src' code blocks and table formulas together, org-mode cuts of the cell strings at the first whitespace character. I.e.: having a cell with Hello World the 'src' code block ...
1
vote
3answers
663 views

How to add a CREATED field to any TODO/task?

Is there a way to have any TODO (whether entered by org-capture or manually) to get a CREATED timestamp added like SCHEDULED and DEADLINE ? i.e. today I have entries like: * TODO call mom ...
1
vote
1answer
105 views

How can we convert a range of table types (latex,org) to html when org-exporting to html?

Suppose that I have 3 types of tables in an org file, A latex table, an org-table, and a html-table. How can we to export these table as html tables when org-exporting to html? # #+BEGIN_LaTeX # \...
1
vote
1answer
257 views

Org Weekly Agenda filter tags with logical OR

Background information to motivate my question: With the agenda open, I can press "\" then "+" to show only results containing a certain tag, say A. I can then press "\" and "+" again to show ...
1
vote
0answers
42 views

org-fill-paragraph leaves a comma at end of C style comment

In a src block when there is a C style comment /* ... */ doing an org-fill-paragraph would always put a comma just before the last star, like this: /* Some comment ,*/ Is there a way to stop it from ...
1
vote
1answer
1k views

No org-babel-execute function for calc?

In org-mode: #+BEGIN_SRC calc :var x=5 :var y=2 2+a*x**y #+END_SRC returns No org-babel-execute function for calc! How do I enable calc for org-babel-execute?
1
vote
1answer
186 views

Org agenda view: how to express OR when filtering tags?

In org-mode, I want to make an agenda view showing all notes tagged with "NOTE" or "LOGG". The following code does not produce the result I want: (setq org-agenda-custom-commands '(("o" "NOTES" tags "...
1
vote
1answer
743 views

org-edit-src-code Do not pop a new window, use the current one

When I call org-edit-src-code to edit a SRC code on a buffer with the proper major mode, I get a new window configuration. For example, if I have windows 1|2, org-edit-src-code will delete window 2 ...
1
vote
1answer
124 views

How does (org-agenda-todo arg) work? What does the argument mean?

By trial and error I have found that in org-agenda (org-agenda-todo 'done) marks the entry at point as "DONE". Can you explain why? How can I modify the argument to the org-agenda-todo function (or ...
1
vote
1answer
500 views

Match data clobbered by buffer modification hooks

I want to setup a Journal entry template that prompts for a date/time, so that I can process current entries, as well as older ones. This is what I have so far: ;;; Org-capture settings (setq org-...
1
vote
2answers
605 views

How to a create keybinding to open a particular file?

How to change the SPC m c (org-capture) keybinding to open the ~/capture.org file instead? F-5 opens file when this is in .spacemacs file: (global-set-key (kbd "<f5>") (lambda() (interactive)(...
1
vote
1answer
529 views

include notes in table environment below tabular when exporting from org-mode [duplicate]

Is there a way to put notes below a table in org-mode that are exported into the table environment but are not part of tabular when exporting to LaTeX? E.g., I export a lot of regression tables and ...
1
vote
0answers
223 views

Export a particular org heading with elisp?

I'd like to specify a heading (using either link or agenda syntax) and export just that heading as a file, using elisp. I'm not trying to do this - since this specifies the file to export to in the ...
1
vote
1answer
211 views

Force org to use `:` instead of `begin_example` for source block output

When executing a source block in org mode with the output set to verbatim, it will sometimes wrap the results in an #begin_example block, and sometimes it uses : symbols at the beginning of the line. ...
1
vote
1answer
242 views

How to cycle between specified states in org mode?

By default, S-tab cycles between OVERVIEW, CONTENTS and SHOW ALL these three states. But I want it to just cycle between CONTENTS and SHOW ALL. How can I realize it?
1
vote
0answers
59 views

A way to auto have entries in the property drawer to to track header creation and last change of the header?

is there a way to auto have entries in the property drawer for tracking header creation and last change of the header? anyone using something like this?
0
votes
1answer
162 views

How to get org-mode to generate code multiple times in one file without redundancy?

(Follow-up to Is there a way to use org-mode to render generated code?) #+BEGIN_SRC sh :exports results :results output :wrap SRC haskell sed '/^elts/,$p' -n Heap03.hs #+END_SRC lets me extract ...
0
votes
1answer
445 views

Why is Org adding a label in custom Babel environment?

I can't tell in what update exactly did this happen but since not so long ago Org adds a label{orgsrcblock#} to custom listings environments. Unfortunately, I can't find a way to tell listings to ...
0
votes
1answer
82 views

Count down timer whenever file is opened

C-C C-x ; can start count down timer. But I want to start the timer whenever I open any org file. I want to set it default for 10 minute. Kindly help
0
votes
0answers
38 views

Use custom BibLaTeX fields with Org-ref

I am managing my bibliography with John Kitchin's org-ref package. I want to create an @film entry type with a few custom fields. So in my init.el file, I have: ;; Create fields for Film type (add-to-...
0
votes
2answers
381 views

org mode table formatting problem

I'm on Windows 7 using emacs version GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570. When I create tables with org-mode, I end up having something like this. . I searched and found ...
0
votes
1answer
717 views

org-agenda tags-todo hierarchy weirdness

There's an interesting question about how to view the hierarchy of TODO keywords in org-agenda which shows two different approaches: use the "%l" specifier in org-agenda-prefix-format set org-tags-...
0
votes
1answer
35 views

How calculate sum of only desire rows?

Windows 10, Emacs 26.1 here my org table: | | Start date | End date | Task | State | Duration (hours) | |---+------------------+------------------+----------+-----------+-----...
0
votes
1answer
259 views

Marking a TODO item DONE does not create a CLOSING timestamp in org-mode

I'm following this tutorial: https://orgmode.org/worg/org-tutorials/orgtutorial_dto.html * Tasks ** DONE start a new org file for tutorial C-c C-t modifies the second to line ** DONE start a new ...
0
votes
1answer
263 views

Find all entries in active state without DEADLINE or SCHEDULED

I would like to define a sparse tree search in Org mode which returns all TODO s which are in an active state and do not have either a DEADLINE or SCHEDULE assigned. I tried C-c / m and then entering ...
0
votes
1answer
147 views

How to auto-complete links to headlines in org-mode?

Given an example.org file having two headlines, I would like to auto-complete links to 1headlines. However hitting M-\ on [[* suggests *bold* words but not headlines. Any ideas what I'm 2missing? * ...
0
votes
1answer
59 views

Retrieving All Tasks “CLOSED” Inside a Time Interval

Question: How can I retrieve, over a set of files S (in particular: over my agenda files + their archive files) all org-mode headers that are marked "CLOSED" (i.e., have a "CLOSED" stamp like CLOSED: [...
0
votes
1answer
178 views

evil & org-time-stamp-inactive at end of line in normal mode

I use evil (via spacemacs) and I want to insert a time stamp at the end of the current line in org-mode. Alas the end-of-line in evil normal mode is not the same as in vanilla emacs, so that pressing $...
0
votes
2answers
538 views

Org-mode: How to fix table width to page width for dynamically generated tables?

I am using dynamically generated table to create a tabulated to do list with various parameters using: #+COLUMNS: %ITEM %SCHEDULED %DEADLINE for more info see: Org-Agenda export to dynamic Org-Table ...
0
votes
1answer
212 views

org-mode agenda: sort items with plain time stamp before scheduled tasks

I have an org-file which might look like the following: * Appointments ** Meet someone important <2018-02-15 Thu 08:00-09:00> * Discussions ** TODO Discuss something with someone SCHEDULED:...
0
votes
1answer
33 views

Config easy template src code in 0rg 9.2

I read org mode - Easy Templates in Org 9.2 - Emacs Stack Exchange, which instruct to get back org 9.1 by adding (require 'org-tempo) to your init file or by adding org-tempo to the list org-...
0
votes
0answers
109 views

How can I make tags-search able to find created timestamps containing both date and time?

I have made a tags search to filter out todo's created today: (setq org-agenda-custom-commands'( ("d" "todo's made today" tags "TODO=\"TODO\"+Created=\"<today>\"" ( (org-agenda-sorting-...
0
votes
1answer
78 views

org-mode quote block line feed missing

Say below org-mode block: #+BEGIN_QUOTE item 1 item 2 #+END_QUOTE If export as html, the display is: item 1 item 2 It should be two line but actually merged as one line! I wish to keep the line ...
0
votes
1answer
251 views

org-return-follows-link with org-wikinodes?

I've noticed that placing (setq org-return-follows-link t) in your init.el has no effect on links created by org-wikinodes.el. When you hit (or RET), it just cuts the link in half... One point to ...
0
votes
2answers
229 views

ledger in org-babel blocks uses incorrect path data in Windows 10

I am trying to include a ledger data file from an org-babel block. I am using Windows10 and the SciMax emacs distribution. #+begin_src ledger :cmdline bal :results output :exports results !include d:/...