[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Setting custom frame parameters for org remember frame

From: Bastien
Subject: Re: [Orgmode] Setting custom frame parameters for org remember frame
Date: Thu, 16 Jul 2009 21:43:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

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.


"Ryan C. Thompson" <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]