From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ryan C. Thompson" Subject: Setting custom frame parameters for org remember frame Date: Fri, 03 Jul 2009 14:20:40 -0400 Message-ID: <4A4E4BF8.3020001@virginia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMnNS-0001zh-KR for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:20:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMnNN-0001zT-9M for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:20:49 -0400 Received: from [199.232.76.173] (port=57268 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMnNM-0001zN-Vv for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:20:45 -0400 Received: from fork7.mail.virginia.edu ([128.143.2.177]:13789) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMnNM-0003mT-Ms for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:20:44 -0400 Received: from localhost (localhost [127.0.0.1]) by fork7.mail.virginia.edu (Postfix) with ESMTP id F099A1F5161 for ; Fri, 3 Jul 2009 14:20:42 -0400 (EDT) Received: from fork7.mail.virginia.edu ([127.0.0.1]) by localhost (fork7.mail.virginia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07639-10 for ; Fri, 3 Jul 2009 14:20:42 -0400 (EDT) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.221.175]) by fork7.mail.virginia.edu (Postfix) with ESMTP id CF57A1F50D5 for ; Fri, 3 Jul 2009 14:20:42 -0400 (EDT) Received: by qyk5 with SMTP id 5so32549qyk.8 for ; Fri, 03 Jul 2009 11:20:42 -0700 (PDT) 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: emacs-orgmode@gnu.org 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.