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
0
votes
1answer
124 views

Marking a TODO item DONE with or without a timestamp

it was established in a previous post that (setq org-log-done 'time) should be substituted for (setq org-log-done t) in the init file, so that C-c C-t would close a TODO with a timestamp. I would like ...
0
votes
1answer
64 views

Jump to org-mode heading from external application

I want to create a URL that uses org-id to jump to its associated heading in Emacs org-mode. I tried using: org-protocol://org-id-goto?id=DC6BC674-8CE1-451D-A45F-05E09F1F743D But this only opens ...
0
votes
3answers
145 views

Invoke minor mode upon visiting an org file (on a per-file basis)

I have certain org files (scientific manuscripts) that I want to automatically show in Olivetti mode with a specified width upon opening. Is it possible to enable Olivetti (or generally, any minor ...
0
votes
1answer
776 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
3answers
205 views

How to programmatically export org buffer to html ( mimic the org mode sequence `C-c C-e h o` )?

In brief: I would like to programmatically mimic the org mode sequence C-c C-e h o to export a buffer to HTML and open the web browser. My scenario: I have a written a shell-command (in my code ...
0
votes
1answer
41 views

How to paste text into an org table with a set number of columns?

I usually have a bulk of items separated by either spaces or new lines and I want to have them all full a table with a set number of columns. Basically if I want the table to always have 3 columns, ...
0
votes
2answers
124 views

orgmode table time string delta with formula

I wish to calculate time string delta as below: | date | delta | |------------+-------| | 2018/12/28 | 0 | | 2018/12/31 | -1 | #+TBLFM: $2=if(2==@#, 0, ($1 - @-1$1); %.0f The expected ...
0
votes
2answers
81 views

Why isn't my codeblock executing and displaying the output?

I have an org-mode file, with org-mode version 9+ (so my understanding is that Babel should be integrated). Then I have the following in the file #+BEGIN_SRC python :exports both :results output ...
0
votes
2answers
92 views

How to change to evil-insert mode when there is no hook?

I'm trying to change evil-org to evil-insert-state when I add a note to my org files. I've tried to look it up, but can't figure it out. I've configured org-mode to always query me for a note after ...
0
votes
1answer
138 views

Conditional inclusion of paragraph (org-export)

It seems the @@latex: @@ and @@odt: @@ does not work for lists or paragraphs with blank lines. For instance @@odt: - Xyzzy! - Nothing happens @@ is exported to latex. How can I have some ...
0
votes
3answers
204 views

Quick Startup in Org-Mode?

There are two ways I start a new org-mode file: 1) I open Emacs and then by Ctr-x Ctr-f I type in the address of the location of where I want my file to be in. 2) I right click the place I want my ...
0
votes
1answer
45 views

Don't insert CLOSED line when node becomes DONE in org-mode

I want exactly the opposite to this: No "CLOSED" line in org-mode? Namely, I want emacs to stop inserting those annoying CLOSED lines in DONE nodes. Preferably on a per-file basis. Is ...
0
votes
1answer
157 views

Org mode: #+INCLUDE remote files?

I regularly use Org mode's #+INCLUDE command to include local files in my Org file. Now I'm wondering if there is a way to include remote files (i.e. files that I reference via a URL) into my main Org ...
0
votes
1answer
51 views

Avoid having a repeating task clutter the top of the agenda

Here is what I have: My event is being repeated every week, however if I don't update the "original" date (2018-10-08) manually the event will stay on top of the agenda (12 d. ago: EVENT weekly event)...
0
votes
1answer
458 views

org-mode - How to export basic list as outline, not TOC

I have the Latex commands in my org mode file: #+LATEX_HEADER: \usepackage{fontspec} #+LATEX_HEADER: \setmonofont[Scale=0.9]{Latin Modern Mono} #+LATEX_HEADER: \setromanfont{Accanthis ADF Std No3} #+...
0
votes
2answers
353 views

How can I see multiple specific todo-states in a custom agenda view without abusing org-agenda-skip-function?

I am trying to build a 'cleanup' agenda view, with a section for all tasks which are done and a review section for tasks in the HOLD or WAITING states. HOLD and WAITING are states I've defined as ...
0
votes
1answer
684 views

Export handout with notes using org-mode and beamer

I'm having a lot of trouble getting a nice solution to this problem. I want to export a handout for a beamer presentation using org-mode. I can write a note using \note{sample note}, which creates a ...
0
votes
1answer
118 views

Copy formatted citation from helm-bibtex menu

I'm hoping to add a function "Copy formatted citation" to the helm-bibtex menu. i.e. When I open helm-bibtex, press tab on an entry and have the option there to copy a full formatted reference. ...
0
votes
2answers
366 views

org-mode + evil: insert heading, set cursor to line ending, and change to insert mode?

I am using spacemacs which contains org-mode and evil. Whenever I insert a heading (either org-insert-heading, org-insert-heading-after-current or org-insert-subheading), I have to do two extra ...
0
votes
2answers
135 views

Org links file name encoding issue

Inspired by John Kitchin's presentation of org-links features in Org-mode 9, I tried to implement a simple functionality for "file" links. Since I am working on several machines, I wanted the link ...
0
votes
1answer
121 views

How to call export function, bypassing interactive menu

The shortcut C-c C-e is linked to org-export-dispatch. Whenever I want to export my current org buffer as html, I do C-c C-e R R, which is Export to reveal.js HTML Presentation -> To File. I am ...
0
votes
1answer
175 views

Undefined control sequence \uline in exporting org-mode with underline markup to PDF using xelatex

For the following sample, #+LATEX_CMD: xelatex #+LATEX_HEADER: \usepackage{xltxtra} #+OPTIONS: ^:nil This is a _test_ The export to PDF uses xelatex would produce the following error: ! Undefined ...
0
votes
1answer
373 views

Emacs HTML Export Options (Post- and Preamble)

Is there a way I can declare some HTML pre- and post-amble content in a buffer (and only applying to that buffer) itself without needing to create a new org-publish-project-alist project or ...
0
votes
1answer
1k views

How to specify org-capture template for a weekly journaling

This is what I used to have before: ("w" "Weekly" item (file+weektree (concat org-directory "Weekly.org"))) (where org-directory is ~/Notes) and it used to create a tree of this formatin ~/Notes/...
0
votes
1answer
499 views

Setting up org-mode tags with groups

Running in emacs -Q I set up this file and added it to my agenda #+TAGS: [ toptag : subtag ] * headline 1 :toptag: * headline 2 :subtag: * headline 3 org-tag-alist now has value (("[") ("toptag") (:...
0
votes
2answers
858 views

yaml frontmatter in org mode

When exporting and org file in emacs to either html or md for a jekyll-based web page, the yaml front matter gets twisted. As suggested here, I have attempted enclosing it in an html block in the ...
0
votes
1answer
241 views

Delete all logs under a heading in org-mode

Is there a way to delete all instances of, i.e., :LOGBOOK: CLOCK: [2018-01-24 Wed 16:55]--[2018-01-24 Wed 17:15] => 0:20 :END: under a header in org-mode? That is, to delete (under a header) all ...
0
votes
1answer
335 views

Open emacs in Dired mode

I would like to open emacs in dired mode . files and folders should be organised in most recent file first order. Moreover I would like to highlight the Org files for easy selection. Is this possible?
0
votes
1answer
224 views

export TODO / DONE with different font face

When I export TODO / DONE to pdf, it gets exported as large, bold font. I would like to export using regular font. (10 pts). Is it possible ? Kindly help.
0
votes
1answer
91 views

How to avoid multiplying of a string which precedes <<noweb reference>> in code block?

When <> expands to multiple line and I wrote like this some-string <<noweb ref>> then it expands like some-string line1-from-noweb-ref some-string line2-from-noweb-ref some-string ...
0
votes
1answer
39 views

Binding key to save in specific directory?

I want to bind a key to save a timestamped backup of the current buffer to a specific directory. For example C-§ will save my current buffer to ~/Org/Backups/2017-01-01-foo.org. Unfortunately every ...
0
votes
1answer
180 views

Org mode TODO/DONE font weight

In Org-mode, you can go into column/table view (C-c C-x C-c). When doing so, the alignment of text in rows is a little bit off, despite having a monospace font in my startup settings. I figured out ...
0
votes
1answer
152 views

Open multiple http links in browser

Using org-mode, I can open a single url with Cco on it. But if I have a list of them like: - http://www.cnn.com - http://www.example.com How can I tell it to open all of them in different tabs? I ...
0
votes
4answers
392 views

Invalid duration format org-agenda

I probably hit the wrong keys at some point but now when I'm calling an org-agenda command (i.e. C-a a), I'm receiving an error message: Invalid duration format: "shell", with an empty window. I re-...
0
votes
1answer
40 views

How to indicate the end of a subheading's content?

Below I show a toy example, consisting of two headings, the first of which contains a subheading: * HEADING 1 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis lobortis, lectus sed ...
0
votes
1answer
102 views

How to insert a result of an org-mode source block as part of the document's syntax?

Say I have the following source block: #+NAME: heading #+BEGIN_SRC python :exports none return "** Some outline" #+END_SRC And I insert it inlined in my buffer by using * Another outline ...
0
votes
1answer
67 views

How to insert text immediately before a link (at the start of a line) in org mode?

Consider the following org buffer test.org: H [[My Target][jump to my target]] <<My Target>> If I run org-toggle-link-display on this buffer I get: If I now move the cursor down to ...
0
votes
2answers
135 views

Quickly Adding a Value to a Numeric Property (in Org-Mode)

Suppose we have *** Sample Task :PROPERTIES: :Tally: 42 :END: Is there a way to quickly add a number to :Tally: without having to compute the sum manually and changing the property by hand? EDIT:...
0
votes
1answer
284 views

How do I get Org mode to recognise the \LaTeX{} macro?

I know you can use inline LaTeX in Org, and that works fine for the most part when exporting to HTML. However, I've not managed to get Org to recognise the \LaTeX{} macro properly, unless I enclose it ...
0
votes
1answer
147 views

Org-mode not following certain http links correctly

I have borrowed some code for using org-capture to take notes on elfeed entries. I press v on an elfeed entry I want to save to an Org file and it creates an entry with a link to the article in the ...
0
votes
1answer
537 views

Emacs: Org-mode: How calculate duration of specific task?

Windows 10 (64 bit), Emacs 25.1 Suppose I have one org mode file. In this file I have my tasks with it's duration. After all my tasks was finish I calculate all tasks duration. I use command: org-...
0
votes
1answer
176 views

Org presentation using “transitions”: revealing items?

I want to use org-mode for presentations within emacs. There seem to be a couple of libraries for this linked to by: https://www.emacswiki.org/emacs/EmacsPresentation http://sachachua.com/blog/2013/...
0
votes
1answer
139 views

ORG-REF: Indicate just path where to search for bib files?

I know that one should indicate the bib files for org-ref. I happen to have a huge amount of bib files (exported from Mendeley for each Mendeley folder). My question: Is it possible to just indicate ...
0
votes
2answers
535 views

org-agenda-to-appt Not Working

I'm trying to get org-agenda-to-appt working but I am currently getting No event to add when running this command. org-agenda-list returns a bunch of items, one of which has Deadline: prefixed. My ...
0
votes
1answer
26 views

Why “mobile-inbox.org” filename cannot be changed?

I have (setq org-mobile-inbox-for-pull "~/org/m-Inbox.org") in my .emacs (also set the var manually to the same effect), and still when doing (org-mobile-pull) emacs stores new entries in the file ...
0
votes
1answer
158 views

org mode sort problems with (numerical) properties

I use the property "pages" for the number of pages of an article or book. There are two problems. First: If I use C-c ^ to sort the items by the value of pages org-sort seems to interpret the ...
0
votes
2answers
132 views

org-odt-export subscript bug

According to the documentation, the following setting enables subscript only in the form like ‘a_{b}’. (setq org-use-sub-superscripts nil) However, in 'a_b', 'b' is still exported as subscript. ...
0
votes
1answer
86 views

Define a new babel src (based in python)

I would like to write pieces of code (I don't need to evaluate it---yet---) of Cadabra see the web page which is based in python. However, it uses the symbol # as part of the code. How could I define ...
0
votes
1answer
103 views

Strategy for proper version control of “auto-filled” text files

I like auto-fill-mode a lot because it makes text fit into my screen even when I have two buffers side-by-side. My problem is that a small wording change may trigger auto-fill to reformat a whole ...
0
votes
1answer
544 views

Cycle through agenda files list not working

I am using emacs with org-mode on OSX. Since I have a lot of .org files added to my agenda and it would be good for clean-up purpose if I could cycle through them and maybe also remove them if not ...

1
61 62
63
64 65
80