bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: comint-dynamic-list-input-ring should be dedicated


From: Christoph Conrad
Subject: Re: comint-dynamic-list-input-ring should be dedicated
Date: Mon, 10 Dec 2001 19:41:27 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-msvc-nt4.0.1381)

In GNU Emacs 21.1.1 (i386-msvc-nt4.0.1381)
 of 2001-10-23 on CLI119
configured using `configure --with-msvc (12.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: DEU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: nil

Hi,

* emacs -q --no-site-file
* M-x shell
* C-c C-l
* Change to input history window
* choose an entry

The buffer in the second window (input history) is buried cause it's
not dedicated (i hope this is a correct interpretation...) and the
frame contains two windows after choosing the completion. This would
be ok if the second window would contain the input history, but it
contains the buffer which was revealed executing bury-buffer.

I see two acceptable behaviours, which could be made alternativly
available with an user option:

* the input window stays open as is, but the window content (the input
  history) also remains like it would be dedicated to the window. In
  contrast to a dedicated window the point should be in the shell
  window like it is now.

* the input history window is closed (deleted) after choosing a
  selection.

(BTW: a not extensively tested workaround which affects all completion
windows is (for me):

(defadvice choose-completion( around choose-completion-close act )
  "-cc- 12.10.2001"
  (let ((ow (selected-window)))
    ad-do-it
    (when (and (window-live-p ow)        ; must be visible
               (not (one-window-p ow)))  ; not the only window
      (delete-window ow))))
) 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]