Parcourir la source

Tangled stuff

Samuel W. Flint il y a 8 ans
Parent
commit
3b8bf3293b
5 fichiers modifiés avec 14 ajouts et 7 suppressions
  1. 3 1
      eaf
  2. 3 2
      eframe
  3. 3 2
      emacs-capture
  4. 2 1
      email
  5. 3 1
      remote-emacs

+ 3 - 1
eaf

@@ -1,4 +1,5 @@
-#!/bin/zsh -f
+#!/bin/zsh
+# my-init.org [[nil][add-file-to-current-session]]
 programname=`basename $0`
 
 if [ $# -eq 0 ] ;
@@ -8,3 +9,4 @@ then
 fi
 
 emacsclient --alternate-editor="" -n $@
+# End my-init.org [[nil][add-file-to-current-session]]

+ 3 - 2
eframe

@@ -1,3 +1,4 @@
-#!/usr/bin/sh
-
+#!/bin/zsh
+# my-init.org [[nil][create-a-new-frame]]
 emacsclient -c $@
+# End my-init.org [[nil][create-a-new-frame]]

+ 3 - 2
emacs-capture

@@ -1,3 +1,4 @@
-#!/usr/bin/zsh
-
+#!/bin/zsh
+# my-init.org [[nil][start-capture]]
 emacsclient -c --eval "(org-capture-in-new-frame)"
+# End my-init.org [[nil][start-capture]]

+ 2 - 1
email

@@ -1,3 +1,4 @@
 #!/bin/zsh
-
+# my-init.org [[nil][send-email-with-emacs]]
 emacsclient -c --eval "(browse-url-mail \"$1\")"
+# End my-init.org [[nil][send-email-with-emacs]]

+ 3 - 1
remote-emacs

@@ -1,7 +1,9 @@
 #!/bin/zsh
-
+# my-init.org [[nil][create-remote-frame]]
 if [ $# -eq 0 ] ; then
     echo "Usage ${0} username@host"
+    exit
 fi
 
 ssh ${1} -f emacsclient --eval '"(make-frame-on-display \"$DISPLAY\")"'
+# End my-init.org [[nil][create-remote-frame]]