Skip to content

Commit

Permalink
update chmod
Browse files Browse the repository at this point in the history
  • Loading branch information
cdadar committed Oct 24, 2024
1 parent d52a61d commit 02b3e5f
Show file tree
Hide file tree
Showing 212 changed files with 23 additions and 19 deletions.
42 changes: 23 additions & 19 deletions lisp/init-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
(when *is-a-mac*
(use-package grab-mac-link))



(defvar sanityinc/org-global-prefix-map (make-sparse-keymap)
"A keymap for handy global access to org helpers, particularly clocking.")
Expand Down Expand Up @@ -130,7 +130,7 @@
;; (advice-add 'org-agenda-files :filter-return #'dynamic-agenda-files-advice)
;; (add-to-list 'org-after-todo-state-change-hook 'update-dynamic-agenda-hook t)



(use-package writeroom-mode)

Expand Down Expand Up @@ -175,7 +175,7 @@ typical word processor."


(setq org-support-shift-select t)

;;; Capturing
(defun get-year-and-month ()
(list (format-time-string "%Y 年") (format-time-string "%m 月")))
Expand Down Expand Up @@ -238,7 +238,7 @@ typical word processor."

(require 'org-protocol)



(setq org-capture-templates
'(("t" "Todo" entry (file org-agenda-file-inbox)
Expand Down Expand Up @@ -301,7 +301,7 @@ typical word processor."
(when (eq type 'link)
(kill-region beg end)))))


;;; Refiling

(setq org-refile-use-cache nil)
Expand Down Expand Up @@ -340,7 +340,7 @@ typical word processor."
;; Allow refile to create parent tasks with confirmation
(setq org-refile-allow-creating-parent-nodes 'confirm)


;;; To-do settings

(setq org-todo-keywords
Expand All @@ -363,7 +363,7 @@ typical word processor."
("PROJECT" :inherit font-lock-string-face))))



;;; Agenda views

