From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#17554: 24.3.91; [Regression] re-usage of dired *Marked Files* buffer window Date: Fri, 06 Jun 2014 02:48:50 +0300 Organization: JURTA Message-ID: <87k38u52o5.fsf@mail.jurta.org> References: <22309.78500.835208.21374@gargle.gargle.HOWL> <44983.87719.904757.21374@gargle.gargle.HOWL> <537EF7A7.8040608@gmx.at> <87ioowmb9v.fsf@mail.jurta.org> <8738fu51ld.fsf@mail.jurta.org> <5541.86351.568913.21381@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402013010 14076 80.91.229.3 (6 Jun 2014 00:03:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2014 00:03:30 +0000 (UTC) Cc: 17554@debbugs.gnu.org To: "Roland Winkler" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 06 02:03: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 1Wshcv-0003OG-Rc for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jun 2014 02:03:21 +0200 Original-Received: from localhost ([::1]:44331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wshcv-0006u0-FR for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 20:03:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wshck-0006mM-50 for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 20:03:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wshcc-0000PJ-Ku for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 20:03:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wshcc-0000P5-IA for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 20:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wshcb-0002yt-Py for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 20:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Jun 2014 00:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17554 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17554-submit@debbugs.gnu.org id=B17554.140201293811387 (code B ref 17554); Fri, 06 Jun 2014 00:03:01 +0000 Original-Received: (at 17554) by debbugs.gnu.org; 6 Jun 2014 00:02:18 +0000 Original-Received: from localhost ([127.0.0.1]:46278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wshbt-0002xa-PH for submit@debbugs.gnu.org; Thu, 05 Jun 2014 20:02:18 -0400 Original-Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:53391 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wshbs-0002xT-16 for 17554@debbugs.gnu.org; Thu, 05 Jun 2014 20:02:16 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 4EEF136B8B52D2; Thu, 5 Jun 2014 17:02:14 -0700 (PDT) In-Reply-To: <5541.86351.568913.21381@gargle.gargle.HOWL> (Roland Winkler's message of "Tue, 27 May 2014 17:45:57 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (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:90094 Archived-At: >> A good placement of the *Completions* buffer can be achieved by using: >> >> (add-to-list 'display-buffer-alist '("\\*Completions\\*" >> display-buffer-at-bottom (nil))) >> >> It works in Dired as well with different window configurations. > > This displays the *Completions* buffer at the bottom, whereas 24.3 > puts it above the *Marked Files* buffer. I have no strong > preferences with this. I expect either way is fine. The *Completions* buffer is displayed by `internal-temp-output-buffer-show', so adding a new action `display-buffer-at-bottom' to it would affect many other unrelated commands besides completion commands. To modify the behavior of only *Completions* we need to add it to display-buffer-alist that will be non-empty by default: === modified file 'lisp/simple.el' --- lisp/simple.el 2014-06-02 00:18:22 +0000 +++ lisp/simple.el 2014-06-05 23:43:17 +0000 @@ -7300,6 +7300,9 @@ (defun switch-to-completions () ;; FIXME: Perhaps this should be done in `minibuffer-completion-help'. (when (bobp) (next-completion 1))))) + +(add-to-list 'display-buffer-alist '("\\*Completions\\*" display-buffer-at-bottom (nil))) + ;;; Support keyboard commands to turn on various modifiers.