From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Gorbik Subject: Re: Tag setting mode creates two additional windows Date: Thu, 15 May 2014 04:18:15 -0700 Message-ID: <9F77CC73-78C1-446F-AC4C-29A309328364@me.com> 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> <87r43vqqep.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary_(ID_rNgZg7++dC/o/TzeMiOxXw)" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wktg8-0000ol-3U for Emacs-orgmode@gnu.org; Thu, 15 May 2014 07:18:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wktg3-0001WC-F9 for Emacs-orgmode@gnu.org; Thu, 15 May 2014 07:18:24 -0400 In-reply-to: <87r43vqqep.fsf@bzg.ath.cx> 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: Bastien Cc: Emacs-orgmode@gnu.org --Boundary_(ID_rNgZg7++dC/o/TzeMiOxXw) Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: quoted-printable This one didn=92t work, I modified it like this to make it work: --Boundary_(ID_rNgZg7++dC/o/TzeMiOxXw) Content-type: application/octet-stream; x-unix-mode=0644; name=tags-split-windows.patch Content-transfer-encoding: 7bit Content-disposition: attachment; filename=tags-split-windows.patch diff --git a/lisp/org.el b/lisp/org.el index 2661686..5fcacb0 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -14877,8 +14877,8 @@ 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) - (org-switch-to-buffer-other-window (get-buffer-create " *Org tags*"))) + (set-window-buffer (split-window-vertically) (get-buffer-create " *Org tags*")) + (org-switch-to-buffer-other-window " *Org tags*")) (erase-buffer) (org-set-local 'org-done-keywords done-keywords) (org-fast-tag-insert "Inherited" inherited i-face "\n") --Boundary_(ID_rNgZg7++dC/o/TzeMiOxXw) Content-type: text/plain; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Dima On May 15, 2014, at 3:37 AM, Bastien wrote: > 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? > > > -- > Bastien --Boundary_(ID_rNgZg7++dC/o/TzeMiOxXw)--