unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* debbugs-0.10: two comments
@ 2016-09-12  6:08 Tino Calancha
  2016-09-12  7:05 ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Tino Calancha @ 2016-09-12  6:08 UTC (permalink / raw)
  To: michael.albinus, larsi; +Cc: Emacs developers


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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-09-23 13:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-12  6:08 debbugs-0.10: two comments Tino Calancha
2016-09-12  7:05 ` 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

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).