From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#5130: 23.1.50; Re: BibTeX completion via completion-in-region Date: Sat, 5 Dec 2009 17:49:36 -0600 Message-ID: <19226.61840.196851.975946@regnitz.physics.niu.edu> References: <19225.59404.211849.447292@regnitz.physics.niu.edu> Reply-To: Roland Winkler , 5130@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1260058075 32715 80.91.229.12 (6 Dec 2009 00:07:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 00:07:55 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 06 01:07:48 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NH4f4-0000GR-0u for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Dec 2009 01:07:38 +0100 Original-Received: from localhost ([127.0.0.1]:60101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH4f3-0001EG-Sp for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 19:07:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NH4ez-0001EA-MA for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 19:07:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NH4ev-0001Da-8B for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 19:07:33 -0500 Original-Received: from [199.232.76.173] (port=37816 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH4eu-0001DX-WC for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 19:07:29 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33391) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NH4eu-0004zU-MV for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 19:07:28 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB607Pnb021032; Sat, 5 Dec 2009 16:07:26 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB5Nt6qS019029; Sat, 5 Dec 2009 15:55:06 -0800 Resent-Date: Sat, 5 Dec 2009 15:55:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Roland Winkler" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 05 Dec 2009 23:55:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 5130 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.126005698518366 (code B ref -1); Sat, 05 Dec 2009 23:55:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 5 Dec 2009 23:49:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5Nnh3W018362 for ; Sat, 5 Dec 2009 15:49:45 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:46883) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NH4Nj-00036o-De for emacs-pretest-bug@gnu.org; Sat, 05 Dec 2009 18:49:43 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NH4Ni-0003zz-Ce for emacs-pretest-bug@gnu.org; Sat, 05 Dec 2009 18:49:43 -0500 Original-Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]:11781) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NH4Ni-0003zt-0m for emacs-pretest-bug@gnu.org; Sat, 05 Dec 2009 18:49:42 -0500 Original-Received: from regnitz.physics.niu.edu (adsl-68-77-29-3.dsl.emhril.ameritech.net [68.77.29.3]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 7CE042145A; Sun, 6 Dec 2009 00:49:39 +0100 (CET) In-Reply-To: X-Mailer: VM 8.2 trial under 23.1.50.1 (i686-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 05 Dec 2009 19:07:33 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33298 gmane.emacs.pretest.bugs:25284 Archived-At: Recently (2009-12-03) Stefan changed bibtex-complete-internal so that now it uses completion-in-region. This results in the following problem (as discussed already on emacs-devel): On Sat Dec 5 2009 Stefan Monnier wrote: > > - The return value of bibtex-complete-internal is used by > > bibtex-complete-string-cleanup which displays the expansion of the > > BibTeX string. Yet now this message can be hidden by the `Sole > > completion' message issued by minibuffer-complete. Here I am > > actually not sure what would be the best solution. I like the > > message that tells me the expansion of the BibTeX string (I cannot > > and will never be able to remember their meanings...). But I also > > understand that a "Sole completion' message can be helpful. And I > > know for sure that I am annoyed when one of these message is > > delayed by the other. > > That's a problem, indeed. Please bug-report it. A solution would be that BibTeX mode could set minibuffer-message-timeout to 0 so that minibuffer-message does not display its message. Instead bibtex-complete-string-cleanup could display in one message the expansion of the BibTeX string and whether this string was a "sole completion" or a "complete, but not unique" completion. Roland