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

In org-mode how to break current section and escape to upper level [duplicate]

In org-mode, normal hierarchy goes like : * Section 1 Content of section 1 ** Section 1-1 Content of section 1-1 ** Section 1-2 Content of section 1-2 As I understand it, ...
8
votes
2answers
2k views

org-habit graph on todo list agenda view

I'm using org-habit, and the habit graphs show up nicely on the normal agenda view. However, I'd like to use the todo list with tag filtering, and there the habits look like normal todo items, ...
21
votes
1answer
3k views

How to use org-refile to move a headline to a file as a toplevel headline?

I wish to have an "inbox.org" file where I collect notes into (trying to implement GTD :P), and then later move things around to the proper places. I understand that org-refile is the way to do this (...
6
votes
1answer
1k views

How to pass environment variables to org source BASH script block?

I have a BASH script in org-mode file as org-babel source block. I hope to pass value contains environment variable to it through :var. something like these: #+begin_src sh :var VAR1="~/foo" mkdir ...
4
votes
2answers
478 views

Is it possible to tangle Results block?

Is it possible to tangle #+RESULTS: block? For example, #+BEGIN_SRC rst :tangle ./test.txt :noweb yes <<Tangle_Test>> #+END_SRC #+BEGIN_SRC python :exports results :results output raw ...
3
votes
2answers
173 views

how to do action on *next* word?

Is there a function (or some kind of prefix command) that will allow me to do an action to the next word I type, not the word under point or the region? Currently: upcase-word puts the word under ...
10
votes
1answer
1k views

make org-blank-before-new-entry distinguish between a TODO list and a text outline?

Like many of us, I use org-mode for two different things: As a TODO list manager As a text outliner I'd like my blank lines to work differently based on context. TODO list: no blank lines ...
7
votes
4answers
3k views

Converting an xls file to org-mode?

Is it possible to convert convert an xls file into an org table? I found this article on the emacs wiki but wasn't able to get it to work.
10
votes
1answer
249 views

Ctrl-K Kill Line, Not Screen Edge in Visual Line Mode

(I apologize in advance for my general technical / emacs inexperience. I use org-mode for writing novels, so have not delved very deep into its many options) I have visual-line-mode set as my default ...
5
votes
0answers
86 views

Get task duration from old timestamps

Assuming I have a task where I store a timestamp for every taskchange I do: * DONE Extremely important dummy task :categorywhatevs: - State "DONE" from "IN PROGRESS" [2015-06-08 Mo 14:...
9
votes
0answers
469 views

Edebug orgmode source code blocks with input variables

What is the standard method to debug emacs-lisp orgmode source code blocks with input variables as header arguments? I found the hacky solution to insert the following snipped in front of a source ...
4
votes
1answer
504 views

How to use Org Capture to add a task *and* automatically add parent's property

I'm trying to create an org-capture template that creates a task and (important part) automatically adds a parent's property to this new task. I'm comfortable creating new capture templates--I'm just ...
12
votes
3answers
3k 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 ...
8
votes
1answer
708 views

Disable '+' markup in org-mode on a by-file basis

How do you escape the + to not mean strikethrough in a single file? For example, when typing use += 1 instead of ++ how can this not-be-strikethrough'ed? Escaping the + with \ as in \+ works ...
5
votes
2answers
728 views

How to set major mode according to buffer name for non-file buffers

Some buffers are created by emacs and is set in fundamental mode, like the Org-Babel results. I think it is more convenient to set them in special mode, which can be closed with key q. How do set the ...
1
vote
2answers
585 views

Yasnippet invoked org-time-stamp function inserts double timestamp

I created a yasnippet template to quickly timestamp a note I'd like to make in org-mode. The body of the yasnippet file reads $0 :PROPERTIES: :CREATED: `(org-insert-time-stamp nil t t)` :END: ...
2
votes
1answer
1k views

How to use a custom export font for a section of text in org-mode?

I am writing in org-mode and exporting to pdf via LaTeX. I am quite new to Emacs and org-mode, and not familiar with LaTeX, so I am flailing about on the following: I would like for a small section ...
3
votes
0answers
455 views

org-agenda-colums deadline time style

I'm using org-mode with C-c C-x C-c (org-agenda-columns) like a organizer,the format which I use for that (setq org-columns-default-format "%TODO %30ITEM %30DEADLINE %15SCHEDULED %3PRIORITY %...
0
votes
0answers
166 views

how to quote parameters in source blocks

I have two (org-mode) source blocks, both with parameters: select-union(tbl=a_table) and column-names(tbl=a_table) Both produce SQL artifacts from the table data. Now I want to write a new source ...
7
votes
2answers
2k views

Replace PlantUML source with generated image in org-mode

I write UML diagrams in org-mode with PlantUML and usually "compile" it to HTML to view the result. Is there a way to have the image show up in my buffer? I try to enable iimage-mode but it doesn't ...
11
votes
2answers
1k views

Get org link to insert link description automatically?

Q: How can I get a custom org link function to insert a description automatically? I'd like to store org links to files in a dired buffer, but would prefer that the link description be the file name ...
1
vote
1answer
1k views

“Symbol's function definition is void: org-agenda-skip-scheduled-if-done”

I've recently started using Org-mode, and when I last restarted Emacs, I got the error message Symbol's function definition is void: org-agenda-skip-scheduled-if-done. Upon opening Emacs again using --...
6
votes
1answer
1k views

Agenda span of “last 7 days”

I write my weekly report on Wednesdays. As such I need to see what I've done starting last Wednesday until now. (usually a Wednesday). I would like to create an Agenda view for this, so I can ...
10
votes
2answers
1k views

Org-mode export: indent first line of each paragraph, “literary” style

Is there a switch on org-mode I can use on export to ODT (or other format) to format my source file of This is a paragraph this is a paragraph this is a paragraph this is a paragraph this is a ...
6
votes
1answer
2k views

Create a file link in org-mode that accepts spaces in the text

My org file looks something like this: * Space Radiation ** Gamma Ray Info - file://Library\March 2015\Gamma Ray Radiation Fundamentals.pdf - some notes However the title has spaces so the ...
1
vote
0answers
82 views

Close clocked-in org task and clock-in next leaf task

When I am moving through a TODO list, I often want to complete the current task and clock into the next leaf node. In other words, I am performing a depth-first traversal of the task list. Before * ...
6
votes
2answers
642 views

Tag completion using ido during org-capture

I would like to quickly use one of the already used tags when taking notes quickly using org-capture. There is one inbuilt way of using M-TAB after : but there are 2 issues with that: It does not ...
5
votes
1answer
559 views

How to run file-specific commands?

For some org-mode files, I would like to run specific commands when that file is opened for editing. These commands should be written in the heading of the file somewhere near the #+CONFIG bits. E.g ...
5
votes
2answers
554 views

How to get org-mode not to change fold-state upload loading?

I sometimes edit org files in non-org-mode. (e.g artist mode). Upon returning to org-mode, it will mess with the fold/collapse state. E.g it will collapse all headers so that I loose my current spot ...
1
vote
0answers
102 views

How do I make faces combine correctly?

Example: How do I make faces combine correctly? I am not opposed to providing a separate set of instructions for each combination (per theme), but do not know how to do that.
2
votes
1answer
303 views

Org-mode inlinetask neither exporting nor archiving correctly

I use emacs a lot and have been using Org-mode more and more. One of the killer features for me is the inlinetask. These are TODOs which can be placed anywhere in a document without being a part of ...
2
votes
1answer
781 views

Org-column face settings not coming through in org-mode column view

I'm trying to use a fixed width font when in org-mode's column view (I use variable width font otherwise). Customizing the org-column face attribute doesn't seem to do it. How can I get this to work? ...
3
votes
1answer
789 views

Blank lines after org-mode code block results in LaTeX export

Context I am embedding org-mode source code blocks and their results into my document and am exporting it to LaTeX. I usually wrap the output of my code into helper functions that generate formatted ...
9
votes
5answers
2k views

How can I evaluate elisp in an orgmode file when it is opened?

I have elisp code I'd like to run in orgmode files when they load (different for different files, and defined in the file itself). Is there a way to do this? I didn't see anything in http://orgmode....
8
votes
1answer
2k views

Display org-todo-list of entries with deadlines?

Is there a way to get a list of org-mode entries with deadlines? Ideally with the deadlines displayed and ordered by deadline. I haven't found anything like this. The closest thing I find is org-...
0
votes
0answers
155 views

How to produce agenda views from buffers in memory

I've noticed that since my org files have been moved to a network share agenda views take an age (1 minute or more) to produce. This is particularly annoying because I am working on a new view and I ...
6
votes
1answer
1k views

Passing a variable to template function in org-capture-templates

I'm using org-capture to insert expenses into a Ledger file with this template, along with auto-completion for the various expense categories: (setq ledger-expense-completions (list "" ;; ...
12
votes
2answers
871 views

Syncing changes on a tangled file back to the original org file

I am using org-mode with fountain mode to write a screenplay. Org for organization and fountain for screenplay formatting. This is the code I use for this purpose : Settings for working with (...
12
votes
3answers
2k views

How to change style of hyperlinks within PDF published from org-mode document?

I'm exporting (publishing) an org-mode document to PDF, and the results look great except for the hyperlinks. They look terrible. Hyperlinks to the Web look the same, only with a pale blue outline. ...
1
vote
0answers
55 views

Is there a way to refile a table row or a line?

I'm using refile in a table, but it tries to move all the table, not the line I'm in, if refile cannot move a table-row i think a more general way would be to move the line itself, without knowing if ...
64
votes
4answers
17k views

Quickly insert source blocks in org mode

org-mode has the ability to render source code, with blocks of the following syntax: #+NAME: <name> #+BEGIN_SRC <language> <switches> <header arguments> <body> #+...
2
votes
1answer
2k views

How to show org-clock (and org-pomodoro) timer in mode-line?

I tried the following methods in my custom mode-line, but they all failed. (setq mode-line-format (:propertize ;; TODO: concatenate the long string. ;; global-mode-string ;;...
8
votes
1answer
808 views

Use formula in agenda clockreport to convert time? (pomodoro count in Agenda)

I'm trying to make the Agenda Clockreport show how many pomodoros I've invested in a task. A Pomodoro is 25 minutes. For example, 1:15 hours of work is 3 pomodoros. I'm trying to customize org-agenda-...
26
votes
2answers
2k views

Extending org-mode with more markups

I want to add a markup and formatting for such markup, i.e. <kbd>...</kbd> with a box surrounds such markup. I also want the mark up to be compatible with (setq org-hide-emphasis-markers t)...
4
votes
0answers
68 views

Export table from property drawer in org-mode [duplicate]

I'm learning org-mode now. I'm making a document to keep track of jobs. So each job is a top-level item, and inside it, I have a property drawer along with some other things. In the property drawer, I'...
8
votes
2answers
2k views

Customize org-mode priorities

I want to replace the default org-mode priorities with my own. default: #A #B #C desired: #1 #2 #3 #4 #5 How can I do this?
6
votes
1answer
430 views

Table cell alignment breaks when using latex inside org table

Let's assume we have a table that looks like this: After running org-preview-latex-fragment command I get this: As you can see the top row is not aligned with the other rows. How can one view ...
1
vote
1answer
103 views

org-babel not concatenating strings before sending to code block variable

I have just started using org-mode and org-babel as a lab notebook. I am trying to use a code block to fill in two columns of a table. The code block seems to work for the first column because those ...
2
votes
1answer
185 views

Does org-babel for groovy take arguments?

I am trying to pass an argument to a groovy babel block but I'm not sure it accepts arguments? The documentation says that it is language-specific but I didn't find any documentation for ob-groovy. ...
3
votes
2answers
101 views

How to allow org-insert-link to accept mail addresses like 'Name <name@some.address>'?

When I add a mailto link with C-c C-l, the closing > is missing. If I enter: mailto:Apa <apa@bepa.cepa> Leaving the description blank, I get a link like mailto:Apa <apa@bepa.cepa If I ...