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

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

M-x apropos should switch to its output buffer.


From: Steve Kemp
Subject: M-x apropos should switch to its output buffer.
Date: 12 Dec 2001 02:18:22 -0800

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 21.1.1 (i386-msvc-nt5.0.2195)
 of 2001-10-22 on VISTULA
configured using `configure --with-msvc (12.00) --no-opt'
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: ENU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

  I think that `apropos' should set the focus to its output buffer
 after running - as this is almost always what is desired anyway.

  1. emacs -q --no-init-file

  2. M-x apropos

  3  Enter "apropos"

  4  The window splits, showing "*scratch*" in the top half, and the
     output from the apropos command in the bottom half.

  The first thing that you typically have to do to look at the
 documentation is to switch buffers (C-x o) - so it seems sensible
 to make apropos set the focus to its output window.

  The patch below is one way of doing this:

Steve
---

*** apropos.el-orig     Wed Dec 12 10:11:21 2001
--- apropos.el  Wed Dec 12 10:11:57 2001
***************
*** 361,367 ****
        (setq p (cdr p))))
    (apropos-print
     (or do-all apropos-do-all)
!    nil))


  ;;;###autoload
--- 361,368 ----
        (setq p (cdr p))))
    (apropos-print
     (or do-all apropos-do-all)
!    nil)
!   (pop-to-buffer (get-buffer-create "*Apropos*")))


  ;;;###autoload



reply via email to

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