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

How can I prevent empty lines between lists from causing org-mode to insert blank lines before new items?

Here is an illustration of the problem: - First item. Pressing M-RET... - Another item at the correct position. Now a blank line: - Next item after blank line. Now press M-RET again... - .. but ...
5
votes
1answer
382 views

How can I increase the identation in org-mode lists?

I would like to use more than two spaces for list indentation. I've had a look at the documentation, but I couldn't find a variable for that. Instead of this: - First - First - Second - ...
2
votes
0answers
267 views

Org mode open directory link in Terminal

Similar to this Org-mode-link-to-open-directory-in-dired, however open the link in either: new terminal window (e.g. gnome-terminal, or konsole) or built-in-shell-emulator-inside-emacs-buffer I ...
2
votes
1answer
2k views

How to place a box around a piece of text in Org mode

Whenever, I export my org-documents to html, I notice that by default, my source code snippets get placed inside a box, which is good. I don't see the same behavior when I export my org documents as ...
0
votes
2answers
576 views

org-mode How to fold an arbitrary block of text

How to fold arbitrary blocks of text? Something like #BEGIN_SRC org .. but don't edit in another mode... using <language> 'org' doesn't really work, for example, enter on a [[link]] fails. ...
6
votes
1answer
852 views

How to split a long org file into separate org files?

I've an huge org file HUGE.org with this structure: * ID-HEAD-1 Title1 :TAG: bla bla bla * ID-HEAD-2 Title2 :TAG: bla bla bla ... * ID-HEAD-N TitleN :TAG: bla bla bla and I want to split HUGE.org ...
2
votes
1answer
2k views

org agenda: how to show only todo's with deadline?

Is it possible to make the agenda views to only show tasks with a deadline, hence skipping all tasks containing only scheduled time? The reason for this question is that I am NOT using scheduled ...
2
votes
1answer
570 views

how can i split a cell in org-mode table [duplicate]

I would like to create a table like so. | field 1 | field 2 | field 3 | field 4 | | |------+-----|-----+-----+----| | | | sub 1|sub2 | xx | yy | zz | | |---...
2
votes
1answer
320 views

How to use “cache” argument in inline-call of org-babel?

My 1st question on Stack (>﹏<)! When I write my homework in org-mode, I want to use the literate programming with org-babel. So I use python as the major language to calculate the results I need in ...
0
votes
1answer
204 views

Orgmode Countdown Timer Seconds

Is there a way to specify seconds when starting the orgmode countdown timer? I've tried using fractions of a minute, such as 1.5, but it disregards anything after the first digit.
0
votes
1answer
222 views

Limit targets for org-refile in narrowed/indirect buffers

Is there a way to limit the targets that are offered for org-refile to the currently visible sub-tree in a buffer that has been created with org-tree-to-indirect or org-narrow-to-subtree The goal is ...
2
votes
2answers
252 views

Use org-mode radio targets plural

I search for a solution to reference (preferably automatically) radio targets, which are used in plural form in text blocks. For example, given the radio target <<<message>>>, uses ...
4
votes
0answers
209 views

Prevent :EXPORT_LATEX_HEADER: in a subtree from overriding all buffer #+LATEX_ lines

Possibly a bug: When using :EXPORT_LATEX_HEADER: in a subtree's :PROPERTIES: it overrides all the buffer-level #+LATEX_HEADER: commands as well as everything given in an external file with #+SETUPFILE:...
4
votes
1answer
2k views

Org-agenda: how to show todo's with scheduled date within a time interval?

