emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Ryan C. Thompson" <rct2c@virginia.edu>
To: emacs-orgmode@gnu.org
Subject: Setting custom frame parameters for org remember frame
Date: Fri, 03 Jul 2009 14:20:40 -0400	[thread overview]
Message-ID: <4A4E4BF8.3020001@virginia.edu> (raw)

I am using org-remember set to open a new frame when used, and the 
default frame size is much too large. To fix this, I have designed some 
advice and a custom variable to implement custom parameters for the 
remember frame:

(defcustom remember-frame-alist nil
  "Additional frame parameters for dedicated remember frame."
  :type 'alist
  :group 'remember)

(defadvice remember (around remember-frame-parameters activate)
  "Set some frame parameters for the remember frame."
  (let ((default-frame-alist (append remember-frame-alist 
default-frame-alist)))
    ad-do-it))

I have set remember-frame-alist to
((width . 80) (height . 15))

which gives me a reasonable-sized frame, and provides and easy way to 
change it later.

             reply	other threads:[~2009-07-03 18:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-03 18:20 Ryan C. Thompson [this message]
2009-07-16 19:43 ` Setting custom frame parameters for org remember frame Bastien
  -- strict thread matches above, loose matches on Subject: below --
2009-07-03 18:47 Ryan C. Thompson

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=4A4E4BF8.3020001@virginia.edu \
    --to=rct2c@virginia.edu \
    --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).