From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EDx6NNkyOF+wBwAA0tVLHw (envelope-from ) for ; Sat, 15 Aug 2020 19:09:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +KUEMNkyOF8PPAAAbx9fmQ (envelope-from ) for ; Sat, 15 Aug 2020 19:09:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1472D9402C8 for ; Sat, 15 Aug 2020 19:09:12 +0000 (UTC) Received: from localhost ([::1]:58248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k71YF-0004MV-HR for larch@yhetil.org; Sat, 15 Aug 2020 15:09:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k71Xo-0004MB-Pr for emacs-orgmode@gnu.org; Sat, 15 Aug 2020 15:08:45 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:41175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k71Xm-0005tq-FI for emacs-orgmode@gnu.org; Sat, 15 Aug 2020 15:08:44 -0400 Received: by mail-lj1-x22c.google.com with SMTP id f26so13274552ljc.8 for ; Sat, 15 Aug 2020 12:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:date:from:to:subject:in-reply-to:references:user-agent :message-id; bh=kXDX9mRGy2OUYsw+4EID+I4YPs+eJ/mlNlBv9XXvSOw=; b=nt7vWZV5wpMwPaVWSPoFJYou+ww4KtI2H2yiNdRtgkmSoXDyKhZqlAG4YEoAllY8kl 6Vfn9qEgmKDwW2XHl+UTp43qoKqLHrhr5CNG45ElkO9tJo/W3eiCd5NicKwZIr1sevL7 Ae4pKBMCL0ASCQHUcaYZywGcKJfvVJbFafPeNBaiJtFmUQxLi6wn1U/rsFxTuPIw9nFV jXxAEj5B0h6ZkBtAkOuO4XWDcL2AgWVS9iT6MifuyhDXhytz1aXAssE8N3+K402mvSzw zJE1UheoXkNX2LGgkGzxHxRCivCnP4t7853A1rX2mwCYWHN/rXW6M3K4eJWxn6ARWxQq MsCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:from:to:subject:in-reply-to :references:user-agent:message-id; bh=kXDX9mRGy2OUYsw+4EID+I4YPs+eJ/mlNlBv9XXvSOw=; b=g5Oj0B51Wf6XjhLYMAvXiAxCNM9+3blKwSgRigzdvzZMvFimd7umi0Dag1G61GbJSp xtIbxgu1x1BUVrT2ANxGCP0c6iFsjiAivi67dM4yCfbv534S9DsTbuCWo54eP2XTZnFC hSgRpbm2C34QchZ/pdJRyZmIAOL5Rh5jQ54ljPu90pdN2uLpXE0hH/jBtKrPhPYRci7Q MnMXMtKlnCfkI7iNHRwjTEQtU9uOwDwa3JOK/tYmu4tvo/GXRvMakDaFqAH7ftIi9qG0 biyFI1sYaUkguuxeKAoDKdyUxRKePpQMFfwgdh+0NLYIbCntIEUB2FB8xxemLyus2lnD ku7g== X-Gm-Message-State: AOAM533EWcv4x0WInNkLJlrc9XQGzgWKxKCP7sq4F/Xcv6x6gsRKYaza vW99I1hgh6pfUBB7+HvKSfEmOz9gCEI= X-Google-Smtp-Source: ABdhPJx/Zpl2Ssf60wuVEDYDllTNrocPT9oQZmBDLlZaBOltrgsYptQGkCVeSLlH1S5WnBz87bh1Zw== X-Received: by 2002:a2e:d19:: with SMTP id 25mr3657038ljn.217.1597518519347; Sat, 15 Aug 2020 12:08:39 -0700 (PDT) Received: from m.g.s.chen.ac (cm-84.214.37.116.getinternet.no. [84.214.37.116]) by smtp.gmail.com with ESMTPSA id n29sm2802613lfi.9.2020.08.15.12.08.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Aug 2020 12:08:38 -0700 (PDT) MIME-Version: 1.0 Date: Sat, 15 Aug 2020 19:10:31 +0000 From: =?UTF-8?Q?Xianwen_Chen_=28=E9=99=88=E8=B4=A4=E6=96=87=29?= To: emacs-orgmode@gnu.org Subject: Re: window setup that works with org-agenda In-Reply-To: <87bljeobdm.fsf@ucl.ac.uk> References: <87bljeobdm.fsf@ucl.ac.uk> User-Agent: Roundcube Webmail/1.4.6 Message-ID: <54922288b5ccf6f291370af1e9402db6@gmail.com> X-Sender: xianwen.chen@gmail.com Content-Type: multipart/alternative; boundary="=_6a6e6b7d9dd789ce97f4ffc6935c15fc" Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=xianwen.chen@gmail.com; helo=mail-lj1-x22c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=nt7vWZV5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: 7YHXXh1LAvrK --=_6a6e6b7d9dd789ce97f4ffc6935c15fc Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Dear Professor Fraga, Thank you very much! I set in ~/.emacs that (setq org-agenda-window-setup "current-window") It works beautifully! Yours sincerely, Xianwen On 2020-08-13 14:42, Eric S Fraga wrote: > On Thursday, 13 Aug 2020 at 13:33, Xianwen Chen (้™ˆ่ดคๆ–‡) wrote: > >> I would like to receive tips regarding how to permanently set up the >> window layout that I have on my mind. The layout has three windows. > > Have a look at this variable which may provide what you want: > > ,----[ C-h v org-agenda-window-setup RET ] > | org-agenda-window-setup is a variable defined in 'org-agenda.el'. > | Its value is 'other-frame' > | Original value was 'reorganize-frame' > | > | You can customize this variable. > | > | Documentation: > | How the agenda buffer should be displayed. > | Possible values for this option are: > | > | current-window Show agenda in the current window, keeping all other windows. > | other-window Use 'switch-to-buffer-other-window' to display agenda. > | only-window Show agenda, deleting all other windows. > | reorganize-frame Show only two windows on the current frame, the current > | window and the agenda. > | other-frame Use 'switch-to-buffer-other-frame' to display agenda. > | Also, when exiting the agenda, kill that frame. > | See also the variable 'org-agenda-restore-windows-after-quit'. > `---- > > I have a new frame popup when I ask for an agenda view, leaving the > window setup for the original frame untouched. --=_6a6e6b7d9dd789ce97f4ffc6935c15fc Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Dear Professor Fraga,

Thank you very much! I set in ~/.emacs that

(setq org-agenda-window-setup "current-window")

It works beautifully!

Yours sincerely,

Xianwen

 


On 2020-08-13 14:42, Eric S Fraga wrote:

= On Thursday, 13 Aug 2020 at 13:33, Xianwen Chen (=E9=99=88=E8=B4=A4=E6=96= =87) wrote:
I would like to receive tips regarding how to permanen= tly set up the
window layout that I have on my mind. The layout has th= ree windows.

Have a look at this variable which may provide what you want:
,----[ C-h v org-agenda-window-setup RET ]
| org-agenda-window-set= up is a variable defined in ‘org-agenda.el’.
| Its value i= s ‘other-frame’
| Original value was ‘reorganize-fra= me’
|
|   You can customize this variable.
= |
| Documentation:
| How the agenda buffer should be displayed= =2E
| Possible values for this option are:
|
| current-wind= ow    Show agenda in the current window, keeping all other w= indows.
| other-window      Use ‘switch= -to-buffer-other-window’ to display agenda.
| only-window  =      Show agenda, deleting all other windows.
| reorganize-frame  Show only two windows on the current frame, the c= urrent
|           &= nbsp;       window and the agenda.
= | other-frame       Use ‘switch-to-buff= er-other-frame’ to display agenda.
|     &nb= sp;            =  Also, when exiting the agenda, kill that frame.
| See also the v= ariable ‘org-agenda-restore-windows-after-quit’.
`----

I have a new frame popup when I ask for an agenda view, leaving the=
window setup for the original frame untouched.
--=_6a6e6b7d9dd789ce97f4ffc6935c15fc--