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

Can I turn org-mode on for a part of a buffer in another mode?

I have a python code file with a large multiline string comment that I'm using as a sort of checklist for tests that I'm implementing. Is it possible to have just that portion of the buffer be in org ...
0
votes
1answer
11 views

verbatim html export of org headers

How would you export org headers verbatim to HTML? My org file looks like this: #+TITLE: my-org-file.org An example of org-style headers: #+begin_example * Title1 ** Subtitle1a ** Subtitle1b * ...
0
votes
0answers
9 views

how to preserve org timestamp with duration on export

I have a timestamp like this in my .org file, which is a valid timestamp (i.e. generates agenda views when clicked): <2019-05-20 Mon 09:00-11:30> Note the duration (09:00-11:30) rather than a ...
0
votes
0answers
19 views

Org mode needs to be reloaded before I can use my settings

I configured my org-mode through use-package :init and it works fine, except in one case. If I restart emacs and reopen a buffered .org file, my settings won't be applied until I do org-mode-restart, ...
0
votes
0answers
22 views

best way to access running org-mode clock from command line / python

I use py3status to output data from org-mode to the Sway status bar on my Debian laptop. I had a rather hacky script running fine on a previous version of emacs, parsing the output of something like ...
0
votes
0answers
26 views

Flush headlines in Org

I know we can use C-c C-x C-w to remove a single sub-tree and all its contents. Can there be a function to remove sub-trees with headings that fit a certain regular expression, just as the way flush-...
0
votes
0answers
31 views

Merge two cells in an org table

I basically stumbled onto this older question how to merge cells in an org-table. This would be very useful to create a header, something like: |Merged header| |----+--------| | / | < | | 1 ...
1
vote
1answer
85 views

Prevent org source block face from bleeding out in fold

The problem is that when there is one line in between folded headings with source blocks the text properties of the #end-src line bleeds out. You can see the lines bleeding on the right in the image. ...
0
votes
0answers
20 views

File link in Org mode to a file that has spaces in it’s file name on Mac

Yes, I know this question has been asked before and solved for Windows users but the solution does not work for me under MacOS 10.13.6 and Emacs 26.1 I have a file on my desktop named "Test with ...
0
votes
0answers
19 views

Archive items marked as DONE with Logbook entries older than given date

I am using org-mode to manage my tasks and the logbook functionality to log my hours as I work on tasks. At the end of the month, I compile the time I spent using clocktables. When I deem a task as "...
1
vote
0answers
10 views

Highlighting the currently active org-Babel block

I want to do something similar to hl-line-mode but not sure if it has been implemented already and how it can be implemented. The goal would be to set two color schemes for the #+begin and #+end ...
0
votes
0answers
17 views

Orgmode Export - Two Filenames

We can export a tree (C-c C-e) to a specific folder and with a specific filename by using the drawer option: :EXPORT_FILE_NAME: /path/to/folder/filename Question: Is it possible to export the file ...
0
votes
1answer
44 views

org-mode search in headline gives a three dots line

certainly something I misunderstand, but I cannot find an answer. When I search in an org-mode file (with C-s) and find a result in a headline, if I press TAB to expand the headline where I found ...
2
votes
1answer
336 views

How do I have tables side by side?

I'd like to have small tables being shown side by side instead of one under the other, when I export to PDF. Is there an easy way to do that ? Like a break between tables ?
0
votes
1answer
21 views

Org #+INCLUDE: turning what I want to be a 2nd level header into a 1st level header

Test case: a.org * This is a big section I have some content here ** And a second level section And more content here *** And a third level section And more content here b.org ** I ...
2
votes
1answer
60 views

How can I reliably create latex classes in org mode?

I'm trying to modify my .emacs to create my own classes, I tried this article and using org-latex rather than ox. I also tried this different approach. I tried enclosing the above classes with ...
1
vote
1answer
29 views

Improving org-block-begin-line, splitting in several faces

The face org-block-begin-line allows to customize the first line of the following block #+BEGIN_SRC lang :var arg1=1 arg2=2 ... #+END_SRC However, I would like to customize the faces within the line,...
0
votes
1answer
21 views

