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
0answers
6 views

Misaligned chart in the habits agenda mode in orgmode

After upgrade from Ubuntu 18 to 20 my agenda habits chart now is broken. Any ideas in how to fix that?
0
votes
1answer
22 views

How to export an octave/matlab array for use by python in org-mode?

I am trying to pass the value of an octave/matlab array into a python code block in org-mode. But I can't get the python-end to receive the value. With the answers in this question, I can generate an ...
0
votes
0answers
17 views

Org-habit how to track number over time

(still a complete beginner to org in general) I managed to setup org-habit, that also feeds into org-agenda to neatly see habits. I would like to track a few variables that go along with my habits (e....
1
vote
1answer
23 views

Org mode To Do's: completed tasks statistics cookie for items more than one level down

I am working on a project with several steps, each of which has sub-steps; each sub-step has sub-steps as well. The steps and sub-steps are headings; the sub-sub-steps are To Do items. I would like to ...
0
votes
1answer
8 views

Capture org-agenda and show-some-entry-text into dynamic block

In summary I want to capture org-agenda into a dynamic block with some entry text. At the end of the week I provide a report as to what I've been doing and a list of what I intend to work on in the ...
1
vote
0answers
11 views

How to Change the font for org-date face in org-table context?

I like to have a variable font everywhere I can, but some things like tables in org-mode or the org-agenda itself look a little wonky that way, and I get around it by configuring specific fixed width ...
1
vote
2answers
462 views

How to quickly convert text to org-mode table?

windows 10, emacs 26.1 Supose I have the following text: OwnerKey OrganizationName GUID 111192 Infocom 41EA23423423423423423C8-62A61A1532C5 345423 TV A3B8F234234234234239FA5-...
4
votes
2answers
305 views

Open org-mode links to info in different window?

I was wondering if anyone knew of a way to open links to info pages (Emacs manual) from org-mode without changing the current buffer to that info page? The reason I would like to do this is because I ...
11
votes
2answers
3k views

Org-mode multi-line emphasis and bold

Is there any sort of markup in org-mode to get multiple lines of text to be bold, italics, etc? *This is what I want to be bold and I only want lines to be a certain length so that this doesn't work....
1
vote
2answers
36 views

How to output an octave array as a org-mode table?

I am trying to output a matlab/octave array as an org-mode table. So for an array/matrix like a =[ 1 2; 3 4; 5 6]; I'd like to have a 3 by 2 org-mode table. I tried to just echo the array a as if ...
1
vote
1answer
31 views

Create Smart Multi-level Headings with Proper Indentation

When working with phone calls and tickets, I use Emacs in Org mode to pre-create the entry with the heading containing the current date and time. For obvious reasons, if not constantly using a new ...
3
votes
1answer
43 views

Is it possible to organize the capture templates selection screen?

As it can be seen above, I have around fifteen capture templates. I think this list may grow or shrink, but in the case that it grows, is there any way to make it more segmented? Like dividing it ...
12
votes
6answers
4k views

How to convert lines to an org-mode checklist?

Suppose I have the following list. I'd like to convert it to a checklist. Lec 1 | 1:20:36 Lec 2 | 1:10:32 Lec 3 | 1:08:33 Lec 4 | 1:20:33 Lec 5 | 1:16:50 Lec ...
0
votes
0answers
14 views

Org-mode export error- Wrong type argument: org-export-backend

I'm trying to export an Org document to latex, but get the following error: org-export-get-all-transcoders: Wrong type argument: org-export-backend, [cl-struct-org-export-backend nil latex ((...
0
votes
1answer
26 views

Sum clock times by tag

I would like to sum clock intervals from tasks by tag. I found this blog post (code below). When I use it, I get the same report, regardless of the tag I request: Time: 4499:28 (4499 hours and 28 ...
0
votes
0answers
31 views

How do I add appointments to effort sum?

I have set up my appointments as below in my work.org. * Work :work: ** Client 1 Work <2020-06-03 Wed 09:00-10:00> ** Client 2 Work <2020-06-03 Wed 18:...
0
votes
1answer
18 views

How do octave functions work in org-mode code blocks?

I tried to define and use a simple matlab/octave function within an org-mode code block as shown follows. #+name: test-octave-function #+begin_src octave function s = my_sum(x, y) s = x + y; ...
3
votes
2answers
131 views

Export only headlines of a certain level

This one is pretty straightforward. I'm translating in emacs org-mode, and my workflow looks a bit like this: * Source text sentence ** Translation of source text sentence * Another source text ...
2
votes
1answer
32 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, ...
0
votes
0answers
15 views

org-babel-execute-src-block: No org-babel-execute function for octave!

I tried to execute an org-mode code block in octave, using the example in this SO question: #+name: factor #+begin_src octave :session *octave* :exports code :results silent factor=4; #+end_src But ...
0
votes
1answer
19 views

Update Org Header if SRC Block has :tangle no

I organize my init.el in a single org-file as many do. Often times I remove code from my config to test things out. I typically do this by changing the src-block to have a :tangle no setting. In many ...
0
votes
1answer
18 views

using bibtex in org-mode messes up inlineimages of latex preview?

I had latex preview working with inlineimages as in the following .org file: #+STARTUP: latexpreview #+STARTUP: inlineimages $A \to B$ The latex formula is correctly changed into a png image as ...
1
vote
1answer
35 views

How to provide keyboard input programmatically for org-export-dispatch UI in elisp?

The org-export-dispatch command in org-mode (C-c C-e) brings up an UI from which one can, e.g. select l and l to export the .org file to latex format. My question is: Can one use elisp to fix the ...
0
votes
1answer
19 views

Add element to org-refile-targets

I am keeping a common init.el for work and private on separate machines. So dependent on my machine I have common settings and machine dependent settings. How do I get to add an element to the org-...
13
votes
3answers
4k views

in org-mode, how to view TODO items for current buffer only?

In org-mode, I like to run org-todo-list, which displays the global todo list including all my org-agenda files. How do I view a TODO list for only the current buffer, ignoring my other org-agenda ...
0
votes
0answers
36 views

Has anyone combined org-sidebar with org-panes? (persistent location & automatically in buffers)

In my ideal world, every org file could automatically open with a small sidebar always showing where I am, similar to how Typora works, which allows you to select other locations to go to. I'm trying ...
16
votes
1answer
634 views

Resolving duplicate ID's in org-mode

For a variety of reasons it's possible to end up with duplicate heading Id's (manually-set ID conflicts, copy pasta, duplicate files, etc.). When refiling you may get a message WARNING: 17 duplicate ...
0
votes
1answer
13 views

Can I execute a code block in org-mode without exporting it?

I was following this blog about using org-mode for writing papers, and the author said Use C-c C-e l l to create a LaTeX file. Then, from the terminal, use Pandoc as follows to create an odt or ...
0
votes
0answers
33 views

Go to org heading programmatically [duplicate]

What I want is basically a programmatic version of org-refile, where I can pass in a string as input. Currently, org-refile doesn't provide this functionality.
3
votes
2answers
2k views

Org-mode: Can you set up context-dependent refile targets?

I'm new to org-mode (and emacs in general), and have been trying to follow the tutorials and manuals to set up a GTD-like system. I currently have an "inbox.org" file with two first-level headings ("...
0
votes
2answers
67 views

Automatically `expand-abbrev` with `org-meta-return` and `org-insert-heading-respect-content`

I take notes with org-mode and abbrev-mode. Normally pressing SPC or RET leads to any abbreviations at point expanding before the edit is made. This doesn't happen when I use C-RET (org-insert-...
6
votes
2answers
293 views

orgmode, capturing original document title

I have a basic capture template: ("a" "Article" entry (file+headline "~/GitLab/Reports/Bibliography/references.org" "Article") "* %^{Title} \n%?") that asks you to fill the Title field. Now, ...
8
votes
3answers
2k 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 ...
4
votes
3answers
1k views

How to exclude a file from agenda

I have a set of org files all in one directory, as follows '(org-agenda-files (quote ("~/GTD/ActiveProjects/"))) I would like to have an agenda that excludes one file Home.org so that I don't see ...
0
votes
1answer
23 views

Multiple citations with just one pair of braces

I want to have multiple citations appear in my exported PDF as below: some well-studied fact [12, 13, 20] blah blah But the only way I know to do this is by using inline latex: some well-studied ...
2
votes
2answers
67 views

In Org mode how to link to a specific line or keyword in a Help or Texinfo page?

For example, I want to create a link pointing to line 16 or the start of the first found keyword "binding" in the projectile mode help page ([[help:projectile-mode]]). I tried the double colon format ...
4
votes
3answers
206 views

Make Org Table with #+NAME label collapsible

I have an org table with has a NAME label like: #+NAME: TBL | Foo | Bar | In the past I have always been able to expand and collapse the whole table by cycling using TAB on the #+NAME line. However ...
2
votes
1answer
198 views

problem with org-impress export

I want to use https://github.com/kinjo/org-impress-js.el with emacs-25.1 and the last org-mode. Here my configuration: (eval-after-load "org" '(progn (add-to-list 'load-path "~/.emacs.d/...
1
vote
1answer
125 views

Repeat tasks - mark done in a datetree

In my org file, I have the following lines: #+STARTUP: logdone logrepeat logreschedule logredeadline logrefile logdrawer #+ARCHIVE: ::datetree/ When I mark a repeat task done, I want to: Continue ...
2
votes
0answers
31 views

org mode does not export broken links

When I export an org document to html, the broken links are visible as html link 'nil'. What I want is just normal text, not link (just description from link). How can I accomplish this?
0
votes
4answers
1k views

error message when previewing latex snippet in .org file

I am a brand new emacs user and I want to be able to view snippets of LaTeX in my .org file. My OS is Ubuntu 16.04, I have installed texlive-full, and I have installed AucTex and org using the Emacs ...
0
votes
0answers
20 views

Org-mode spreadsheet time diff elisp formula or GNU Calc

I wish to substract from a start time an end time in my org-mode spreadsheet. My times strings look like this (only the inline code): starttime: 9:42 or 09:42 endtime: 18:20 So it's 24h format. I ...
0
votes
2answers
100 views

Merging consecutive entries that share the same headline

I've been trying to achieve the following: * Riviere Contents of Riviere title * Riviere More contents of Riviere turn into: * Riviere Contents of Riviere title More contents of Riviere I found ...
0
votes
2answers
21 views

Set ESS working directory from header-args with org-babel sessions

I am experiencing a very strange behavior with org-babel code blocks. When I operate without the :session tag, I am free to use :dir to set my working directory. As you can see, the following code ...
1
vote
0answers
25 views

org: Internal link with automatically updating description, is it possible?

I use the CUSTOM_ID property for internally linking to headers. When I insert a link somewhere, I can either: leave its description empty, which results in the buffer showing #<id>; or put the ...
12
votes
2answers
554 views

How to change faces of org-mode links depending on the link type?

Org-mode offers a variety of different link types ([http], [file], [bibtex], [magit]...). However, they all get the same look defined by the face value for org-link. Is it possible to e.g. change ...
0
votes
1answer
28 views

Can I show the time spent in the currently active task in my orgmode clocktable?

When I press R in my orgmode agenda to view the clocktable (or v R for clockReport), I get a list of clock times for finished tasks. Is it possible to also show the time so far spent on the currently ...
7
votes
1answer
2k views

How can I stop the confirmation to evaluate source code when exporting to html?

I have an org document that contains a lot of source code snippets in it. I want the results of the code to be exported when exporting to Html. On export Emacs asks me if I want to evaluate the code ...
0
votes
1answer
13 views

In which variable are past sparse tree queries saved

I'm executing sparse tree queries programmatically, and I'd like to save the search queries in the same history variable that org-mode uses by default. I'm guessing I can/should do this with add-to-...
4
votes
1answer
56 views

Defining #+setupfile: *path* programmatically

I have a project under git which allows this #+BEGIN_SRC emacs-lisp (expand-file-name (car (project-roots (project-current)))) #+END_SRC to find my project root automatically. Now I want to use ...

1
2 3 4 5
79