如何在Emacs启动时显示组织模式议程? [英] How can I show the Org-mode agenda on Emacs start-up?

查看:105
本文介绍了如何在Emacs启动时显示组织模式议程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要组织模式议程自动显示当我打开Emacs时我今天要做什么。 org-agenda命令是交互式的,所以它似乎不能很好地实现这个目的。

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.

有没有办法在Emacs上显示组织模式议程-up?

Is there a way to show the Org-mode agenda on Emacs start-up?

谢谢,

Conor

推荐答案

您可以使用 after-init-hook 在初始化完成后运行一段代码。在init之后运行(org-agenda-list),使用:

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)

这篇关于如何在Emacs启动时显示组织模式议程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