I want to use org-agenda to show todo's with scheduled date or deadline date within at certain time interval. For instance, I want to show todo's with deadline between today and one week ahead (today +...
2
votes
0answers
309 views

How to sort my todo's in org-agenda based on scheduled date?

I have a problem with my org-agendas. I have tried to sort my todo's in each agenda view after their scheduled date, but that does not function. I use the following code: (setq org-agenda-custom-...
0
votes
1answer
535 views

Unpredictable fill-column behavior

I'm using Emacs (24.4+1-5) and org mode for writing prose, which means that I need some mechanism for line wrapping that just works, and preferably the same way each time. At the moment I'm using ...
4
votes
1answer
172 views

Moving one item in Org Table from col 1 to col 2 problem

Given the following structure: | A | | | | | B | | | | I want the following: |A | | | | | | | B | | Question: Is there a way to move single elements between columns? What I know ...
4
votes
3answers
2k views

How to initialize org agenda on Emacs startup?

I have a quite extensive org-agenda-files, so the first time I load an agenda view after starting the Emacs process, I have to wait ~20sec. I'm using Emacs in daemon mode (via systemd user service). ...
3
votes
3answers
1k views

Make all done org-mode items invisible (collapsed)

How can I make all done (e.g. DONE) org-mode items "invisible"? I'm using org-mode's "visibility" terminology here, but what I'm referring to is collapsing (folding) those items closed, not making ...
2
votes
0answers
67 views

Avoid minor modes from turning off when changing/restarting major mode

Is there a smart way to keep locally enabled minor modes enabled when changing/restarting major modes without adding it to the mode hook or enable it globally? For instance, if I usually don't use ...
0
votes
0answers
533 views

org-toggle-latex-fragment Not Working

I have made sure that dvipng is installed on my system and have upgraded to the most recent version of org-mode but I cannot preview LaTeX. M-x org-version shows 8.3.4. I tried typing some Latex ...
3
votes
1answer
191 views

org-mode macro not evaluated inside link?

If I create a file with {{{input-file}}} as contents and export to HTML, the default macro is correctly evaluated to the filename. However, if I write [[file:{{{input-file}}}.alternative][Alternative ...
1
vote
1answer
98 views

Having org-mode beamer / latex to ignore below a certain tag

I want to speedup compilation by instructing org-mode/latex/beamer to ignore everything coming after it. My document takes a bit of time to process code with pigment and the like Is it possible to ...
5
votes
0answers
428 views

Org mode italic does not work with some popular fonts in Linux

In org mode /word/ will display the word in italic. For me on Linux, that works for some fonts like Liberation or DejaVu but doesn't work for others, like Monaco, Noto, Inconsolata. I think fonts were ...
4
votes
1answer
842 views

Org-mode filtering PRIORITY=B retrieves all items

I'm trying to write a custom block agenda that simply lists all items with priority B: ("b" "Priority=B" ((tags-todo "+PRIORITY=B" ((org-agenda-overriding-header "Priority B") (org-tags-...
11
votes
2answers
604 views

What's the relationship between ~foo~ and =foo= in org-mode?

Both =foo= and ~foo~ seem to be used in org for inline bits of code. How do they differ? Which should I use, and when? For example, from the ORG-NEWS file: If you want to exclude a headline from ...
3
votes
1answer
609 views

Function of org-clock-save.el file and Git related question

I'm asking this question because I'm personally confused on how org-clock works in general. My org-clock-save.el file only has one line, ;; org-persist.el - PCNAMEHERE at <2016-04-24 Sun 11:16&...
6
votes
1answer
862 views

Org-mode blank line at the end of tree

Is it possible to make blank lines at the end of tree part of that tree? So I can heave two headings like this: * Heading1 * Heading2 without space between them, but when Heading1 is expanded there ...
1
vote
1answer
604 views

Debug org-mode link to PDF displayed with PDF-Tools

Emacs 24.5 on openSuse Tumbleweed. *.org file with a link to a pdf: [[.\somefile.pdf::2][myfile p 2]] I'm using the PDF Tools to display a PDF in Emacs. What I expect is that page 2 of the PDF will ...
2
votes
1answer
563 views

How to automatically save all org files after marking a repeating item as DONE in the org agenda?

How to automatically save all org files after marking a repeating item as DONE in the org agenda? I'm using this to automatically save my org buffers after every change to TODO status: (advice-add '...
1
vote
0answers
288 views

org-mode latex export: German ß character

Is there a way to export to latex in a way that the German 'ß' ("scharfes S", "eszett") character stays? I'm using utf-8 input encoding, and Umlauts get exported well, but ß appears as capital SS in ...
5
votes
1answer
73 views

What mix of customisations are required to have org files always open exactly as they were closed?

org-customize has a node for startup folded, with options no fold, fold, content, and show everything. There doesn't seem to be an option for "remember last folded state". For such a customisable ...
1
vote
1answer
40 views

Org Mode: Where are `previousset`, `nextset` etc defined?

I am doing a bit of keyboard rebinding and I have found that: (org-todo "DONE") (org-todo "TODO") (org-todo "") all work, but in the documentation, it says that I should be able to also use the ...
1
vote
1answer
863 views

Need help using org-map-entries

The first function works when executed on or in the body of an org headline. The second function doesn't return anything even though more than one headline in my set of agenda files has the org ...
7
votes
1answer
2k views

How to get property values from org file headers

Is it possible to get property values from org file headers? For example, I have a file named something.org with following content: #+TITLE: Awesome File #+AUTHOR: My Name #+XYZ: xyz /content/ How ...
1
vote
1answer
39 views

Org DEADLINE empty for repeated task

Consider the following in an .org file: * Meetings ** TODO Meeting Thing :meeting: DEADLINE: <2016-04-15 Fri 11:00 +1w -5d> :PROPERTIES: :LOGGING: nil :END: I ...
2
votes
1answer
917 views

Copy and Paste From PDF to Emacs as Plain Text

Here is my problem: I often copy text from a PDF (let's say one that is nicely formatted or scanned cleanly) and like to post it in an active org-mode file I have for academic research. However, ...
2
votes
0answers
214 views

org html exporter case sensitivity of links

if I have an org file like this: this is [[heading]] * Heading I can follow "Heading" with 'C-c C-o' so the link and the target are case insensitive. However if I try to export this org file to ...
2
votes
0answers
80 views

Trouble with link to position in current file when capturing

So I'm fairly competent with org-mode, and I make constant use of custom templates. I'm just now exploring the idea of integrating capture into my programming work flow so I can whip up skeletons ...
1
vote
0answers
68 views

Count repetitions of repetitive events in org mode agenda

I have my classes scheduled using diary style time intervals like this: * 10:30-13:00 Classes <%%(and (diary-block 3 7 2016 6 29 2016) (= 3 (calendar-day-of-week date)) (not (diary-block 3 25 ...
0
votes
0answers
39 views

Don't delete leading space after org-insert-link

When I do org-insert-link and input a link description the space before the description gets deleted. Can this be prevented? Example: I type: "see " (i.e. with space), then hit C-c C-l, insert link, ...
6
votes
1answer
3k views

Placement option in org mode for tables and figures does not work

#+attr_latex: placement=[!htpb] #+CAPTION: Some caption [[../some-image.pdf]] exports as: \begin{figure}[htb] \centering \includegraphics[width=.9\linewidth]{../some-image.pdf} \caption{Some caption}...
1
vote
2answers
154 views

orgtbl-aggregate: how to handle periods (.) in column header names

I'm new to org mode and have been using Orgtbl Aggregate for tables. I import space-separated files as org tables, add an hline to make the first row into a header, name them with #+NAME (aside: is ...
11
votes
2answers
11k views

org-mode , export , how to 'force' newline on lines between paragraphs?

I have an org-mode file, some sub-sections have some big paragraphs. When I export as html the whole paragraphs are displayed as single lines. I understand that I have to put a '\\' on every line, a ...
5
votes
0answers
236 views

How can I wrap org-preview-latex-fragment to be async?

Calling org-preview-latex-fragment blocks user input for a second or two depending on the size of your fragment, and with universal args, converting all fragments in buffer can take minutes. It would ...
2
votes
2answers
809 views

How to org-export this tag into HTML?

how to export dir="rtl" into HTML file from an org buffer? TL;DR: I want to export this simple org-buffer written in Arabic into HTML. The direction should be from right to left. I have this setting ...
1
vote
1answer
546 views

Use `%^{prop}p` `%^{prompt}` together in org-capture-templates

What I want is when the buffer asks me a value for property , I can also replace property name with some alternatives. I tried the following code, but fails (setq org-capture-templates '(("...
10
votes
3answers
357 views

Highlighting upcoming dates in org mode agenda

I have entries in my org file similar to: * Birthdays :PROPERTIES: :CATEGORY: birthday :END: %%(org-anniversary 1981 1 2) Harry (%d) What I would like is for these to appear in the agenda (say) 2 ...
1
vote
1answer
698 views

Org-Agenda Daily View Duplicates Time Stamped Tasks

First, let me say that I tried to search around for an answer to this (and I will clarify where those failed). So my problem is that when I enter the daily for for agenda, M-x Org-Agenda a, I see ...
3
votes
0answers
163 views

Why is emacs freezing and how can I prevent it? (likely involving org agenda)

What would cause emacs to "mostly" freeze when creating an org agenda? I say "mostly" because when you type C-g, it does show "Quit" in the minibuffer, and the time logging number in the minibuffer ...

1
55 56
57
58 59
78