all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-devel@gnu.org
Subject: Bug querying implementation for report-emacs-bug
Date: Sat, 20 Nov 2010 12:57:30 +0100	[thread overview]
Message-ID: <87zkt4fbrp.fsf@member.fsf.org> (raw)

Hi all,

I've just pushed a first implementation for an existing bug querying
mechanism to query the bugs database for existing bugs given a few
keywords (r102443).  Eventually, that should become the first thing a
user has to do when she wants to report a bug using M-x
report-emacs-bug.

Right now, it's not yet integrated with that function, but you can
test-drive the querying stuff like that:

  1. M-x report-emacs-bug-query-existing-bugs RET next-line RET

  2. A buffer *Existing Emacs Bugs* will show up presenting all bugs
     that match the keywords given above.  I use the widget library, so
     that one can easily chose an existing bug with a combo box thing.
     For each existing bug, clicking its URL will fire up a browser to
     the web interface.

     One annoyance here is that only active url-link widget can be
     clicked.  That's my first use of emacs widgets, so maybe someone
     can fix that.  (There's a FIXME in the code).

  3. Finally, the user has the choice to append his report to an
     existing bug, report a new one, or quit the reporting procedure (in
     case she found out, that the bug is known, and she cannot provide
     additional information).

     Except the quitting, there're no actual implementations for the
     former two actions.  But basically, that has only to set the right
     email address for the report, i.e., the usual address for new
     reports and the address including the bug number for appending to
     existing reports.

It all seems to work pretty well, except that the querying on the server
side is somehow a bit, well, sloppy.  For example, when I search for
"column", I can find some bugs including

  #971 [n|  |  ] [emacs] 23.0.60; next-line, previous-line and
   goal-column

When I search for "next-line previous-line goal-column" (without the
quotes), I find *nothing*...

When I search for "next-line, previous-line and goal-column" I get 4
bugs again.

Why does that comma and the "and" make any difference?

Bye,
Tassilo



             reply	other threads:[~2010-11-20 11:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-20 11:57 Tassilo Horn [this message]
2010-11-20 12:37 ` Bug querying implementation for report-emacs-bug Eli Zaretskii
2010-11-20 12:44   ` Tassilo Horn

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

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

  git send-email \
    --in-reply-to=87zkt4fbrp.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=emacs-devel@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.