[elpa] master 03d1e2a 2/7: Wcheck: Switch to lexical-binding
branch: master commit 03d1e2a99e36ff30c28960b97c1d6e3909db837d Author: Teemu Likonen Commit: Teemu Likonen Wcheck: Switch to lexical-binding --- packages/wcheck-mode/wcheck-mode.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/wcheck-mode/wcheck-mode.el b/packages/wcheck-mode/wcheck-mode.el index e7bc8f6..f144654 100644 --- a/packages/wcheck-mode/wcheck-mode.el +++ b/packages/wcheck-mode/wcheck-mode.el @@ -1,3 +1,5 @@ +;; -*- lexical-binding: t -*- + ;;; wcheck-mode.el --- General interface for text checkers ;; Copyright (C) 2009-2016 Free Software Foundation, Inc.
[elpa] master a3efeec 4/7: Wcheck: Handle filename value nil in --program-executable-p
branch: master commit a3efeec097d76244f30911da3d474f82c43c2936 Author: Teemu Likonen Commit: Teemu Likonen Wcheck: Handle filename value nil in --program-executable-p --- packages/wcheck-mode/wcheck-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/wcheck-mode/wcheck-mode.el b/packages/wcheck-mode/wcheck-mode.el index 09a9329..3ccbaaf 100644 --- a/packages/wcheck-mode/wcheck-mode.el +++ b/packages/wcheck-mode/wcheck-mode.el @@ -2027,7 +2027,8 @@ a (valid) value for the KEY then query the value from "Return non-nil if PROGRAM is executable regular file." (when (stringp program) (let ((f (executable-find program))) - (and (file-regular-p f) + (and f + (file-regular-p f) (file-executable-p f)
[elpa] master e56e678 3/7: Wcheck: Improve the doc string of --generate-face-predicate function
branch: master commit e56e6788a67d6bd4177239417558078fe539d92f Author: Teemu Likonen Commit: Teemu Likonen Wcheck: Improve the doc string of --generate-face-predicate function Now we speak of "predicate function" (which it is) instead of predicate expression. --- packages/wcheck-mode/wcheck-mode.el | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/wcheck-mode/wcheck-mode.el b/packages/wcheck-mode/wcheck-mode.el index f144654..09a9329 100644 --- a/packages/wcheck-mode/wcheck-mode.el +++ b/packages/wcheck-mode/wcheck-mode.el @@ -1929,11 +1929,11 @@ Both arguments are lists." (defun wcheck--generate-face-predicate (language mode) - "Generate a face predicate expression for scanning buffer. -Return a predicate expression that is used to decide whether + "Generate a face predicate function for scanning buffer. +Return a predicate function that is used to decide whether `wcheck-mode' should read or paint text at the current point -position with LANGUAGE and MODE. Evaluating the predicate -expression will return a boolean." +position with LANGUAGE and MODE. The called predicate function +will return a boolean." (let* ((face-settings (wcheck--major-mode-face-settings language mode)) (mode (nth 1 face-settings))
[elpa] master 9221fc3 1/7: Wcheck: Call outline-show-entry instead of deprecated show-entry
branch: master commit 9221fc3a59fd2fcfaf0af32359f3d2a66cd3c280 Author: Teemu Likonen Commit: Teemu Likonen Wcheck: Call outline-show-entry instead of deprecated show-entry --- packages/wcheck-mode/wcheck-mode.el | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/wcheck-mode/wcheck-mode.el b/packages/wcheck-mode/wcheck-mode.el index c97f09b..e7bc8f6 100644 --- a/packages/wcheck-mode/wcheck-mode.el +++ b/packages/wcheck-mode/wcheck-mode.el @@ -66,7 +66,7 @@ (eval-when-compile ;; Silence compiler - (declare-function show-entry "outline")) + (declare-function outline-show-entry "outline")) ;;; Settings @@ -1141,6 +1141,7 @@ requested it." (defun wcheck--timer-jump-event () + (require 'outline) (wcheck--loop-over-jump-reqs buffer (let* ((jump-req (wcheck--buffer-data-get :buffer buffer :jump-req)) (start (wcheck--jump-req-start jump-req)) @@ -1158,7 +1159,7 @@ requested it." (set-window-point window (overlay-end ol)) (goto-char (overlay-end ol))) (when (invisible-p (point)) -(show-entry)) +(outline-show-entry)) (message "Found from line %s" (line-number-at-pos (point))) (wcheck--force-read buffer)) @@ -1175,7 +1176,7 @@ requested it." (set-window-point window (overlay-start ol)) (goto-char (overlay-start ol))) (when (invisible-p (point)) -(show-entry)) +(outline-show-entry)) (message "Found from line %s" (line-number-at-pos (point))) (wcheck--force-read buffer))
[elpa] master ea098ed 7/7: Wcheck: Return a closure in --generate-face-predicate
branch: master commit ea098ede96bab7ed77d3f39c4fb54ccb2c8ffb46 Author: Teemu Likonen Commit: Teemu Likonen Wcheck: Return a closure in --generate-face-predicate With lexical-binding enabled we can return a real closure function instead of building a lambda expression. --- packages/wcheck-mode/wcheck-mode.el | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/wcheck-mode/wcheck-mode.el b/packages/wcheck-mode/wcheck-mode.el index 40bb2e1..5b26989 100644 --- a/packages/wcheck-mode/wcheck-mode.el +++ b/packages/wcheck-mode/wcheck-mode.el @@ -1941,15 +1941,15 @@ will return a boolean." (cond ((not font-lock-mode) (lambda () t)) ((eq mode 'read) - `(lambda () - (wcheck--face-found-p - ',faces (wcheck--collect-faces -(match-beginning 1) (match-end 1) + (lambda () + (wcheck--face-found-p + faces (wcheck--collect-faces + (match-beginning 1) (match-end 1) ((eq mode 'skip) - `(lambda () - (not (wcheck--face-found-p -',faces (wcheck--collect-faces - (match-beginning 1) (match-end 1)) + (lambda () + (not (wcheck--face-found-p + faces (wcheck--collect-faces + (match-beginning 1) (match-end 1)) (t (lambda () t)
[elpa] master 021841c 5/7: Wcheck: Update copyright years (2019)
branch: master commit 021841c9039657f7364b583193ed7c04fda447de Author: Teemu Likonen Commit: Teemu Likonen Wcheck: Update copyright years (2019) --- packages/wcheck-mode/README.md | 2 +- packages/wcheck-mode/wcheck-mode.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wcheck-mode/README.md b/packages/wcheck-mode/README.md index a2021a9..6fc47f4 100644 --- a/packages/wcheck-mode/README.md +++ b/packages/wcheck-mode/README.md @@ -389,7 +389,7 @@ branches and possibly merged to _master_ when they are ready. Copyright and license - -Copyright (C) 2009-2016 Free Software Foundation, Inc. +Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/packages/wcheck-mode/wcheck-mode.el b/packages/wcheck-mode/wcheck-mode.el index 3ccbaaf..1323f3e 100644 --- a/packages/wcheck-mode/wcheck-mode.el +++ b/packages/wcheck-mode/wcheck-mode.el @@ -2,7 +2,7 @@ ;;; wcheck-mode.el --- General interface for text checkers -;; Copyright (C) 2009-2016 Free Software Foundation, Inc. +;; Copyright (C) 2009-2019 Free Software Foundation, Inc. ;; Author: Teemu Likonen ;; Maintainer: Teemu Likonen
[elpa] master updated (082c169 -> ea098ed)
tlikonen pushed a change to branch master. from 082c169 Wcheck-mode: add more examples in README.md file new 9221fc3 Wcheck: Call outline-show-entry instead of deprecated show-entry new 03d1e2a Wcheck: Switch to lexical-binding new e56e678 Wcheck: Improve the doc string of --generate-face-predicate function new a3efeec Wcheck: Handle filename value nil in --program-executable-p new 021841c Wcheck: Update copyright years (2019) new da11673 Wcheck: Update version to 2019.6.17 new ea098ed Wcheck: Return a closure in --generate-face-predicate Summary of changes: packages/wcheck-mode/README.md | 2 +- packages/wcheck-mode/wcheck-mode.el | 40 - 2 files changed, 23 insertions(+), 19 deletions(-)
[elpa] master da11673 6/7: Wcheck: Update version to 2019.6.17
branch: master commit da11673adc82ad8326d2ca4db1d57aefc3e87ef7 Author: Teemu Likonen Commit: Teemu Likonen Wcheck: Update version to 2019.6.17 --- packages/wcheck-mode/wcheck-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/wcheck-mode/wcheck-mode.el b/packages/wcheck-mode/wcheck-mode.el index 1323f3e..40bb2e1 100644 --- a/packages/wcheck-mode/wcheck-mode.el +++ b/packages/wcheck-mode/wcheck-mode.el @@ -9,7 +9,7 @@ ;; Created: 2009-07-04 ;; URL: https://github.com/tlikonen/wcheck-mode ;; Keywords: text spell check languages ispell -;; Version: 2016.1.30 +;; Version: 2019.6.17 ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by
[elpa] master 22bda02: Wcheck: Remove unnecessary Makefile
branch: master commit 22bda0267df43cdbb146546a516e955ae64ef682 Author: Teemu Likonen Commit: Teemu Likonen Wcheck: Remove unnecessary Makefile --- packages/wcheck-mode/Makefile | 39 --- 1 file changed, 39 deletions(-) diff --git a/packages/wcheck-mode/Makefile b/packages/wcheck-mode/Makefile deleted file mode 100644 index 225b5e3..000 --- a/packages/wcheck-mode/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# Makefile for wcheck-mode - -BASE := wcheck-mode -DESC := General interface for text checkers -VERSION := $(shell date +%Y.%-m.%-d) -MAIN := $(BASE).el -PKG := $(BASE)-pkg.el -FILES := $(MAIN) $(PKG) COPYING README -NAME := $(BASE)-$(VERSION) - -elpa: $(PKG) -tar: $(NAME).tar -sign: $(NAME).tar.sig -elc: $(BASE).elc - -$(NAME).tar: $(FILES) - tar --create --file $@ --transform 's,^,$(NAME)/,' $(FILES) - -$(NAME).tar.sig: $(NAME).tar - gpg --yes --detach-sign $< - -$(PKG): - @printf "(define-package \"%s\" \"%s\"\n \"%s\")\n" \ - "$(BASE)" "$(VERSION)" "$(DESC)" >$@ - @cat $@ - -README: README.md - cp -f -- $< $@ - -$(BASE).elc: %.elc: %.el - emacs -Q --batch -f batch-byte-compile $< - -tag: - git tag -s $(VERSION) -m 'Version $(VERSION)' HEAD - -clean: - rm -f -- $(BASE)*.tar* README $(BASE).elc - -.PHONY: elpa tar sign tag clean elc $(PKG)
[elpa] externals/ebdb 3a35b7d: Update copyright years in all files
branch: externals/ebdb commit 3a35b7d9502d6e2cec95a90abac654aa8d615c72 Author: Eric Abrahamsen Commit: Eric Abrahamsen Update copyright years in all files --- ebdb-com.el | 2 +- ebdb-format.el | 2 +- ebdb-gnus.el| 2 +- ebdb-i18n.el| 2 +- ebdb-ispell.el | 2 +- ebdb-message.el | 2 +- ebdb-mhe.el | 2 +- ebdb-migrate.el | 2 +- ebdb-mu4e.el| 2 +- ebdb-mua.el | 2 +- ebdb-org.el | 2 +- ebdb-pgp.el | 2 +- ebdb-rmail.el | 2 +- ebdb-snarf.el | 2 +- ebdb-vcard.el | 2 +- ebdb.el | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/ebdb-com.el b/ebdb-com.el index d615dd6..b0af3a6 100644 --- a/ebdb-com.el +++ b/ebdb-com.el @@ -1,6 +1,6 @@ ;;; ebdb-com.el --- User-level commands of EBDB -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen ;; Keywords: convenience, mail diff --git a/ebdb-format.el b/ebdb-format.el index 0515430..2fc07e7 100644 --- a/ebdb-format.el +++ b/ebdb-format.el @@ -1,6 +1,6 @@ ;;; ebdb-format.el --- Formatting/exporting EBDB records -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen diff --git a/ebdb-gnus.el b/ebdb-gnus.el index def0cd4..198cd2c 100644 --- a/ebdb-gnus.el +++ b/ebdb-gnus.el @@ -1,6 +1,6 @@ ;;; ebdb-gnus.el --- Gnus interface to EBDB -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen diff --git a/ebdb-i18n.el b/ebdb-i18n.el index 9a21da7..4e9a84c 100644 --- a/ebdb-i18n.el +++ b/ebdb-i18n.el @@ -1,6 +1,6 @@ ;;; ebdb-i18n.el --- Internationalization support for EBDB -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen diff --git a/ebdb-ispell.el b/ebdb-ispell.el index bff51c4..d9396f8 100644 --- a/ebdb-ispell.el +++ b/ebdb-ispell.el @@ -1,6 +1,6 @@ ;;; ebdb-ispell.el --- Add EBDB contact names to personal dictionaries -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen diff --git a/ebdb-message.el b/ebdb-message.el index 3eb59e8..03b68fb 100644 --- a/ebdb-message.el +++ b/ebdb-message.el @@ -1,6 +1,6 @@ ;;; ebdb-message.el --- EBDB interface to mail composition packages -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen diff --git a/ebdb-mhe.el b/ebdb-mhe.el index 0518b22..c8ebe79 100644 --- a/ebdb-mhe.el +++ b/ebdb-mhe.el @@ -1,6 +1,6 @@ ;;; ebdb-mhe.el --- EBDB interface to mh-e -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/ebdb-migrate.el b/ebdb-migrate.el index 204038e..808df74 100644 --- a/ebdb-migrate.el +++ b/ebdb-migrate.el @@ -1,6 +1,6 @@ ;;; ebdb-migrate.el --- Migration/upgrade functions for EBDB -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen diff --git a/ebdb-mu4e.el b/ebdb-mu4e.el index d08ab65..68e83c5 100644 --- a/ebdb-mu4e.el +++ b/ebdb-mu4e.el @@ -1,6 +1,6 @@ ;;; ebdb-mu4e.el --- EBDB interface for mu4e -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen diff --git a/ebdb-mua.el b/ebdb-mua.el index 2118414..ba3603b 100644 --- a/ebdb-mua.el +++ b/ebdb-mua.el @@ -1,6 +1,6 @@ ;;; ebdb-mua.el --- Mail user agent interaction for EBDB -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen diff --git a/ebdb-org.el b/ebdb-org.el index 242efd2..85bcdee 100644 --- a/ebdb-org.el +++ b/ebdb-org.el @@ -1,6 +1,6 @@ ;;; ebdb-org.el --- Org mode integration for EBDB-*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen ;; Keywords: diff --git a/ebdb-pgp.el b/ebdb-pgp.el index aed90a7..1c0018a 100644 --- a/ebdb-pgp.el +++ b/ebdb-pgp.el @@ -1,6 +1,6 @@ ;;; ebdb-pgp.el --- Interaction betwee
[elpa] master ea9a32c: excorporate-diary: Don't force diary-fancy-display
branch: master commit ea9a32c6afaf2e7d3eefb1d9bbb4947ff1b2a6d0 Author: Thomas Fitzsimmons Commit: Thomas Fitzsimmons excorporate-diary: Don't force diary-fancy-display * packages/excorporate/excorporate-diary.el (excorporate-diary-enable): Do not force diary-display-function to diary-fancy-display, only warn if it is not. --- packages/excorporate/excorporate-diary.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/excorporate/excorporate-diary.el b/packages/excorporate/excorporate-diary.el index 6dd99eb..e802ca9 100644 --- a/packages/excorporate/excorporate-diary.el +++ b/packages/excorporate/excorporate-diary.el @@ -276,8 +276,7 @@ ARGUMENTS are the arguments to `diary-view-entries'." (warn (format (concat "Excorporate diary support needs diary-fancy-display" " but diary-display-function is currently %S; overriding") - diary-display-function)) -(customize-set-variable 'diary-display-function 'diary-fancy-display)) + diary-display-function))) (appt-activate 1) (message "Excorporate diary support enabled."))
[elpa] externals/system-packages 7e7131b 2/4: Fix apt-cache list-dependencies-of command.
branch: externals/system-packages commit 7e7131bc2bb31494630c9a2b7cb5f137bf6d7a1a Author: Nicholas D Steeves Commit: Nicholas D Steeves Fix apt-cache list-dependencies-of command. --- system-packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-packages.el b/system-packages.el index bdde31a..70a527b 100644 --- a/system-packages.el +++ b/system-packages.el @@ -161,7 +161,7 @@ (remove-orphaned . "apt-get autoremove") (list-installed-packages . "dpkg -l") (list-installed-packages-all . "dpkg -l") - (list-dependencies-of . "apt-cache deps") + (list-dependencies-of . "apt-cache depends") (noconfirm . "-y"))) (aptitude . ((default-sudo . t)
[elpa] externals/system-packages 3ad6d52 4/4: Version 1.0.11
branch: externals/system-packages commit 3ad6d52072f0bd043dced40ba7bd422fd9c00a7b Author: Alex Branham Commit: Alex Branham Version 1.0.11 --- system-packages.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/system-packages.el b/system-packages.el index 70a527b..cedb3f5 100644 --- a/system-packages.el +++ b/system-packages.el @@ -1,13 +1,12 @@ ;;; system-packages.el --- functions to manage system packages -*- lexical-binding: t; -*- -;; Copyright (C) 2016-2018 Free Software Foundation, Inc. +;; Copyright (C) 2016-2019 Free Software Foundation, Inc. ;; Author: J. Alexander Branham ;; Maintainer: J. Alexander Branham ;; URL: https://gitlab.com/jabranham/system-packages ;; Package-Requires: ((emacs "24.3")) -;; Version: 1.0.10 - +;; Version: 1.0.11 ;; This file is part of GNU Emacs.
[elpa] externals/system-packages updated (ebc58c8 -> 3ad6d52)
jabranham pushed a change to branch externals/system-packages. from ebc58c8 * system-packages.el: Fix copyright new 25da03b Mention that system-packages is available on GNU ELPA new 7e7131b Fix apt-cache list-dependencies-of command. new d4f05af Add Debian (and derivatives) installation instructions. new 3ad6d52 Version 1.0.11 Summary of changes: README.org | 11 +-- system-packages.el | 9 - 2 files changed, 9 insertions(+), 11 deletions(-)
[elpa] externals/system-packages 25da03b 1/4: Mention that system-packages is available on GNU ELPA
branch: externals/system-packages commit 25da03bab9757009d095dc1ef3e93d8b1ef2d7c4 Author: Alex Branham Commit: Alex Branham Mention that system-packages is available on GNU ELPA --- README.org | 10 ++ system-packages.el | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 2ee9db3..64da5b0 100644 --- a/README.org +++ b/README.org @@ -10,14 +10,8 @@ packages more convenient through emacs. * Installation - System packages is available on [[https://melpa.org/#/][MELPA]]. If you use [[https://github.com/jwiegley/use-package][use-package]] and have - MELPA set up correctly, all you'll need is something like the - following: - - #+BEGIN_SRC emacs-lisp :eval never -(use-package system-packages - :ensure t) - #+END_SRC + System packages is available on [[https://elpa.gnu.org/packages/system-packages.html][GNU ELPA]]. You can get it by doing + M-x package-install RET system-packages RET. * Configuration diff --git a/system-packages.el b/system-packages.el index 3204a07..bdde31a 100644 --- a/system-packages.el +++ b/system-packages.el @@ -9,7 +9,7 @@ ;; Version: 1.0.10 -;; This file is not part of GNU Emacs. +;; This file is part of GNU Emacs. ;;; License: ;;
[elpa] externals/system-packages d4f05af 3/4: Add Debian (and derivatives) installation instructions.
branch: externals/system-packages commit d4f05af938de8280dcb9c7f62df851189ddf39f1 Author: Nicholas D Steeves Commit: Nicholas D Steeves Add Debian (and derivatives) installation instructions. --- README.org | 5 + 1 file changed, 5 insertions(+) diff --git a/README.org b/README.org index 64da5b0..0a55d76 100644 --- a/README.org +++ b/README.org @@ -13,6 +13,11 @@ packages more convenient through emacs. System packages is available on [[https://elpa.gnu.org/packages/system-packages.html][GNU ELPA]]. You can get it by doing M-x package-install RET system-packages RET. + Users of Debian ≥10 and derivatives can install it with the following: + #+BEGIN_SRC sh + sudo apt install elpa-system-packages + #+END_SRC + * Configuration The package attempts to guess which package manager you use. If it
[elpa] master bd1de15: excorporate-diary: Update warning message
branch: master commit bd1de15bfa3aaafaa5250acdaa519cc536ab6141 Author: Thomas Fitzsimmons Commit: Thomas Fitzsimmons excorporate-diary: Update warning message * packages/excorporate/excorporate-diary.el (excorporate-diary-enable): Update diary-fancy-display warning message. --- packages/excorporate/excorporate-diary.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/excorporate/excorporate-diary.el b/packages/excorporate/excorporate-diary.el index e802ca9..fc9b29c 100644 --- a/packages/excorporate/excorporate-diary.el +++ b/packages/excorporate/excorporate-diary.el @@ -275,7 +275,7 @@ ARGUMENTS are the arguments to `diary-view-entries'." (unless (eq diary-display-function 'diary-fancy-display) (warn (format (concat "Excorporate diary support needs diary-fancy-display" - " but diary-display-function is currently %S; overriding") + " but diary-display-function is currently %S") diary-display-function))) (appt-activate 1) (message "Excorporate diary support enabled."))
[elpa] master 2eedb81: * packages/djvu/djvu.el: Release v1.1.
branch: master commit 2eedb8174e8a322b85c75e6d0f0ef919cc88391f Author: Roland Winkler Commit: Roland Winkler * packages/djvu/djvu.el: Release v1.1. --- packages/djvu/djvu.el | 654 +++--- 1 file changed, 403 insertions(+), 251 deletions(-) diff --git a/packages/djvu/djvu.el b/packages/djvu/djvu.el index 098a1dc..1f20102 100644 --- a/packages/djvu/djvu.el +++ b/packages/djvu/djvu.el @@ -4,7 +4,7 @@ ;; Author: Roland Winkler ;; Keywords: files, wp -;; Version: 1.0.1 +;; Version: 1.1 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -43,24 +43,10 @@ ;; ;; A normal work flow is as follows: ;; -;; To visit a djvu file type M-x djvu-find-file. This command is the -;; only entry point to this package. You can bind this command to a key, -;; for example -;; -;; (global-set-key "\C-cd" 'djvu-find-file) -;; -;; Or you can use something more general like -;; -;; (defun djvu-find-file-noselect (f-f-n filename &rest args) -;; "If FILENAME is a Djvu file call `djvu-find-file'." -;; (if (string-match "\\.djvu\\'" (file-name-sans-versions filename)) -;; (djvu-find-file filename nil nil t) -;; (apply f-f-n filename args))) -;; (advice-add 'find-file-noselect :around #'djvu-find-file-noselect) -;; -;; If you use `djvu-find-file' to visit the file foo.djvu, it puts you into -;; the (read-only) buffer foo.djvu. Normally, this buffer (plus possibly -;; the outline buffer) is all you need. +;; Djvu files are assumed to have the file extension ".djvu". +;; When you visit the file foo.djvu, it puts you into the (read-only) +;; buffer foo.djvu. Normally, this buffer (plus possibly the outline buffer) +;; is all you need. ;; ;; The menu bar of this buffer lists most of the commands with their ;; respective key bindings. For example, you can: @@ -149,6 +135,24 @@ ;;; News: +;; v1.1: +;; - Use `auto-mode-alist' with file extension ".djvu". +;; +;; - Support bookmarks. +;; +;; - Display total number of pages in mode line. +;; +;; - New option `djvu-rect-area-nodups'. +;; +;; - User options `djvu-save-after-edit' and `djvu-region-history' removed +;; (obsolete). +;; +;; - More robust code for merging lines in text layer. +;; +;; - Clean up handling of editing positions in a djvu document. +;; +;; - Bug fixes. +;; ;; v1.0.1: ;; - Use `create-file-buffer' instead of `generate-new-buffer' ;; for compatibility with uniquify. @@ -171,6 +175,19 @@ ;; ;; - Font locking. +;;; To do: + +;; - Auto-save script buffers. How can we recover these buffers +;; in a meaningful way? +;; +;; - Use `replace-buffer-contents'? +;; +;; - New command that makes line breaks in text layer better searchable: +;; Scan text layer for lines ending with hyphenated words "xxx-". +;; If the first word of the next line is "yyy" and ispell knows +;; the word "xxxyyy", replace "yyy" with that string. A search +;; for the word "xxxyyy" will then succeed. + ;;; Code: ;;; Djvu internals (see Sec. 8.3.4.2.3.1 of djvu3spec.djvu) @@ -185,6 +202,8 @@ ;; ;; c = #RRGGBB t = thickness (1..32) ;; o = opacity = 0..200 (yes) +;; +;; zones: page, column, region, para, line, word, and char (require 'button) (eval-when-compile @@ -274,13 +293,6 @@ This is a list with six elements (READ TEXT ANNOT SHARED BOOKMARKS OUTLINE)." :group 'djvu :type 'integer) -;; FIXME: The proper and efficient alternative to saving the changes -;; is to update the read buffer so that these buffers are consistent. -(defcustom djvu-save-after-edit t - "If non-nil save Djvu document after each call of a text editing command." - :group 'djvu - :type 'boolean) - (defcustom djvu-inherit-input-method t "If non-nil calls of `read-string' inherit the input method." :group 'djvu @@ -302,11 +314,6 @@ These extensions include the period." :group 'djvu :type 'regexp) -(defcustom djvu-region-history t - "If non-nil `djvu-read-string' pushes region to `minibuffer-history'." - :group 'djvu - :type 'boolean) - (defcustom djvu-read-prop-newline 2 "Number of newline characters in Read buffer for consecutive region." :group 'djvu @@ -332,6 +339,11 @@ Used by `djvu-region-string'." :group 'djvu :type '(repeat (cons (regexp) (string +(defcustom djvu-rect-area-nodups nil + "If non-nil `djvu-rect-area' does not create multiple rects for same areas." + :group 'djvu + :type 'boolean) + ;; Internal variables (defvar djvu-test nil @@ -345,6 +357,7 @@ Used by `djvu-region-string'." "Expanded rect list for propertizing the Read buffer. This is a list with elements (COORDS URL TEXT COLOR ID) stored in `djvu-doc-rect-list'.") + (defvar djvu-last-rect nil "Last rect used for propertizing the Read buffer. This is a list (BEG END COORDS URL TEXT COLOR).") @@ -435,11 +448,14 @@ Each element is a cons pair (PAGE-NUM . FILE-ID).") (defvar-local d