From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77304 Path: news.gmane.org!not-for-mail From: "Evgeny M. Zubok" Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: debbugs.el Date: Fri, 25 Feb 2011 02:44:36 +0300 Message-ID: <877hcpknff.fsf@tochka.ru> References: <8762sa9770.fsf@gmx.de> <87pqqibr30.fsf@stupidchicken.com> <87mxllambw.fsf@marauder.physik.uni-ulm.de> <87vd093bwn.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1298592199 21800 80.91.229.12 (25 Feb 2011 00:03:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Feb 2011 00:03:19 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 25 01:03:13 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Psl9M-0006MS-QP for ged-emacs-devel@m.gmane.org; Fri, 25 Feb 2011 01:03:13 +0100 Original-Received: from localhost ([127.0.0.1]:44508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pskwt-00034Z-Ui for ged-emacs-devel@m.gmane.org; Thu, 24 Feb 2011 18:50:20 -0500 Original-Received: from [140.186.70.92] (port=38344 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pskwi-00033Q-U8 for emacs-devel@gnu.org; Thu, 24 Feb 2011 18:50:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pskwh-0006UD-Eb for emacs-devel@gnu.org; Thu, 24 Feb 2011 18:50:08 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:40964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pskwh-0006Tz-3F for emacs-devel@gnu.org; Thu, 24 Feb 2011 18:50:07 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pskwf-00012M-KQ for emacs-devel@gnu.org; Fri, 25 Feb 2011 00:50:05 +0100 Original-Received: from 91.79.155.248 ([91.79.155.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Feb 2011 00:50:05 +0100 Original-Received: from evgeny.zubok by 91.79.155.248 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Feb 2011 00:50:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.devel Original-Lines: 45 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91.79.155.248 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:wfZi09iOI0H/wQGYmneyYYUr5wk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136459 gmane.emacs.gnus.general:77304 Archived-At: Michael Albinus writes: > That was my motivation writing debbugs.el. I've also started an nnir > integration, but I failed badly due to missing gnus knowledge. There is debian-el package in Debian repository. It is also the suitable place to push debbugs.el into. debian-el has a number of useful features: you can file a bug with (debian-bug), fill the tags in the mail body, compose control messages for control@bugs.debian.org (debian-bts-control), download mbox with log of selected bug number, view this mbox in Gnus as a tree (debian-bug-get-bug-as-email), reply to someone. > OTOH, the debbugs SOAP interface is poor, there are only very basic > information one could retrieve, and there is no "activiation" function > (changing whatever for a bug). So it might be better, we first make a > prototype implementation integrating it with nnir etc, before adding it > to Emacs core. For this purpose, it might be sufficient to bring it to > elpa (or gnus) for a while. I made an attempt to create Emacs interface to Debbugs/SOAP year ago. I've wrote a simple SOAP client library in Emacs Lisp. By using this library my debbugs-mode requested for a bug list (filtered by different parameters: package, severity, tags, etc.) along with the status information for every bug. Bug reports are grouped by severity, sorted by bug number and displayed in outline-mode (folding/unfolding out of a box). One year old screenshot: http://s006.radikal.ru/i214/1001/d1/08ef5f85246e.png I didn't use the SOAP to request the bug logs because Debbugs/SOAP won't send the attachments. When I hit RET against the bug entry, the maintainer's mbox for selected bug is downloaded. mbox can be opened either in Gnus or in RMAIL. I used the latter to be neutral to the users of different mail programs: Gnus, Wunderlust, etc. Any message from the log can be replied with your favourite mail program (Gnus in my case). My work can be viewed as early technical preview; it has many dirty hacks (hardcoded XML namespaces in SOAP client library is the most simple example), bugs. The code is ugly, I was in hurry to make the mode work. That's because it's not published yet. :) I want to start hacking again and hope to finish it some day. :)