From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Deva Newsgroups: gmane.emacs.help Subject: Re: fit-frame every time i open a file Date: Mon, 15 Oct 2007 21:23:43 +0300 Message-ID: <4C1E5B52-22E6-4423-B1DE-2CCFDC134CEE@indigenious.ro> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192476569 22818 80.91.229.12 (15 Oct 2007 19:29:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2007 19:29:29 +0000 (UTC) Cc: Peter Dyballa , Help-gnu-emacs@gnu.org To: "Drew Adams" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 21:29:19 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IhUbx-00069v-FN for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 20:24:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhUbq-0000sS-FS for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 14:24:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhUba-0000rv-KF for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 14:23:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhUbY-0000rZ-N8 for Help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 14:23:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhUbY-0000rW-HM for Help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 14:23:52 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhUbY-0001mn-6j for Help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 14:23:52 -0400 Original-Received: by nf-out-0910.google.com with SMTP id f5so1459946nfh for ; Mon, 15 Oct 2007 11:23:50 -0700 (PDT) Original-Received: by 10.86.50.8 with SMTP id x8mr4812513fgx.1192472629583; Mon, 15 Oct 2007 11:23:49 -0700 (PDT) Original-Received: from ?192.168.0.19? ( [86.120.51.9]) by mx.google.com with ESMTPS id d13sm8434022fka.2007.10.15.11.23.47 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Oct 2007 11:23:48 -0700 (PDT) In-Reply-To: X-Priority: 3 (Normal) X-Mailer: Apple Mail (2.752.3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48458 Archived-At: Sorry Drew, but as I said, I'm more of a beginner. I saved the two libraries you recommended, and then loaded both manually with load-file. So... what now? I can't call add-hook from inside emacs (or I don't know how). What am I supposed to do from this point on? How do I test the hook? On Oct 15, 2007, at 9:15 PM, Drew Adams wrote: >>> I'm not sure where they should be replaced >> >> Look at load-path. It will have among the first few elements >> directories that belong to your home directory. Put the files there, >> so they're found before those inside the Mac OS X application bundle. > > First, just try loading each of them using `M-x load-file'. If they > don't > help, there is no sense in using them. >