From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kelly Dean Newsgroups: gmane.emacs.bugs Subject: bug#13146: [PATCH] help-for-help interferes with buffer order, and displays help in too many windows Date: Tue, 11 Dec 2012 10:57:39 -0800 (PST) Message-ID: <1355252259.99571.YahooMailClassic@web141103.mail.bf1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-1369625431-2000891178-1355252259=:99571" X-Trace: ger.gmane.org 1355252314 12471 80.91.229.3 (11 Dec 2012 18:58:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 18:58:34 +0000 (UTC) To: 13146@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 11 19:58:48 2012 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 1TiV2R-0005hR-Nu for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 19:58:43 +0100 Original-Received: from localhost ([::1]:38438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiV2E-0006lo-RJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 13:58:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiV26-0006le-IT for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 13:58:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiV23-0005SF-TL for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 13:58:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiV23-0005SB-Q4 for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 13:58:19 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TiV2j-00073h-QQ for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 13:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kelly Dean Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Dec 2012 18:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13146 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135525231927102 (code B ref -1); Tue, 11 Dec 2012 18:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Dec 2012 18:58:39 +0000 Original-Received: from localhost ([127.0.0.1]:37484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiV2M-000733-Fn for submit@debbugs.gnu.org; Tue, 11 Dec 2012 13:58:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53264) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiV2K-00072w-5J for submit@debbugs.gnu.org; Tue, 11 Dec 2012 13:58:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiV1a-0005Oa-Cj for submit@debbugs.gnu.org; Tue, 11 Dec 2012 13:57:54 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:48014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiV1a-0005OV-9S for submit@debbugs.gnu.org; Tue, 11 Dec 2012 13:57:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiV1W-0006kE-Kc for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 13:57:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiV1Q-0005Lo-WD for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 13:57:46 -0500 Original-Received: from nm6.bullet.mail.bf1.yahoo.com ([98.139.212.165]:21627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiV1Q-0005Lg-QC for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 13:57:40 -0500 Original-Received: from [98.139.215.140] by nm6.bullet.mail.bf1.yahoo.com with NNFMP; 11 Dec 2012 18:57:40 -0000 Original-Received: from [98.139.212.242] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 11 Dec 2012 18:57:40 -0000 Original-Received: from [127.0.0.1] by omp1051.mail.bf1.yahoo.com with NNFMP; 11 Dec 2012 18:57:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 4257.34669.bm@omp1051.mail.bf1.yahoo.com Original-Received: (qmail 1132 invoked by uid 60001); 11 Dec 2012 18:57:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1355252259; bh=TOhjGYqpsUQ6NvEDooCNEp0F369cuou1/jUxrljlp94=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=cIVSb8eElAV+2BtH5s1k/REFR1fRDPsQPp8fFwpGsLWWx3v07PEHXiFKxcQvdiFtyqGedM/6KEiqTBZYJq9M2wTBxFZCkB6PDX7Qq/JmJx6sGbjDQ3jL/msGABlBSSRQQ7CQuR1gGvGgbetbqUqpz69VJvBMUZjmXpQa8hDscHs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=gioN8Y2ARIQkyaZUbKw3lTryABLXJWPpSvz243eO8h/AozokZQCfuV5T3GN/PKspgC8Ut0TgcJ0gRcmeeiYZNnBLPgdJXie5iNxfGQw8fiEH9Jiso796cTzTpFsJvnjt6zoZzW0NxzK1oZ0FLjV9peaXwImfDdyMOYXT5uv92eQ=; X-YMail-OSG: NZtOaDQVM1kyoDh.EYaa0HAtpUj3zX_rVjIUqUmj8z_TMBH 6ToxPuBSoV00wvcCfcY5tV4ZSFICPbo5APuYGVm4Tksk9eEqjO7oVMkVNzTo D46zUglQvya3RBjdYKGBapBbfCnO_m9kzcAW3DyIX6jaoOqOD.mx6KuYKipH XwH63L0e9uuyaQnMLKGkROeiEGszJp6oNpJnoOq4Twtq42bU4F9z6nHhdYGl 3UQTQIe_0_V8JryOEbfYrfdhsJR9yQlHoJsFaeYjl1c6wqjlORhdLTMSImGJ M54vlQjOxpo.LkkW_V7wIcF_f25depsNczHsqQBd1jP1irMJpiDwtUukk3ec Dik8TsxApxjZ.4PwVhoet698v0ZGEKxTdrfv_A8s_t8ZS0djlY1rbJXz0KSl Xx4kQ5nbJwiPQc8e2sa8A0LeFzUcwP.wo3eRGnf4YV9zb2fTgZdBfpw-- Original-Received: from [80.237.226.75] by web141103.mail.bf1.yahoo.com via HTTP; Tue, 11 Dec 2012 10:57:39 PST X-Rocket-MIMEInfo: 001.001, SW4gMjQuMiwgZG8gZW1hY3MgLVEsIHRoZW4KTS14IHNwbGl0LXdpbmRvdyBSRVQgQy14IGIgZm9vIFJFVCBDLXggYiBiYXIgUkVUIEMtaCBDLWggQy1nIEMteCBiCkl0IGRlZmF1bHRzIHRvICpIZWxwKiwgYnV0IGl0IHNob3VsZCBkZWZhdWx0IHRvIGZvbzsgdHJhbnNpZW50bHkgZGlzcGxheWluZyBoZWxwLWZvci1oZWxwIHNob3VsZG4ndCBtb2RpZnkgdGhlIGJ1ZmZlciBvcmRlci4KCk5vdyBkbyBDLWcgQy1oIGYgbWFyayBSRVQgQy14IG8gQy1oIEMtaApJdCBzaG93cyB0aGUgaGVscC1mb3ItaGVscCBwYWcBMAEBAQE- X-Mailer: YahooMailClassic/15.1.1 YahooMailWebService/0.8.128.478 X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:68336 Archived-At: ---1369625431-2000891178-1355252259=:99571 Content-Type: text/plain; charset=us-ascii In 24.2, do emacs -Q, then M-x split-window RET C-x b foo RET C-x b bar RET C-h C-h C-g C-x b It defaults to *Help*, but it should default to foo; transiently displaying help-for-help shouldn't modify the buffer order. Now do C-g C-h f mark RET C-x o C-h C-h It shows the help-for-help page in both windows, but it should show it in only one. The attached helphelpbug.patch fixes both problems. I'm not bothering to submit separate reports for the two since it's a one-line patch. ---1369625431-2000891178-1355252259=:99571 Content-Type: text/x-diff; name="helphelpbug.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="helphelpbug.patch" LS0tIGVtYWNzLTI0LjIvbGlzcC9oZWxwLW1hY3JvLmVsCisrKyBlbWFjcy0y NC4yL2xpc3AvaGVscC1tYWNyby5lbApAQCAtMTMwLDcgKzEzMCw3IEBACiAJ CSAgICh3aGVuIChvciAoZXEgY2hhciA/PykgKGVxIGNoYXIgaGVscC1jaGFy KQogCQkJICAgICAobWVtcSBjaGFyIGhlbHAtZXZlbnQtbGlzdCkpCiAJCSAg ICAgKHNldHEgY29uZmlnIChjdXJyZW50LXdpbmRvdy1jb25maWd1cmF0aW9u KSkKLQkJICAgICAoc3dpdGNoLXRvLWJ1ZmZlci1vdGhlci13aW5kb3cgIipI ZWxwKiIpCisJCSAgICAgKGlmIChub3QgKGVxdWFsIChidWZmZXItbmFtZSkg IipIZWxwKiIpKSAoc3dpdGNoLXRvLWJ1ZmZlci1vdGhlci13aW5kb3cgIipI ZWxwKiIgdCkpCiAJCSAgICAgKGFuZCAoZmJvdW5kcCAnbWFrZS1mcmFtZSkK IAkJCSAgKG5vdCAoZXEgKHdpbmRvdy1mcmFtZSAoc2VsZWN0ZWQtd2luZG93 KSkKIAkJCQkgICBwcmV2LWZyYW1lKSkK ---1369625431-2000891178-1355252259=:99571--