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: debbugs-0.10: two comments Date: Mon, 12 Sep 2016 15:08:11 +0900 (JST) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1473660618 27860 195.159.176.226 (12 Sep 2016 06:10:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2016 06:10:18 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Emacs developers To: michael.albinus@gmx.org, larsi@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 12 08:10:14 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 1bjKRX-0006TA-CR for ged-emacs-devel@m.gmane.org; Mon, 12 Sep 2016 08:10:11 +0200 Original-Received: from localhost ([::1]:40339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjKRV-0007un-EB for ged-emacs-devel@m.gmane.org; Mon, 12 Sep 2016 02:10:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjKQh-0007tS-F6 for emacs-devel@gnu.org; Mon, 12 Sep 2016 02:09:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjKQd-0001z6-7Z for emacs-devel@gnu.org; Mon, 12 Sep 2016 02:09:18 -0400 Original-Received: from mail-pf0-f180.google.com ([209.85.192.180]:35191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjKQd-0001yj-29 for emacs-devel@gnu.org; Mon, 12 Sep 2016 02:09:15 -0400 Original-Received: by mail-pf0-f180.google.com with SMTP id i75so8957108pfa.2 for ; Sun, 11 Sep 2016 23:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:user-agent:mime-version; bh=x+sflnSi/Hfi6TqIUd63VNn2xiHUehvdro0d6rj6GnA=; b=uU3/uG2JDNbhRwN8UokAEyprD/5oCA9JdLU4pMw0Ib4Snpm4mLLrN8O2QRNuMrM78J OKwCTVR7LjLTDvBsQP06+f80MAcSG28c4Rai6Xh2FEoqrp/RttPzNCWZmkIlizg96Ya1 ohlAvwjwTChkOWhNK3xG8pQaqpaNp9AnvDvGXMqkw5XWJflXcCKwpkNaNvzeeG3DXDF/ 0IBw/0Em7K2wheorUUzC9yDsLH5s+2wxClOMgPic3JhOVyKY/OiZLaPECHSHzu1+xEoN 6RbEhzz06Aq8mhbfXsQ7KMDRo+B2vj+TmIaBBoejj5qHF2wXF+zwGhzIhFWzQ5pMPmcQ bD6A== 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:message-id:user-agent :mime-version; bh=x+sflnSi/Hfi6TqIUd63VNn2xiHUehvdro0d6rj6GnA=; b=XMQ76jSSoZ0l3tfVDB0zqOWLZCCtJ0of+oC1tzmMesY2Wd8Aj5M8w1BxBvS4FCxpsp jT58IDuEryJQWDO6OOEA5JQ4v6/mFayzUIrQ+nuhSW1wwu1GTpfHINueN3eD/B7Mvla4 kI/XpDpKnd0x67JGc9jCUJKyuzXPJ4ameugbvrqIp2hjqdzlpKnkmY5UT9E4BQ0m5+c5 LkLTPOlTRo+yiHx0wRCix6q9BG83M8mo8BZ2ZP7bF/5x2DPqJ2JuPaxFhfbujvNHmXB5 9iTAX9e0nwDGbxmJRB/JB/Pi03RCJ2FoISg1sJTPFCUTRjaZKGd2Wv/AQjmf6r9QeBwi WoCg== X-Gm-Message-State: AE9vXwPdVCo7rg1RNt0QLVQJkmz+bm5cLuj8NXcRTZOs+DmKQ4qWr3FJ/uWz906DZsE7AA== X-Received: by 10.98.192.21 with SMTP id x21mr30296232pff.32.1473660494397; Sun, 11 Sep 2016 23:08:14 -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 p187sm21263158pfb.5.2016.09.11.23.08.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Sep 2016 23:08:14 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.180 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:207373 Archived-At: Dear Lars and Michael: I) Several commands use following internal variables: debbugs-gnu-trunk-directory debbugs-gnu-branch-directory debbugs-gnu-current-directory Shouldn't be options instead? Or, at least, an user should be asked for their values when their default values don't work. For instance, command `debbugs-gnu-find-contributor' fails because `debbugs-gnu-current-directory' has default value nil. 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. Regards, Tino