]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Fix packaging
authorChunyang Xu <xuchunyang.me@gmail.com>
Wed, 13 Apr 2016 07:58:47 +0000 (03:58 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 16 Apr 2016 11:24:42 +0000 (08:24 -0300)
Refer to (info "(elisp) Library Headers") for package conventions.

20 files changed:
emacs/coolj.el
emacs/make-deps.el
emacs/notmuch-address.el
emacs/notmuch-company.el
emacs/notmuch-crypto.el
emacs/notmuch-hello.el
emacs/notmuch-jump.el
emacs/notmuch-lib.el
emacs/notmuch-maildir-fcc.el
emacs/notmuch-message.el
emacs/notmuch-mua.el
emacs/notmuch-parser.el
emacs/notmuch-print.el
emacs/notmuch-query.el
emacs/notmuch-show.el
emacs/notmuch-tag.el
emacs/notmuch-tree.el
emacs/notmuch-version.el.tmpl
emacs/notmuch-wash.el
emacs/notmuch.el

index 60af60afffa4e7faeaadae4a95bbcbe0adc43d01..77550602e5e1c08132b43a456b4d229fc40b2a1b 100644 (file)
@@ -143,3 +143,5 @@ If no break point is found, return nil."
          t)))
 
 (provide 'coolj)
          t)))
 
 (provide 'coolj)
+
+;;; coolj.el ends here
index a1cd731fb08e46aa924a4559bcbf5afa35d16377..24c1a45745821cc1840f9cd404e6542d66e3dedb 100644 (file)
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: Austin Clements <aclements@csail.mit.edu>
 
 ;;
 ;; Authors: Austin Clements <aclements@csail.mit.edu>
 
+;;; Code:
+
 (defun batch-make-deps ()
   "Invoke `make-deps' for each file on the command line."
 
 (defun batch-make-deps ()
   "Invoke `make-deps' for each file on the command line."
 
@@ -64,3 +66,5 @@ rules will be given relative to DIR, or `default-directory'."
                                 (file-name-sans-extension
                                  (file-relative-name fname dir)))))))))
       (end-of-file nil))))
                                 (file-name-sans-extension
                                  (file-relative-name fname dir)))))))))
       (end-of-file nil))))
+
+;;; make-deps.el ends here
index 49e240236c7a439d87640c4fdd2b8102446298e9..aafbe5fb8328a4ce1b92a9aa482ffa36dbd7fd6e 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-address.el --- address completion with notmuch
+;;; notmuch-address.el --- address completion with notmuch
 ;;
 ;; Copyright © David Edmondson
 ;;
 ;;
 ;; Copyright © David Edmondson
 ;;
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: David Edmondson <dme@dme.org>
 
 ;;
 ;; Authors: David Edmondson <dme@dme.org>
 
+;;; Code:
+
 (require 'message)
 (require 'notmuch-parser)
 (require 'notmuch-lib)
 (require 'message)
 (require 'notmuch-parser)
 (require 'notmuch-lib)
@@ -248,3 +250,5 @@ called when harvesting finishes."
 ;;
 
 (provide 'notmuch-address)
 ;;
 
 (provide 'notmuch-address)
+
+;;; notmuch-address.el ends here
index add3161b790d6a490c7994ad0c1aad2632d803e8..b881d6dc9aa3f7a8c4f2b257507e8cdb397bec67 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-company.el --- Mail address completion for notmuch via company-mode  -*- lexical-binding: t -*-
+;;; notmuch-company.el --- Mail address completion for notmuch via company-mode  -*- lexical-binding: t -*-
 
 ;; Authors: Trevor Jim <tjim@mac.com>
 ;;         Michal Sojka <sojkam1@fel.cvut.cz>
 
 ;; Authors: Trevor Jim <tjim@mac.com>
 ;;         Michal Sojka <sojkam1@fel.cvut.cz>
@@ -84,3 +84,5 @@
 
 
 (provide 'notmuch-company)
 
 
 (provide 'notmuch-company)
+
+;;; notmuch-company.el ends here
index 73ebf51df0b825d38e88506ecb34c19b5edfa50b..004463c316ea143bb6a2082ffb97a068ebc245db 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-crypto.el --- functions for handling display of cryptographic metadata.
+;;; notmuch-crypto.el --- functions for handling display of cryptographic metadata.
 ;;
 ;; Copyright © Jameson Rollins
 ;;
 ;;
 ;; Copyright © Jameson Rollins
 ;;
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: Jameson Rollins <jrollins@finestructure.net>
 
 ;;
 ;; Authors: Jameson Rollins <jrollins@finestructure.net>
 
+;;; Code:
+
 (require 'notmuch-lib)
 
 (defcustom notmuch-crypto-process-mime nil
 (require 'notmuch-lib)
 
 (defcustom notmuch-crypto-process-mime nil
@@ -174,3 +176,5 @@ mode."
 ;;
 
 (provide 'notmuch-crypto)
 ;;
 
 (provide 'notmuch-crypto)
+
+;;; notmuch-crypto.el ends here
index 8a31f9a1c52ca6aeb7e90c62a8dda4b54686b77c..9495c1a4874b589d003f9132d9e3c60c062933f7 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-hello.el --- welcome to notmuch, a frontend
+;;; notmuch-hello.el --- welcome to notmuch, a frontend
 ;;
 ;; Copyright © David Edmondson
 ;;
 ;;
 ;; Copyright © David Edmondson
 ;;
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: David Edmondson <dme@dme.org>
 
 ;;
 ;; Authors: David Edmondson <dme@dme.org>
 
+;;; Code:
+
 (eval-when-compile (require 'cl))
 (require 'widget)
 (require 'wid-edit) ; For `widget-forward'.
 (eval-when-compile (require 'cl))
 (require 'widget)
 (require 'wid-edit) ; For `widget-forward'.
@@ -1016,3 +1018,5 @@ following:
 ;;
 
 (provide 'notmuch-hello)
 ;;
 
 (provide 'notmuch-hello)
+
+;;; notmuch-hello.el ends here
index 506ae2c8e399785c9f56169a1f16589c5d3ad807..fd770f1ec50e39f81afe481374fafbbc2f97b72a 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-jump.el --- User-friendly shortcut keys
+;;; notmuch-jump.el --- User-friendly shortcut keys
 ;;
 ;; Copyright © Austin Clements
 ;;
 ;;
 ;; Copyright © Austin Clements
 ;;
@@ -20,6 +20,8 @@
 ;; Authors: Austin Clements <aclements@csail.mit.edu>
 ;;          David Edmondson <dme@dme.org>
 
 ;; Authors: Austin Clements <aclements@csail.mit.edu>
 ;;          David Edmondson <dme@dme.org>
 
+;;; Code:
+
 (eval-when-compile (require 'cl))
 
 (require 'notmuch-lib)
 (eval-when-compile (require 'cl))
 
 (require 'notmuch-lib)
@@ -176,3 +178,5 @@ buffer."
 ;;
 
 (provide 'notmuch-jump)
 ;;
 
 (provide 'notmuch-jump)
+
+;;; notmuch-jump.el ends here
index eca837d14b01086b26a7b0c11c01d835d19ce40c..78978ee34c9b806438c3fd9c497a11c11f9eb41c 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-lib.el --- common variables, functions and function declarations
+;;; notmuch-lib.el --- common variables, functions and function declarations
 ;;
 ;; Copyright © Carl Worth
 ;;
 ;;
 ;; Copyright © Carl Worth
 ;;
@@ -21,6 +21,8 @@
 
 ;; This is an part of an emacs-based interface to the notmuch mail system.
 
 
 ;; This is an part of an emacs-based interface to the notmuch mail system.
 
+;;; Code:
+
 (require 'mm-view)
 (require 'mm-decode)
 (require 'cl)
 (require 'mm-view)
 (require 'mm-decode)
 (require 'cl)
@@ -931,3 +933,5 @@ status."
 ;; Local Variables:
 ;; byte-compile-warnings: (not cl-functions)
 ;; End:
 ;; Local Variables:
 ;; byte-compile-warnings: (not cl-functions)
 ;; End:
+
+;;; notmuch-lib.el ends here
index c2f2f4cb127db3d9f2c786b8c8236cffe558193e..bbf61320d75dc4b9da974a801376f5c35ce1477c 100644 (file)
@@ -1,3 +1,5 @@
+;;; notmuch-maildir-fcc.el ---
+
 ;; 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
 ;; 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
 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 ;; Boston, MA 02110-1301, USA.
 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 ;; Boston, MA 02110-1301, USA.
-;;
+
+;;; Commentary:
+
 ;; To use this as the fcc handler for message-mode,
 ;; customize the notmuch-fcc-dirs variable
 
 ;; To use this as the fcc handler for message-mode,
 ;; customize the notmuch-fcc-dirs variable
 
+;;; Code:
+
 (eval-when-compile (require 'cl))
 (require 'message)
 
 (eval-when-compile (require 'cl))
 (require 'message)
 
@@ -211,3 +217,4 @@ return t if successful, and nil otherwise."
 
 (provide 'notmuch-maildir-fcc)
 
 
 (provide 'notmuch-maildir-fcc)
 
+;;; notmuch-maildir-fcc.el ends here
index 914bdd18ed7db29662abadcae3be7e58d32bb49a..d437b8574b925945169cb0b0f393690dcbff4c8e 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-message.el --- message-mode functions specific to notmuch
+;;; notmuch-message.el --- message-mode functions specific to notmuch
 ;;
 ;; Copyright © Jesse Rosenthal
 ;;
 ;;
 ;; Copyright © Jesse Rosenthal
 ;;
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: Jesse Rosenthal <jrosenthal@jhu.edu>
 
 ;;
 ;; Authors: Jesse Rosenthal <jrosenthal@jhu.edu>
 
+;;; Code:
+
 (require 'message)
 (require 'notmuch-tag)
 (require 'notmuch-mua)
 (require 'message)
 (require 'notmuch-tag)
 (require 'notmuch-mua)
@@ -46,3 +48,5 @@ the \"inbox\" and \"todo\" tags, you would set:
 (add-hook 'message-send-hook 'notmuch-message-mark-replied)
 
 (provide 'notmuch-message)
 (add-hook 'message-send-hook 'notmuch-message-mark-replied)
 
 (provide 'notmuch-message)
+
+;;; notmuch-message.el ends here
index 935cbd3b6298607e576fd946eec021c03f715e28..3e5f88725d0b290f1347003c6082dab9099a88be 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-mua.el --- emacs style mail-user-agent
+;;; notmuch-mua.el --- emacs style mail-user-agent
 ;;
 ;; Copyright © David Edmondson
 ;;
 ;;
 ;; Copyright © David Edmondson
 ;;
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: David Edmondson <dme@dme.org>
 
 ;;
 ;; Authors: David Edmondson <dme@dme.org>
 
+;;; Code:
+
 (require 'message)
 (require 'mm-view)
 (require 'format-spec)
 (require 'message)
 (require 'mm-view)
 (require 'format-spec)
@@ -513,3 +515,5 @@ simply runs the corresponding `message-mode' hook functions."
 ;;
 
 (provide 'notmuch-mua)
 ;;
 
 (provide 'notmuch-mua)
+
+;;; notmuch-mua.el ends here
index d59c0e1cc22727d60454ac0a79a04f63a99cf21d..620ca89ddc5edb6e20623c9d691885ea0c0318b5 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-parser.el --- streaming S-expression parser
+;;; notmuch-parser.el --- streaming S-expression parser
 ;;
 ;; Copyright © Austin Clements
 ;;
 ;;
 ;; Copyright © Austin Clements
 ;;
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: Austin Clements <aclements@csail.mit.edu>
 
 ;;
 ;; Authors: Austin Clements <aclements@csail.mit.edu>
 
+;;; Code:
+
 (require 'cl)
 
 (defun notmuch-sexp-create-parser ()
 (require 'cl)
 
 (defun notmuch-sexp-create-parser ()
@@ -205,3 +207,5 @@ move point in the input buffer."
 ;; Local Variables:
 ;; byte-compile-warnings: (not cl-functions)
 ;; End:
 ;; Local Variables:
 ;; byte-compile-warnings: (not cl-functions)
 ;; End:
+
+;;; notmuch-parser.el ends here
index 8c18f4bd63da4d0fa9a1d30c6272c8667f671bdb..480a0cfee487537c6197419f3b9645cafee24d2b 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-print.el --- printing messages from notmuch.
+;;; notmuch-print.el --- printing messages from notmuch.
 ;;
 ;; Copyright © David Edmondson
 ;;
 ;;
 ;; Copyright © David Edmondson
 ;;
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: David Edmondson <dme@dme.org>
 
 ;;
 ;; Authors: David Edmondson <dme@dme.org>
 
+;;; Code:
+
 (require 'notmuch-lib)
 
 (declare-function notmuch-show-get-prop "notmuch-show" (prop &optional props))
 (require 'notmuch-lib)
 
 (declare-function notmuch-show-get-prop "notmuch-show" (prop &optional props))
@@ -90,3 +92,5 @@ Optional OUTPUT allows passing a list of flags to muttprint."
   (funcall notmuch-print-mechanism msg))
 
 (provide 'notmuch-print)
   (funcall notmuch-print-mechanism msg))
 
 (provide 'notmuch-print)
+
+;;; notmuch-print.el ends here
index d1daffce4eaa3562999c5c345637151ec3eaf822..8587d8818cf759f4f3129e48072a8b1c98ea90f1 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-query.el --- provide an emacs api to query notmuch
+;;; notmuch-query.el --- provide an emacs api to query notmuch
 ;;
 ;; Copyright © David Bremner
 ;;
 ;;
 ;; Copyright © David Bremner
 ;;
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: David Bremner <david@tethera.net>
 
 ;;
 ;; Authors: David Bremner <david@tethera.net>
 
+;;; Code:
+
 (require 'notmuch-lib)
 
 (defun notmuch-query-get-threads (search-terms)
 (require 'notmuch-lib)
 
 (defun notmuch-query-get-threads (search-terms)
@@ -74,3 +76,5 @@ See the function notmuch-query-get-threads for more information."
    (notmuch-query-get-threads search-terms)))
 
 (provide 'notmuch-query)
    (notmuch-query-get-threads search-terms)))
 
 (provide 'notmuch-query)
+
+;;; notmuch-query.el ends here
index 46e3869de86e6186ab823cfd8472fb2f468335b7..5d9b7b45c557b42c0ad540ebdc103b9e006d7394 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-show.el --- displaying notmuch forests.
+;;; notmuch-show.el --- displaying notmuch forests.
 ;;
 ;; Copyright © Carl Worth
 ;; Copyright © David Edmondson
 ;;
 ;; Copyright © Carl Worth
 ;; Copyright © David Edmondson
@@ -21,6 +21,8 @@
 ;; Authors: Carl Worth <cworth@cworth.org>
 ;;          David Edmondson <dme@dme.org>
 
 ;; Authors: Carl Worth <cworth@cworth.org>
 ;;          David Edmondson <dme@dme.org>
 
+;;; Code:
+
 (eval-when-compile (require 'cl))
 (require 'mm-view)
 (require 'message)
 (eval-when-compile (require 'cl))
 (require 'mm-view)
 (require 'message)
@@ -2379,3 +2381,5 @@ is destroyed when FN returns."
 
 
 (provide 'notmuch-show)
 
 
 (provide 'notmuch-show)
+
+;;; notmuch-show.el ends here
index c7f62c90974995caf64aea212e0a5eae9fa97b5e..98064a3b6f64378679689840d435ffc10b6cf657 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-tag.el --- tag messages within emacs
+;;; notmuch-tag.el --- tag messages within emacs
 ;;
 ;; Copyright © Damien Cassou
 ;; Copyright © Carl Worth
 ;;
 ;; Copyright © Damien Cassou
 ;; Copyright © Carl Worth
index 384cb76bcf3c086f6f727112334e0ad4bea1eb84..4f9ca2deecf44e6f649898b32a4615946dcab6d9 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-tree.el --- displaying notmuch forests.
+;;; notmuch-tree.el --- displaying notmuch forests.
 ;;
 ;; Copyright © Carl Worth
 ;; Copyright © David Edmondson
 ;;
 ;; Copyright © Carl Worth
 ;; Copyright © David Edmondson
@@ -22,6 +22,8 @@
 ;; Authors: David Edmondson <dme@dme.org>
 ;;          Mark Walters <markwalters1009@gmail.com>
 
 ;; Authors: David Edmondson <dme@dme.org>
 ;;          Mark Walters <markwalters1009@gmail.com>
 
+;;; Code:
+
 (require 'mail-parse)
 
 (require 'notmuch-lib)
 (require 'mail-parse)
 
 (require 'notmuch-lib)
@@ -945,3 +947,5 @@ The arguments are:
 ;;
 
 (provide 'notmuch-tree)
 ;;
 
 (provide 'notmuch-tree)
+
+;;; notmuch-tree.el ends here
index 236aaf7dce38a46d4a1bcb193d1b0a64762a61c6..88cc01ce1378f03f0c44afaeb00533075436181e 100644 (file)
@@ -1,3 +1,4 @@
+;;; notmuch-version.el --- Version of notmuch
 ;; -*- emacs-lisp -*-
 ;;
 ;; %AG%
 ;; -*- emacs-lisp -*-
 ;;
 ;; %AG%
 ;; You should have received a copy of the GNU General Public License
 ;; along with Notmuch.  If not, see <http://www.gnu.org/licenses/>.
 
 ;; You should have received a copy of the GNU General Public License
 ;; along with Notmuch.  If not, see <http://www.gnu.org/licenses/>.
 
+;;; Code:
+
 (defconst notmuch-emacs-version %VERSION%
   "Version of Notmuch Emacs MUA.")
 
 (provide 'notmuch-version)
 (defconst notmuch-emacs-version %VERSION%
   "Version of Notmuch Emacs MUA.")
 
 (provide 'notmuch-version)
+
+;;; notmuch-version.el ends here
index a76b4f5b589ab0d0f1ada7ced2bc024e31a5b91b..065af16fb071baeb9cd53e1b43ffec85f2beca86 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch-wash.el --- cleaning up message bodies
+;;; notmuch-wash.el --- cleaning up message bodies
 ;;
 ;; Copyright © Carl Worth
 ;; Copyright © David Edmondson
 ;;
 ;; Copyright © Carl Worth
 ;; Copyright © David Edmondson
@@ -21,6 +21,8 @@
 ;; Authors: Carl Worth <cworth@cworth.org>
 ;;          David Edmondson <dme@dme.org>
 
 ;; Authors: Carl Worth <cworth@cworth.org>
 ;;          David Edmondson <dme@dme.org>
 
+;;; Code:
+
 (require 'coolj)
 
 (declare-function notmuch-show-insert-bodypart "notmuch-show" (msg part depth &optional hide))
 (require 'coolj)
 
 (declare-function notmuch-show-insert-bodypart "notmuch-show" (msg part depth &optional hide))
@@ -423,3 +425,5 @@ for error."
 ;;
 
 (provide 'notmuch-wash)
 ;;
 
 (provide 'notmuch-wash)
+
+;;; notmuch-wash.el ends here
index 060af8eb0a361a613b92cf354c37589f1e86115b..b45b5ec71ce7f45e3ca4ad43c6c00771b3ef9099 100644 (file)
@@ -1,4 +1,4 @@
-;; notmuch.el --- run notmuch within emacs
+;;; notmuch.el --- run notmuch within emacs
 ;;
 ;; Copyright © Carl Worth
 ;;
 ;;
 ;; Copyright © Carl Worth
 ;;
@@ -19,6 +19,8 @@
 ;;
 ;; Authors: Carl Worth <cworth@cworth.org>
 
 ;;
 ;; Authors: Carl Worth <cworth@cworth.org>
 
+;;; Commentary:
+
 ;; This is an emacs-based interface to the notmuch mail system.
 ;;
 ;; You will first need to have the notmuch program installed and have a
 ;; This is an emacs-based interface to the notmuch mail system.
 ;;
 ;; You will first need to have the notmuch program installed and have a
@@ -47,6 +49,8 @@
 ;; kudos: Notmuch list <notmuch@notmuchmail.org> (subscription is not
 ;; required, but is available from http://notmuchmail.org).
 
 ;; kudos: Notmuch list <notmuch@notmuchmail.org> (subscription is not
 ;; required, but is available from http://notmuchmail.org).
 
+;;; Code:
+
 (eval-when-compile (require 'cl))
 (require 'mm-view)
 (require 'message)
 (eval-when-compile (require 'cl))
 (require 'mm-view)
 (require 'message)
@@ -1064,3 +1068,5 @@ notmuch buffers exist, run `notmuch'."
     (let ((init-file (locate-file notmuch-init-file '("/")
                                  (get-load-suffixes))))
       (if init-file (load init-file nil t t))))
     (let ((init-file (locate-file notmuch-init-file '("/")
                                  (get-load-suffixes))))
       (if init-file (load init-file nil t t))))
+
+;;; notmuch.el ends here