[emacs-berlin] Werkstatt use-case
Andreas Tiefenthaler
at at an-ti.eu
Sat Apr 30 08:43:22 UTC 2016
Thank you,
I try to play around a bit this weekend with it and see if it fits my workflow.
Andy
On 28 Apr 2016, at 09:22, Andreas Röhler <andreas.roehler at easy-emacs.de> wrote:
> Hi folks,
>
> thanks providing that nice entertainment.
>
> As requested yesterday here an example how to use the Werkstatt toolkit
>
> https://github.com/andreas-roehler/werkstatt
>
> Maybe try this keys - command-names saying it all:
>
> (global-set-key [(control c) (control \`)(control \<)] 'ar-backticked2braced-atpt)
> (global-set-key [(control c) (control \})(control \])] 'ar-braced2bracketed-atpt)
> (global-set-key [(control c) (control \})(control \$)] 'ar-braced2dollared-atpt)
>
> A couple of further combinations is available from transform-keys.el
>
> As stuff is in move still, prefer to load the files separately like below.
> That permits to comment out single ones, without changing the code in source.
>
> If werkstatt resides in home-directory:
>
> ;; Subroutines laden
> (defun ar-subroutines-laden ()
> (interactive)
> (add-to-list 'load-path (expand-file-name "~/werkstatt/subroutines"))
> (require 'ar-comment-lor)
> (let ((ladeliste
> (list
> "beg-end.el"
> "ar-subr.el"
> "ar-navigate.el"
> "gnu-emacs-fixes.el"
> "test/ar-setup-ert-tests.el"
> "test/ar-subr-ert-tests.el")))
> (dolist (elt ladeliste)
> (load (concat "~/werkstatt/subroutines/" elt) nil t))))
>
> (ar-subroutines-laden)
>
> ;; Werkstatt
> (defun werkstatt-laden ()
> (interactive)
> (add-to-list 'load-path (expand-file-name "~/werkstatt/thing-at-point-utils"))
> (add-to-list 'load-path (expand-file-name "~/werkstatt/thing-at-point-utils/test"))
> (let ((ladeliste
> (list
> "test/translate-paired-delimiters-test.el"
> "thing-at-point-extra.el"
> "thing-at-point-utils.el"
> "thing-classes-in-data-forms-aktiv.el"
> "thing-classes-in-delimited-list.el"
> "thing-classes-in-rest-list.el"
> "thing-classes-in-unpaired-delimited-list.el"
> "thing-data-forms-aktiv-in-delimited-list.el"
> "thing-data-forms-aktiv-in-major-forms-restricted-list.el"
> "thing-delimited-list-in-counts-list.el"
> "thing-delimited-list-in-data-forms-aktiv.el"
> "thing-delimited-list-in-delimited-list.el"
> "thing-delimited-list-in-unpaired-delimited-list.el"
> "thing-rest-list-in-region-only.el"
> "thing-unpaired-delimited-list-in-data-forms-aktiv.el"
> "thing-unpaired-delimited-list-in-delimited-list.el"
> "thing-unpaired-delimited-list-in-rest-list.el"
> "thingatpt-count-ratio.el"
> "thingatpt-transform-delimited.el"
> "thingatpt-utils-base.el"
> "thingatpt-utils-test.el"
> "translate-paired-delimiters.el"
> "thingatpt-utils-base.el"
> "transform-alias.el"
> "transform-keys.el"
> "thing-at-point-peel.el"
> "thingatpt-transform-generic-delimited.el"
> "thingatpt-transform-generic-delimited-keys.el"
> )))
> (dolist (elt ladeliste)
> (load (concat "~/werkstatt/thing-at-point-utils/" elt) nil t))))
>
> (werkstatt-laden)
>
>
> Suggestions, patches etc. are welcome.
>
> Enjoy,
>
> Andreas
> _______________________________________________
> emacs-berlin mailing list
> emacs-berlin at emacs-berlin.org
> https://mailb.org/mailman/listinfo/emacs-berlin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailb.org/pipermail/emacs-berlin/attachments/20160430/791b7108/attachment.sig>
More information about the emacs-berlin
mailing list