Anonymous avatar Anonymous committed 17e6334

Update to my last Mew patch

Comments (0)

Files changed (6)

+2001-02-05  Steve Youngs  <youngs@xemacs.org>
+
+	* Makefile (REQUIRES): Remove apel, pcomplete.
+
+	* ./mew/mew-decode.el: Remove require 'poem-xm
+
+	* ./mew/mew-draft.el: Replace require 'pcomplete with new function
+	read-event.
+	(read-event): New function.
+
+	* ./mew/mew-env.el: Remove (require 'overlay) Mew uses extents.
+
+	* ./mew/mew-mule.el: Wrap (require 'mule-lang-jp) in a (if featurep 'mule).
+
 2001-01-24  Steve Youngs  <youngs@xemacs.org>
 
 	* ./mew/mew-scan.el (mew-summary-scan-filter): Add comment about
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = mew
 PKG_TYPE = regular
-REQUIRES = mew w3 efs apel mail-lib xemacs-base fsf-compat pcomplete
+REQUIRES = mew w3 efs mail-lib xemacs-base fsf-compat
 CATEGORY = comm
 
 ELCS = mew/mew.elc mew/mew-attach.elc mew/mew-bq.elc mew/mew-cache.elc \

mew/mew-decode.el

 (defconst mew-decode-version "mew-decode.el version 0.26")
 
 (require 'mew)
-(if (featurep 'mule)
-    (require 'poem-xm))
+
 (defvar mew-prog-mime-decode-switch
   (list (cons mew-b64 '("-b"))
 	(cons mew-qp  '("-q"))
 ;;; Code:
 
 (defconst mew-draft-version "mew-draft.el version 0.36")
-(require 'pcomplete)
+
 (require 'mew)
+
+(unless (fboundp 'read-event)
+  (defsubst read-event (&optional prompt)
+    (aref (read-key-sequence prompt) 0)))
+
 (if mew-xemacs-p (require 'easymenu))
 
 (defvar mew-draft-mode-map   nil)
 (defconst mew-env-version "mew-env.el version 0.14")
 
 (require 'mew)
-(require 'overlay)
 
 (defvar mew-temacs-p nil)
 (defvar mew-xemacs-p nil)
 
 (defconst mew-mule-version "mew-mule.el version 0.03")
 (require 'mew-func)
-(require 'mew-lang-jp)
+(if (featurep 'mule)
+    (require 'mew-lang-jp))
 ;;
 ;; Charset
 ;;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.