Emacs,如何仅显示当前任务并隐藏其他组织模式? [英] Emacs, How can I display only current task and hide others in org-mode?

查看:136
本文介绍了Emacs,如何仅显示当前任务并隐藏其他组织模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

组织模式。

我有一个大的任务树,我想在缓冲区中只选择1个(只为它写笔记),并在编辑时隐藏别人。

如何我可以这样做吗?

Org-mode.
I have a big tasks tree and I want to select only 1 in buffer (write notes just for it) and hide others while editing.
How can I do this?

task-1
  subtask-1.1
  subtask-1.2
task-2
  subtask2.1
...
...

例如,我只想为我显示:

For example I want to display for me only:

subtask-1.2
(notes for this subtask)


推荐答案

使用 narrow-to- defun org-narrow-to-subtree 命令与任务点。 (加宽移回整个缓冲区内容)。

Use narrow-to-defun or org-narrow-to-subtree command with point in task. (widen to move back to whole buffer content).

默认快捷方式:

C-x n s      # org-narrow-to-subtree (bound in org-mode)
C-x n d      # narrow-to-defun
C-x n w      # widen

手动

这篇关于Emacs,如何仅显示当前任务并隐藏其他组织模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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