This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Original by Stefan van der Walt at <https://gist.github.com/stefanv/7984e8594ce0cfa00b6587f537ae3968> | |
;; Updated slightly to be more "packageable." | |
;; Allow org to understand github links | |
;; | |
;; Examples: | |
;; | |
;; gh:scikit-image/scikit-image#1000 | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-module (gnu packages emacs-29.1) | |
#:use-module (guix packages) | |
#:use-module (guix download) | |
#:use-module (guix build-system gnu) | |
#:use-module (guix licenses) | |
#:use-module (gnu packages emacs) | |
#:use-module (gnu packages sqlite) | |
#:use-module (gnu packages autotools) | |
#:use-module (guix utils) | |
#:use-module ((guix licenses) #:prefix license:) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun python-mode-outline-hook () | |
(setq outline-level 'python-outline-level) | |
(setq outline-regexp | |
(rx (or | |
;; Commented outline heading | |
(group | |
(* space) ; 0 or more spaces | |
(one-or-more (syntax comment-start)) | |
(one-or-more space) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ** Vars | |
# *** Emacs version | |
emacs="emacs" | |
emacsclient="emacsclient" | |
emacsWindowClass="Emacs" | |
# ** Functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;; Fix Helm org tag completion | |
;; From Anders Johansson <https://groups.google.com/d/msg/emacs-helm/tA6cn6TUdRY/G1S3TIdzBwAJ> | |
;; This works great! He posted it on 3 Mar 2016, on a thread that was | |
;; started in Oct 2013. He also posted this message on 2 Apr 2014, | |
;; maybe an earlier attempt at a solution: | |
;; <http://article.gmane.org/gmane.emacs.orgmode/84495> I've just | |
;; tidied it up a bit and adjusted the prompt. | |
(add-to-list 'helm-completing-read-handlers-alist '(org-capture . aj/org-completing-read-tags)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# * Defaults | |
compression=xz | |
subdir="web" | |
# * Functions | |
function debug { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; elfeed configuration | |
(use-package elfeed | |
;;;; Keymaps | |
:general | |
(:keymaps '(shr-map) | |
"a" 'pocket-reader-shr-add-link) | |
(:keymaps '(elfeed-show-mode-map elfeed-search-mode-map) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This 1) adjusts the Mozilla mozconfig.gtk file according | |
to the comments in it, and 2) removes a directory from | |
the debian/firefox.install.in file that comes up empty | |
when building with Gtk2, which then causes the package | |
build to fail due to trying to include files from an | |
empty directory (don't ask me why the gtk2 directory | |
is empty when built with Gtk2). | |
--- | |
build/unix/mozconfig.gtk | 25 +------------------------ | |
debian/firefox.install.in | 1 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; org-kbd | |
;; (setq org-emphasis-alist '(("%" org-kbd verbatim) | |
;; ("*" bold) | |
;; ("/" italic) | |
;; ("_" underline) | |
;; ("=" org-verbatim verbatim) | |
;; ("~" org-code verbatim) | |
;; ("+" | |
;; (:strike-through t)))) |
NewerOlder