From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonas Bernoulli Subject: [PATCH 0/2] Orgpan: resize correct window Date: Sat, 27 Oct 2012 22:07:11 +0200 Message-ID: <1351368433-4558-1-git-send-email-jonas@bernoul.li> References: <87lifnn089.fsf@bernoul.li> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSCg3-0002MC-8y for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 16:08:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSCg2-0000SM-DZ for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 16:08:15 -0400 Received: from mail-ea0-f169.google.com ([209.85.215.169]:48647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSCg2-0000SI-6j for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 16:08:14 -0400 Received: by mail-ea0-f169.google.com with SMTP id k11so1458870eaa.0 for ; Sat, 27 Oct 2012 13:08:13 -0700 (PDT) In-Reply-To: <87lifnn089.fsf@bernoul.li> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Jonas Bernoulli , lennart.borgman@gmail.com Teach orgpan-panel to resize the correct window; that is the newly created panel window instead of the document window. I only tested this with Emacs-24.2.1. There are a few other outstanding issues: - search prompts in the minibuffer but selects the document window - orgpan-panel-buttons:=t causes an error - indentation is strange I must say I am not really interested in fixing these myself. I marked both changes as TINYCHANGE because that's what I think they are. Doesn't matter whether you disagree, I signed the fsf papers for "Emacs" this spring anyway. @Bastien: Of course I used git-format-patch to create the patch (git-refilter-branch was a "typo")... Thanks for the tip about git-send-email - I did not know about that command, and it appears most blog posts on the subject neglect mentioning it in addition to format-patch. I should not have assumed that message-mode would either know how to correctly handle the patches/messages created by format-patch or otherwise fail completely (instead of sending a corrupted message). Jonas Bernoulli (2): Orgpan: resize the correct window Orgpan: quiet byte-compiler contrib/lisp/org-panel.el | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) -- 1.8.0.rc3.331.g5b9a629