emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

debbugs-0.10: two comments


From: Tino Calancha
Subject: debbugs-0.10: two comments
Date: Mon, 12 Sep 2016 15:08:11 +0900 (JST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)


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 via email to

[Prev in Thread] Current Thread [Next in Thread]