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
10
votes
1answer
242 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
85 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
438 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
470 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
654 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
681 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
552 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: ...
1
vote
1answer
940 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
431 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
160 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 ...
5
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
81 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
617 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
524 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
524 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
90 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
287 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
753 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
709 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
4answers
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
1k 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
143 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
826 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 (...
11
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
52 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 ...
59
votes
4answers
15k 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
779 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
59 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
402 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
100 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
176 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
95 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 ...
3
votes
2answers
607 views

Converting plain text to dates

Is it possible to convert plain text dates to Org dates automatically? I have entries in the format: 16 February 2015 which I would like to convert to Org dates: <2015-02-16 Mon>
2
votes
1answer
862 views

Symbol's function definition is void: org-mobile-files-alist

EDIT: Now I can see the error only happens if I include certain code to do an automatic push, adopted from https://gist.github.com/3111823. It seems that this block of code wants to use org-mobile-...
2
votes
1answer
229 views

How can I generate the <abbr> HTML tag from org-mode?

I'm trying to migrate my current blogging platform (Pelican) where I wrote the posts using Markdown to a one based in org-mode (still considering how). One of the problems that I found is that I have ...
8
votes
1answer
1k views

org mode - prevent future repetitive entries from showing up in agenda view

It seems to be obvious but I don't seem to have been able to find an answer yet... I have some repetitive tasks which have a property in the style of SCHEDULED: <2015-05-22 Fri 23:00 .+4d>. ...
1
vote
0answers
140 views

How to get org-mode to stop prompting me to save org-mode files that contain Babel blocks?

When I open an org-mode file that has a babel block in emacs-lisp format, afterwards, whenever I run save-some-buffers, I get the File to save in: prompt for the current org-mode file. I get this ...
1
vote
0answers
164 views

cannot open load file org2blog-autoloads

I'm using Ubuntu 14.04 lts and emacs 24.3.1 The error I get is Warning (initialization): An error occurred while loading `/home/guy/.emacs': Symbol's value as variable is void: org2blog-autoloads ...
8
votes
1answer
906 views

Is it possible to file a capture template in a subheading of a day in a datetree?

In Org-mode, I would like to have a capture template get stored like this: * 2015 ** 2015-05 May *** 2015-05-21 Thursday <--- I can get this with file+datetree **** Todo today <-...
1
vote
0answers
44 views

Multiplying org-mode check-boxes

I have an org-mode document that looks like this * Total Score ** First Part [2/3] * 4 - [X] Item 1 - [X] Item 2 - [ ] Item 3 ** Second Part [2/3] * 3 - [X] Item 1 - [ ] Item 2 - [X] Item 3 Is ...