emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS HEAD fails to build on OSX 10.4 (macterm.c broken?)


From: Dan Nicolaescu
Subject: Re: CVS HEAD fails to build on OSX 10.4 (macterm.c broken?)
Date: Wed, 29 Aug 2007 17:47:48 -0700

YAMAMOTO Mitsuharu <address@hidden> writes:

  > >>>>> On Wed, 29 Aug 2007 09:28:53 -0700, Dan Nicolaescu <address@hidden> 
said:
  > 
  > > address@hidden (Randal L. Schwartz) writes:
  > >> >>>>> "Dan" == Dan Nicolaescu <address@hidden> 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
  >                             address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]