From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: debbugs-0.10: two comments Date: Mon, 12 Sep 2016 16:24:00 +0900 (JST) Message-ID: References: <8737l5sin0.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1473665165 32407 195.159.176.226 (12 Sep 2016 07:26:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2016 07:26:05 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: larsi@gnus.org, Emacs developers , Tino Calancha To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 12 09:25:57 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjLcj-0006m1-Ae for ged-emacs-devel@m.gmane.org; Mon, 12 Sep 2016 09:25:49 +0200 Original-Received: from localhost ([::1]:40878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjLch-000163-8Z for ged-emacs-devel@m.gmane.org; Mon, 12 Sep 2016 03:25:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjLc5-000149-RO for emacs-devel@gnu.org; Mon, 12 Sep 2016 03:25:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjLc0-0002IS-ML for emacs-devel@gnu.org; Mon, 12 Sep 2016 03:25:09 -0400 Original-Received: from mail-pa0-f65.google.com ([209.85.220.65]:36566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjLc0-0002IE-H9 for emacs-devel@gnu.org; Mon, 12 Sep 2016 03:25:04 -0400 Original-Received: by mail-pa0-f65.google.com with SMTP id p2so1169058pap.3 for ; Mon, 12 Sep 2016 00:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=6MYrxC1lKg7lEVTchv4JeZPtb95zWFU01yjcvy2vAzU=; b=mbw+CGo47jpT95xKBkW8MldojA8ZYmXQZONeEScRmfK5wIluGNt8mFC52s7JfyySma foXJdqQSQHtzZ4btTacGZZqcOCMB4KVbnbzpTcbHD5C9uJBy+DzAhuFjQgExfTwnZmib s0ADJDZ5NcXwMH7DRy8Yh0KeR1P9Jnr7yCHIFdo3s0S0vtj8GobZTmVar69X5HLQ5sLc bhyK3t+N8diHb4jNxPUwV+kgw9OdzT6jRuJz5TRz+MDTJL0l3WItcaAwzwh29LK2tDgq RBg2d3KuDiSCA8XGXE8oUsb9rMEY6GGSj+9RGXICfoH0oHIijVjD/wdWRObN5jGSNJwd 6hqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=6MYrxC1lKg7lEVTchv4JeZPtb95zWFU01yjcvy2vAzU=; b=jAaTL0OelShlom7tyXXxlOezNHsVAKzAYz5rvIK5TVsZlOGfi/xcJ7kccK5+FpE1q8 SEEB3J4Hn8zqF1kYLQmsy8nKjnaLEWoqVUgLaE8mVqEL/mBZ2SjgEAshytWxiDDxrc51 lSiVgOmJRvsNx+3n39NfMAFbEd0l874amqKAkTP4OTlacyuQnZxCf3AVimTHH0zWuY00 ZrN75eqoNKZC1F9SoQI+NQ9JZCCs8EzXUmP8vPiOI+GOflmmplE3Cet0rsHGGV6gKdsr fzL0nwx0IHYZOYc6rpL7GTm9Yi1xEAHEGi6ZpIBqkW1WwnH2O+icgBl1i/EbCF+Va35G 87Ew== X-Gm-Message-State: AE9vXwMsDn926aLA9+/vA9ca471NVcBk3sC4S+Sx+e9umvmQmYQGzG7QwrgNI72zr4jkYw== X-Received: by 10.66.161.132 with SMTP id xs4mr30796245pab.140.1473665043945; Mon, 12 Sep 2016 00:24:03 -0700 (PDT) Original-Received: from calancha-pc (57.92.100.220.dy.bbexcite.jp. [220.100.92.57]) by smtp.gmail.com with ESMTPSA id f11sm21915377pfe.1.2016.09.12.00.24.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Sep 2016 00:24:03 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <8737l5sin0.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.65 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207377 Archived-At: On Mon, 12 Sep 2016, Michael Albinus wrote: > [My email address is @gmx.de] Opps, that explain that i got one e-mail with the following: Delivery to the following recipient failed permanently: michael.albinus@gmx.org >> Dear Lars and Michael: > I agree, debbugs-gnu-trunk-directory and debbugs-gnu-branch-directory > should be user options. Will change. Thank you very much. > debbugs-gnu-current-directory is the internal working horse, not needed > to be exposed outside. > > In debbugs-gnu-apply-patch, it will be checked already whether this is > set properly. If not, the directory name is requested > interactively. Shall be done in other functions as well; I'll change > this. Thanks also for this. >> II) >> Most of the time i am interested in the newest bugs. I have defined >> following command in my .emacs: >> (defun mydebbugs-gnu-latest-bugs (&optional num) >> "List latest NUM bugs. >> If NUM is nil, then show the latest 10 bugs." >> (interactive (list (read-number "How many bugs: " 10))) >> (apply 'debbugs-gnu-bugs (debbugs-newest-bugs (or num 10)))) >> >> Maybe is useful to have a command like this in debbugs-gnu.el; >> possibly with a different default value for NUM. > > I have already plans to extend debbugs-gnu-bugs and debbugs-org-bugs. > Currently, they allow only list of bug numbers, like "100,200,300" etc. > I want to allow also ranges, like "100-200,300-400" and so on. A special > range "-10" could mean then "the last 10 bugs". This shall fit your needs. That sounds great! Maybe worth to provide the command for latest bugs with a nice default. It is handy not having to write in the minibuffer the range for this: just RET to accept the default value is very pleasant. > Will do both next days as time permits. Great! Thank you very much.