From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Tag setting mode creates two additional windows Date: Thu, 15 May 2014 12:37:02 +0200 Message-ID: <87r43vqqep.fsf@bzg.ath.cx> References: <4ED38743-F298-4747-8ADD-C8B89E5A59BE@me.com> <87siobv2nb.fsf@bzg.ath.cx> <87k39ntlzh.fsf@bzg.ath.cx> <97FB7B6A-15F3-428F-B089-954BB25A5732@me.com> <5A3EA4F1-206A-4690-B652-32C1EC93D7FD@me.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkt2E-0004hF-7q for Emacs-orgmode@gnu.org; Thu, 15 May 2014 06:37:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wkt2A-0002dQ-5u for Emacs-orgmode@gnu.org; Thu, 15 May 2014 06:37:10 -0400 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:38232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkt29-0002dI-V4 for Emacs-orgmode@gnu.org; Thu, 15 May 2014 06:37:06 -0400 Received: by mail-we0-f175.google.com with SMTP id t61so862494wes.34 for ; Thu, 15 May 2014 03:37:05 -0700 (PDT) In-Reply-To: <5A3EA4F1-206A-4690-B652-32C1EC93D7FD@me.com> (Dmitry Gorbik's message of "Thu, 15 May 2014 03:04:42 -0700") 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: Dmitry Gorbik Cc: Emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Dmitry Gorbik writes: > I have found interesting email threads related to exactly same issue. > But it looks like it was fixed since then, not sure why it reproduces > for me again: > > http://lists.gnu.org/archive/html/emacs-orgmode/2010-12/msg00443.html > http://article.gmane.org/gmane.emacs.orgmode/34802 Can you try the attached patch against the master's HEAD? --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=split-window.patch diff --git a/lisp/org.el b/lisp/org.el index 2661686..06c2b56 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -14877,7 +14877,7 @@ Returns the new tags string, or nil to not change the current settings." (if expert (set-buffer (get-buffer-create " *Org tags*")) (delete-other-windows) - (split-window-vertically) + (set-window-buffer (split-window-vertically) " *Org tags*") (org-switch-to-buffer-other-window (get-buffer-create " *Org tags*"))) (erase-buffer) (org-set-local 'org-done-keywords done-keywords) --=-=-= Content-Type: text/plain -- Bastien --=-=-=--