unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Should xemacs feature test be removed from url package?
@ 2005-09-25 17:54 CHENG Gao
  2005-09-26  4:49 ` Richard M. Stallman
  2005-09-26 13:14 ` Stefan Monnier
  0 siblings, 2 replies; 13+ messages in thread
From: CHENG Gao @ 2005-09-25 17:54 UTC (permalink / raw)


Because url package was merged into Emacs long time ago, my
understanding is it's meaningless to do xemacs feature test in url
codes. So should these test codes be removed?

1. utl-http.el line 830-832:
,----
| 				       'face (if (featurep 'xemacs)
| 						 'text-cursor
| 					       'cursor)
`----
may change to

,----
| 'face 'cursor
`----

2. url-dired.el line 32-34:
,----
|     (if (featurep 'xemacs)
| 	(define-key map [button2] 'url-dired-find-file-mouse)
|       (define-key map [mouse-2] 'url-dired-find-file-mouse))
`----
may change to
,----
|       (define-key map [mouse-2] 'url-dired-find-file-mouse)
`----

3. url-file.el line 233-238:
,----
| (if (featurep 'xemacs)
|     (progn
|       (url-file-create-wrapper directory-files (url &optional full match nosort files-only))
|       (url-file-create-wrapper file-truename (url &optional default)))
|   (url-file-create-wrapper directory-files (url &optional full match nosort))
|   (url-file-create-wrapper file-truename (url &optional counter prev-dirs)))
`----
may change to
,----
|   (url-file-create-wrapper directory-files (url &optional full match nosort))
|   (url-file-create-wrapper file-truename (url &optional counter prev-dirs))
`----

4. url-handlers.el line 250-261.el:
,----
| (if (featurep 'xemacs)
|     (progn
|       ;; XEmacs specific prototypes
|       (url-handlers-create-wrapper
|        directory-files (url &optional full match nosort files-only))
|       (url-handlers-create-wrapper
|        file-truename (url &optional default)))
|   ;; Emacs specific prototypes
|   (url-handlers-create-wrapper
|    directory-files (url &optional full match nosort))
|   (url-handlers-create-wrapper
|    file-truename (url &optional counter prev-dirs)))
`----
may change to
,----
|   (url-handlers-create-wrapper
|    directory-files (url &optional full match nosort))
|   (url-handlers-create-wrapper
|    file-truename (url &optional counter prev-dirs))
`----

5. url-nfs.el line 90-95:
,----
| (if (featurep 'xemacs)
|     (progn
|       (url-nfs-create-wrapper directory-files (url &optional full match nosort files-only))
|       (url-nfs-create-wrapper file-truename (url &optional default)))
|   (url-nfs-create-wrapper directory-files (url &optional full match nosort))
|   (url-nfs-create-wrapper file-truename (url &optional counter prev-dirs)))
`----
may change to
,----
|   (url-nfs-create-wrapper directory-files (url &optional full match nosort))
|   (url-nfs-create-wrapper file-truename (url &optional counter prev-dirs))
`----

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-10-13 16:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-25 17:54 Should xemacs feature test be removed from url package? CHENG Gao
2005-09-26  4:49 ` Richard M. Stallman
2005-09-26  5:04   ` Cheng Gao
2005-09-26  5:14     ` David Kastrup
2005-09-26 23:55       ` Richard M. Stallman
2005-09-26 23:55     ` Richard M. Stallman
2005-09-27  3:16       ` Cheng Gao
2005-09-27  6:42         ` David Kastrup
2005-09-27 15:43           ` Stefan Monnier
2005-09-27 21:58         ` Richard M. Stallman
2005-10-10 23:47         ` Richard M. Stallman
2005-10-13 16:07           ` CHENG Gao
2005-09-26 13:14 ` Stefan Monnier

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).