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
4
votes
1answer
212 views

How to save expansion state of org-file?

Is there a way to setup org-mode so that the expansion state of everything within a file is automatically saved when closing the file or quitting? The Org-Mode FAQ says this is not possible, but ...
8
votes
3answers
3k views

org-plus-contrib and org with `require` or `use-package`

How can I ensure I'm downloading and using org-plus-contrib from the org-mode repository using require or use-package? Package.el downloads the package, compiles everything and then says it can't load ...
14
votes
1answer
1k views

Make Org report: “Bob's 21st birthday” like imported diary entries do

When you have: (setq org-agenda-include-diary t) set, then an entry in the ~/diary file like this: %%(org-anniversary 1950 02 14) Bob's %d%s birthday displays as: Diary: Bob's 65th birthday ...
11
votes
1answer
2k views

How to turn a heading into a list item in org mode?

When working on the structure of a document, often I find myself wanting to turn a list of items into a set of headings, or a set of headings into a list. I haven't found a way to do this easily ...
19
votes
3answers
3k views

org-habit - do a repetitive task certain days of the week only?

I want to know how can I set a repetitive task for only a range of days of the week, for instance from Monday to Friday only.
4
votes
1answer
442 views

org-mode: have flycheck resolve relative config while editing code blocks

Desired behaviour While editing code blocks with org-mode by pressing C-c ' I'd like Flycheck to resolve relevant configuration the same way it does for normal files. I'm using JavaScript, and these ...
13
votes
2answers
2k views

Can I make links in Org Mode that contain brackets, [ or ]?

Is there someway to escape brackets ([ and ]) so that they can be included in the description of an Org mode link? The following link doesn't work, for example: [[http://mathoverflow.net/questions/...
0
votes
0answers
51 views

Tags show conflict when I use visual-line mode and fold the headline

I got a super useful snippet from org-hacks: http://orgmode.org/worg/org-hacks.html#unnumbered-66, which can automatically adjust the position of tags to right of the headline and make org-mode looks ...
0
votes
2answers
167 views

Full path figure export to LaTeX error in org-mode in Windows 7

