From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#21396: 25.0.50; read-key's prompt is not visible Date: Thu, 03 Sep 2015 20:36:40 +0200 Message-ID: <874mjbgxjb.fsf@gnu.org> References: <87wpw91h2k.fsf@gnu.org> <87egifgzog.fsf@gnu.org> <83egif9y7z.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441305444 17850 80.91.229.3 (3 Sep 2015 18:37:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 18:37:24 +0000 (UTC) Cc: 21396@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 03 20:37:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXZNo-0000yQ-7o for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Sep 2015 20:37:12 +0200 Original-Received: from localhost ([::1]:51055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZNo-0004eQ-1G for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Sep 2015 14:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZNj-0004Zu-42 for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXZNe-0000Tx-4V for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:37:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZNe-0000Tk-1k for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZXZNd-00014v-UN for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Sep 2015 18:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21396 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21396-submit@debbugs.gnu.org id=B21396.14413054084118 (code B ref 21396); Thu, 03 Sep 2015 18:37:01 +0000 Original-Received: (at 21396) by debbugs.gnu.org; 3 Sep 2015 18:36:48 +0000 Original-Received: from localhost ([127.0.0.1]:47901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXZNP-00014L-Pj for submit@debbugs.gnu.org; Thu, 03 Sep 2015 14:36:48 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33842) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXZNM-00014B-NF for 21396@debbugs.gnu.org; Thu, 03 Sep 2015 14:36:45 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 10FAD23460 for <21396@debbugs.gnu.org>; Thu, 3 Sep 2015 14:36:44 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 03 Sep 2015 14:36:44 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=jkZLYbj3K+9d9wnNYNZ/24hZM7U=; b=LwH1X bfTiiZPL5t08B4/fHjZAVXX9US4RtkZ4o1wkUhOCBDIJTNS2LlLHnkRsNQMeQiGU IwZUmvh2j4Dbf7K2shjl16Y+lVeMVdRu1ObnerSQJsCuYeaulEp+x/bUqqsm5zfa foBhVF8Lip67TvIJ1tBWTQ0en8aFm0w48UkO8Y= X-Sasl-enc: Vds439zt3w0195GPmkhoWlUPB7sBuFHr5f1vR1GWmZsj 1441305403 Original-Received: from thinkpad-t440p (unknown [2.160.253.220]) by mail.messagingengine.com (Postfix) with ESMTPA id D9CCF6800EB; Thu, 3 Sep 2015 14:36:42 -0400 (EDT) In-Reply-To: <83egif9y7z.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 Sep 2015 21:03:44 +0300") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106121 Archived-At: Eli Zaretskii writes: >> > Putting me in the Cc was more trouble than >> > anything else: it means I get *your* message instead of the one from >> > Debbugs, so I don't get to know the bug-number and a naive reply would >> > end up creating a new bug-nb! >> > [ Tho, IIRC Glenn(?) added some Message-ID matching to Debbugs to try >> > and catch those cases. So maybe it's not that bad. ] >> > >> > Better either not put the person in the Cc (in case you expect/know the >> > person subscribes to bug-gnu-emacs), or else use "X-Debbugs-Cc:" which >> > instructs Debbugs to add the person to the Cc of the messages it sends out. >> >> Oh, thanks for the pointer. Do you think it would be a good idea to >> remap `message-goto-cc' to a similar function which goes to (and thereby >> creates) the X-Debbugs-Cc header? I think it's generally a good idea to >> notify the person who introduced some problem, and Cc-ing seems to be >> the obvious way to do that. > > Please don't bother about this. The problem Stefan was worried about > doesn't exist, AFAIK. Maybe the double-bug issue doesn't exist but it's a fact that the Cc-receiver doesn't get to know the bug number automatically, and that's really annoying. The X-Debbugs-Cc would solve that, and the following patch is easy enough, no? --8<---------------cut here---------------start------------->8--- diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index f54893f..82d8e74 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -143,6 +143,12 @@ This requires either the OS X \"open\" command, or the freedesktop (defvar message-send-mail-function) (defvar message-sendmail-envelope-from) +(defun report-emacs-bug-message-goto-x-debbugs-cc () + "Move point to the X-Debbugs-Cc header." + (interactive) + (push-mark) + (message-position-on-field "X-Debbugs-Cc" "To")) + ;;;###autoload (defun report-emacs-bug (topic &optional unused) "Report a bug in GNU Emacs. @@ -319,6 +325,8 @@ usually do not have translators for other languages.\n\n"))) ;; This is so the user has to type something in order to send easily. (use-local-map (nconc (make-sparse-keymap) (current-local-map))) (define-key (current-local-map) "\C-c\C-i" 'info-emacs-bug) + (define-key (current-local-map) [remap message-goto-cc] + #'report-emacs-bug-message-goto-x-debbugs-cc) (if can-insert-mail (define-key (current-local-map) "\C-c\M-i" 'report-emacs-bug-insert-to-mailer)) --8<---------------cut here---------------end--------------->8--- Bye, Tassilo