emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Xianwen Chen (陈贤文)" <xianwen.chen@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: window setup that works with org-agenda
Date: Sat, 15 Aug 2020 19:10:31 +0000	[thread overview]
Message-ID: <54922288b5ccf6f291370af1e9402db6@gmail.com> (raw)
In-Reply-To: <87bljeobdm.fsf@ucl.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 2552 bytes --]

      reply	other threads:[~2020-08-15 19:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-13 13:02 Xianwen Chen (陈贤文)
2020-08-13 13:33 ` Xianwen Chen (陈贤文)
2020-08-13 14:42   ` Eric S Fraga
2020-08-15 19:10     ` Xianwen Chen (陈贤文) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54922288b5ccf6f291370af1e9402db6@gmail.com \
    --to=xianwen.chen@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).