From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Create org split agenda view, problems with differnt agendas in split windows? Date: Sat, 2 Jul 2016 16:33:04 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140c28898a9d10536a724ca Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJL2g-0007kU-Sw for emacs-orgmode@gnu.org; Sat, 02 Jul 2016 09:33:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJL2f-0001oM-Vz for emacs-orgmode@gnu.org; Sat, 02 Jul 2016 09:33:06 -0400 Received: from mail-yw0-x22b.google.com ([2607:f8b0:4002:c05::22b]:33424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJL2f-0001np-Rw for emacs-orgmode@gnu.org; Sat, 02 Jul 2016 09:33:05 -0400 Received: by mail-yw0-x22b.google.com with SMTP id v77so8946917ywg.0 for ; Sat, 02 Jul 2016 06:33:05 -0700 (PDT) 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" To: org mode --001a1140c28898a9d10536a724ca Content-Type: text/plain; charset=UTF-8 Hi I have written this crappy code to save a split orgmode agenda views with different agenda views. (defun z/buffers-restore-agenda-split () (interactive) (org-agenda nil "a") (split-window-right) (org-agenda nil "ba") (split-window-below) (org-agenda nil "bb") ) the function does split the windows correctly yet all the views get the last option ("bb") instead of a different view in each window any clue why this happens? thx! Z --001a1140c28898a9d10536a724ca Content-Type: text/html; charset=UTF-8

Hi

I have written this crappy code to save a split orgmode agenda views with different agenda views.

(defun z/buffers-restore-agenda-split   ()
 (interactive)    
 (org-agenda nil "a")
 (split-window-right)
 (org-agenda nil "ba")
 (split-window-below)
 (org-agenda nil "bb")
 )

the function does split the windows correctly yet all the views get the last option ("bb") instead of a different view in each window

any clue why this happens?


thx!


Z

--001a1140c28898a9d10536a724ca--