org-publish-project fails because of defective org-links - repair links automatically or ignore them?

I'm trying to "quickly" export my notes ans tasks from org-mode to a html-page with org-publish-projects. I had a working setup some years ago and I'm trying to reactivate it, but doing the export ...
0
votes
0answers
29 views

'Finish to start' todo dependency

org-edna (Extensible Dependencies ’N’ Actions for org-mode tasks) is great! The default blocker (:BLOCKER: property) sets condition(s) for preventing a todo status (org-not-done-keywords) becoming ...
0
votes
0answers
49 views

Agenda-view hiding tabbar

I am currently using Aquamacs 3.4, Emacs 25.3.50.1, and Org mode 9.2.5 and I typically have my frame split vertically into 2 windows. Each window carries 2+ different buffers whose names are in the ...
0
votes
1answer
20 views

Control depth level of table of contents with org-mode and beamer

I have the following in my org-mode file that I am exporting to beamer on the basis of this simple template: * Introduction * More ** etc * Still more ** Some a ** Some b ** Some c However, my TOC ...
0
votes
0answers
9 views

Emphasis in org-mode for beamer not translating the `@` correctly

I'm looking at documentation here about a very @important@ point. I understand using @at@ renders strong. However, while my org-mode -> beamer -> PDF otherwise seems to work, @ is rendering as a ...
0
votes
2answers
50 views

Org-mode tasks without many asterisks

How can I introduce hierarchical sections in org-mode without requiring the tasks within those sections to have a large number of asterisks? To context is that I'm looking for a standardized ...
0
votes
0answers
9 views

org-tags-view: display “path” of all headings HOWTO

file.org: * emacs ** programming language :lisp: text how to make org-tags-view for lisp tag display line: file.org: emacs/programning language :lisp: instead of: file.org: ...
0
votes
1answer
23 views

How to get the number of rows between hlines for orgmode table formula?

In my orgmode table formula, i would like to get the number of rows between hlines (for example: @I..@II). Does anyone know how to do it?
0
votes
0answers
14 views

Org-clocking won't show current instance

I'm at a loss here with a little issue that is by no means critical but still quite annoying for lovers of org-mode. Whenever I clock into a task that has already been clocked previously on the same ...
0
votes
1answer
27 views

How do you change the paper size on pdf export in emacs?

Every time I export using the dispatcher, the pdf that is produced is letter size. My system and printer are A4. How do I change the paper size for pdf (and text) exports in emacs?
0
votes
0answers
17 views

Org Mode tables: Wrapping lines to match an arbitrary width

In Org tables, I often use M-<RET> to wrap a long line in a column, at whichever place in the sentence I feel it needs to be wrapped. This sets a particular width to the column. Now sometimes I ...
0
votes
0answers
24 views

Insert item after all children (org-mode)

In org-mode, is there a way to insert an item after all of its children? Instead of the default behavior that inserts an item after the current item but before its children? Example Say I am in this ...
1
vote
1answer
46 views

How to capture fields from bibtex by using org-ref

I want to use emacs org-mode to take notes of my bibliography. I am trying to capture some fields from a bibtex file and insert them into an org file with the org-ref-open-bibtex-notes. This is not ...
0
votes
0answers
11 views

org-mode weekly summary with one entry per DONE task and total time to complete

I want my weekly summary to list all the tasks I completed in a given week, ideally with an inline report of the total time each of those tasks took to complete. Furthermore, it would be even more ...
1
vote
1answer
33 views

Why does all but the first `org-lookup-first` returns nil

I have an org file in which I lookup for some values in different tables. The problem is that in two of them, only the first row gets its value, while in the rest of the rows the value returned is ...
1
vote
0answers
22 views

OrgMode table text narrowing issue with links

