From: Richard Stallman <rms@gnu.org>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: merlyn@stonehenge.com, dann@ics.uci.edu, emacs-devel@gnu.org
Subject: Re: CVS HEAD fails to build on OSX 10.4 (macterm.c broken?)
Date: Thu, 30 Aug 2007 16:50:00 -0400 [thread overview]
Message-ID: <E1IQqxk-0007nN-Hm@fencepost.gnu.org> (raw)
In-Reply-To: <wlbqcprhd2.wl%mituharu@math.s.chiba-u.ac.jp> (message from YAMAMOTO Mitsuharu on Thu, 30 Aug 2007 09:33:29 +0900)
No. url-type used below is a macro.
The simplest fix is to convert those macros to defuns, since
efficiency is not important here.
They could also be defsubsts, but getting the value of them
would entail such a `require' as caused trouble already.
Does this fix it?
*** url-parse.el 25 Jul 2007 11:49:25 -0400 1.16.2.1
--- url-parse.el 30 Aug 2007 14:12:14 -0400
***************
*** 30,90 ****
(autoload 'url-scheme-get-property "url-methods")
! (defmacro url-type (urlobj)
! `(aref ,urlobj 0))
! (defmacro url-user (urlobj)
! `(aref ,urlobj 1))
! (defmacro url-password (urlobj)
! `(aref ,urlobj 2))
! (defmacro url-host (urlobj)
! `(aref ,urlobj 3))
! (defmacro url-port (urlobj)
! `(or (aref ,urlobj 4)
! (if (url-fullness ,urlobj)
! (url-scheme-get-property (url-type ,urlobj) 'default-port))))
! (defmacro url-filename (urlobj)
! `(aref ,urlobj 5))
! (defmacro url-target (urlobj)
! `(aref ,urlobj 6))
! (defmacro url-attributes (urlobj)
! `(aref ,urlobj 7))
! (defmacro url-fullness (urlobj)
! `(aref ,urlobj 8))
! (defmacro url-set-type (urlobj type)
! `(aset ,urlobj 0 ,type))
! (defmacro url-set-user (urlobj user)
! `(aset ,urlobj 1 ,user))
! (defmacro url-set-password (urlobj pass)
! `(aset ,urlobj 2 ,pass))
! (defmacro url-set-host (urlobj host)
! `(aset ,urlobj 3 ,host))
! (defmacro url-set-port (urlobj port)
! `(aset ,urlobj 4 ,port))
! (defmacro url-set-filename (urlobj file)
! `(aset ,urlobj 5 ,file))
! (defmacro url-set-target (urlobj targ)
! `(aset ,urlobj 6 ,targ))
! (defmacro url-set-attributes (urlobj targ)
! `(aset ,urlobj 7 ,targ))
! (defmacro url-set-full (urlobj val)
! `(aset ,urlobj 8 ,val))
;;;###autoload
(defun url-recreate-url (urlobj)
--- 30,90 ----
(autoload 'url-scheme-get-property "url-methods")
! (defun url-type (urlobj)
! (aref urlobj 0))
! (defun url-user (urlobj)
! (aref urlobj 1))
! (defun url-password (urlobj)
! (aref urlobj 2))
! (defun url-host (urlobj)
! (aref urlobj 3))
! (defun url-port (urlobj)
! (or (aref urlobj 4)
! (if (url-fullness urlobj)
! (url-scheme-get-property (url-type urlobj) 'default-port))))
! (defun url-filename (urlobj)
! (aref urlobj 5))
! (defun url-target (urlobj)
! (aref urlobj 6))
! (defun url-attributes (urlobj)
! (aref urlobj 7))
! (defun url-fullness (urlobj)
! (aref urlobj 8))
! (defun url-set-type (urlobj type)
! (aset urlobj 0 type))
! (defun url-set-user (urlobj user)
! (aset urlobj 1 user))
! (defun url-set-password (urlobj pass)
! (aset urlobj 2 pass))
! (defun url-set-host (urlobj host)
! (aset urlobj 3 host))
! (defun url-set-port (urlobj port)
! (aset urlobj 4 port))
! (defun url-set-filename (urlobj file)
! (aset urlobj 5 file))
! (defun url-set-target (urlobj targ)
! (aset urlobj 6 targ))
! (defun url-set-attributes (urlobj targ)
! (aset urlobj 7 targ))
! (defun url-set-full (urlobj val)
! (aset urlobj 8 val))
;;;###autoload
(defun url-recreate-url (urlobj)
next prev parent reply other threads:[~2007-08-30 20:50 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-29 15:14 CVS HEAD fails to build on OSX 10.4 (macterm.c broken?) Randal L. Schwartz
2007-08-29 15:31 ` Dan Nicolaescu
2007-08-29 15:42 ` Randal L. Schwartz
2007-08-29 15:45 ` Randal L. Schwartz
2007-08-29 16:04 ` Dan Nicolaescu
2007-08-29 16:08 ` Randal L. Schwartz
2007-08-29 16:28 ` Dan Nicolaescu
2007-08-30 0:33 ` YAMAMOTO Mitsuharu
2007-08-30 0:47 ` Dan Nicolaescu
2007-08-30 1:06 ` YAMAMOTO Mitsuharu
2007-08-30 1:21 ` Dan Nicolaescu
2007-08-30 1:34 ` YAMAMOTO Mitsuharu
2007-08-30 1:42 ` Dan Nicolaescu
2007-08-30 1:52 ` YAMAMOTO Mitsuharu
2007-08-30 3:10 ` Dan Nicolaescu
2007-08-30 20:50 ` Richard Stallman [this message]
2007-08-30 23:59 ` YAMAMOTO Mitsuharu
2007-08-31 18:21 ` Richard Stallman
2007-08-31 23:50 ` YAMAMOTO Mitsuharu
2007-09-01 2:06 ` Stefan Monnier
2007-09-01 8:13 ` Eli Zaretskii
2007-09-02 15:50 ` Richard Stallman
2007-09-03 20:43 ` Stefan Monnier
2007-09-04 3:06 ` Eli Zaretskii
2007-09-04 16:45 ` Richard Stallman
2007-09-04 21:29 ` Dan Nicolaescu
2007-09-05 0:16 ` YAMAMOTO Mitsuharu
2007-09-05 6:16 ` Richard Stallman
2007-09-05 14:27 ` Stefan Monnier
2007-09-06 4:59 ` Richard Stallman
2007-08-31 18:21 ` Richard Stallman
2007-08-29 16:30 ` Randal L. Schwartz
2007-08-29 16:41 ` Dan Nicolaescu
2007-08-29 16:45 ` Randal L. Schwartz
2007-08-29 16:59 ` Dan Nicolaescu
2007-08-29 17:09 ` chad brown
2007-08-29 17:18 ` chad brown
2007-08-29 17:49 ` Dan Nicolaescu
2007-08-29 20:14 ` chad brown
2007-08-29 22:05 ` Glenn Morris
2007-08-29 22:40 ` Dan Nicolaescu
2007-08-30 3:23 ` chad brown
2007-08-31 0:08 ` YAMAMOTO Mitsuharu
2007-08-31 0:53 ` Randal L. Schwartz
2007-08-31 1:03 ` YAMAMOTO Mitsuharu
2007-08-31 1:06 ` YAMAMOTO Mitsuharu
2007-08-31 8:12 ` Dan Nicolaescu
2007-08-31 10:04 ` YAMAMOTO Mitsuharu
2007-09-03 14:23 ` Randal L. Schwartz
2007-09-03 14:49 ` Jason Rumney
2007-09-04 1:01 ` YAMAMOTO Mitsuharu
2007-09-04 6:47 ` Yavor Doganov
2007-09-04 7:54 ` YAMAMOTO Mitsuharu
2007-09-04 22:58 ` Richard Stallman
2007-09-05 0:24 ` YAMAMOTO Mitsuharu
2007-09-05 20:02 ` Richard Stallman
2007-09-05 23:58 ` YAMAMOTO Mitsuharu
2007-09-06 5:53 ` Yavor Doganov
2007-09-06 8:28 ` YAMAMOTO Mitsuharu
2007-09-06 9:17 ` Yavor Doganov
2007-09-06 10:23 ` YAMAMOTO Mitsuharu
2007-09-07 6:31 ` Richard Stallman
2007-09-07 7:02 ` YAMAMOTO Mitsuharu
2007-09-08 7:00 ` Richard Stallman
2007-09-07 6:30 ` Richard Stallman
2007-09-03 14:55 ` dhruva
2007-09-03 15:16 ` Jason Rumney
2007-09-04 0:57 ` Richard Stallman
2007-09-04 6:07 ` David Kastrup
2007-09-04 22:57 ` Richard Stallman
2007-09-04 0:57 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1IQqxk-0007nN-Hm@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=merlyn@stonehenge.com \
--cc=mituharu@math.s.chiba-u.ac.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).