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
2
votes
0answers
109 views

how to create CLOCKSUM column for the week?

In column view i can use some special columns like CLOCKSUM (total time) and CLOCKSUM_T (time for today). How can i create column CLOCKSUM_W which would sum all the time for current week?
4
votes
1answer
74 views

Extract structure from Org document

I'm looking into a way to extend search in documents, especially, Org files by ways of indexing them. In order to make the indexing more robust, it would be great to make it aware of different ...
2
votes
0answers
51 views

org-clock-display breaks links

When i press C-c C-x C-d (org-clock-display) emacs expands links in headers. How to prevent this? Sample file: * h1 ** [[http://duckduckgo.com/?q%3Dvery%20long%20search%20term%20blabla][DuckDuckGo]]...
2
votes
1answer
159 views

Org-mode: Automatic fill-paragraph for TODO Closing Note?

In Emacs org-mode, I like to use TODO items. I switched on the automatic closing note, when an entry is marked DONE. A small annoyance is that the fill behavior of the closing note usually changes ...
2
votes
1answer
454 views

Inline the value of an Org-mode property?

Quite a while ago, I've created a word document where I defined variables, did calculations with them, and had the results printed inline into the document. Example output, where the result has been ...
4
votes
1answer
248 views

Can I use org-mode to structure other dotfiles?

I really like the idea of structuring my init.el file with orgmode. Now I wonder if this would also work with other configuration files like vimrc.
2
votes
1answer
685 views

How to remove the link from org-capture templates

I have the following org-mode capture template: '(org-capture-templates (quote (("t" "Task" entry (file+headline "~/org/tasks.org" "Incoming") "")))) The resulting capture buffer looks like this (...
7
votes
1answer
946 views

Specify timezone in Org date format

When I write something like this: <2015-07-05 Sun 20:00 GMT+0>, and then try to edit it by pressing C-c ., Org removes the GMT+0 part. So, I think it's in a wrong format. Note: I don't want to ...
4
votes
1answer
129 views

Org Babel failing with Recursive Functions

I’ve done quite a lot of source level blocks in org-mode, but I think I have a failure scenario if called functions inside the source code blocks are recursive. The ifconfig program displays all the ...
2
votes
1answer
169 views

Changing the default description for org-mode file links [duplicate]

The following is a very common workflow for me Open a dired buffer, and place cursor on a file. Invoke M-x org-store-link. Visit an org file (that's usually in the same directory), and type C-c C-l ...
4
votes
1answer
424 views

How can I add/subtract vectors by Calc in Org-mode?

I want to add/subtract two vectors, X and Y in Calc. If I calc constant numerics within Org-mode source block, it's o.k. #+BEGIN_SRC calc :session *Calculator* [1,1] + [2,2] + [3,3] #+END_SRC #+...
11
votes
3answers
3k views

Orgmode: is it possible to set tags at a file level?

Having a file for a particular project, I would like all the nodes in that file to have a tag identifying the project, so that I can later use it to create agenda views for that project only. So far ...
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, ...
20
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
474 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
457 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
493 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
697 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
718 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
580 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
450 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
165 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
640 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
552 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
547 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
302 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
775 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
772 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
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
153 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
862 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 (...