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
vote
0answers
56 views

Performantly filter against a custom time-like property

My agenda view processes many items with SCHEDULED and DEADLINE fields, and fully generates from scratch in about 0.3s. However, if I append CUSTOM_SCHEDULED<"<now>" to my agenda view ...
0
votes
0answers
52 views

org-mode code block parentheses mismatch

Here's some emacs-lisp code in a babel block: #+begin_src emacs-lisp (defun factor (number) (labels ((*factor (divisor number) (if (> (* divisor divisor) number) (list ...
0
votes
0answers
22 views

Electric pair hyper-aggression in org-mode file

I've got this section in my init: (setq electric-pair-pairs '( (?\{ . ?\}) (?\( . ?\)) (?\[ . ?\]) ...
0
votes
0answers
12 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
31 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
14 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 .
2
votes
1answer
137 views

Show Apple Calendar events in org-mode

Is there a way to show Apple Calendars in org-mode? All I need is to be able to see them in org-mode, I am not (currently) interested in syncing or anything like that. Ideally, the Apple Calendars ...
0
votes
0answers
38 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
38 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
14 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 ...
3
votes
1answer
57 views

Is possible to have alternate table rows in another color in org-mode tables?

I would want something like this, for some specific tables with many rows (so columns are easier to read): I know about stripes mode (and sometimes I resort to using it), but that changes format for ...
2
votes
1answer
44 views

How to unlist an org-mode plain list?

Q: how do I unlist an org-mode plain list? I have a plain list that looks like: * header - List item 1. - List item 2. - List item 3. I want to remove the plain list formatting and convert ...
3
votes
1answer
32 views

Passing variable into a org babel code on export

I can't seem to get the variable to expand into src block #+BEGIN_SRC conf :tangle ~/.config/mine.conf :var argument=abcde setting1 1234 setting2 argument #+END_SRC When I export the file for ...
0
votes
1answer
54 views

Org-mode export to PDF not highlighting code blocks

I am trying to use org-mode export through LaTex to get a nice PDF of my documents, but I can't get it to show highlighted code blocks through Pygments. The following is a snapshot of my configuration....
1
vote
1answer
36 views

Issue archiving when maintaining org-mode subtree structure

I'm trying to archive DONE org-mode tasks while maintaining the subtree structure. There's a partial solution for what I'm trying to attempt at https://gist.github.com/edgimar/...
1
vote
1answer
73 views

Need help with `expand-region`: Symbol’s function definition is void: org-outline-overlay-data

If I try to use er/expand-region but it fails with Symbol’s function definition is void: org-outline-overlay-data. org-version : Org mode version 9.2.2 In the release notes for the current org (9.2),...
0
votes
0answers
14 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. ...
1
vote
1answer
112 views

Org-mode 9.2:Can' t find the error on my dot emacs [closed]

I recently update my org to the version 9.2 (to be precise: Org mode version 9.2.3 (9.2.3-4-g6ec402-elpaplus @ /home/nanounanue/.emacs.d/elpa/org-plus-contrib-20190408/) I did it because I replaced ...
1
vote
2answers
29 views

How can I get superscripts at the beginning of a line in org-mode?

I'm writing a document (in org-mode) that quotes another document, including its footnotes. As such, I'd like to have a line like: #+BEGIN_QUOTE ^123 The contents of footnote 123 go here. #+...
0
votes
0answers
24 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
18 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χ ...
1
vote
0answers
22 views

How find org entries that are missing a certain property?

I have this long sub-tree, I want to find the entries that I haven't set a certain property on yet. * Big list ** foo :PROPERTIES: :QUUX: 1 :END: ** bar :PROPERTIES: :END: ** baz ...
0
votes
0answers
19 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 ...
7
votes
3answers
90 views

Idiomatic way to count org-mode subtrees?

Is there an idiomatic way to count org-mode subtrees? I searched here on emacs.sx and other search engines, but I could not find an answer. I know one could easily count subtrees with a regex, but I ...
1
vote
0answers
42 views

Sum effort estimates from today's scheduled tasks in org-mode

I want the agenda view to calculate the total amount of effort I have in tasks scheduled for today. For example, take these two tasks: * TODO Task 1 SCHEDULED: <2019-04-17 Wed> :PROPERTIES: :...
0
votes
0answers
72 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 ...
5
votes
1answer
32 views

Indentation of description lists

org-mode automatically indents description lists, but it uses two different schemes. For short labels, the second line of the description is aligned with the first character of the description. For ...
4
votes
1answer
23 views

Clocking into separate file

Is it possible to set up an agenda file in org-mode, so that the clocking information is saved at a different location? At work we have a team-global and version-controlled file with a section ...
1
vote
0answers
28 views

Problem with the behavior of org-fontify-done-headline

I want entries with the DONE status to be greyed out, so in my init file I have (setq org-fontify-done-headline t) and I have added '(org-headline-done ((((class color) (min-colors 16) (...
1
vote
0answers
34 views

org-caldav synchronization freezes when using tags

I've finally decided to solely work in emacs, including my caldav-calendars, which I keep synchronized via my personal Nextcloud. I'm new to org-mode and trying to set things up. So far I've managed ...
0
votes
0answers
45 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
26 views

What's the org-mode syntax that tells LaTeX to place a float /here/

My images are floating much more than I'd like. I'd like to force them to be where I tell them to be more like \begin{figure}[!htb] \centering \includegraphics[width=0.75\textwidth, ...
1
vote
1answer
157 views

Spacemacs: Error `Wrong type argument: commandp, org-set-tags` when setting tag

I was not sure if this is a Spacemacs issue or a local configuration issue, hence I figured I would post to Emacs Stackexchange. When I use the Spacemacs key SPC-m : to try and add a tag to an ...
0
votes
0answers
18 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
58 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 ...
1
vote
1answer
22 views

org-use-extra-keys won't load

I'd like to get access to org mode's extra keys. However, although the value of org-use-extra-keys is set to "on (non-nil)" (and has been for several Emacs sessions), I don't seem to have access to ...
0
votes
1answer
59 views

org-table: add hline based on change in column values

Given the following org-table: | col1 | col2 | col3 | col4 | |------+------+------+------| | 11 | 12 | A | 14 | | 21 | 22 | A | 24 | | 31 | 32 | A | 34 | | 41 | 42 | B ...
2
votes
1answer
66 views

org-mode: Export or show only headlines and the first paragraph below them

I want to export my org-mode document, but filter out all the actual content (well, ideally, just show it in the current buffer, but if that's harder to do, export is fine). That is, I want to only ...
1
vote
1answer
42 views

How to disable the “Press M-x…” title line of org-search-view command's output?

I use GNU Emacs 26.1 and want to remove the following enormous message Press ‘M-x org-agenda-manipulate-query-add’, ‘M-x org-agenda-manipulate-query-subtract’ to add/sub word, ‘M-x org-agenda-...
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 ...
3
votes
2answers
49 views

Problem with init

Windows 10/ emacs 27.0.50. I try to use <s with TAB to expand to a ‘src’ code block in org files. This doesn't work for me with my config. When I execute Emacs with -q (-no-init-file) and it ...
1
vote
0answers
14 views

Tag inheritance respecting mutual exclusivity in org mode

Is it possible to have tag inheritance respect mutually exclusive tag groups in org-mode? What I would like to do is set a default tag on a top-level entry, and override it with one of the other tags ...
1
vote
0answers
157 views

Letter in .org mode

.Org mode is very good in writing the outlined text . I use it routinely. But I have to fall back on wordpad or latex when I have to write a letter. Is there any available templates for letter using ...
3
votes
1answer
106 views

How do you make org-todo apply todo state change logging to all headings, when called from a function?

Description When calling org-todo from a function, e.g., via org-map-entries or search-forward (see example code below), then the todo state change logging is only applied to one matched heading. ...
0
votes
0answers
32 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 ...
1
vote
2answers
41 views

Include special (LaTeX) symbols in verbatim/code?

I wonder if it is possible to include special symbols within verbatim delimiters, e.g. =\alpha 6=, although displayed correctly in a prettified buffer, actually exports the literal words \alpha 6 ...
1
vote
0answers
52 views

How to (mostly) get rid of doc-view?

Since I moved to emacs 25 (25.3.2 at the moment) in every context (org-mode, gnus, latex, browsing url, direct access to file) I access pdf-files in emacs, they are displayed in doc-view. I basically ...
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) ...
1
vote
1answer
35 views

org-mode: How can noweb handle a multiple line output

I have a code chunk in my document that I want to use as a list of patterns to search for with grep. If I were just writing a script without org-babel, I could write. a="ar er ir or ur" printf "...