[Top][All Lists]

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

[Orgmode] Setting custom frame parameters for org remember frame

From: Ryan C. Thompson
Subject: [Orgmode] Setting custom frame parameters for org remember frame
Date: Fri, 03 Jul 2009 14:20:40 -0400
User-agent: Thunderbird (X11/20090608)

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

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]