Fix bug in :straight calls
Don't use :files in calls to :straight, and I like
This commit is contained in:
parent
c9df765b19
commit
9ba17b5c20
3 changed files with 18 additions and 17 deletions
|
@ -60,9 +60,10 @@ Rewriting my shell scripts in Emacs Lisp uses my [[https://gitlab.com/howardabra
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package piper
|
||||
:straight (:type git :protocol ssh :host gitlab :repo "howardabrams/emacs-piper")
|
||||
:commands shell-command-to-list ; I use this function quite a bit
|
||||
:commands piper shell-command-to-list ; I use this function quite a bit
|
||||
:bind (:map evil-normal-state-map
|
||||
("|" . piper-user-interface)))
|
||||
("C-M-|" . piper)
|
||||
("C-|" . piper-user-interface)))
|
||||
#+END_SRC
|
||||
** Yet Another Snippet System (YASnippets)
|
||||
Using [[https://github.com/joaotavora/yasnippet][yasnippet]] to convert templates into text:
|
||||
|
@ -79,7 +80,7 @@ Seems the best [[https://github.com/hlissner/doom-snippets][collection of snippe
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package doom-snippets
|
||||
:after yasnippet
|
||||
:straight (doom-snippets :type git :host github :repo "hlissner/doom-snippets" :files ("*.el" "*")))
|
||||
:straight (:type git :protocol ssh :host github :repo "hlissner/doom-snippets"))
|
||||
#+END_SRC
|
||||
*Note:* Including his snippets also includes some [[https://github.com/hlissner/doom-snippets#snippets-api][helper functions]] and other features.
|
||||
** Auto Insert Templates
|
||||
|
|
|
@ -61,16 +61,17 @@ Next, we just need to change the header sizes:
|
|||
Now that headers are noticeable, I have no reason to see a number of asterisks. Once I used the [[https://github.com/sabof/org-bullets][org-bullets]] package, but believe we've replaced it with [[https://github.com/integral-dw/org-superstar-mode][org-superstar-mode]], so the following is an improvement, especially with the sub-bullets:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package org-superstar
|
||||
:init
|
||||
(setq org-superstar-headline-bullets-list '("▶")
|
||||
org-superstar-special-todo-items nil
|
||||
org-superstar-todo-bullet-alist t
|
||||
org-superstar-prettify-item-bullets t
|
||||
org-superstar-item-bullet-alist '((42 . "⊙") ; *
|
||||
(43 . "⁍") ; +
|
||||
(45 . "•")))
|
||||
:hook org-mode)
|
||||
(use-package org-superstar
|
||||
:straight (:type git :protocol ssh :host github :repo "integral-dw/org-superstar-mode")
|
||||
:init
|
||||
(setq org-superstar-headline-bullets-list '("▶")
|
||||
org-superstar-special-todo-items nil
|
||||
org-superstar-todo-bullet-alist t
|
||||
org-superstar-prettify-item-bullets t
|
||||
org-superstar-item-bullet-alist '((42 . "⊙") ; *
|
||||
(43 . "⁍") ; +
|
||||
(45 . "•")))
|
||||
:hook org-mode)
|
||||
#+END_SRC
|
||||
|
||||
Oh, and as I indent lists, they should change the /bulleting/ in a particular sequence. If I begin with an =*= asterisk, I walk down the chain, but with the dashed bullets (my default choice), I just stay with dashed bullets. Numeric bullets should cycle:
|
||||
|
@ -132,7 +133,7 @@ The [[https://github.com/TonCherAmi/org-padding][org-padding]] project looks pla
|
|||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package org-padding
|
||||
:straight (org-padding :type git :host github :repo "TonCherAmi/org-padding")
|
||||
:straight (:type git :protocol ssh :host github :repo "TonCherAmi/org-padding")
|
||||
:hook
|
||||
(org-mode . org-padding-mode)
|
||||
:config
|
||||
|
|
|
@ -27,8 +27,7 @@ Org is a /large/ complex beast with a gazillion settings, so I discuss these lat
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package org
|
||||
:straight (:type built-in) ; Problems with the 9.4.4 version
|
||||
;; :straight (:type git :protocol ssh :repo
|
||||
;; "git://git.sv.gnu.org/emacs/org-mode.git")
|
||||
;; :straight (:type git :protocol ssh :repo "git://git.sv.gnu.org/emacs/org-mode.git")
|
||||
:mode ("\\.org" . org-mode) ; Addresses an odd warning
|
||||
:init
|
||||
<<variables>>
|
||||
|
@ -360,7 +359,7 @@ I have a special version of tweaked [[file:elisp/ox-confluence.el][Confluence ex
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package ox-confluence
|
||||
:after org
|
||||
:straight nil
|
||||
:straight nil ; Located in my "elisp" directory
|
||||
:config
|
||||
(ha-org-leader
|
||||
"E" '("to confluence" . ox-export-to-confluence)))
|
||||
|
|
Loading…
Reference in a new issue