org-mode

Hooking some Emacs events to improve org-mode/MobileOrg integration

无人久伴 提交于 2019-12-21 01:19:19
问题 I've recently started using MobileOrg (through Dropbox) to be able to manage my org-mode TODO lists while I'm away from my computer. It's generally great, but the syncing back and forth has a few steps, so I'd like to try and simplify it a bit by automating the steps on the PC side. Anyway, here are the two things I'd like to do: Run org-mobile-push every time a file is saved, after the save completes. The only thing I use emacs for is org-mode, so this should be fine. Run org-mobile-pull on

Refile from one file to other

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-20 19:19:11
问题 I'm trying to implement GTD in emacs based on http://members.optusnet.com.au/~charles57/GTD/gtd_workflow.html and I have a problem with refiling. In the file .emacs I have such a configuration (setq org-refile-use-outline-path 'file) '(org-refile-targets (quote (("gtd.org" :maxlevel . 1) ("done.org" :level . 1)))) The sequence Cc Cw can select only the place of the current file: gtd.org/ gtd.org/tasks gtd.org/projects Please help in determining why do not I move to done.org Regards Krzysiek

Avoid \printbibliography being swallowed by Org-mode headings

六月ゝ 毕业季﹏ 提交于 2019-12-20 12:39:56
问题 When using Org-mode and its LaTeX export BibTeX or Biblatex is often used to handle references. In that case the LaTeX command \printbibliography is often included in the org file. \printbibliography is placed in the org file where LaTeX is supposed to write out the reference list. What \printbibliography does is to insert a LaTeX header along with the reference list. In most cases \printbibliography is placed at the end of the org file simply because in most documents the reference list is

Setup a personal wiki in Emacs Org-mode

孤者浪人 提交于 2019-12-20 12:21:29
问题 I would like to setup a personal wiki in org-mode. So far, I have tried this two ways. My first attempt was using a single "Scientific Notebook.org" file. In this went all my notes - each with its own headline, date and tags (same format as a blog post). I then turned on org-velocity to quickly navigate the file. But this created two problems: first, I use a lot of math in my notes (LaTeX previews are one of the reasons I want to us org). But these take sooooo long to load, I can't images

Setup a personal wiki in Emacs Org-mode

杀马特。学长 韩版系。学妹 提交于 2019-12-20 12:20:23
问题 I would like to setup a personal wiki in org-mode. So far, I have tried this two ways. My first attempt was using a single "Scientific Notebook.org" file. In this went all my notes - each with its own headline, date and tags (same format as a blog post). I then turned on org-velocity to quickly navigate the file. But this created two problems: first, I use a lot of math in my notes (LaTeX previews are one of the reasons I want to us org). But these take sooooo long to load, I can't images

emacs: Orgmode, how to make a list from a block of lines

谁都会走 提交于 2019-12-20 09:55:54
问题 Is there a way to covert such block of lines line1 line2 linen into 1. line1 2. line2 n. linen Using Emacs org mode 回答1: don't know if there is a direct way, haven't heard of it yet at least. But one approach would be to use string-rectangle ( C-x r t ) to prepand 1. to all lines and then hit C-c C-c to update the numbering. For string-rectangle you would put point and mark the following way: v---mark line1 with some text line2 with more text <---point After M-x: string-rectangle: 1. you will

Emacs org-mode export markdown

落花浮王杯 提交于 2019-12-20 09:51:01
问题 I have some weird behavior, I don't actually know if it's a bug or something else. When I do C-c C-e the option to convert to markdown doesn't appear. Nonetheless I can type the option M-x org-md-export-as-markdown and after I do that, the option export to markdown appears in the C-c C-e menu. Any Ideas? 回答1: If you are using Org-mode version 8.0 or later (check with M-x org-version ), the export framework is broken up into several libraries that are not necessarily loaded by default.

Organizing notes with tags in org-mode

别来无恙 提交于 2019-12-20 09:50:53
问题 So, I use org-mode extensively for my daily TODO requirements. I am wondering if I can also use it effectively for note keeping. What I basically want is to store notes with tags, and then want to search these notes by the tags. E.g. If I have something like this * Heading 1 ** Note 1 :tag1:tag2: Note 1 details ** Note 2 :tag3: Note 2 details * Heading 2 ** Note 3 ** Note 4 :tag1: Note 4 details and then I search for tag1, I should have something like- * Heading 1 ** Note 1 :tag1:tag2: Note 1

How can I show the Org-mode agenda on Emacs start-up?

自古美人都是妖i 提交于 2019-12-20 09:47:52
问题 I would like the Org-mode agenda to automatically show what I have to do today when I open Emacs. The org-agenda command is interactive, so it doesn't seem to work well for this purpose. Is there a way to show the Org-mode agenda on Emacs start-up? Thanks, Conor 回答1: You can use after-init-hook to run a piece of code after initialization has finished. To run (org-agenda-list) after init, use: (add-hook 'after-init-hook 'org-agenda-list) 回答2: This works for me (in .emacs ): (setq inhibit

Customizing org-mode exports

纵然是瞬间 提交于 2019-12-20 09:44:52
问题 So, I have been using org-mode for taking my research notes for some time now. I love how I can seamlessly export to both latex (for my papers) and html (for my blog). However, whenever I define macros with \newcommand with #+LATEX_HEADER, these do not show up in the HTML export at all. I currently handle this by putting the all these commands as (\newcommand \newcommand etc. etc.) at the top and then manually removing the "(" and ")" from the tex file. What I wish I could do was to keep a