From 534e21c2270007c8df09f3eed1823c5f7966d9ec Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Thu, 23 Jul 2020 15:29:17 -0400 Subject: [PATCH] [emacs] Add support for editing osx plists --- .doom.d/config.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.doom.d/config.org b/.doom.d/config.org index 3ceb685..19d80ad 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -1204,6 +1204,23 @@ Study kanji by overlaying hiragana readings. :mode ("\\.epub\\'" . nov-mode) :config (setq nov-save-place-file (concat doom-cache-dir "nov-places"))) + +* Editing binary-compressed plist files in OSX +From https://www.emacswiki.org/emacs/MacOSXPlist#toc1 +#+begin_src emacs-lisp + ;; Allow editing of binary .plist files. + (add-to-list 'jka-compr-compression-info-list + ["\\.plist$" + "converting text XML to binary plist" + "plutil" + ("-convert" "binary1" "-o" "-" "-") + "converting binary plist to text XML" + "plutil" + ("-convert" "xml1" "-o" "-" "-") + nil nil "bplist"]) + + ;;It is necessary to perform an update! + (jka-compr-update) #+end_src * Miscellaneous Nonsense ** BRING ON THE ...