Skip to content

Commit

Permalink
thinking into tasks , circle up into projects
Browse files Browse the repository at this point in the history
  • Loading branch information
jueqingsizhe66 committed Jul 31, 2018
1 parent b617314 commit 3dc3e97
Show file tree
Hide file tree
Showing 2,188 changed files with 306,923 additions and 103,659 deletions.
10 changes: 3 additions & 7 deletions .orgConf.el
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
(org-todo (if (= n-not-done 0) "DONE" "TODO"))))
(add-hook 'org-after-todo-statistics-hook 'org-summary-todo)

;(setq org-doing-file "~/.emacs.d/GTD/orgBoss/newgtd.org")
;(if (boundp 'org-user-agenda-files)
; (setq org-agenda-files org-user-agenda-files)
(setq org-agenda-files (list
Expand Down Expand Up @@ -488,10 +489,11 @@ In ~%s~:
; type 相当于 #+TYP_TODO 也有两种类型
; sequence 相当于 #+SEQ_TODO 也有两种类型
; 可以写出多个sequence 等你工作 学习 继续进行修改 但是注意无论是type还是sequence都得有|
; TODO 要做 DOING正咋做 PENDING做完了再做 WAITING做了一半得等其他人完成
(setq org-todo-keywords
'((type "工作(w!)" "学习(s!)" "休闲(l!)" "|")
(type "REPORT(r!)" "BUG(b!)" "KNOWNCAUSE(k!)" "|" "FIXED(f!)")
(sequence "PENDING(p!)" "TODO(t!)" "DOING(i!)" "|" "DONE(d!)" "CANCELED(c!)" "ABORT(a@/!)")
(sequence "PENDING(p!)" "TODO(t!)" "DOING(i!)" "WAITING(e!)" "|" "DONE(d!)" "CANCELED(c!)" "ABORT(a@/!)")
))
(setq org-todo-keyword-faces
'(("工作" . (:background "red" :foreground "white" :weight bold))
Expand All @@ -514,12 +516,6 @@ In ~%s~:
("@Company" . ?o)
("@Home" . ?H)
("@NCEPU" . ?n)
(:endgroup . nil)
(:newline)
(:startgroup . nil)
("WAITING" . ?w)
("HOLD" . ?h)

(:endgroup . nil)
(:newline)
(:startgroup . nil)
Expand Down
10 changes: 10 additions & 0 deletions GTD/orgBoss/IDEA/idea.org
Original file line number Diff line number Diff line change
Expand Up @@ -335,3 +335,13 @@ CLOCK: [2018-03-14 周三 18:49]--[2018-03-14 周三 18:51] => 0:02

一根电线【一个箭头表示】一个变量(一个参数、一个属性),一个基点一个函数,一个站点一个模块
箭头只有开始和结束上面没有基础的数值或者变量,开始地方分布在箭尾、结束地方分布在箭头,其他地方都得有基础的数值和变量名
** TODO [#A] 师出有名 <2018-07-26 周四 10:40>

任何的描述都应该有理有据,有其出处,处则为location,也即为名

师出有名,名为location(联想到名字---地名----标识----tag---mark(以小见大))
** TODO [#A] 路要靠自己走 <2018-07-27 周五 06:13>

自己走出来的路,就是好路,走不出来,那就只能感叹!

从大到小,抓住重点,以重点论、两点论为纲!!不断深化自己的见识
7 changes: 7 additions & 0 deletions GTD/orgBoss/Note/notes.org
Original file line number Diff line number Diff line change
Expand Up @@ -664,3 +664,10 @@ higher aerodynamic blade forces(又加上了balde) than for static stall(加
spanwise and temporal extend of the dyanmic stall region

进一步参考 [Wind turbine aerodynamic in yaw.pdf P153]
** 校医院取药 [#B] :@NCEPU:
DEADLINE: <2018-08-01 周三>
:LOGBOOK:
CLOCK: [2018-07-31 周二 16:12]--[2018-07-31 周二 16:13] => 0:01
:END:
Added: [2018-07-31 周二 16:12]

44 changes: 35 additions & 9 deletions GTD/orgBoss/newgtd.org
Original file line number Diff line number Diff line change
Expand Up @@ -1201,15 +1201,17 @@ SCHEDULED: <2017-11-14 周二>
- State "TODO" from "DONE" [2017-12-22 周五 10:38]
- State "DONE" from "TODO" [2017-12-22 周五 10:38]
LIC算法改进
** TODO [#A] 基于多轴角运动的气动特性和流场分析大论文 <2018-06-25 周一 16:19>[0/4] :学术:
** TODO [#A] 基于多轴角运动的气动特性和流场分析大论文 <2018-06-25 周一 16:19>[1/4] :学术:
DEADLINE: <2019-04-15 周一>
:PROPERTIES:
:Effort: 16:00
:END:
- State "TODO" from "TODO" [2018-07-31 周二 16:19]
:LOGBOOK:
CLOCK: [2018-06-25 周一 16:19]--[2018-06-26 周二 12:02] => 19:43
:END:



1. [ ] 绪论
2. [ ] 第二章 方法介绍
Expand Down Expand Up @@ -1329,7 +1331,7 @@ DEADLINE: <2018-07-03 周二>
:Effort: 4:00
:END:
:LOGBOOK:
CLOCK: [2018-07-25 周三 10:55]
CLOCK: [2018-07-28 周六 19:50]--[2018-07-29 周日 17:58] => 22:08
CLOCK: [2018-07-24 周二 15:44]--[2018-07-25 周三 10:50] => 19:06
CLOCK: [2018-07-24 周二 15:42]--[2018-07-24 周二 15:43] => 0:01
CLOCK: [2018-07-24 周二 15:40]--[2018-07-24 周二 15:41] => 0:01
Expand Down Expand Up @@ -1423,8 +1425,8 @@ DEADLINE: <2018-08-01 周三>

***** PIV实验[%]

*** TODO [#A] 工程热物理初稿 <2018-06-27 周三 15:38> [60%] :学术:
DEADLINE: <2018-07-04 周三>
*** DONE [#A] 工程热物理初稿 <2018-06-27 周三 15:38> [100%] :学术:
CLOSED: [2018-07-31 周二 16:19] DEADLINE: <2018-07-04 周三>
:PROPERTIES:
:Effort: 10:00
:END:
Expand All @@ -1437,13 +1439,37 @@ DEADLINE: <2018-07-04 周三>

1. [X] 引言
2. [X] 方法
3. [ ] 结果和分析
4. [ ] 结论
3. [X] 结果和分析
4. [X] 结论
5. [X] 摘要
LINK:info:org:Top
LINK:info:markdown:Top
** TODO [#C] 取工程热物理发票 <2018-07-31 周二 16:05> :@NCEPU:
DEADLINE: <2018-08-08 周三>
:PROPERTIES:
:Effort: 0:30
:END:
:LOGBOOK:
CLOCK: [2018-07-31 周二 16:06]--[2018-07-31 周二 16:06] => 0:00
CLOCK: [2018-07-31 周二 16:05]--[2018-07-31 周二 16:06] => 0:01
:END:

一般挂号信 学校一个月之内退回




通过建行快速查找你的付款日期
** TODO [#C] 取邮局版面费 <2018-07-31 周二 16:06> :@NCEPU:
DEADLINE: <2018-10-01 周一>
:PROPERTIES:
:Effort: 0:30
:END:
:LOGBOOK:
CLOCK: [2018-07-31 周二 16:06]--[2018-07-31 周二 16:06] => 0:00
:END:

一般3个月期限,比如0529== 0728过期!
** TODO [#C] 校医院取外敷药 <2018-07-31 周二 16:17>
DEADLINE: <2018-08-01 周三> SCHEDULED:<2018-07-31 周二>
:LOGBOOK:
CLOCK: [2018-07-31 周二 16:17]--[2018-07-31 周二 16:18] => 0:01
:END:

5 changes: 5 additions & 0 deletions GTD/org_Brain/背景.org
Original file line number Diff line number Diff line change
Expand Up @@ -704,3 +704,8 @@ Most important to least important conclusions you make about the text.
:ID: 49820ca3-c343-4c50-a890-6d2ba964f5f5
:END:


(df sdf)

"dfds gsdf sdfs
df"
Expand Down
64 changes: 60 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,13 @@ M-x package-install markdown-mode+

在init.el的my-package list 增加markdown-mode+,这样每次打开markdown的md后缀结尾的后缀名就会自动渲染,这也是emacs的[mode][18]的一种运用.

1. `shift+tab`切换overview视图(标题间的outline模式)(第一步:Shift-tab多次,进入outline模式)
2. `M-x markdown-cycle` 可以逐步children化,这样你就可以只工作在某一级别下(第二步:`M-x markdown-cycle` 不断进入子目录
3. `Alt-n|p`上下移动标题

当然说到底还是emacs的shift+tab切换效率高些! 参考标题139

![markdown-shifft][358]
### 11. server+clinet

emacs经常地使用方式是
Expand Down Expand Up @@ -892,9 +899,9 @@ M-h M-x comment-with-box 注释一个区域

#### 函数

1. projectile-find-file 快捷键C-c p f
1. projectile-find-file 快捷键`C-c C-p f` <2018-07-31 00:03>改成这种风格了(升级之后有所改变)

你可以使用 M-x projectile 进入projectile模式
你可以使用 M-x projectile-mode 进入projectile模式(默认进入)

在vim中有一个类似的软件叫做[Ctrl-space][52],[projectile][51]会把git或者其他代码管理软件,亦或者你的lein,maven,budler等
相关的文件夹当作一个project,如果啥都没有创建一个.projectile,那么该文件夹也会被识别为project
Expand All @@ -903,7 +910,7 @@ M-h M-x comment-with-box 注释一个区域
基本查找项目文件内的file(C-c是保留的快捷键)


`C-c p f`
`C-c c-p f`

![projectile][55]
### 34. Web-mode介绍
Expand Down Expand Up @@ -6635,6 +6642,52 @@ different folders into one folder, then let you find the file you specified with
5. `{`
6. text


### 139. org-doing record what you are doing and done


[org-doing][356]源自[doing][357]---a command line tool, 用于记录你正在做

1. now(doing now "..."): add an entry
2. later(doing later "...") : add an item to the later section
3. done(doing done ..) : Add an completed item with @done(date)
4. meanwhile: Finish any @meanwhile tasks and optionally create a new one



想法不错,但是org-agenda已经够好. 可以`C-c a T`输入`TODO`或者`DONE`或者其他,来快速找到你的任务状态

#### 伟大的project outline thinking

我又回看了Sachac的[baby-steps-org-todo][49], 学到了关于project outline的工作流

1. 新建一个project二级标题,(不要让过多的任务压死你,分成项目去做_
2. 在该标题下,建立TOOD三级标题,可以有多个TOOO
1. 贴任务标签(`C-c q`)
2. 指派(`C-c C-s`):不会忘记了deadline(不要太多,委托别人delegate,推迟postpone,去除eliminate
3. 设置截止日期(`C-c C-d`)
4. Clock in(`C-c C-x C-i`) Clock-out (`C-c C-x C-o`) ...
5. 设置任务状态(`C-c C-t`)

拟合一下工作过程
1. Tags
2. Schedule
3. Clock
4. Job Status
5. Tab
在这种工作流模式,怕多,所以得把任务紧密围绕你的project!这点很重要! 通过标题,所以可以使用`Tab`不断切换(父子标题间切换,go through different level of visibility ,hide the detail and then edit the detail)overview状态,可以指定某个project为当前你要工作的project
(然后设置任务状态`doing`;`waiting`做了一些,合伙人还没做完中间,等待做;待做叫做`TODO`,这是任务的最后一个状态,做完重做叫`pending`)

在这种工作流模式下,一个task不要超过7个词语!

于是你也可以在你的org-agenda(`C-c a a`)设置任务状态( `t` ), 也可以设置日期( `C-c C-s`或者 `C-c C-d`), 也可以进行查看`Enter`进去.
`C-f`向后一周看agenda状态,`C-b`往前看一周

![Org-shifft][359]
markdown-mode参考标题10.



----------

----------
Expand Down Expand Up @@ -6996,4 +7049,7 @@ different folders into one folder, then let you find the file you specified with
[353]: https://github.com/Pranshu258/emacsdoctor
[354]: https://github.com/howardabrams/dot-files/blob/master/emacs.org#multiple-cursors
[355]: https://github.com/howardabrams/dot-files/blob/master/emacs.org#block-wrappers
[356]:
[356]: https://github.com/rudolfolah/org-doing
[357]: https://github.com/ttscoff/doing/
[358]:https://github.com/jueqingsizhe66/ranEmacs.d/blob/develop/customizations/img/shift.png
[359]:https://github.com/jueqingsizhe66/ranEmacs.d/blob/develop/customizations/img/shift1.png
8 changes: 4 additions & 4 deletions bookmarks
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
(rear-context-string . "5-03 Sun 21:38]\n")
(position . 499))
("org-capture-last-stored"
(filename . "~/.emacs.d/GTD/orgBoss/Note/notes.org")
(front-context-string . "** Dynamic Stall")
(rear-context-string . "ODO keywords). \n")
(position . 29375))
(filename . "~/.emacs.d/GTD/orgBoss/newgtd.org")
(front-context-string . "** TODO [#C] 校医院")
(rear-context-string . "如0529== 0728过期!\n")
(position . 54783))
#1=(#("org-remember-last-stored" 0 24
(bmkp-full-record #1#))
(annotation)
Expand Down
112 changes: 112 additions & 0 deletions customizations/doom-todo-ivy.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
;;; doom-todo-ivy.el --- Display TODO, FIXME, etc in an Ivy buffer. -*- lexical-binding: t; -*-

;; Copyright (C) 2018 Justin Smestad

;; Author: Justin Smestad <justin.smestad@gmail.com>
;; Homepage: https://github.com/jsmestad/doom-todo-ivy
;; Version: 0.1.0
;; Package-Requires: ((emacs "25.1") (projectile "0.10.0") (ivy))
;; Keywords:

;;; Commentary:
;;;
;;; This is a straight port of the version supplied with Doom Emacs.

;;; Code:

(require 'projectile)
(require 'ivy)

(defvar doom/ivy-buffer-icons nil
"If non-nil, show buffer mode icons in `ivy-switch-buffer' and the like.")

(defvar doom/ivy-task-tags
'(("TODO" . warning)
("FIXME" . error))
"An list of tags for `doom/ivy-tasks' to search for.")


(defun doom/ivy--tasks-candidates (tasks)
"Generate a list of task candidates from TASKS."
(let* ((max-type-width
(cl-loop for task in doom/ivy-task-tags maximize (length (car task))))
(max-desc-width
(cl-loop for task in tasks maximize (length (cl-cdadr task))))
(max-width (max (- (frame-width) (1+ max-type-width) max-desc-width)
25)))
(cl-loop
with fmt = (format "%%-%ds %%-%ds%%s%%s:%%s" max-type-width max-width)
for alist in tasks
collect
(let-alist alist
(format fmt
(propertize .type 'face (cdr (assoc .type doom/ivy-task-tags)))
(substring .desc 0 (min max-desc-width (length .desc)))
(propertize " | " 'face 'font-lock-comment-face)
(propertize (abbreviate-file-name .file) 'face 'font-lock-keyword-face)
(propertize .line 'face 'font-lock-constant-face))))))

(defun doom/ivy--tasks (target)
"Search TARGET for a list of tasks."
(let* (case-fold-search
(task-tags (mapcar #'car doom/ivy-task-tags))
(cmd
(format "%s -H -S --no-heading -- %s %s"
(or (when-let* ((bin (executable-find "rg")))
(concat bin " --line-number"))
(when-let* ((bin (executable-find "ag")))
(concat bin " --numbers"))
(error "Cannot find executables: ripgrep or the_silver_searcher"))
(shell-quote-argument
(concat "\\s("
(string-join task-tags "|")
")([\\s:]|\\([^)]+\\):?)"))
target)))
(save-match-data
(cl-loop with out = (shell-command-to-string cmd)
for x in (and out (split-string out "\n" t))
when (condition-case-unless-debug ex
(string-match
(concat "^\\([^:]+\\):\\([0-9]+\\):.+\\("
(string-join task-tags "\\|")
"\\):?\\s-*\\(.+\\)")
x)
(error
(message! (red "Error matching task in file: (%s) %s"
(error-message-string ex)
(car (split-string x ":"))))
nil))
collect `((type . ,(match-string 3 x))
(desc . ,(match-string 4 x))
(file . ,(match-string 1 x))
(line . ,(match-string 2 x)))))))

(defun doom/ivy--tasks-open-action (x)
"Jump to the file X and line of the current task."
(let ((location (cadr (split-string x " | ")))
(type (car (split-string x " "))))
(cl-destructuring-bind (file line) (split-string location ":")
(with-ivy-window
(find-file (expand-file-name file (projectile-project-root)))
(goto-char (point-min))
(forward-line (1- (string-to-number line)))
(search-forward type (line-end-position) t)
(backward-char (length type))
(recenter)))))

;;;###autoload
(defun doom/ivy-tasks (&optional arg)
"Search through all TODO/FIXME tags in the current project. Optional ARG will search only that file."
(interactive "P")
(ivy-read (format "Tasks (%s): "
(if arg
(concat "in: " (file-relative-name buffer-file-name))
"project"))
(doom/ivy--tasks-candidates
(doom/ivy--tasks (if arg buffer-file-name (projectile-project-root))))
:action #'doom/ivy--tasks-open-action
:caller 'doom/ivy-tasks))

(provide 'doom-todo-ivy)

;;; doom-todo-ivy.el ends here
7 changes: 7 additions & 0 deletions customizations/editing.el
Original file line number Diff line number Diff line change
Expand Up @@ -344,3 +344,10 @@ This function also supports some `org-mode' wrappers:
(surround (region-beginning) (region-end) text)
(surround nil nil text)))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; (use-package doom-todo-ivy ;;
;; :ensure t ;;
;; :hook (after-init . doom-todo-ivy)) ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'doom-todo-ivy)
Binary file added customizations/img/shift.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added customizations/img/shift2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions elpa/0blayout-20161007.2307/0blayout-pkg.el

This file was deleted.

Loading

0 comments on commit 3dc3e97

Please sign in to comment.