/osx-plist

Elisp parser for Mac OS X plist files

Primary LanguageEmacs LispGNU General Public License v2.0GPL-2.0

osx-plist.el

Apple plist file parser

MELPA Stable MELPA CircleCI codecov

Copyright (C) 2005 Theresa O'Connor tess@oconnor.cx

Copyright (C) 2020 Neil Okamoto neil.okamoto+melpa@gmail.com.

Description

This is a simple parser for Mac OS X plist files. The main entry points are osx-plist-parse-file and osx-plist-parse-buffer.

Historically this package included code to update Emacs' environment by parsing your ~/.MacOSX/environment.plist file. However macOS 10.8 and newer dropped support for setting your environment that way. Therefore the code has been removed from this package. If you still need this capability please consider switching to purcell's exec-path-from-shell package which is available on MELPA, or use the original version of this package.

Documentation

Changelog:

  • v2.0.0 (2020)
    • Project forked
    • Complete support for plist types: integer, real, date, and base64 data
    • CircleCI pipeline including lint, test cases, and coverage analysis
    • Breaking change: drop environment.plist example code
  • v1.0.0 (2005)

License

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.