I have an issue with my GNU Emacs 26.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.8) of 2019-04-30 in OrgMode. I have a table. One of its collumn is filled with internal links (inside ...
0
votes
1answer
35 views

Evaluate single line of python code from Emacs org-babel

Consider a block of python code in an org-mode document: #+begin_src python num1 = input("Enter a number: ") num2 = input("Enter another number: ") result = float(num1) + float(num2) print(result) #...
0
votes
1answer
42 views

org-protocol not responding

Description I use org-capture extension which had been working great for about 6 months. I have trouble making org-protocol work from Firefox since 8/1/19. When hitting the extension button in FF, ...
0
votes
0answers
28 views

Org capture datetree duplicanting entries (when using other locales)

I started using Emacs on Linux, now I moved to Mac OS and my problems began. When I use org-capture to capture stuff to a datetree, it duplicates the day entry instead of just adding a new node under ...
0
votes
1answer
26 views

Have an org-protocol that opens a file and moves point to it

I would like to have an org-protocol that supports line numbers. For example org-protocol://open-file?file=/foo/ss/subdir/foo.js&line=132 This would open file /foo/ss/subdir/foo.js at line 132. ...
1
vote
1answer
37 views

Org-babel python with session breaks output

If I run the following code block: #+BEGIN_SRC python :results output print(" /|") print(" / |") print(" / |") print("/___|") #+END_SRC I get the result as expected: #+RESULTS: : /|...
1
vote
1answer
51 views

Export only visible entries of sparse tree

I'm trying to export an org file into a file that contains only the visible entries (and parents) of a sparse tree (matching a specific tag). For example, applying this to the following tree * A ...
0
votes
1answer
15 views

Drop rows with zero time in org-mode agenda clockreport

I recently found org-agenda-clockreport. Because I keep all my .org files in a single directory (indexed by deft), including files with notes and no tasks, I get a table with tens of rows, with only ...
0
votes
1answer
34 views

Org mode: how to display tree content only via Elisp

I'm new to Elisp and I'd like to start using Emacs org Mode as my main writing tool. For that to happen I'm trying to set up a good configuration with custom functions. What I'm trying to achieve is "...
0
votes
0answers
28 views

Emacs Windows10 ragged font

I'm having issues with ragged or cutoff fonts in emacs with windows10. It's especially noticeable when looking at the bullets in org-mode bullets which seem pixelated and off center. Specs: Display ...
0
votes
0answers
7 views

Feeding narrowed org subtree contents to a babel block of code?

I have a usecase where I make structured notes under an org heading, and then would like to occasionally perform some little analytics to the contents. Currently I have to navigate to the heading, ...
0
votes
1answer
18 views

org-clock-report not updating current day values

I am very recently working with time tracking in org-mode. When I make do org-clock-report, it reports well. I edited the top line to display features per date and C-c C-c: #+BEGIN: clocktable :...
0
votes
0answers
14 views

org-clock-in returns org-flag-region error

Why do I need to org-clock-in three times? Hit M-x org-clock-in > org-clock-find-position: Symbol’s function definition is void: org-flag-region The drawer is created without timestamp though: * My ...
0
votes
0answers
13 views

How can I include the org source as a text/plain multipart alternative with org-mime-htmlize?

I'm sending email with gnus by putting org-mime-htmlize in 'message-mode-hook. I think it would be nice to include the org source as a "text/plain" multipart alternative. Maybe a way to do this can ...
1
vote
1answer
34 views

org-mode: search by regular expression in file

In org mode there is a way to create a link that will search for text in file./ For example: [[./functions.pl::sub validate][sub validate]] This will search for text "sub validate" in file "...
1
vote
0answers
42 views

Sharing .org file between two users

My secretory creates a daily agenda for me by capturing task to shared org file mytodo.org. When I open the agenda or mark the task done, her ability to capture new task gets limited as the mytodo.org ...
1
vote
1answer
54 views

Cannot add general block header arguments in org mode

While I'm learning javascript following a book, I Like to take notes with org-mode. I use Indium and followed this instructions to handle it working It works well, and I get my work done, interacting ...
1
vote
1answer
31 views

CUSTOM_ID for HTML breaks “next line” in LaTeX

If in Org, I have **** Scancode :PROPERTIES: :CUSTOM_ID: input-types-scancode :END: Representing a Scancode is simple. the ID properly gets set in HTML: <ol class="org-ol"> <li><...