14
votes
Accepted
Is there a quick way to indent tags in org-mode?
As reported by lawlist in the comments, the "set tags" command C-c C-q, when prefaced by C-u, will snap all tags in the buffer to the org-tags-column. This is a start and good enough for now--changing ...
Community wiki
13
votes
Linewrap in Org-mode of Emacs?
Org mode does not wrap lines on purpose, to not make tables appear very ugly. The function org-fill-paragraph controls the insertions of line breaks for one paragraph for you. So you might want to use ...
13
votes
Accepted
How do I Configure 'org-latex-classes in .emacs?
Use the following:
(with-eval-after-load 'ox-latex
(add-to-list 'org-latex-classes
'("report"
"\\documentclass{report}"
("\\chapter{%s}" . "\\...
11
votes
Accepted
Can I fix the width of a column in an org-mode table?
Per the org-mode manual, you can fix the width of an org-mode table column by putting <width> on a line somewhere in that table. I usually put it in its own line directly under the column ...
8
votes
Can I create a link to a specific email message in Outlook?
I solved this by writing a simple vbscript (download):
Set Outlook = CreateObject("Outlook.Application")
Set SelectedItem = Outlook.ActiveExplorer.Selection.Item(1)
Set Shell = CreateObject("Shell....
7
votes
Accepted
How to override a keybinding in Emacs org-mode
Here are examples of some things I disable in org-mode -- I used require, but you could use instead an eval-after-load -- you don't need to do it each time an org-mode buffer loads (e.g., a mode-hook ...
6
votes
Accepted
org-mode: limit export to selected headlines, i.e. opt-in for export
It would appear that
#+SELECT_TAGS: export
should do what you have in mind. Conversely if you want to exclude certain tags from being exported, you can use
#+EXCLUDE_TAGS: noexport
For lots of ...
6
votes
Accepted
In emacs org-babel, can I export the results of previous executions instead of re-evaluating on export?
With org-mode 9, you can prevent the execution of a source block during export with :eval no-export.
From the documentation:
never-export or no-export
Org will not evaluate this ‘src’ code block when ...
5
votes
Accepted
Org-mode to Markdown converter?
Newer versions of org-mode (>= 8.0) can export to markdown directly:
https://orgmode.org/manual/Markdown-Export.html
But you should note that there is no menu to export to markdown by default, and ...
5
votes
org-mode 8 async export process fails
One possible cause for this issue is the lack of a proper init file for the async process : from what I understand, the async exporter works by starting another emacs session, which needs an init file....
4
votes
Can I fix the width of a column in an org-mode table?
As mentioned by @Ryan you can use column width cookie <width>. But to make it working in Org 9.2+ you have to put #+startup: shrink in to top of the file or set variable org-startup-align-all-...
4
votes
Accepted
How do I add a `\label` to a figure in an Org-Mode file that I'm going to export via LaTeX?
This example:
* Test
#+CAPTION: insert figure caption here
#+NAME: fig-1
[[./figure.png]]
By looking at figure [[fig-1]] we can see how referencing a figure works.
exports to this on my ...
4
votes
How do I Configure 'org-latex-classes in .emacs?
The list org-latex-classes is defined in ox-latex.el, so you need to insert (require 'ox-latex) in your .emacs before adding to it.
4
votes
Accepted
Org export: Export org tables to HTML or text files
For your first question, Try Column groups
http://orgmode.org/manual/Column-groups.html
| Group | KR # | Tag | Glossary | Attrib |
|-----------------+------+-----------+----------+----...
3
votes
In emacs org-babel, can I export the results of previous executions instead of re-evaluating on export?
Short answer: use :cache yes
Some additional detail:
Org-mode has (perhaps this is new since the question was asked, but there now exists) a :cache option. The gist is that you set :cache yes on ...
3
votes
Org-mode - let it open .org files unfolded
In your dot emacs:-
(setq org-startup-folded "showall")
3
votes
Can I create a link to a specific email message in Outlook?
I don't have sufficient reputation credits to put in a comment to the accepted answer above, but I wanted to put a cross-reference in for a revision to the excellent answer provided by @user25995 - ...
3
votes
Accepted
How to get org-mode agenda clocking to look at _archive files?
From Stack Overflow, an answer hints at looking through the org-agenda- variable list. Indeed, setting org-agenda-archives-mode to t in .emacs will make this the default behavior.
3
votes
Emacs Org-mode Babel: "Tangle" to Results block
Hopefully I have not misunderstood the question, but, here is an attempt:
I start with this in a org table:
#+BEGIN_SRC emacs-lisp
(setq s1 "hello")
(setq s2 " world")
(setq s3 "!")
(concat s1 s2 s3)...
2
votes
Emacs org mode as a work diary
If you use clocking, you can generate a week view of what you have done (clocked in/out total hours) in your org file with this code block
#+BEGIN: clocktable :maxlevel 3 :scope agenda :block ...
2
votes
Can I create a link to a specific email message in Outlook?
You can copy an Outlook e-mail to OneNote (comes in as a yellow letter icon), then right click and select 'link to paragraph', and then paste the link into another document that can work with links.
...
2
votes
How to enable automatic LaTeX math preview in org-mode/Emacs?
Hmmm...An ugly and not imperfect solution:
(define-key org-mode-map (kbd "$") (lambda ()
(interactive)
(insert "$")
...
2
votes
MobileOrg not finding Emacs org file with ssh server
I had this very same problem, and I understood how to set up the ssh correctly using the instruction from the following site:
http://svn.red-bean.com/repos/main/3bits/mobile_org_3bits.txt
In sum, ...
2
votes
How do I add a `\label` to a figure in an Org-Mode file that I'm going to export via LaTeX?
The reason your example does not work in all settings is that by default, org-mode replaces the #+NAME: fig:org_label you provide with an automatically generated label (to guarantee uniqueness); org-...
2
votes
Accepted
In org-mode, is there a way to show the number of undone todo items in a subtree when collapsed?
Adding progress cookies to your ToDo items will reflect the number of done vs. total todo items.
Just add [/] at the end of the headline, and C-c C-c to update.
Example:
* category 1 [1/3]
** TODO ...
2
votes
Accepted
How can I send a command to Emacs 24 from VBA in MS Office?
You can send command to Emacs (running in server mode) using emacsclient.
For example :
emacsclient --eval "(org-search-view nil """pattern""")"
If the elisp becomes too complex, you might be ...
2
votes
Org mode capture
Template expansion allows %\1, %\2, etc. to reuse answers to a prompt, so you might try this:
("c" "Class" entry (file "~/sydbox/personal/workflow/class.txt")
"* TODO %^{Course}: Week %^{Week} ...
2
votes
Accepted
How do I navigate the org-mode clock history menu?
This is an issue in the source of org-mode that has been resolved in master: http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit;h=a752684bf0368ddea1f6480157e770c0dd57b7a5
2
votes
How to override a keybinding in Emacs org-mode
I have a similar problem with M-up and M-down, which I use for changing the text size. If you are a use-packager this resolves it:-
(use-package org
:bind (:map org-mode-map
("<...
2
votes
Accepted
Emacs org-mode org-capture: at beginning of headings?
Setting the :prepend property should add your new sub-heading as the first child rather than the last.
Doc here.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
org-mode × 145emacs × 128
export × 9
latex × 8
linux × 7
windows × 4
windows-7 × 4
elisp × 4
windows-xp × 3
pdf × 3
publishing × 3
email × 2
html × 2
scheduled-tasks × 2
hyperlink × 2
timestamp × 2
code × 2
to-do × 2
networking × 1
ssh × 1
microsoft-word × 1
memory × 1
debian × 1
microsoft-outlook × 1
vba × 1