(setq-default org-agenda-clockreport-parameter-plist '(:link t :maxlevel 3))
Expand Down Expand Up @@ -528,7 +528,7 @@ typical word processor."

(add-hook 'org-agenda-finalize-hook 'my/org-agenda-insert-efforts)


;;; Org clock

;; Save the running clock and all clock history when exiting Emacs, load it on startup
Expand All @@ -551,7 +551,7 @@ typical word processor."
'(:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t))



;;; Show the clocked-in task - if any - in the header line
(defun sanityinc/show-org-clock-in-header-line ()
(setq-default header-line-format '((" " org-mode-line-string " "))))
Expand All @@ -568,7 +568,7 @@ typical word processor."
(define-key org-clock-mode-line-map [header-line mouse-1] 'org-clock-menu))



(when (and *is-a-mac* (file-directory-p "/Applications/org-clock-statusbar.app"))
(add-hook 'org-clock-in-hook
(lambda () (call-process "/usr/bin/osascript" nil 0 nil "-e"
Expand All @@ -578,12 +578,12 @@ typical word processor."
"tell application \"org-clock-statusbar\" to clock out"))))



;; TODO: warn about inconsistent items, e.g. TODO inside non-PROJECT
;; TODO: nested projects!



;;; Archiving

(setq org-archive-mark-done nil)
Expand All @@ -603,9 +603,7 @@ typical word processor."
(setq org-map-continue-from (outline-previous-heading)))
"/CANCELLED" 'file))






;; ;; Show iCal calendars in the org agenda
;; (when (and *is-a-mac* (require 'org-mac-iCal nil t))
Expand Down Expand Up @@ -638,6 +636,7 @@ typical word processor."
;; org-latex
(require 'ox-md)
(require 'ox-latex)

;; {{ export org-mode in Chinese into PDF
;; @see http://freizl.github.io/posts/tech/2012-04-06-export-orgmode-file-in-Chinese.html
;; and you need install texlive-xetex on different platforms
Expand All @@ -650,7 +649,7 @@ typical word processor."
;; }}



(org-babel-do-load-languages
'org-babel-load-languages
(seq-filter
Expand Down Expand Up @@ -723,7 +722,7 @@ typical word processor."
(define-key org-mode-map (kbd "C-c s c") '+org-screenshot)




;; used by org-clock-sum-today-by-tags
(defun filter-by-tags (current-tag)
Expand Down Expand Up @@ -958,15 +957,20 @@ typical word processor."

;; (use-package org-super-links
;; :bind (("C-c s s" . org-super-links-link)
;; ("C-c s l" . org-super-links-store-link)
;; ("C-c s C-l" . org-super-links-insert-link)))
;; ("C-c s l" . org-super-links-store-link)
;; ("C-c s C-l" . org-super-links-insert-link)))


(use-package ox-epub
:after org
:config
(require 'ox-epub))

(use-package ox-pandoc
:after org
:config
(require 'ox-pandoc))


(provide 'init-org)
;;; init-org.el ends here
Empty file modified snippets/c++-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/csharp-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/css-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/html-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/inf-ruby-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/javascript-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/js2-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/js3-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/nxml-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/objc-mode/.yas-parents
100755 → 100644
Empty file.
Empty file modified snippets/objc-mode/prop
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/css/css-bootstrap.yasnippet
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/css/css-ie.yasnippet
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/css/css.yasnippet
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/django/django-%.yasnippet
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/django/django-block.yasnippet
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/django/django-extend.yasnippet
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/django/django-verbatim.yasnippet
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%%
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%ff
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%ffe
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%fld
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%ft
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%h
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%if
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%ife
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%lia
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%liai
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%lic
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%lica
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%licai
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%lip
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%rp
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%ta
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%tf
100755 → 100644
Empty file.
Empty file modified snippets/rhtml-mode/ror/%unless
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/aft
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/annot
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/anr
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/anra
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/anrb
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/ant
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/any
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/atl
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/atm
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/bef
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/befm
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/bfe
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/conn
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/des
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/desc
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/desrc.delete
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/desrc.get
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/desrc.post
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/desrc.put
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/dest
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/dests
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/ex
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/fm
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/fmar
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/it
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/mat
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/mocw.flexmock
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/mocw.mocha
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/mocw.rr
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/on
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/resh
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/sce
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/set
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/sh=
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shb
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shbc
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shbio
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shbko
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shbr
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shbs
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/she.eql
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/she.equal
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shh
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shhal
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shham
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shhr
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shm.match
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shn=
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnb
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnbc
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnbio
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnbko
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnbr
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnbs
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shne.eql
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shne.equal
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnm.match
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnp
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnr
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnre
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnrt
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shns
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shnt
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shp
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shr
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shre
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shrt
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shrt.redirect
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shrt.render
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shrt.respond
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/shs
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/sht
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/sto
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/stub
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/tw
100755 → 100644
Empty file.
Empty file modified snippets/rspec-mode/wia
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/act
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/act.arg
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/actor
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/ano
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/app
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/arr.new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/arr.val-new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/asof
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/ass
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/ass.true
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/at.author
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/at.param
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/at.return
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/at.version
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/bang
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/case
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/case.match-all
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/cast
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/cc
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/cl
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/cl.abs
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/cl.abs-arg
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/cl.arg
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/clof
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/co
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/cons
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/cons.nil
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/def.arg
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/def.arg-body
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/def.arg-ret
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/def.arg-ret-body
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/def.body
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/def.ret
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/def.ret-body
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/def.simple
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/doc.class
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/doc.def
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/doc.file
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/doc.file-scala
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/doc.file-scala-api
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/doc.scaladoc
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/expect
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/ext
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/for.extract
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/for.if
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/for.loop
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/for.multi
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/foreach
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/hmap.new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/hmap.val-new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/hset.new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/hset.val-new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/if
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/if.else
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/imp
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/intercept
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/isof
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/ls.new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/ls.val-new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/main
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/map
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/map.new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/match
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/match.can
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/match.option
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/mix
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/ob
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/pac
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/pr.newline
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/pr.simple
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/pr.string
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/pr.trace
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/pri
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/pri.param
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/pro
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/pro.param
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/suite
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/test
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/throw
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/tr
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/tr.ext
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/tr.ext-with
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/tr.with
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/try
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/try.catch-finally
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/try.finally
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/tup.arrow
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/tup.paren
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/val
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/val.new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/val.ret
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/var
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/var.new
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/var.ret
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/whi
100755 → 100644
Empty file.
Empty file modified snippets/scala-mode/with
100755 → 100644
Empty file.
Empty file modified test-startup.sh
100755 → 100644
Empty file.
Empty file modified update_submodule.sh
100755 → 100644
Empty file.

0 comments on commit 02b3e5f

Please sign in to comment.