From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77338 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: debbugs.el Date: Fri, 25 Feb 2011 11:55:59 +0100 Message-ID: <87zkpkmlhc.fsf@gmx.de> References: <8762sa9770.fsf@gmx.de> <87pqqibr30.fsf@stupidchicken.com> <87mxllambw.fsf@marauder.physik.uni-ulm.de> <87vd093bwn.fsf@gmx.de> <877hcpknff.fsf@tochka.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298631409 29887 80.91.229.12 (25 Feb 2011 10:56:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Feb 2011 10:56:49 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org To: "Evgeny M. Zubok" Original-X-From: ding-owner+M25663@lists.math.uh.edu Fri Feb 25 11:56:45 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PsvLn-0006fO-1I for ding-account@gmane.org; Fri, 25 Feb 2011 11:56:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PsvLN-0001gu-76; Fri, 25 Feb 2011 04:56:17 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PsvLK-0001ga-Nx for ding@lists.math.uh.edu; Fri, 25 Feb 2011 04:56:14 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PsvLI-0003um-QP for ding@lists.math.uh.edu; Fri, 25 Feb 2011 04:56:14 -0600 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by quimby.gnus.org with smtp (Exim 4.72) (envelope-from ) id 1PsvLH-0002Z4-NU for ding@gnus.org; Fri, 25 Feb 2011 11:56:11 +0100 Original-Received: (qmail invoked by alias); 25 Feb 2011 10:56:05 -0000 Original-Received: from p57BB91D5.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.145.213] by mail.gmx.net (mp047) with SMTP; 25 Feb 2011 11:56:05 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19S4c0rKPFSrX62/L/sGY877bp0i/F/k4116+KrG/ Fz++mEmmjslsMJ In-Reply-To: <877hcpknff.fsf@tochka.ru> (Evgeny M. Zubok's message of "Fri, 25 Feb 2011 02:44:36 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1730--4339h-0s--0d--H*u:Emacs, 0.000-1662--4168h-0s--0d--H*u:Gnus, 0.000-1603--4020h-0s--0d--H*u:linux, 0.000-1603--4020h-0s--0d--H*UA:linux, 0.000-1544--3874h-0s--0d--H*u:gnu Spam tokens: 0.998-22476--201h-272726s--0d--UD:ru, 0.855-104--1462h-18830s--0d--shall Autolearn status: no 0.0 FREEMAIL_FROM Sender email is freemail (michael.albinus[at]gmx.de) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, low trust [213.165.64.23 listed in list.dnswl.org] 2.3 FSL_RU_URL URI: FSL_RU_URL -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77338 gmane.emacs.devel:136497 Archived-At: "Evgeny M. Zubok" writes: Hi Evgeny, >> 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. debian-el is intended for Debian GNU/Linux based distributions. Only a minority(?) of Emacs users use it. >> 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 That includes both frontend and backend. For better exploitation, debbugs.el is intended to offer backend functionality only, it does not care about any UI. > I didn't use the SOAP to request the bug logs because Debbugs/SOAP won't > send the attachments. Indeed. However, an empty "attachment" attribute is returned; it might be just a question of implementing it server side. > 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). This is useful when the frontend is something related to email display/reply. It might also have a better performance than the SOAP based retrieval (I haven't checked). Maybe both alternatives for message retrieval shall be offered by the backend. > 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. :) That's how I also started mid of 2009. Last year, I switched to soap-client.el (recently added to Emacs' trunk). My code is much less ugly now. I've also written a frontend similar to what you have done, but it is based on widgets instead of outline mode. Like yours, it is unfinished. > I want to start hacking again and hope to finish it some day. :) Let's do it together. We could merge the backend functionality into debbugs.el, and continue to work on the different frontends. As I have said already, I would also be interested in an nnir integration. And I believe also, that the debbugs SOAP interface should be improved. From my todo list: ;; * SOAP interface extensions (wishlist). ;; - Server-side sorting. ;; - Regexp and/or wildcards search. ;; - Fulltext search. Best regards, Michael.