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

How to toggle Org-mode source code block “:eval no” status

I often limit or unlimit the evaluation of specific code blocks in org-mode babel using :eval header argument. Here's an example: #+BEGIN_SRC emacs-lisp :results value scalar :eval no (+ 1 1) #+...
4
votes
1answer
521 views

how to org-toggle-todo-heading?

The function org-toggle-heading is quite handy to convert existing text into an org heading. Input: pay rent Output: * pay rent The function org-insert-heading has an analogous org-insert-todo-...
2
votes
4answers
681 views

Is there a good way to see accumulated time over several org files using org-mode time tracking?

I use org-mode for time tracking and can calculate the overall time with C-c C-x d. Is there a good way to show total time spent over several org-mode files (I tend to have separate projects in ...
36
votes
3answers
6k views

Inline verbatim and code with quotes in Org-mode

In Org-mode I can surround text with = or ~ to place text in inline verbatim or code mode. However this fails if the text has quotes, and I couldn't find an explanation or workaround in the ...
5
votes
3answers
463 views

how to use CSS to change styling of elements in org-mime emails?

The org-mime page describes how to use org-mime-html-hook to style HTML email by inserting inline CSS. I used this method to successfully change the styling of my body paragraphs by targeting <p>...
2
votes
2answers
242 views

Can columns of an org table be grouped to conveniently work with data?

I have an org table | | | P1 | P2 | P3 | P4 | Q1 | Q2 | E1 | E2 | F | |--------+--------+----+----+----+----+----+----+-----+-----+-----| | | Totals | 20 | 40 | 35 | 20 | 50 |...
9
votes
1answer
864 views

How to add a column in org-mode agenda clockreport to show percentage of time for each group of activities?

I have been using Bernt Hansen's org-mode setup (http://doc.norang.ca/org-mode.html - modified slightly to my needs) for some time and I came up with a question that I cannot solve. I would like to ...
2
votes
0answers
53 views

Can an org table automatically syncronize with another org table?

I have two org tables #+TBLNAME: contact_info | Name | ID | E-Mail | |------------+-----+-----------------| | Washington | 001 | george@usa.pres | | Adams | 002 | john@usa.pres ...
4
votes
1answer
183 views

Is it possible to insert random numbers in an org table?

I have an org-mode table |----+----+----+----+----+----+-----+-----+-----| | 40 | 40 | 30 | 20 | 50 | 50 | 100 | 100 | 200 | |----+----+----+----+----+----+-----+-----+-----| | | | | | ...
3
votes
2answers
180 views

How do I get org-mode heading faces in helm

When using commands like helm-in-buffer-headings, it would be much more readable to see output styled (and ideally even indented) like it is in the original document. Is there a way to do this?
1
vote
2answers
559 views

How to create list of links to files in a folder and annotate them using org-mode?

I am trying to use org-mode to make a list of files to read, with links to pdfs and write the notes corresponding to it in one file. Using org-fstree, I can get list of all links as headlines #+...
2
votes
0answers
104 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
73 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
50 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
152 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
413 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
236 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.
1
vote
1answer
646 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 (...
6
votes
1answer
887 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
127 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
161 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
387 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 #+...
9
votes
3answers
2k 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 ...
0
votes
0answers
33 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, ...
15
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 (...
5
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
440 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
167 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
238 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
427 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
467 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
646 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
674 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
542 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
926 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
421 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
158 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
1k 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
1k 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
614 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 ...