From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jakub Jankiewicz Newsgroups: gmane.emacs.bugs Subject: bug#17048: switch-to-buffer function show killed buffers names Date: Thu, 20 Mar 2014 16:13:46 +0100 Message-ID: <20140320161346.3b7e1e87@jcubic> References: <20140320121001.14c43fa4@jcubic> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/_V9wMmuGasphO84alGnJ2ou"; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1395328454 29649 80.91.229.3 (20 Mar 2014 15:14:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2014 15:14:14 +0000 (UTC) Cc: 17048@debbugs.gnu.org To: Stefan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 20 16:14:23 2014 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 1WQefi-0001Cs-3Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Mar 2014 16:14:18 +0100 Original-Received: from localhost ([::1]:47575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQefh-0000TD-Lq for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Mar 2014 11:14:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQefZ-0000SK-Jk for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2014 11:14:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQefT-0005kY-3K for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2014 11:14:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQefS-0005kP-P8 for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2014 11:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WQefS-0000O7-5R for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2014 11:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jakub Jankiewicz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Mar 2014 15:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17048 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17048-submit@debbugs.gnu.org id=B17048.13953284351464 (code B ref 17048); Thu, 20 Mar 2014 15:14:02 +0000 Original-Received: (at 17048) by debbugs.gnu.org; 20 Mar 2014 15:13:55 +0000 Original-Received: from localhost ([127.0.0.1]:42421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WQefK-0000NX-QL for submit@debbugs.gnu.org; Thu, 20 Mar 2014 11:13:55 -0400 Original-Received: from smtpo15.poczta.onet.pl ([213.180.142.146]:55554) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WQefI-0000NJ-0W for 17048@debbugs.gnu.org; Thu, 20 Mar 2014 11:13:53 -0400 Original-Received: from jcubic (aml36.neoplus.adsl.tpnet.pl [83.26.67.36]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jcubic@onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3fqWq121HDzZ2HHG; Thu, 20 Mar 2014 16:13:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onet.pl; s=2011; t=1395328430; bh=+MoQ7+JSfp8YwGh55XThe4wxSeE0rHUmVeOhIxRRp3k=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: Mime-Version:Content-Type; b=UH+NLrZWoBiiNbaNa/sEVqcK0+IcwH0mHZR1jzVsE5cr8JYiPJSDgSTqcl4K+PXcn CoqnDowcFVRrs792pN+EBtJNtihIB939QB1IsbAAO8YhjTvcg+c/UN9CvL67leg+ZP XAU6YO9Kh+xbFNbGqaoPSUvmHAchwxpxGhorY0aM= In-Reply-To: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.20; x86_64-pc-linux-gnu) 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: 140.186.70.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:87028 Archived-At: --Sig_/_V9wMmuGasphO84alGnJ2ou Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 20 Mar 2014 10:16:43 -0400 Stefan wrote: > retitle 17048 minibuffer history should filter out impossible entries > thanks >=20 > > When I call switch-to-buffer function and then when I ress up/d= own > > arrows the list show buffers that I've kill, even that when I press Tab > > that buffers don't show on the list. >=20 > Yes, that's because up/down make you go through the history of what > you've entered. >=20 > I actually agree that when the completion is "must-match", it would make > sense of the history commands to skip entries that don't match one of > the current possible answers. Tho it can be convenient to do to > get the previous killed buffer name, and then tweak it a little, when > killing many buffers with similar names (typically hidden buffers used > for things like Tramp connections ;-). Yes it's history, I think this fix the bug (but only for buffer names) (add-hook 'kill-buffer-hook (lambda () (setq buffer-name-history (delete (buffer-name) buffer-name-history)))) -- Jakub Jankiewicz, Web Developer http://jcubic.pl --Sig_/_V9wMmuGasphO84alGnJ2ou Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBAgAGBQJTKwWqAAoJEKWO5vEx+DATkVUH/R4g2ghqR87Js1E57X47X5Sc Vbf+FXP5+iAIqcdfIYC4mTw5U34AlinMTMZD8+AyvL3jT5n6XpWwgPy1jynaFyvG j8fJ0fJUYXsk/qSK5vSSMktLA7lv7rsnBBINGFc2ZLAzA+DpDmKhKhlEuVr/RTsU hJ/pRILnWbSMXvMV7fMBwZBgLgRIQbCLtfpyKjFUaV4JSaSxHS3UGUCj8f/oCLZ8 us4M2XqOXuUtuiYqkrTiklP+N5Dh6MgMWbWNW0gpF2HhvgtTVlSxHYLep7Wc3Fco PTsKvKS58Ae+NO687lZjrQBsf9FZqb+me38nfRBsT0rRSBfpG+wJW2rOQRaPzPg= =qrBr -----END PGP SIGNATURE----- --Sig_/_V9wMmuGasphO84alGnJ2ou--