English 中文(简体)
• 利用电灯将电灯排在今天之后的第二天
原标题:Using org-capture-templates to schedule a TODO for the day after today

在org-mode,我知道如何制造一个玩具,并使用时间段,以便安排今天。 我如何安排明天? 不幸的是,我不知道Eliesp,现在没有时间学习。 这里是我的ema子:

 (setq org-capture-templates
       (("t" "Agenda Todo" entry
     (file+headline "c:/Org/agenda.org" "Agenda")
     "

** TODO %?
SCHEDULED: <%<%Y-%m-%d %a>>" 
     :empty-lines 1)

我需要用一天加薪的数值来取代百分率(%)a。

最佳回答

在Juancho的回答* 之前,我能够拿出一个有效的时间。

下面将提供一个被遗忘的时间。

"[...]SCHEDULED: %(org-insert-time-stamp (org-read-date nil t "+1d"))" 

。 今后,它有一天。 说明其中不包括 HH:MM 时间,并将日期改为内部技术、技术和工艺部代表。

采用正常的org-mode格式(包括周日缩略语)将其转换成一个时段

*The answer does not work because <%(org-read-date nil nil "+1d")>" results in <YYYY-MM-DD>


Update

目前,奥格模式中已有一段时间(增加了时间,以便进入从org-mode外进入时站,他们不能自动计算我认为一周的日子)。

Therefore Juancho s answer would work as well.

问题回答

这应当有助于你的模板:

"

** TODO %?
SCHEDULED: <%(org-read-date nil nil "+1d")>"

And further more, if you want a repeatable template, which generates a time stamp like:

SCHEDULED: <2012-08-17 Fri .+1d>

您可使用:

SCHEDULED:%(org-insert-time-stamp (org-read-date nil t) nil nil nil nil " .+1d")




相关问题
suppress additional braces in emacs electric mode

I started using ruby-electric-mode. I like it except that I am used to closing open brackets myself (the other pairing are still useful to me). How can I make emacs suppress additional brackets when ...

Setting up an emacs environment in windows?

I am currently constrained to a windows dev box and I want to migrate my projects from eclipse to emacs. What are some good references on setting up an emacs dev environment for windows? Anything ...

Emacs Setting which-function-mode

I would like to have which-function-mode on by default when I open up Emacs. I ve added the following lines to my .emacs file. (setq which-func-mode t) (setq which-function-mode t) When I open ...

Enabling go mode for emacs

I don t seem to be able to enable a go mode for emacs. C mode doesn t work without semicolons. The best I have found is the JavaScript mode by Karl Landstrom, since JavaScript also doesn t require ...

Custom Emacs key bindings are not working

The key bindings I ve defined in my .emacs file aren t working. Here s the file: ;init modes (menu-bar-mode 0) (tool-bar-mode 0) (cua-mode) (column-number-mode) (fset perl-mode cperl-mode) (cperl-...

eval during emacs lisp macro expansion

How can I fix the simple macro foo in (elisp)Eval During Expansion? None of the followings work: (defmacro foo1 (a) `(setq (eval ,a) t)) (defmacro foo2 (a) `(setq ,(eval a) t)) (defmacro foo3 (...

Get local cvs comment history when committing file/s in emacs

I often commit files with similar cvs comment but not in a single operation. I would like to able to bring up previous comments I ve used in a previous commit when I am in the process of writing a ...

热门标签