From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: CVS HEAD fails to build on OSX 10.4 (macterm.c broken?) Date: Wed, 29 Aug 2007 17:47:48 -0700 Message-ID: <200708300047.l7U0lqR3000412@oogie-boogie.ics.uci.edu> References: <86k5re4blv.fsf@blue.stonehenge.com> <200708291531.l7TFVnlD010335@oogie-boogie.ics.uci.edu> <86fy224aah.fsf@blue.stonehenge.com> <86bqcq4a4q.fsf@blue.stonehenge.com> <200708291604.l7TG4atk011108@oogie-boogie.ics.uci.edu> <867ine492x.fsf@blue.stonehenge.com> <200708291628.l7TGSvM6011975@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188434942 31756 80.91.229.12 (30 Aug 2007 00:49:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2007 00:49:02 +0000 (UTC) Cc: "Randal L. Schwartz" , emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 30 02:49:00 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQYDT-0001rO-Fh for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2007 02:48:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQYDT-0003fK-6M for ged-emacs-devel@m.gmane.org; Wed, 29 Aug 2007 20:48:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQYDP-0003dY-VI for emacs-devel@gnu.org; Wed, 29 Aug 2007 20:48:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQYDN-0003dF-Em for emacs-devel@gnu.org; Wed, 29 Aug 2007 20:48:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQYDN-0003dC-8V for emacs-devel@gnu.org; Wed, 29 Aug 2007 20:48:53 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IQYDM-0006RC-Kh for emacs-devel@gnu.org; Wed, 29 Aug 2007 20:48:52 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l7U0lqR3000412; Wed, 29 Aug 2007 17:47:52 -0700 (PDT) In-Reply-To: (YAMAMOTO Mitsuharu's message of "Thu\, 30 Aug 2007 09\:33\:29 +0900") Original-Lines: 43 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.79, required 5, autolearn=disabled, ALL_TRUSTED -1.44, FS_OBFU_X 1.03, J_CHICKENPOX_32 0.60, J_CHICKENPOX_43 0.60) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-Detected-Kernel: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77374 Archived-At: YAMAMOTO Mitsuharu writes: > >>>>> On Wed, 29 Aug 2007 09:28:53 -0700, Dan Nicolaescu said: > > > merlyn@stonehenge.com (Randal L. Schwartz) writes: > >> >>>>> "Dan" == Dan Nicolaescu writes: > >> > Dan> Just deleting the (eval-when-compile (require 'url)) might > Dan> work. You'd get some byte compile warnings. Unfortunately I don't > Dan> have access to a mac, so I can't test this.. > >> > >> That's presuming url.el doesn't define any macros then. :) > > > Inspecting the code shows that only autoloaded functions are used > > from url, so I deleted that require in CVS. > > No. url-type used below is a macro. It should not matter ... > (defun mac-ae-get-url (event) > "Open the URL specified by the Apple event EVENT. > Currently the `mailto' scheme is supported." > (interactive "e") > (let* ((ae (mac-event-ae event)) > (parsed-url (url-generic-parse-url (mac-ae-text ae)))) ^^^^^^^ ... this is autoloaded from the same file as url-type, so the url-type below should be defined by the time it is used. > (if (string= (url-type parsed-url) "mailto") > (progn > (url-mailto parsed-url) > (select-frame-set-input-focus (selected-frame))) > (mac-resume-apple-event ae t)))) > > It enables Emacs to act as a system default mailer by setting > preferences in Mail.app (and optionally customizing mail-user-agent). > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp