Re: [O] org-debbugs.el
Hi Michael, Michael Albinus michael.albi...@gmx.de writes: I have produced a very first shot of org-debbugs.el. Can you resend a patch so that I add this to contrib/? Thanks! -- Bastien
Re: [O] org-debbugs.el
Bastien b...@gnu.org writes: Hi Michael, Hi Bastien, Can you resend a patch so that I add this to contrib/? Did you read the whole thread? My last message on the topic? http://thread.gmane.org/gmane.emacs.orgmode/76830/focus=78010 Thanks! Best regards, Michael.
Re: [O] org-debbugs.el
Hi Michael, Michael Albinus michael.albi...@gmx.de writes: Did you read the whole thread? My last message on the topic? http://thread.gmane.org/gmane.emacs.orgmode/76830/focus=78010 Nope, I missed this, sorry. Thanks for resending it! -- Bastien
Re: [O] org-debbugs.el
Michael Albinus michael.albi...@gmx.de writes: Hi, If the org-mode maintainers find this package useful, it could be added to the contrib directory. Still no response from the maintainers. Before I continue to invest into this package, I would like to know whether it is a suitable approach. Otherwise, I could spend my time better. Well, I've renamed the file to debbugs-org.el; it is added to the debbugs package on GNU ELPA. No need any longer to add this to contrib. Best regards, Michael.
Re: [O] org-debbugs.el
Michael Albinus michael.albi...@gmx.de writes: Hi, If the org-mode maintainers find this package useful, it could be added to the contrib directory. Still no response from the maintainers. Before I continue to invest into this package, I would like to know whether it is a suitable approach. Otherwise, I could spend my time better. Best regards, Michael.
Re: [O] org-debbugs.el
Hi Michael, On Fri, Oct 11, 2013 at 10:03:34AM +0200, Michael Albinus wrote: Michael Albinus michael.albi...@gmx.de writes: Hi, If the org-mode maintainers find this package useful, it could be added to the contrib directory. Still no response from the maintainers. Before I continue to invest into this package, I would like to know whether it is a suitable approach. Otherwise, I could spend my time better. I'm CC'ing the maintainers, maybe they have missed the thread amidst all the traffic. FWIW, I think this is a wonderful package. I have your patches applied on my private Org repository. Cheers, -- Suvayu Open source is the future. It sets us free.
Re: [O] org-debbugs.el
Michael Albinus michael.albi...@gmx.de writes: Michael Albinus michael.albi...@gmx.de writes: Hi, If the org-mode maintainers find this package useful, it could be added to the contrib directory. Still no response from the maintainers. Before I continue to invest into this package, I would like to know whether it is a suitable approach. Otherwise, I could spend my time better. Hello Michael, While trying your package, I noticed that C-h m would not work because of a misplaced docstring. Here's the patch (but I'm not sure I have the latest version, sorry if this is already fixed). Also, I heard recently on #org-mode about bugpile, which is an old (last updated more than a year ago) of Thorsten Jolitz and Eric Schulte. The doc says: , | The Bugpile project has two goals: | | Develop a bugtracker (called Bugpile) for GNU Emacs Org-mode, | using Elisp, Elnode, Org-mode, and a dVCS. | As part of the engineering process, abstract out a web-framework | (iOrg) based on these GNU Emacs technologies. ` Source: http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/bugpile/ Unfortunately I did not find any usable documentation in the project (README is empty) and I have no idea how/if it can be related to org-debbugs in any way. diff --git a/contrib/lisp/org-debbugs.el b/contrib/lisp/org-debbugs.el index 9c31b2b..fe5430e 100644 --- a/contrib/lisp/org-debbugs.el +++ b/contrib/lisp/org-debbugs.el @@ -409,11 +409,11 @@ returned. hits)) (defconst org-debbugs-mode-map - Keymap for the `org-debbugs-mode' minor mode. (let ((map (make-sparse-keymap))) (define-key map (kbd C-c # c) 'debbugs-gnu-send-control-message) (define-key map (kbd C-c # d) 'debbugs-gnu-display-status) -map)) +map) + Keymap for the `org-debbugs-mode' minor mode.) -- Nico.
Re: [O] org-debbugs.el
Nicolas Richard theonewiththeevill...@yahoo.fr writes: Also, I heard recently on #org-mode about bugpile, which is an old (last updated more than a year ago) of Thorsten Jolitz and Eric Schulte. The doc says: This wasn't implemented, unfortunately, but stay tuned ... its somehow still in the pipeline. -- cheers, Thorsten
Re: [O] org-debbugs.el
On Fri, Oct 11, 2013 at 01:55:56PM +0200, Nicolas Richard wrote: Also, I heard recently on #org-mode about bugpile, which is an old (last updated more than a year ago) of Thorsten Jolitz and Eric Schulte. The doc says: , | The Bugpile project has two goals: | | Develop a bugtracker (called Bugpile) for GNU Emacs Org-mode, | using Elisp, Elnode, Org-mode, and a dVCS. | As part of the engineering process, abstract out a web-framework | (iOrg) based on these GNU Emacs technologies. ` Source: http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/bugpile/ Unfortunately I did not find any usable documentation in the project (README is empty) and I have no idea how/if it can be related to org-debbugs in any way. As far as I recall, bugpile was a completely separate implementation of a bug tracker. Nothing to do with any existing ones. -- Suvayu Open source is the future. It sets us free.
Re: [O] org-debbugs.el
Nicolas Richard theonewiththeevill...@yahoo.fr writes: Hello Michael, Hi Nicolas, While trying your package, I noticed that C-h m would not work because of a misplaced docstring. Here's the patch (but I'm not sure I have the latest version, sorry if this is already fixed). Thanks. I've submitted a similar patch some days ago. Also, I heard recently on #org-mode about bugpile, which is an old (last updated more than a year ago) of Thorsten Jolitz and Eric Schulte. The doc says: , | The Bugpile project has two goals: | | Develop a bugtracker (called Bugpile) for GNU Emacs Org-mode, | using Elisp, Elnode, Org-mode, and a dVCS. | As part of the engineering process, abstract out a web-framework | (iOrg) based on these GNU Emacs technologies. ` Source: http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/bugpile/ No idea about the status either. However, org-debbugs has the advantage to access Emacs' bug tracking system, which is not listed above. I expect org related bugs arriving not only via `org-submit-bug-report', but also via `report-emacs-bug'. Anyway, if the org maintainers decide for another bug tracking system but debbugs, it would also be OK for me. It just decreases the priority of that package for me. Best regards, Michael.
Re: [O] org-debbugs.el
Michael Albinus michael.albi...@gmx.de writes: Hi Suvayu, I tried to test by looking for a specific bug. This is what I tried: - search phrase: emacsclient - submitter: fatkasuvayu (that is leading part of my email address) - status: done or nothing But then I get an empty *Org Bugs* buffer. Hmm, yes. But this seems to be a server side problem. I still have no idea why the submitter does not work. However, there are more attributes which could be used. I have added the author keyword to the `org-debbugs-search' interface. This gives you all bugs, for which you have sent an email with the given email address (or a substring of). Patch appended. Try - search phrase: emacsclient - author: fatkasuvayu Best regards, Michael. From 3c2ef9d8f8aa0da8dc0c2d8514a52b52ec36ed9b Mon Sep 17 00:00:00 2001 From: Michael Albinus michael.albi...@gmx.de Date: Fri, 4 Oct 2013 21:12:08 +0200 Subject: [PATCH] * org-debbugs.el (org-debbugs-search): Accept empty phrase. Add keyword author. (org-debbugs-show-next-reports): Make Next bugs an own entry. --- contrib/lisp/org-debbugs.el | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/contrib/lisp/org-debbugs.el b/contrib/lisp/org-debbugs.el index fe5430e..9ab805e 100644 --- a/contrib/lisp/org-debbugs.el +++ b/contrib/lisp/org-debbugs.el @@ -144,16 +144,14 @@ returned. ;; Check for the phrase. (setq phrase (read-string debbugs-gnu-phrase-prompt)) - (if (zerop (length phrase)) - (setq phrase nil) - (add-to-list 'debbugs-gnu-current-query (cons 'phrase phrase))) + (add-to-list 'debbugs-gnu-current-query (cons 'phrase phrase)) ;; The other queries. (catch :finished (while t (setq key (completing-read Enter attribute: - '(severity package tags submitter + '(severity package tags submitter author subject status) nil t)) (cond @@ -178,7 +176,8 @@ returned. (add-to-list 'debbugs-gnu-current-query (cons (intern key) val1 - ((equal key submitter) + ((member key '(submitter author)) + (when (equal key author) (setq key @author)) (setq val1 (read-string Enter email address: )) (when (not (zerop (length val1))) (add-to-list @@ -405,7 +404,7 @@ returned. (goto-char (point-max)) (insert (format - [[elisp:(org-debbugs-show-next-reports %s)][Next bugs]]\n + * [[elisp:(org-debbugs-show-next-reports %s)][Next bugs]]\n hits)) (defconst org-debbugs-mode-map -- 1.8.1.2
Re: [O] org-debbugs.el
Hi Michael, On Fri, Oct 04, 2013 at 09:19:27PM +0200, Michael Albinus wrote: Michael Albinus michael.albi...@gmx.de writes: Hi Suvayu, I tried to test by looking for a specific bug. This is what I tried: - search phrase: emacsclient - submitter: fatkasuvayu (that is leading part of my email address) - status: done or nothing But then I get an empty *Org Bugs* buffer. Hmm, yes. But this seems to be a server side problem. I still have no idea why the submitter does not work. However, there are more attributes which could be used. I have added the author keyword to the `org-debbugs-search' interface. This gives you all bugs, for which you have sent an email with the given email address (or a substring of). Patch appended. Try - search phrase: emacsclient - author: fatkasuvayu This works as you describe, thank you! Cheers, -- Suvayu Open source is the future. It sets us free.
Re: [O] org-debbugs.el
Michael Albinus michael.albi...@gmx.de writes: Hi, I have produced a very first shot of org-debbugs.el. It shows you bug reports from debbugs.gnu.org as TODO items. It needs the debbugs package from the GNU ELPA repository. Well, there hasn't been too much response for this. I have completed the work anyway. Maybe it is worth to say, that the package does not show org-mode bugs only. It could show any bug located on debbugs.gnu.org as TODO item. Compared with the first version, this package uses now tags similar to the proposal by Suvayu. It also shows archived bugs, if desired. There is a new minor mode org-debbugs-mode, which allows to send control messages directly to debbugs.gnu.org. This simplifies handling of bugs. There are also two new commands: `org-debbugs-search' allows full text search on debbugs.gnu.org. `org-debbugs-bugs' shows bugs according to their number. Read the Commentary section for details. If the org-mode maintainers find this package useful, it could be added to the contrib directory. A respective patch is appended. I'm pretty sure that org-mode aficionados could improve the handling of TODO items; I'm rather a rookie wrt org-mode. If there are questions wrt to the gnus.debbugs.org interface I'll be happy to help. Best regards, Michael. From 6f002a1da1835625cd7451da2aaa4699254a6372 Mon Sep 17 00:00:00 2001 From: Michael Albinus michael.albi...@gmx.de Date: Wed, 2 Oct 2013 09:28:50 +0200 Subject: [PATCH] Add org-debbugs.el. --- contrib/README | 1 + contrib/lisp/org-debbugs.el | 455 2 files changed, 456 insertions(+) create mode 100644 contrib/lisp/org-debbugs.el diff --git a/contrib/README b/contrib/README index bdbdb47..6aba0d6 100644 --- a/contrib/README +++ b/contrib/README @@ -22,6 +22,7 @@ org-collector.el --- Collect properties into tables org-colview-xemacs.el --- Column View in Org-mode, XEmacs-specific version org-contacts.el --- Contacts management org-contribdir.el--- Dummy file to mark the org contrib Lisp directory +org-debbugs.el --- Org-mode interface for the GNU bug tracker org-depend.el--- TODO dependencies for Org-mode org-drill.el --- Self-testing with org-learn org-element.el --- Parser and applications for Org syntax diff --git a/contrib/lisp/org-debbugs.el b/contrib/lisp/org-debbugs.el new file mode 100644 index 000..9c31b2b --- /dev/null +++ b/contrib/lisp/org-debbugs.el @@ -0,0 +1,455 @@ +;;; org-debbugs.el --- Org-mode interface for the GNU bug tracker + +;; Copyright (C) 2013 Free Software Foundation, Inc. + +;; Author: Michael Albinus michael.albi...@gmx.org +;; Keywords: comm, hypermedia, maint, outlines + +;; This file is not part of GNU Emacs. + +;; 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 Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program 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. If not, see http://www.gnu.org/licenses/. + +;;; Commentary: + +;; This package provides an interface to bug reports which are located +;; on the GNU bug tracker debbugs.gnu.org. Its main purpose is to +;; show and manipulate bug reports as org-mode TODO items. + +;; If you have `org-debbugs.el' in your load-path, you could enable +;; the bug tracker commands by the following lines in your ~/.emacs +;; +;; (autoload 'org-debbugs org-debbugs 'interactive) +;; (autoload 'org-debbugs-search org-debbugs 'interactive) +;; (autoload 'org-debbugs-bugs org-debbugs 'interactive) + +;; The bug tracker is called interactively by +;; +;; M-x org-debbugs + +;; It asks for the severities, for which bugs shall be shown. This can +;; be either just one severity, or a list of severities, separated by +;; comma. Valid severities are serious, important, normal, +;; minor or wishlist. Severities critical and grave are not +;; used, although configured on the GNU bug tracker. If no severity +;; is given, all bugs are selected. + +;; If a prefix is given to the command, more search parameters are +;; asked for, like packages (also a comma separated list, org-mode is +;; the default), or whether archived bugs shall be shown. + +;; Another command is +;; +;; M-x org-debbugs-search + +;; It behaves like `org-debbugs', but asks at the beginning for a +;; search phrase to be used for full text search. Additionally, it +;; asks for key-value pairs to filter bugs. Keys are as described in +;; `debbugs-get-status', the corresponding value must be a regular +;; expression
Re: [O] org-debbugs.el
Hi Michael, On Wed, Oct 02, 2013 at 09:46:08AM +0200, Michael Albinus wrote: Michael Albinus michael.albi...@gmx.de writes: Hi, I have produced a very first shot of org-debbugs.el. It shows you bug reports from debbugs.gnu.org as TODO items. It needs the debbugs package from the GNU ELPA repository. Well, there hasn't been too much response for this. I have completed the work anyway. Maybe it is worth to say, that the package does not show org-mode bugs only. It could show any bug located on debbugs.gnu.org as TODO item. I was wondering about the response myself. The traffic has been high lately, maybe people just overlooked. Compared with the first version, this package uses now tags similar to the proposal by Suvayu. It also shows archived bugs, if desired. There is a new minor mode org-debbugs-mode, which allows to send control messages directly to debbugs.gnu.org. This simplifies handling of bugs. There are also two new commands: `org-debbugs-search' allows full text search on debbugs.gnu.org. `org-debbugs-bugs' shows bugs according to their number. Read the Commentary section for details. I tried to test by looking for a specific bug. This is what I tried: - search phrase: emacsclient - submitter: fatkasuvayu (that is leading part of my email address) - status: done or nothing But then I get an empty *Org Bugs* buffer. I was expecting this: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15222 Calling org-debbugs-bugs with 15222 works great. A small problem though, calling org-debbugs-search or org-debbugs-bugs from an *Org Bugs* buffer gives me the following backtraces: Debugger entered--Lisp error: (wrong-type-argument keymapp Keymap for the `org-debbugs-mode' minor mode.) where-is-internal(org-debbugs-search nil t) execute-extended-command(nil org-debbugs-search) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) Debugger entered--Lisp error: (wrong-type-argument keymapp Keymap for the `org-debbugs-mode' minor mode.) where-is-internal(org-debbugs-bugs nil t) execute-extended-command(nil org-debbugs-bugs) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) If the org-mode maintainers find this package useful, it could be added to the contrib directory. A respective patch is appended. I'm pretty sure that org-mode aficionados could improve the handling of TODO items; I'm rather a rookie wrt org-mode. If there are questions wrt to the gnus.debbugs.org interface I'll be happy to help. I think this is a great addition to contrib. :) -- Suvayu Open source is the future. It sets us free.
Re: [O] org-debbugs.el
Suvayu Ali fatkasuvayu+li...@gmail.com writes: Hi Michael, Hi Suvayu, I tried to test by looking for a specific bug. This is what I tried: - search phrase: emacsclient - submitter: fatkasuvayu (that is leading part of my email address) - status: done or nothing But then I get an empty *Org Bugs* buffer. Hmm, yes. But this seems to be a server side problem. If you apply the same search via its web interface, you get the same empty result: http://debbugs.gnu.org/cgi/search.cgi?phrase=emacsclientsearch=searchskip=0attribute_field=submitterattribute_operator=STRINCattribute_value=fatkasuvayuorder_field=order_operator=STRAmax_results=10 I'll investigate. A small problem though, calling org-debbugs-search or org-debbugs-bugs from an *Org Bugs* buffer gives me the following backtraces: Oops. Fixed, patch appended. Best regards, Michael. From c0214b63bc7a5e532a1c0fe06ebe3bb50f1a9b49 Mon Sep 17 00:00:00 2001 From: Michael Albinus michael.albi...@gmx.de Date: Wed, 2 Oct 2013 13:36:20 +0200 Subject: [PATCH] * org-debbugs.el (org-debbugs-mode-map): Move docstring where it belongs to. --- contrib/lisp/org-debbugs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/org-debbugs.el b/contrib/lisp/org-debbugs.el index 9c31b2b..fe5430e 100644 --- a/contrib/lisp/org-debbugs.el +++ b/contrib/lisp/org-debbugs.el @@ -409,11 +409,11 @@ returned. hits)) (defconst org-debbugs-mode-map - Keymap for the `org-debbugs-mode' minor mode. (let ((map (make-sparse-keymap))) (define-key map (kbd C-c # c) 'debbugs-gnu-send-control-message) (define-key map (kbd C-c # d) 'debbugs-gnu-display-status) -map)) +map) + Keymap for the `org-debbugs-mode' minor mode.) ;; Make byte-compiler quiet. (defvar gnus-posting-styles) -- 1.8.1.2
Re: [O] org-debbugs.el
Michael Albinus michael.albi...@gmx.de writes: I tried to test by looking for a specific bug. This is what I tried: - search phrase: emacsclient - submitter: fatkasuvayu (that is leading part of my email address) - status: done or nothing But then I get an empty *Org Bugs* buffer. Hmm, yes. But this seems to be a server side problem. If you apply the same search via its web interface, you get the same empty result: http://debbugs.gnu.org/cgi/search.cgi?phrase=emacsclientsearch=searchskip=0attribute_field=submitterattribute_operator=STRINCattribute_value=fatkasuvayuorder_field=order_operator=STRAmax_results=10 I'll investigate. PS: You could bypass this restriction using the search phrase emacsclient AND fatkasuvayu (without quotes). Best regards, Michael.
Re: [O] org-debbugs.el
On Wed, Oct 02, 2013 at 01:44:36PM +0200, Michael Albinus wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: A small problem though, calling org-debbugs-search or org-debbugs-bugs from an *Org Bugs* buffer gives me the following backtraces: Oops. Fixed, patch appended. Problem fixed, confirmed :). -- Suvayu Open source is the future. It sets us free.
Re: [O] org-debbugs.el
On Wed, Oct 02, 2013 at 01:47:33PM +0200, Michael Albinus wrote: Michael Albinus michael.albi...@gmx.de writes: I tried to test by looking for a specific bug. This is what I tried: - search phrase: emacsclient - submitter: fatkasuvayu (that is leading part of my email address) - status: done or nothing But then I get an empty *Org Bugs* buffer. Hmm, yes. But this seems to be a server side problem. If you apply the same search via its web interface, you get the same empty result: http://debbugs.gnu.org/cgi/search.cgi?phrase=emacsclientsearch=searchskip=0attribute_field=submitterattribute_operator=STRINCattribute_value=fatkasuvayuorder_field=order_operator=STRAmax_results=10 I'll investigate. PS: You could bypass this restriction using the search phrase emacsclient AND fatkasuvayu (without quotes). Okay, this works as expected. :) -- Suvayu Open source is the future. It sets us free.
[O] org-debbugs.el
Hi, I have produced a very first shot of org-debbugs.el. It shows you bug reports from debbugs.gnu.org as TODO items. It needs the debbugs package from the GNU ELPA repository. If you want to try it, you could call (org-debbugs nil '(org-mode)) You will see a list of TODO items which belong to the org-mode bugs on debbugs.gnu.org. The last link of such an item, [[Messages]], shows you all corresponding messages for that bug. If you want to see a bulk of bug reports, call (org-debbugs '(serious important normal) '(emacs)) This returns much more bugs (from the emacs project), presented as chunk of 500 TODO items. If you follow the link at the very end of the buffer, you will get the next 500 items. And so on. You can call it also interactively, via M-x org-debbugs or C-u M-x org-debbugs. Have fun! Best regards, Michael. org-debbugs.el Description: application/emacs-lisp
Re: [O] org-debbugs.el
On Fri, Sep 27, 2013 at 09:28:00PM +0200, Michael Albinus wrote: Hi, I have produced a very first shot of org-debbugs.el. It shows you bug reports from debbugs.gnu.org as TODO items. It needs the debbugs package from the GNU ELPA repository. If you want to try it, you could call (org-debbugs nil '(org-mode)) You will see a list of TODO items which belong to the org-mode bugs on debbugs.gnu.org. The last link of such an item, [[Messages]], shows you all corresponding messages for that bug. If you want to see a bulk of bug reports, call (org-debbugs '(serious important normal) '(emacs)) This returns much more bugs (from the emacs project), presented as chunk of 500 TODO items. If you follow the link at the very end of the buffer, you will get the next 500 items. And so on. You can call it also interactively, via M-x org-debbugs or C-u M-x org-debbugs. Have fun! I did not do extensive testing, but from a quick look, absolutely amazing! This package should definitely go into contrib. Thanks a lot Michael. :) -- Suvayu Open source is the future. It sets us free.