@@ 44897,6 44897,49 @@ categories and highlighting specific modes that many commands use to
accomplish different tasks.")
(license license:asl2.0))))
+(define-public emacs-titlecase
+ (package
+ (name "emacs-titlecase")
+ (version "0.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/duckwork/titlecase.el/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0kpg1l0rbbwqcmlj9i8xs2dv9h6yik9wgngik5z6wdgxbkaxjln7"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Disable 3/26 unexpected results.
+ (add-before 'check 'disable-error-tests
+ (lambda _
+ (emacs-batch-edit-file "tests/titlecase-tests.el"
+ '(progn
+ (defun remove-test (test-name test-param)
+ (save-excursion
+ (re-search-forward
+ (format "(ert-deftest-%s %s" test-name test-param))
+ (goto-char (match-beginning 0))
+ (kill-sexp)))
+ (remove-test "decl-pair\n" "contractions_1")
+ (remove-test "decl-geneated-ascii\n" "generated_1_chars")
+ (remove-test "decl-nop" "nop_1")
+ (basic-save-buffer))))))
+ #:test-command #~(list "emacs" "-Q" "--batch"
+ "-l" "tests/titlecase-tests.el"
+ "-f" "ert-run-tests-batch-and-exit")))
+ (home-page "https://github.com/duckwork/titlecase.el/")
+ (synopsis "Capitalise titles")
+ (description
+ "This package provides a best-effort attempt at capitalizing titles, only
+in English, with Emacs.")
+ (license license:gpl3)))
+
(define-public emacs-x509-mode
(let ((commit "3830cbfdadab4cd68e6f0b6a3a7a4931be8328ea")
(revision "1"))