unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kelly Dean <kellydeanch@yahoo.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 13146@debbugs.gnu.org
Subject: bug#13146: [PATCH] help-for-help interferes with buffer order, and displays help in too many windows
Date: Sun, 16 Dec 2012 03:58:02 -0800 (PST)	[thread overview]
Message-ID: <1355659082.79474.YahooMailClassic@web141101.mail.bf1.yahoo.com> (raw)
In-Reply-To: <1355252259.99571.YahooMailClassic@web141103.mail.bf1.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 154 bytes --]

> Can you provide a patch for this (using `pop-to-buffer'
> instead of
> `switch-to-buffer-other-window') and test it a bit?
Attached. Works fine for me.

[-- Attachment #2: helphelpbug.patch2 --]
[-- Type: application/octet-stream, Size: 502 bytes --]

--- emacs-24.2/lisp/help-macro.el	2012-08-23 14:33:42.000000000 +0900
+++ emacs-24.2/lisp/help-macro.el.new3	2012-12-16 20:33:13.803381751 +0900
@@ -130,7 +130,7 @@
 		   (when (or (eq char ??) (eq char help-char)
 			     (memq char help-event-list))
 		     (setq config (current-window-configuration))
-		     (switch-to-buffer-other-window "*Help*")
+		     (pop-to-buffer " *Metahelp*" nil t)
 		     (and (fboundp 'make-frame)
 			  (not (eq (window-frame (selected-window))
 				   prev-frame))

  parent reply	other threads:[~2012-12-16 11:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 18:57 bug#13146: [PATCH] help-for-help interferes with buffer order, and displays help in too many windows Kelly Dean
2012-12-12  9:42 ` martin rudalics
2012-12-13  8:12   ` Kelly Dean
2012-12-14 10:24     ` martin rudalics
2012-12-16 11:58 ` Kelly Dean [this message]
2012-12-17 13:38   ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1355659082.79474.YahooMailClassic@web141101.mail.bf1.yahoo.com \
    --to=kellydeanch@yahoo.com \
    --cc=13146@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).