Michael Albinus [Tue, 12 Jul 2011 20:35:55 +0000 (22:35 +0200)]
* debbugs-gnu.el (debbugs-gnu-get-bugs): Reinsert sorting of ids.
This is needed when several sets of bugs are retrieved in a loop.
Allow empty packages or severities.
(debbugs-gnu-show-reports): Erase buffer on entry. Initialize
header line, move from ...
(debbugs-gnu-mode): ... here.
(debbugs-gnu-state-preference): Make it a defconst.
(debbugs-gnu-severity-preference): New defconst.
(debbugs-gnu-get-state-preference)
(debbugs-gnu-get-severity-preference): New defuns.
(debbugs-gnu-sort-state): When two bugs have the same age, sort
per serverity.
Michael Albinus [Mon, 11 Jul 2011 18:32:17 +0000 (20:32 +0200)]
* debbugs-gnu.el (debbugs-gnu-sort-state): Give tagged bugs
priority 20. In case there is just the severity list '("tagged"),
do not use that priority.
(debbugs-gnu-sort-title): Fix silly bug.
Michael Albinus [Mon, 11 Jul 2011 07:21:32 +0000 (09:21 +0200)]
* debbugs-gnu.el (top): Require `tabulated-list'. Autoload
`widget-convert'.
(debbugs-gnu-handled, debbugs-gnu-stale): Fix docstring.
(debbugs-gnu-get-bugs): Do not sort ids, it is done later anyway.
(debbugs-gnu-show-reports): Move inserting of text to ...
(debbugs-gnu-print-entry): New defun.
(debbugs-gnu-mode-map): Set parent map to `tabulated-list-mode-map'.
(debbugs-gnu-mode): Derive from `tabulated-list-mode'. Initialize
`tabulated-list-*' objects.
(debbugs-gnu-sort-id, debbugs-gnu-sort-state)
(debbugs-gnu-sort-title): New defuns. Sort functions for
respective columns.
(debbugs-gnu-toggle-sort): Use `tabulated-list' functions.
(debbugs-gnu-toggle-suppress-done): Renamed from
`debbugs-gnu-suppress-done'. Use `tabulated-list' functions.
(debbugs-gnu-current-status): Use text property `tabulated-list-id'.
Michael Albinus [Fri, 8 Jul 2011 10:09:55 +0000 (12:09 +0200)]
* debbugs-gnu.el (debbugs-gnu-*): Rename from `debbugs-*'.
(debbugs-gnu-default-severities): Add pseudo severity "tagged".
(debbugs-gnu-get-bugs): New defun.
(debbugs-gnu, debbugs-gnu-rescan): Use it.
Michael Albinus [Thu, 7 Jul 2011 18:48:32 +0000 (20:48 +0200)]
* debbugs-gnu.el (top): Add ;;; Commentary.
(debbugs-default-severities, debbugs-default-packages)
(debbugs-default-hits-per-page): New customer options.
(debbugs-current-severities, debbugs-current-packages)
(debbugs-current-archive): Renamed from `debbugs-severities',
`debbugs-package', `debbugs-archive'.
(debbugs-emacs): Reorder arguments. If called interactively with
prefix, ask for optional arguments values. Loop also for several
packages.
(debbugs-show-reports): Let-bind `debbugs-port'.
(debbugs-rescan): Loop also for several packages.
Stefan Monnier [Wed, 6 Jul 2011 17:30:27 +0000 (13:30 -0400)]
* archive-contents.el: Make `site' more incrementally.
(archive--delete-elc-files): New arg` only-orphans'.
(archive--simple-package-p): Don't count .elc files; add default version.
(batch-make-site-dir): Don't force recompilation of all .elc files.
Don't generate silly backup versions of the autoloads file.
Michael Albinus [Tue, 5 Jul 2011 19:42:58 +0000 (21:42 +0200)]
* debbugs-gnu.el (debbugs-owner): Removed. We use `debbugs-tagged'
uniquely.
(debbugs-widgets, debbugs-package, debbugs-severities)
(debbugs-archive): New defvars.
(debbugs-local-tags, debbugs-persistency-file)
(debbugs-dump-persistency-file): Add docstring.
(debbugs-emacs): Use new defvars.
(debbugs-show-reports): Remove widgets from arguments. Mark bugs
submitted by user.
(debbugs-mode-map): Add "x" (for purge "done" bugs).
(debbugs-rescan): On the last page, check also for new arrived bugs.
(debbugs-suppress-done): New defun.
Michael Albinus [Mon, 4 Jul 2011 21:34:04 +0000 (23:34 +0200)]
* debbugs-gnu.el (debbugs-tagged): New face.
(debbugs-persistency-file): New defvar. Read and eval its
contents during loading.
(debbugs-dump-persistency-file): New defun. Add it to
`kill-emacs-hook'.
(debbugs-local-tags): New defvar.
(debbugs-show-reports): Code cleanup. Show tagged bugs.
(debbugs-mode-map): Add "t" (for toggle tag) and "C" (for send
control message).
(debbugs-toggle-tag): New defun.
(debbugs-display-status): Remove superfluous let-binding.
(debbugs-send-control-message): Read id also via `debbugs-current-id'.
Michael Albinus [Sun, 3 Jul 2011 17:53:11 +0000 (19:53 +0200)]
* debbugs-gnu.el (debbugs-owner): New face.
(debbugs-show-reports): Mark subject if the user is the bug's
owner. Add mouse-face.
(debbugs-mode-map): Add [mouse-1] and [mouse-2].
(debbugs-send-control-message): Add "owner" and "noowner" messages.
Michael Albinus [Sun, 3 Jul 2011 16:33:05 +0000 (18:33 +0200)]
* debbugs-gnu.el (debbugs-widget-map): Add [mouse-1] and [mouse-2].
(debbugs-emacs): Add :help-echo and :suppress-done for report
pages' widgets.
(debbugs-show-reports): Remove suppress-done from arguments. It
must be read from the widget anyway. Tune inserting of bottom line
widgets.
* debbugs-gnu.el (debbugs-emacs): Don't use widgets to provide
clickable links, since that requires you to select certain parts
of the line, which is annoying.
Michael Albinus [Sun, 3 Jul 2011 13:56:34 +0000 (15:56 +0200)]
* debbugs-gnu.el (debbugs-emacs, debbugs-show-reports): Rewrite in
order to use widgets exclusively.
(debbugs-widget-format-handler): New defun.
(debbugs-mode-map): Derive from `special-mode-map'. Use
`widget-keymap' as parent map.
(debbugs-select-report): Add bug id as parameter.
Michael Albinus [Sat, 2 Jul 2011 23:36:33 +0000 (01:36 +0200)]
* debbugs-gnu.el (debbugs-emacs): Move reporting lines to
`debbugs-show-reports'. Create widgets for every report page.
(debbugs-show-reports): New defun.
(debbugs-select-report): Handle also page links.
Michael Albinus [Sat, 2 Jul 2011 12:49:08 +0000 (14:49 +0200)]
* debbugs.el (debbugs-emacs): Let-bind `debbugs-port' to "gnu.org".
Ask how many reports to retrieve, when `debbugs-get-bugs' returns
more than 400 hits.
Reorganize repository layout, allowing site installation.
A Makefile with "site", "archive" and "archive-full" rules can now be
used for site-installation, partial archive deployment, and full
archive deployment respectively.
Rewrite the admin/archive-contents.el script to handle these changes.
Rework archive-contents.el to handle new packages/ structure.
* archive-contents.el (archive-re-no-dot): New var.
(archive--convert-require): Rename from archive-contents--convert-require.
(archive--strip-rcs-id): Rename from archive-contents--strip-rcs-id.
(batch-make-archive): Rename from batch-make-archive-contents. Handle
the new structure of packages/, where every package has its own
directory.
(archive--delete-elc-files, archive--process-simple-package)
(archive--process-multi-file-package, archive--simple-package-p): New functions.
Michael Albinus [Thu, 30 Jun 2011 18:40:32 +0000 (20:40 +0200)]
* debbugs.el (top): Pacify byte compiler.
(debbugs): New custom group.
(debbugs-servers): New defcustom.
(debbugs-port): Allow user defined ports.
(debbugs-get-mbox): New defun.
Fixes to archive-contents.el and package-update.sh.
* admin/archive-contents.el (archive-contents-subdirectory-regexp):
New var, from package.el.
(archive-contents--convert-require): New function.
(batch-make-archive-contents): Handle package requirements.
* admin/package-update.sh: Run archive-contents.el from package
directory. Handle org package.
Stefan Monnier [Wed, 20 Apr 2011 16:40:17 +0000 (13:40 -0300)]
* packages/all-1.0.el: Change version. Address byte-compiler warnings.
Rename the `marker' property to `all-marker'.
(all-mode-map): Move initialization into declaration.
(all-buffer): Mark buffer-local.
(all-mode): Use define-derived-mode. Setup the change-functions
buffer-locally.
(all): Use read-string. Let-bind all-initialization-p.
(all-insert): Use a `match' face text property rather then
a `highlight' face overlay for the match highlight.
* admin/archive-contents.el (batch-make-archive-contents): Don't burp
if a commentary section is missing.
* .bzrignore: Ignore .elc files.
* packages/load-dir-0.0.2.el: Update Commentary from
load-dir-readme.txt.
Stefan Monnier [Wed, 20 Apr 2011 15:49:31 +0000 (12:49 -0300)]
* admin/archive-contents.el: New file.
* packages/rainbow-mode-readme.txt:
* packages/js2-mode-readme.txt: Auto-update from the commentary.
* packages/js2-mode-20090814.el: Capitalize the description.
* packages/debbugs-0.1/debbugs.el: Require cl since it uses `case'.
(debbugs-get-bugs): Fix up typo.
* packages/company-0.5/company-gtags.el
(company-gtags-gnu-global-program-name): Pass the "when" argument.
* packages/auctex-11.86/auctex-pkg.el: Capitalize the description.
* packages/archive-contents: Almost auto-regenerate.