From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Setting custom frame parameters for org remember frame Date: Thu, 16 Jul 2009 21:43:01 +0200 Message-ID: <87ljmo9zy2.fsf@bzg.ath.cx> References: <4A4E4BF8.3020001@virginia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRWrK-0003z6-Km for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 15:43:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRWrF-0003xB-To for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 15:43:14 -0400 Received: from [199.232.76.173] (port=46945 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRWrF-0003x6-Pb for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 15:43:09 -0400 Received: from rv-out-0708.google.com ([209.85.198.247]:25811) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRWrF-0004zg-8i for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 15:43:09 -0400 Received: by rv-out-0708.google.com with SMTP id f25so118510rvb.6 for ; Thu, 16 Jul 2009 12:43:08 -0700 (PDT) In-Reply-To: <4A4E4BF8.3020001@virginia.edu> (Ryan C. Thompson's message of "Fri, 03 Jul 2009 14:20:40 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Ryan C. Thompson" Cc: emacs-orgmode@gnu.org 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" 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