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
2answers
703 views

How to automatically tangle another source block to file when evaluate a source block in org-mode?

The source block what I want to evaluate (src2) need to source a file which should be the tangle result of another source block (src1). How could it make the tangle to file automatically everything ...
5
votes
1answer
1k views

How do I set org-mode to use racket instead of Guile?

How do I set org-mode to use racket instead of Guile? I want to use emacs,org-mode and racket to go through the SICP. I can start Geiser, choosing Racket in the Start Geiser for scheme ...
3
votes
1answer
349 views

How can I speed up individual commands?

When I call commands such as helm-apropos and custom Org agendas there is often a noticeable delay between the key sequence and the results presented. How can I speed up these commands to respond ...
1
vote
0answers
242 views

Export a particular org heading with elisp?

I'd like to specify a heading (using either link or agenda syntax) and export just that heading as a file, using elisp. I'm not trying to do this - since this specifies the file to export to in the ...
3
votes
1answer
1k views

Sum to end of row in Org Mode Spreadsheet

I've tried both of the following formulas: =vsum($4..$>) =vsum(@0$4..@0$>) It seems like either of these should work.
4
votes
1answer
851 views

Exporting “Artist-mode” drawing to PDF through Org-mode

Do you know how to export an Artist-mode drawing using the Org-mode export feature?
2
votes
0answers
379 views

orgstruct-mode error: S- must prefix a single character, not ISO-leftTAB

I am trying out orgstruct-mode with python-mode (but I've also tried go-mode with the same result). If I enable orgstruct-mode and press S-TAB I get the error S- must prefix a single character, not ...
6
votes
1answer
666 views

how to get today's total logged time programatically?

I'm trying to set the title of my emacs to how much work I've done in total. I would like to get the time I've logged today programatically. (like when you open agenda and press 'R'). How do I do ...
5
votes
2answers
429 views

Emacs interface to a pastebin site that supports org-mode-style syntax highlighting?

I've been using emacs-pastebin but all my pastebins wind up as plain text. Is there a way to set emacs-pastebin so that pastebins are set to LISP format by default? Better yet, is there a pastebin ...
7
votes
2answers
866 views

org-habit: Any way to mark “skip” for this day?

Sometimes the habit is just temporarily inapplicable. For example you set a habit to clean your house once a day, however say you're out for vacation for 2 weeks, obviously you can't clean your house ...
1
vote
2answers
500 views

Disable table mode in org mode

I use org mode to write notebooks for my research. I often put equation on line of their own, using M-o M-s to center the equation. However, when I have an equation like |a+b| ≤ |a| + |b| the ...
8
votes
1answer
253 views

Fold region of org file

Is there a way to fold a region in org-mode? (Not the whole file, and not an individual item, but a region containing multiple items.) Often I want to collapse only a portion of an org file, say ...
2
votes
0answers
323 views

How can I export particular org files/headings with export settings to specified filenames?

I'd like to export headings with particular names/tags, with a particular set of export options, to particular file locations. I'd like to do this all via elisp, so that I can have it part of a ...
2
votes
1answer
98 views

Why is my elisp function not accepting a second parameter?

@Juancho gave a great answer to a question I asked a few days ago. My question is about how to modify his elisp code. I have an org table #+begin_src emacs-lisp :results none (defun jj/factor (...
2
votes
0answers
42 views

Exporting a file from ORG MODE automatically changes my numbering [duplicate]

I have several ORG files which I wish to export to HTML or ODT from emacs. These files have specific numbering. However when I export them the numbers are automatically adjusted. For example in the ...
9
votes
1answer
374 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
626 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
885 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 ...
39
votes
3answers
7k 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
500 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
252 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
927 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
202 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
189 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
623 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
111 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
76 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
53 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
168 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
500 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
257 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
708 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 (...
8
votes
1answer
1k 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
130 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
177 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
450 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, ...
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 (...
7
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
495 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
178 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.
11
votes
1answer
259 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
87 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:...
10
votes
0answers
484 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
546 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 ...

1 62 63 64 65 66 74