The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
41 views

org-babel results with accented characters

I have a problem with the output of org-babel code blocks when this output contains accented characters. For example, if I execute this code block: #+name: test_accented #+begin_src python :results ...
0
votes
0answers
24 views

How to prevent org-resolve-clocks from exiting on wrong key/Non-character input-event?

I use org-clock-idle-time to automatically resolve on idle time. When I get back to my computer, Emacs runs org-resolve-clocks-if-idle which runs org-resolve-clocks with the idle time. This is great,...
0
votes
0answers
17 views

Obtaining the results of babel evaluation of docker-compose commands

this is an odd behavior which seems to happen for some docker-compose commands but not others. If I try to evaluate certain commands like #+BEGIN_SRC sh dir: . docker-compose exec app rspec #...
0
votes
0answers
14 views

Cannot refile to last subtree in narrowed buffer

In org mode, evaluate the expression and narrow the buffer to the first subtree (C-x n s). * one (setq org-refile-targets '((nil . (:maxlevel . 3)))) ** two ** three * four Now put point on the ...
0
votes
1answer
24 views

how to use link path to set the background face?

I would like to use a custom link, i.e. [[h:blue][blue highlighted text]], to create highlighted text. The background color of the highlighted text is specified by the path. I have (org-link-set-...
0
votes
1answer
44 views

Retrieving a view of org-mode tasks completed within a range and that have a non-nil property

How can I retrieve, over an elisp list of files list-of-files, a view of all org-mode headers that (i) were CLOSED in between start and end such that (ii) these headers have a property P defined (that ...
0
votes
1answer
49 views

Org mode: Issue with export using HTML template with #+SETUPFILE

I have download two HTML themes from this git to my home directory. Following the instruction I have put the following line on top of my .org file: #+SETUPFILE: "/home/myusername/org-html-themes/...
0
votes
1answer
56 views

How to indent truncated lines?

For me it seems like a really ruff edge that default spacemacs comes without an option to give my lines a correct indentation, when they are wrapped. (Click the first link if you want to see the issue ...
0
votes
0answers
52 views

Change in org-ctrl-c-ret?

I use spacemacs only for an org-mode todo file. I recently re-installed spacemacs and emacs and noticed a behavior change. Let's say I have a file like: * TODO Header - List item 1 - List ...
0
votes
2answers
37 views

How to suppress output of link with elisp function in org-mode?

When using elisp function in the link in org-mode, like [[elisp:(func)][text]] after clicking the link, the function itself will be printed in *Message* buffer. How should I prevent it from being ...
0
votes
0answers
24 views

`org` mode filtering on `TAGS` containing the @ character

EDIT : org-mode version 9.1.9 (release_9.1.9-65-g5e4542) I use the format @User as a TAG in some TODO lines in my org files. I've just noticed that, when calling the sparse-tree function, with C-u / ...
0
votes
0answers
46 views

org-mode table/matrix in latex export

I have an issue when exporting a table using *matrix environments. The align string appears in the cell content, whatever it is specified or not #+CAPTION: my matrix #+ATTR_LATEX: :mode displaymath :...
0
votes
0answers
17 views

Refiling a subtree with footnotes

I found that refiling a subtree to another file does not move footnotes. Does that have to be done manually, or is there a feature that has to be turned on?
0
votes
0answers
12 views

Automatically replace link text with predefined value

Is it possible to place an overlay on link text that will show a specific value? I want to write a manual where I refer to test points by predefined names such as TP_POWER_3V3, ie "Measure the voltage ...
0
votes
0answers
17 views

`(setq org-latex-listings 'minted)` file local

After trying quite a bit I could not find a way to set (setq org-latex-listings 'minted) file local. I tried putting it in a source block and as a file local variable, both did not work. The only ...
0
votes
0answers
48 views

Change org-priority faces when DONE

Is there a way to change the color of org-priority face once the item is marked as DONE? Currently, the entire line aside from the item's priority gets grayed out once the item is marked as DONE.
0
votes
1answer
67 views

`org-re-reveal` custom slide keyboard bindings

Per the reveal.js docs on keyboard bindings, I'd like to find a way to configure the keyboard bindings in the following way: Reveal.configure({ keyboard: { // left, down -> next 40: '...
0
votes
0answers
27 views

How can i prevent current clocked task from showing in modeline?

Is there any way to disable clocked task from being shown in modeline? I tried searching for variables, but i couldn't find any that turns it off.
0
votes
0answers
34 views

Electric pair hyper-aggression in org-mode file

I've got this section in my init: (setq electric-pair-pairs '( (?\{ . ?\}) (?\( . ?\)) (?\[ . ?\]) ...
0
votes
0answers
15 views

hideshowvis text shown in Org mode source code

I am using in Org-mode to document inherited Java code. Here is shown an enum: However, when I export to HTML, the document is rendered like this: Which incorrectly shows a *hideshowvis* text. I ...
0
votes
0answers
33 views

Custom Org mode agenda with multiple daily agenda blocks that are synced

I want to have a block agenda which contains multiple agenda blocks that show the current day. This is easy to achieve as such: (setq org-agenda-custom-commands '(("T" "Test agenda" ((agenda "...
0
votes
0answers
19 views

List mode for project-wide ispell-buffer?

I'm currently correcting a large amount of org files by using ispell-buffer. However, I was wondering if there was a better way of doing so, by having: - A separate buffer with, on each line, the ...
0
votes
0answers
12 views

How can we separate folder for .org~ temp file into separate folder [duplicate]

Is it possible to store temp file .org~ file in a separate folder preferably C:\temp. I am using emacs on windows 7 .
0
votes
0answers
75 views

org-babel-tangle gives error function definition is void

Using the MWE example.org below, M-x org-babel-tangle returns: helm-M-x: Symbol’s function definition is void: mu4e-message-at-point $ cat /home/example.org #+begin_src sh :tangle example.sh ls #+...
0
votes
1answer
66 views

org-mac-iCal not working

I am trying to setup org-mac-iCal See https://orgmode.org/worg/org-contrib/org-mac-iCal.html. Nothing happens when Emacs loads. Even when I run the specific function org-mac-iCal, nothing happens ...
0
votes
0answers
15 views

Can org-publish-project-alist follow symlinks?

I use org-publish-project-alist to maintain my personal webpage. On my local machine, I have dozens of git-repos where I develop files I want to share on my webpage. Currently, I'm using hardlinks to ...
0
votes
0answers
16 views

Highlight headings in orgstruct-mode

When I do M-x orgstruct-mode (in, e.g. shell script mode, after setting orgstruct-heading-prefix-regexp to "#") and make some comments serve as headings, these comments look like all other comments. ...
0
votes
0answers
25 views

Is it possible to export R code within Latex code in an org-mode document?

I am trying to evaluate R code within LaTeX code in an org-mode document. The objective is to export the org-mode document to a .tex document and, ultimately, to a nice pdf document. My problem is ...
0
votes
0answers
25 views

How to pass noweb variables to latex blocks

I need to tangle a LaTeχ file from code blocks in an org file. How do I pass variables to the SRC block? In theory I should use :var var1=value, but is there any way to reference var1 in the LaTeχ ...
0
votes
0answers
26 views

org-src-fontify-natively breaks #'org-in-src-block-p

#+BEGIN_SRC latex we are now inside a source-code block; but, with org-src-fontify-natively set to nil, calling #'org-in-src-block-p here | doesn't evaluate to t! #+END_SRC Is this a bug? I wasn't ...
0
votes
0answers
175 views

SICP with Racket in org-mode

I'm following the suggestion here to set up racket as the default geiser/scheme. In Dr Racket I can set the first lines of code: #lang sicp (#%require sicp-pict) In order to match code presented in ...
0
votes
0answers
62 views

end of file during parsing during org-mode export to latex

I have a weird thing going on with emacs on Fedora 29. Once in a blue moon, my Emacs will go HA! you cannot export to LaTeX with the "error": end of file during parsing during. However, if I move ...
0
votes
1answer
34 views

Modifying the size of an asymptote image in latex export

I have been using Asymptote to make pictures that can be included in Latex documents. I recently discovered that Org mode plays well with Asymptote https://orgmode.org/worg/org-contrib/babel/...
0
votes
2answers
68 views

Ipython code block producing org table

I saw a python code block example to output an array as an org-table. An example would be, #+BEGIN_SRC python :results value r = 3389.5 # km average radius re = 3396.2 # equatorial radius in km ...
0
votes
0answers
8 views

Can I configure orgmode to NOT ignore time for (repeated) tasks scheduled yesterday or before?

I have in my agenda some tasks repeated every day at a given time (e.g. read mail at 9:00am). If I don't do it one day (e.g. Saturday), I want to still see it at the same time the next day (it used to ...
0
votes
0answers
75 views

Org-gcal can't parse entry

I am using org-gcal for syncing my org schedules with google calendar. I have the following entry in my schedule.org file: * Holidays :PROPERTIES: :END: %%(org-calendar-holiday) but when ...
0
votes
0answers
18 views

Recalculate buffer tables after field motion commands?

I would like emacs to automatically run org-table-recalculate-buffer-tables every time and only if A) cursor is in a table AND B) after a field motion command (TAB, S-TAB or RET) OR (optionally) ...
0
votes
0answers
42 views

Return to original buffer after opening REPL

I've got this in my config.org , which is called by my init.el: #+begin_src emacs-lisp (defun bauf/execute-startup-block () (interactive) (progn (org-babel-goto-named-src-block "startup") ...
0
votes
1answer
118 views

Org babel gnuplot cannot find or open file with ledger-cli report

Expecting gnuplot to create a png on evaluating a ledgerCli plot report I get the GnuPlot error at the bottom of this post LedgerCli #+NAME: LedgerCli #+BEGIN_SRC ledger :cmdline reg Assets:Cash -J ...
0
votes
1answer
75 views

How to use org-capture in a function without killing the buffer, customize capture refile

I am trying to create a function, which captures a note and then copies the same note to another file (In my case for a google calendar synchronization). The problem ist that after giving the capture ...
0
votes
0answers
50 views

How to make org understand a custom timestamp format

I have the following line below a "TODO": SCHEDULED: <Oct 27, 2018 08:30PM> Right now, the org-mode throws the following error: Error was: (Not a standard Org time string: Oct 27, 2018 08:...
0
votes
0answers
31 views

Repeating org-mode templates, using headings

I would like some way to define a template of org headings (not checkboxes) which can then be instantiated and checked off. For example, here's a template: * template ** cast razor sharpening spell *...
0
votes
1answer
67 views

How to set mail-user-agent to mu4e-user-agent

Pressing , m in an org buffer does org-mime-org-buffer-htmlize and opens the htmlized message in message-mode but I want it in mu4e-compose-mode. How can I have this message opened in mu4e in order ...
0
votes
0answers
75 views

Using org-mode clock-report, how can I add a total row + cell with a formula that is automatically updated upon dblock update?

I am having trouble with using the formulas to create a cell that totals a column. Is it possible to dynamically add a line and a total cell to the bottom of clock report tables? because when I add a ...
0
votes
0answers
68 views

Using org-publish to markdown

I already have an org-publish set up that exports to HTMLand it works perfectly. Now, I am trying to export also to markdown, with the following block (setq org-publish-project-alist '( ;; ...
0
votes
0answers
39 views

Can a section have multiple `custom_id`s (in HTML export)?

I'm using properties drawers below section lines to define textual custom_ids to avoid changing numerical link targets in HTML exports. E.g. I have a section title like ** FTDI FT232H :PROPERTIES: :...
0
votes
1answer
51 views

Org mode export with R failing

I have an org file with R code in it. When I attempt to export to html or pdf I get an error: For example if my file was: #+begin_src R :exports code square <- function(x) { x * x } square(1:...
0
votes
1answer
24 views

Set tangle-mode 444 for all source blocks in buffer

How can I tangle all source blocks write protected? The first line of this example is ignored instead of being applied to all blocks as expected: #+PROPERTY: header-args:conf :comments link :...
0
votes
1answer
38 views

Sort agenda items by link's text and not link's url

I use alpha-up as the org-agenda-sorting-strategy. I have many hyperlinks in my task titles. And these items seem to be sorted by the url first (as a hyperlink is [[url][title]]. How do I change this ...
0
votes
0answers
43 views

emacs org src output with accented characters

When I perform #+BEGIN_SRC sql coding: utf-8-with-signature :results list :var did='2019-03-10' cid=77 select t.titre from titres t inner join selections s on s.tid=t.tid where s.did="$did" and s....