* Setting custom frame parameters for org remember frame
@ 2009-07-03 18:20 Ryan C. Thompson
2009-07-16 19:43 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Ryan C. Thompson @ 2009-07-03 18:20 UTC (permalink / raw
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Setting custom frame parameters for org remember frame
@ 2009-07-03 18:47 Ryan C. Thompson
0 siblings, 0 replies; 3+ messages in thread
From: Ryan C. Thompson @ 2009-07-03 18:47 UTC (permalink / raw
To: emacs-orgmode
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.
(I accidentally sent this from the wrong address before. Admins, please
delete/ignore the other one.)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Setting custom frame parameters for org remember frame
2009-07-03 18:20 Setting custom frame parameters for org remember frame Ryan C. Thompson
@ 2009-07-16 19:43 ` Bastien
0 siblings, 0 replies; 3+ messages in thread
From: Bastien @ 2009-07-16 19:43 UTC (permalink / raw
To: Ryan C. Thompson; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-16 19:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-03 18:20 Setting custom frame parameters for org remember frame Ryan C. Thompson
2009-07-16 19:43 ` Bastien
-- strict thread matches above, loose matches on Subject: below --
2009-07-03 18:47 Ryan C. Thompson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.