when I export a full path figure , like: [[file:c:/Users/admin/Desktop/1.png]] to LaTeX in org-mode, a result of {//c:/Users/admin/Desktop/1.png} was generated. One more // was generated in front ...
1
vote
0answers
134 views

deactivate saveplace.el for filetype

Saveplace is a nice tool to remember where I have left of in a file. But for Org files it causes me problems when I quit emacs in the middle of a heading. My current try to deactivate it in org-files ...
7
votes
1answer
530 views

org-mode : in a table, calculate a person's age based on their birthday

Let's say I have the following table: | Name | Age | Date of Birth | Income | |--------+------------------+------------------+--------| | Joe | | <1984-02-20 ...
6
votes
1answer
1k views

Org Mode exclude subtree from agenda views

I'd like to tag or else mark a subtree as on the "backburner" and exclude the subtree (and its children) from all agenda views, e.g. agenda, to do, match list, etc. Basically this would replicate the ...
9
votes
2answers
4k views

The syntax highlight and indentation of source code block in exported html file for org-mode

When I insert C code block inside an org-mode file, the syntax highlight and indentation of the source code are customized as I wanted. When I export it into a html file, the syntax highlight in the ...
11
votes
1answer
2k views

Export :PROPERTIES: blocks with org-mode?

The org-mode manual says that it's possible to export property drawers, but trying with #+OPTIONS: d:t does not export any :PROPERTIES: blocks like it used to. Reading the Drawers chapter it ...
4
votes
2answers
1k views

Comment lines in org-mode with clean view

I want to insert a comment line between two top-level headings like this: # first comment * Top level headline * Second level * 3rd level some text * 3rd level more text # ...
3
votes
1answer
1k views

Orgmode - scheduling recurring events without using sexp or +-syntax

I'm trying to use my Orgmode calendar via MobileOrg on my Android devices, to push events to the Google calendar, and neither sexp-formatted events nor recurring events (set up with +) seem to appear ...
10
votes
3answers
2k views

Format a HTML paper with Org-mode

Org-mode's default during HTML export is to put the author in the postamble at the bottom of the page. But I would like to export a paper like document with the author between the title and the ...
6
votes
1answer
951 views

Disable org-mode keyboard shortcuts

Is there a simple way (e.g. customization option) to disable some of org-mode's keyboard shortcuts? I normally use shift-right_arrow or shift-left_arrow to select text (expand region), but in org-mode ...
10
votes
2answers
5k views

Sorting headings in an ORG file

I'm taking notes in a largish org-mode file that has the following structure: * Toto, A Notes about Toto. * Titi, C Notes about Titi. * Tutu, A Notes about Tutu. I'd like to sort the file so that ...
3
votes
2answers
260 views

Mouse problem in org-mode export window

When in org-mode, running the export command will open a windows with all the export options. However, my mouse scroll behaves erratically and I am not able to scroll down or move at all, not even by ...
4
votes
1answer
271 views

Export results of codeblock, then later export the source block (e.g. as for a code-listing in a document appendix)

I have a document in which I have named R source code blocks. These blocks are set to export the results only in the text narrative. However, I would like to include the code for these blocks in an ...
5
votes
2answers
2k views

How to include other .org files programmatically (ie not from main .org file)?

Including other .org files is quite easy. For example, for configuration, #+setupfile: /path/to/config.org or #INCLUDE: /path/to/config.org Those lines need to be in the .org file in order to be ...
5
votes
3answers
476 views

Automatically Capitalise i to I

Is it possible to automatically capitalise i when writing in org-mode? I have to manually search all i and replaced it with I, before exporting to PDF. I want to do this only for the English word I, ...
29
votes
2answers
3k views

Make visual-line-mode more compatible with org-mode

visual-line-mode is very useful to wrap lines with the window size changing without inserting any newlines. But in org-mode, it also wraps the headline and source blocks which is a little bit annoying....
14
votes
1answer
503 views

Generating output in a different language with org mode

Given the following is intended to generate C++ code: #+BEGIN_SRC python :exports both :results output code print "struct Whatever{};" #+END_SRC The result is inserted as follows: #+RESULTS: #+...
4
votes
1answer
766 views

Properties inheriting in org doesn't work

I have this sample org file: #+COLUMNS: %25ITEM %TODO %5owner %3PRIORITY %TAGS * test1 :PROPERTIES: :owner: own1 :END: ** test2 ** test3 I also have in my .emacs file: (setq org-use-...
1
vote
1answer
220 views

Link to password-protected FTP server in org-mode

I can't figure out the correct syntax for a link to a password-protected FTP site. I want to insert a link in org-mode, which opens a remote FTP server at a given directory in dired. When I try /...
1
vote
1answer
785 views

Customize agenda view with no headers

I'm trying to customize my agenda. My tasks have the following states: NEXT, WAITING, TODO and DONE. I want to customize my agenda view so that no header is shown. So far, I have: (setq org-agenda-...
8
votes
2answers
4k views

How to make eww default browser in Emacs?

When I click on links in my org-mode buffer it opens up my external browser. How can I make Emacs default to eww (and let me open up an external browser from there if I wish)?
7
votes
3answers
871 views

How to add new markup to org-mode HTML export?

I would like to add a markup to org-mode, to simplify adding <audio> HTML tags. Like other inline markup: In Thai, /sabai dee mai/ is pronounced as [audio:assets/sabai.mp3] Which would export ...
3
votes
1answer
503 views

How can I automatically generate an index from headings in org-mode?

Let's say I have this: * Title ** Subtitle 1 some text ** Subtitle 2 *** Sub-Subtitle 1 some text *** Sub-Subtitle 2 How can I automatically generate an index with links to all those headings?...
3
votes
1answer
291 views

Disable “now” line in org agenda view?

Q: how can I disable the "now" line in an org-mode agenda view? When displaying a time grid in the agenda, org-mode displays, by default (or so I assume), a line with the current time listed as "now":...
35
votes
1answer
13k views

Multicolumn cells in org-mode tables

Is it possible to merge two or more cells in an org-mode table like when using \multicolumn{}{}{} or \multirow{}{}{} in LaTeX? Something like this does not work: |------------+-----------+----------+...
2
votes
1answer
328 views

How to set the 'name' of an agenda file

I have several agenda files which have the same filename (but are from different directories). This is because I'm using a uniform template for all my projects, which include, e.g., a $PRJHOME/README....
2
votes
1answer
554 views

disable tabular output for code block in org-mode

When I execute a code block in org mode, the output will be tabularized. I want to use this functionality to build a set of commands which I can then execute in a new code block, so I have to remove ...
7
votes
3answers
3k views

in org-mode, how to insert timestamp with today's date?

In a Lisp function, how do I instruct org to automatically insert a timestamp with today's date? I found the function org-insert-time-stamp, but I don't know how to provide an argument for it that ...
3
votes
2answers
398 views

`:cache yes` makes the settings on `#+RESULTS` erased whenever executing the block

:cache yes makes the settings on #+RESULTS be erased whenever execute the block. For example, I want an image file be resized into width 12cm for LaTeX -> PDF exporting. However, #+ATTR_LATEX: :width ...
11
votes
1answer
2k views

How to automatically encrypt orgmode files?

I have a git repository where some org-mode files live. Some of them have a private nature and the server where the git repository lives can be accessed by some untrusted third party. Thatswhy I want ...
10
votes
1answer
2k views

Collapse src blocks in org-mode by default

When I open an org file, I want all the src blocks to start collapsed and stay that way until I explicitly org-cycle them. I can't find any variable to control this behavior. Perhaps I'm overlooking ...
2
votes
2answers
449 views

Remove Org-mode tags from ASCII but not LaTeX export

I'm aware of #+OPTIONS: tags:nil to have tags not be exported. I'd like them exported to LaTeX exports, but not ASCII exports. Is there a way to have options only apply to certain exports? Is there ...
0
votes
0answers
48 views

Check the modified time of #+RESULTS file before exporting, then evaluate the code blocks selectively to save time?

Is there any configuration or package, which can make Org-mode checks the modified time of all #+RESULTS' files before export (maybe auto add a #+MODTIME for comparing I guess), then decide if a code ...
10
votes
1answer
2k views

paste html into org mode

Is there any easy way to copy/paste text from a browser window into an org file, automatically converting links into [[][]] org-mode links? thanks!
5
votes
1answer
844 views

How to debug org-mode export to Beamer?

When using org-mode to create Beamer slides, sometimes the error shown is "Pdf file ... wasn't produced" or the previous PDF file generated is opened (without the changes made) when the command C-...
3
votes
3answers
926 views

Org table: aggregate each column (but not the header column)

I would like to transpose this table example from Org as a spreadsheet system: a short introduction: | Student | Maths | Physics | Mean | |----------+-------+---------+------| | Bertrand | 13 | ...
9
votes
2answers
2k views

Where is the org contrib directory?

I'm trying to use org-checklist. The documentation says that I should 'Ensure the org contrib directory is in load-path'. Where is the contrib directory?
6
votes
1answer
381 views

org-mode: Is there a description markup like in LaTeX?

In org-mode, is there a markup like LaTeX's description? \begin{description} \item[First] The first item \item[Second] The second item \item[Third] The third etc \ldots \end{description} ...
7
votes
1answer
2k views

Setting class attribute for html table in orgmode export

I would like to set the class for a table in html export, e.g.: <table class="table table-striped"> While it seems that setting some attributes for export of tables to HTML are possible: #+...
1
vote
1answer
389 views

Export latex-pdf and loose references: how to fix?

When I export a org file in latex and generate the pdf (recompiling after a modification in the org file), the pdf file loose the references to section and citation. Here is the line in my .emacs (...
3
votes
2answers
3k views

org-capture : how to choose the target file at the end of the process?

I use org-capture a lot, it's a terrific feature. However, sometimes i'd like to choose the target of the note during or at the end of the process, not at the beginning from the template. The ...
3
votes
0answers
1k views

Template for latex export in org-mode?

I would like to create a template called "my-article", with specified packages and settings to be exported to latex from org-mode. How can I do this? PS: the instructions for org-mode<8.0 does not ...