emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastienguerry@googlemail.com>
To: "Ryan C. Thompson" <rct2c@virginia.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Setting custom frame parameters for org remember frame
Date: Thu, 16 Jul 2009 21:43:01 +0200	[thread overview]
Message-ID: <87ljmo9zy2.fsf@bzg.ath.cx> (raw)
In-Reply-To: <4A4E4BF8.3020001@virginia.edu> (Ryan C. Thompson's message of "Fri, 03 Jul 2009 14:20:40 -0400")

Hi Ryan,

I have added this tip to org-hacks on Worg.  If you want to contribute
directly just send me the username you use on http://repo.or.cz.

Thanks!

"Ryan C. Thompson" <rct2c@virginia.edu> writes:

> 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.

-- 
 Bastien

  reply	other threads:[~2009-07-16 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-03 18:20 Setting custom frame parameters for org remember frame Ryan C. Thompson
2009-07-16 19:43 ` Bastien [this message]
  -- 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=87ljmo9zy2.fsf@bzg.ath.cx \
    --to=bastienguerry@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rct2c@virginia.edu \
    /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).