unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: michael.albinus@gmx.org, larsi@gnus.org
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: debbugs-0.10: two comments
Date: Mon, 12 Sep 2016 15:08:11 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1609121501430.24468@calancha-pc> (raw)


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



             reply	other threads:[~2016-09-12  6:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-12  6:08 Tino Calancha [this message]
2016-09-12  7:05 ` debbugs-0.10: two comments Michael Albinus
2016-09-12  7:24   ` Tino Calancha
2016-09-12  7:32     ` Michael Albinus
2016-09-12  7:46       ` Tino Calancha
2016-09-13 12:06   ` Michael Albinus
2016-09-23  7:42     ` debbugs-0.10: doc fixes Tino Calancha
2016-09-23 12:40       ` Michael Albinus
2016-09-23 13:14         ` Tino Calancha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1609121501430.24468@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=michael.albinus@gmx.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).