org-mode

Shift-Tab produces cryptic error in Emacs

ⅰ亾dé卋堺 提交于 2019-12-01 04:13:54
I'm trying to learn org-mode and noticed my files are folded neatly when I exit emacs. When pressing S-TAB in an attempt to unfold the entire file, I get the following error message in the mini-buffer: M-[ z is undefined . Googling the error wasn't helpful. Any idea where the hiccup is occurring and how I might fix it? I'm using Mac OS X 10.6.4 with Terminal.app, GNU Emacs 23.2.1. Edit: I can confirm now that the problem is Terminal.app. I do not receive this error message using Carbon Emacs or when using Emacs from within iTerm.app. Thanks to Gilles for patiently walking me through a solution

Is it possible to get org-mode to show breadcrumbs in agenda todo list?

巧了我就是萌 提交于 2019-11-30 15:18:38
问题 In Emacs, I have a set of TODOs in the following format * H1 ** H2 *** H3 **** TODO X When I look at the agenda-todo view, it shows up only as TODO x . Is there any way to get the agenda view to display it as H1/H2/H3/TODO X ? 回答1: I found this solution from here (setq org-agenda-prefix-format '((agenda . " %i %-12:c%?-12t% s") (timeline . " % s") (todo . " %i %-12:c %(concat \"[ \"(org-format-outline-path (org-get-outline-path)) \" ]\") ") (tags . " %i %-12:c %(concat \"[ \"(org-format

Is it possible to get org-mode to show breadcrumbs in agenda todo list?

和自甴很熟 提交于 2019-11-30 13:49:40
In Emacs, I have a set of TODOs in the following format * H1 ** H2 *** H3 **** TODO X When I look at the agenda-todo view, it shows up only as TODO x . Is there any way to get the agenda view to display it as H1/H2/H3/TODO X ? I found this solution from here (setq org-agenda-prefix-format '((agenda . " %i %-12:c%?-12t% s") (timeline . " % s") (todo . " %i %-12:c %(concat \"[ \"(org-format-outline-path (org-get-outline-path)) \" ]\") ") (tags . " %i %-12:c %(concat \"[ \"(org-format-outline-path (org-get-outline-path)) \" ]\") ") (search . " %i %-12:c")) ) This shows the breadcrumbs in the

how to insert “|” in org-mode table

左心房为你撑大大i 提交于 2019-11-30 12:39:15
I have some trouble in using org-mode. I want create a table in org-mode like this: | operator | use | |----------+-------------| | | | expr | expr | but when I press TAB, the table changed like this: | operator | use | | | |----------+-----+------+------| | | | expr | expr |. How to avoid it? To insert a vertical bar into a table field, use \vert or, inside a word abc\vert{}def. Source: Org-mode manual: The built-in table editor . If \vert is not automatically converted to | , call org-toggle-pretty-entities , per: C-c C-x \ Toggle display of entities as UTF-8 characters. This does not change

Assign IDs to every entry in Org-mode

£可爱£侵袭症+ 提交于 2019-11-30 12:17:36
问题 Org-mode has a bundled extension called org-id, that implements global unique IDs for org-mode files. Every entry (a headline with its body) can have an ID property in its :PROPERTIES: drawer. New ID for a single entry can be assigned with a function org-id-get-create . How can I assign an ID to every entry in an org-mode file? I could use an Emacs method of automating this, like a macro that calls org-id-get-create for every string starting with * . But I'd like to know if org-mode already

Override Ctrl-TAB in EMACS org.mode

爷,独闯天下 提交于 2019-11-30 11:44:16
I would like to use Ctrl + Tab in EMACS for my own use, but Emacs org mode already has this bound. How can I use my own binding instead of the org-mode binding. In my .emacs file I use: (global-set-key (kbd "<C-tab>") 'switch-view ) and it works everywhere except in org-mode paprika The key binding you describe is defined in org.el like this: (org-defkey org-mode-map [(control tab)] 'org-force-cycle-archived) This means that it is only valid in org-mode-map , one of org-mode's local keymaps. The following code adds a hook that is run when org-mode starts. It simply removes that key binding

Emacs org-display-inline-images

邮差的信 提交于 2019-11-30 11:18:23
问题 How can I display inline images in emacs org mode? I have [[file:~/myimage.png]] , which, when clicked, opens the image in a new buffer. But how to do it in the same buffer? Note: C c C x C v is undefined, so I couldn't activate the inline images, but how do I solve this problem? 回答1: This works for me: (defun do-org-show-all-inline-images () (interactive) (org-display-inline-images t t)) (global-set-key (kbd "C-c C-x C v") 'do-org-show-all-inline-images) And here's how I found how to do it:

org-mode: creation time range from effort estimate

。_饼干妹妹 提交于 2019-11-30 10:25:42
I would like to use org-mode not with a GTD-like system but rather as a planner/scheduler, scheduling/timestamping every captured task on capture or refile. In such a system, detailed planning of a day including specific frames of times according to the estimated duration a task will take to get done, might be advantageous. Would it be possible to generate a time frame from an existing effort estimate property when a timestamp is created? This would mean that, when a) scheduling is called and b) I enter not only a date but also a time and c) an effort property exists, this time will

how to end TODO lists in emacs org-mode

試著忘記壹切 提交于 2019-11-30 07:14:52
问题 I have a list of TODO items, and I'm trying to have 2 TODO lists in the same file, but can't seem to end the first one. FIRST LIST: TODAY * TODO Item 1 Description * TODO Item 2 Description SECOND LIST: TOMORROW * TODO Item 3 Description * TODO Item 4 Description Unfortunately, SECOND LIST: TOMORROW is now part of the description of TODO Item 2 . By this, I mean that when I hit shift-tab, I no longer see the text SECOND LIST: TOMORROW because it folds under TODO Item 2 . What I see is.. FIRST

How can remove the <scheduled date> in the org agenda view quickly?

落爺英雄遲暮 提交于 2019-11-30 06:57:26
In the emacs org agenda view(today), I schedule some tasks with the <scheduled date> . But now I want to remove the <scheduled date> single task or mutli tasks together. (Don't want to schedule them to the other day). Now I have to <TAB> each tasks, and delete the <scheduled date> line. Is there any quick key (speed key?) to do it? tl;dr : In the agenda, m on all these tasks, then C-u B s . This called for quite a bit of searching, but org-mode is powerful. According to the manual , C-c C-s (org-schedule) When called with a prefix argument, remove the scheduling date from the entry. and, in