changeset 86503:2c08ad76fc1f

* progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify byte compiler. (cperl-mode): Use with-no-warnings for setting vc-header-alist. * progmodes/idlwave.el (idlwave-shell-get-path-info) (idlwave-shell-temp-file, idlwave-shell-is-running) (widget-value, comint-dynamic-complete-filename, Info-goto-node): * progmodes/idlw-help.el (idlwave-prepare-structure-tag-completion) (idlwave-all-method-classes, idlwave-all-method-keyword-classes) (idlwave-beginning-of-statement, idlwave-best-rinfo-assoc) (idlwave-class-found-in, idlwave-class-or-superclass-with-tag) (idlwave-completing-read, idlwave-current-routine) (idlwave-downcase-safe, idlwave-entry-find-keyword) (idlwave-expand-keyword, idlwave-find-class-definition) (idlwave-find-inherited-class, idlwave-find-struct-tag) (idlwave-get-buffer-visiting, idlwave-in-quote) (idlwave-make-full-name, idlwave-members-only) (idlwave-popup-select, idlwave-routine-source-file) (idlwave-routines, idlwave-sintern-class) (idlwave-sintern-keyword, idlwave-sintern-method) (idlwave-sintern-routine-or-method) (idlwave-substitute-link-target, idlwave-sys-dir) (idlwave-this-word, idlwave-what-module-find-class) (idlwave-where): * progmodes/idlw-complete-structtag.el (idlwave-shell-buffer): * mail/uce.el (rmail-msg-is-pruned) (rmail-maybe-set-message-counters, rmail-msgbeg, rmail-msgend) (rmail-toggle-header): * mail/sendmail.el (dired-view-file, dired-get-filename): * mail/rmailkwd.el (rmail-maybe-set-message-counters) (rmail-display-labels, rmail-msgbeg) (rmail-set-message-deleted-p, rmail-message-labels-p) (rmail-show-message, mail-comma-list-regexp) (mail-parse-comma-list): * mail/rmail.el (rmail-spam-filter, rmail-summary-goto-msg) (rmail-summary-mark-undeleted, rmail-summary-mark-deleted) (rfc822-addresses, mail-abbrev-make-syntax-table) (mail-sendmail-delimit-header, mail-header-end): * mail/hashcash.el (message-narrow-to-headers-or-head) (message-fetch-field, message-goto-eoh) (message-narrow-to-headers): * vc.el (view-mode-exit): Declare as functions. * mail/vms-pmail.el: * vmsproc.el: * vms-patch.el: Don't byte compile these files, they don't work. * Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not compiled anymore.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 27 Nov 2007 06:57:07 +0000
parents 1f48ff31771c
children 8b582ee742ce
files lisp/ChangeLog lisp/mail/hashcash.el lisp/mail/rmail.el lisp/mail/rmailkwd.el lisp/mail/rmailsum.el lisp/mail/sendmail.el lisp/mail/uce.el lisp/mail/vms-pmail.el lisp/progmodes/cperl-mode.el lisp/progmodes/idlw-complete-structtag.el lisp/progmodes/idlw-help.el lisp/progmodes/idlwave.el lisp/vc.el lisp/vms-patch.el lisp/vmsproc.el src/ChangeLog src/Makefile.in
diffstat 17 files changed, 146 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/ChangeLog	Tue Nov 27 06:57:07 2007 +0000
@@ -1,3 +1,52 @@
+2007-11-27  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
+	byte compiler.
+	(cperl-mode): Use with-no-warnings for setting vc-header-alist.
+
+	* progmodes/idlwave.el (idlwave-shell-get-path-info)
+	(idlwave-shell-temp-file, idlwave-shell-is-running)
+	(widget-value, comint-dynamic-complete-filename, Info-goto-node):
+	* progmodes/idlw-help.el (idlwave-prepare-structure-tag-completion)
+	(idlwave-all-method-classes, idlwave-all-method-keyword-classes)
+	(idlwave-beginning-of-statement, idlwave-best-rinfo-assoc)
+	(idlwave-class-found-in, idlwave-class-or-superclass-with-tag)
+	(idlwave-completing-read, idlwave-current-routine)
+	(idlwave-downcase-safe, idlwave-entry-find-keyword)
+	(idlwave-expand-keyword, idlwave-find-class-definition)
+	(idlwave-find-inherited-class, idlwave-find-struct-tag)
+	(idlwave-get-buffer-visiting, idlwave-in-quote)
+	(idlwave-make-full-name, idlwave-members-only)
+	(idlwave-popup-select, idlwave-routine-source-file)
+	(idlwave-routines, idlwave-sintern-class)
+	(idlwave-sintern-keyword, idlwave-sintern-method)
+	(idlwave-sintern-routine-or-method)
+	(idlwave-substitute-link-target, idlwave-sys-dir)
+	(idlwave-this-word, idlwave-what-module-find-class)
+	(idlwave-where):
+	* progmodes/idlw-complete-structtag.el (idlwave-shell-buffer):
+	* mail/uce.el (rmail-msg-is-pruned)
+	(rmail-maybe-set-message-counters, rmail-msgbeg, rmail-msgend)
+	(rmail-toggle-header):
+	* mail/sendmail.el (dired-view-file, dired-get-filename):
+	* mail/rmailkwd.el (rmail-maybe-set-message-counters)
+	(rmail-display-labels, rmail-msgbeg)
+	(rmail-set-message-deleted-p, rmail-message-labels-p)
+	(rmail-show-message, mail-comma-list-regexp)
+	(mail-parse-comma-list):
+	* mail/rmail.el (rmail-spam-filter, rmail-summary-goto-msg)
+	(rmail-summary-mark-undeleted, rmail-summary-mark-deleted)
+	(rfc822-addresses, mail-abbrev-make-syntax-table)
+	(mail-sendmail-delimit-header, mail-header-end):
+	* mail/hashcash.el (message-narrow-to-headers-or-head)
+	(message-fetch-field, message-goto-eoh)
+	(message-narrow-to-headers):
+	* vc.el (view-mode-exit): Declare as functions.
+
+	* mail/vms-pmail.el:
+	* vmsproc.el:
+	* vms-patch.el: Don't byte compile these files, they don't work.
+
 2007-11-27  Glenn Morris  <rgm@gnu.org>
 
 	* eshell/eshell.el (eshell-report-bug): Add version number of
--- a/lisp/mail/hashcash.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/mail/hashcash.el	Tue Nov 27 06:57:07 2007 +0000
@@ -126,6 +126,11 @@
       (concat (match-string 1 addr) (match-string 2 addr))
     addr))
 
+(declare-function  message-narrow-to-headers-or-head "message" ())
+(declare-function  message-fetch-field "message" (header &optional not-all))
+(declare-function  message-goto-eoh "message" ())
+(declare-function  message-narrow-to-headers "message" ())
+
 (defun hashcash-token-substring ()
   (save-excursion
     (let ((token ""))
--- a/lisp/mail/rmail.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/mail/rmail.el	Tue Nov 27 06:57:07 2007 +0000
@@ -1519,6 +1519,15 @@
 
 ;;;; *** Rmail input ***
 
+(declare-function rmail-spam-filter "rmail-spam-filter" (msg))
+(declare-function rmail-summary-goto-msg "rmailsum" (&optional n nowarn skip-rmail))
+(declare-function rmail-summary-mark-undeleted "rmailsum" (n))
+(declare-function rmail-summary-mark-deleted "rmailsum" (&optional n undel))
+(declare-function rfc822-addresses "rfc822" (header-text))
+(declare-function mail-abbrev-make-syntax-table "mailabbrev.el" ())
+(declare-function mail-sendmail-delimit-header "sendmail" ())
+(declare-function mail-header-end "sendmail" ())
+
 ;; RLK feature not added in this version:
 ;; argument specifies inbox file or files in various ways.
 
--- a/lisp/mail/rmailkwd.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/mail/rmailkwd.el	Tue Nov 27 06:57:07 2007 +0000
@@ -86,6 +86,15 @@
 	  rmail-last-label
 	(setq rmail-last-label (rmail-make-label result t))))))
 
+(declare-function rmail-maybe-set-message-counters "rmail" ())
+(declare-function rmail-display-labels "rmail" ())
+(declare-function rmail-msgbeg "rmail" (n))
+(declare-function rmail-set-message-deleted-p "rmail" (n state))
+(declare-function rmail-message-labels-p "rmail" (msg labels))
+(declare-function rmail-show-message "rmail" (&optional n no-summary))
+(declare-function mail-comma-list-regexp "mail-utils" (labels))
+(declare-function mail-parse-comma-list "mail-utils.el" ())
+
 (defun rmail-set-label (l state &optional n)
   (with-current-buffer rmail-buffer
     (rmail-maybe-set-message-counters)
--- a/lisp/mail/rmailsum.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/mail/rmailsum.el	Tue Nov 27 06:57:07 2007 +0000
@@ -1323,6 +1323,13 @@
     (end-of-buffer))
   (forward-line -1))
 
+(declare-function rmail-abort-edit "rmailedit" ())
+(declare-function rmail-cease-edit "rmailedit"())
+(declare-function rmail-set-label "rmailkwd" (l state &optional n))
+(declare-function rmail-output-read-file-name "rmailout" ())
+(declare-function rmail-output-read-rmail-file-name  "rmailout" ())
+(declare-function mail-send-and-exit "sendmail" (&optional arg))
+
 (defvar rmail-summary-edit-map nil)
 (if rmail-summary-edit-map
     nil
--- a/lisp/mail/sendmail.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/mail/sendmail.el	Tue Nov 27 06:57:07 2007 +0000
@@ -1744,6 +1744,9 @@
 	(message "Auto save file for draft message exists; consider M-x mail-recover"))
     initialized))
 
+(declare-function dired-view-file "dired" ())
+(declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep))
+
 (defun mail-recover-1 ()
   "Pop up a list of auto-saved draft messages so you can recover one of them."
   (interactive)
--- a/lisp/mail/uce.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/mail/uce.el	Tue Nov 27 06:57:07 2007 +0000
@@ -218,6 +218,12 @@
   :group 'uce)
 
 (declare-function mail-strip-quoted-names "mail-utils" (address))
+(declare-function rmail-msg-is-pruned "rmail" ())
+(declare-function rmail-maybe-set-message-counters "rmail" ())
+(declare-function rmail-msgbeg "rmail" (n))
+(declare-function rmail-msgend "rmail" (n))
+(declare-function rmail-toggle-header "rmail" (&optional arg))
+
 
 (defun uce-reply-to-uce (&optional ignored)
   "Send reply to UCE in Rmail.
--- a/lisp/mail/vms-pmail.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/mail/vms-pmail.el	Tue Nov 27 06:57:07 2007 +0000
@@ -1,3 +1,4 @@
+;; -*- no-byte-compile: t -*-
 ;;; vms-pmail.el --- use Emacs as the editor within VMS mail
 
 ;; Copyright (C) 1992, 2001, 2002, 2003, 2004, 2005,
--- a/lisp/progmodes/cperl-mode.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/progmodes/cperl-mode.el	Tue Nov 27 06:57:07 2007 +0000
@@ -1510,6 +1510,8 @@
      2 3))
   "Alist that specifies how to match errors in perl output.")
 
+(defvar compilation-error-regexp-alist)
+
 ;;;###autoload
 (defun cperl-mode ()
   "Major mode for editing Perl code.
@@ -1790,9 +1792,11 @@
   (set 'vc-sccs-header cperl-vc-sccs-header)
   ;; This one is obsolete...
   (make-local-variable 'vc-header-alist)
-  (set 'vc-header-alist (or cperl-vc-header-alist ; Avoid warning
-			    `((SCCS ,(car cperl-vc-sccs-header))
-                              (RCS ,(car cperl-vc-rcs-header)))))
+  (with-no-warnings
+   (set 'vc-header-alist (or cperl-vc-header-alist ; Avoid warning
+			     `((SCCS ,(car cperl-vc-sccs-header))
+			       (RCS ,(car cperl-vc-rcs-header)))))
+   )
   (cond ((boundp 'compilation-error-regexp-alist-alist);; xemacs 20.x
 	 (make-local-variable 'compilation-error-regexp-alist-alist)
 	 (set 'compilation-error-regexp-alist-alist
--- a/lisp/progmodes/idlw-complete-structtag.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/progmodes/idlw-complete-structtag.el	Tue Nov 27 06:57:07 2007 +0000
@@ -91,6 +91,8 @@
 
 (require 'idlwave)
 
+(declare-function idlwave-shell-buffer "idlw-shell")
+
 ;; Some variables to identify the previously used structure
 (defvar idlwave-current-tags-var nil)
 (defvar idlwave-current-tags-buffer nil)
--- a/lisp/progmodes/idlw-help.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/progmodes/idlw-help.el	Tue Nov 27 06:57:07 2007 +0000
@@ -255,6 +255,37 @@
 (defvar idlwave-help-def-pos)
 (defvar idlwave-help-args)
 (defvar idlwave-help-in-header)
+(declare-function idlwave-prepare-structure-tag-completion "idlw-complete-structtag")
+(declare-function idlwave-all-method-classes "idlwave")
+(declare-function idlwave-all-method-keyword-classes "idlwave")
+(declare-function idlwave-beginning-of-statement "idlwave")
+(declare-function idlwave-best-rinfo-assoc "idlwave")
+(declare-function idlwave-class-found-in "idlwave")
+(declare-function idlwave-class-or-superclass-with-tag "idlwave")
+(declare-function idlwave-completing-read "idlwave")
+(declare-function idlwave-current-routine "idlwave")
+(declare-function idlwave-downcase-safe "idlwave")
+(declare-function idlwave-entry-find-keyword "idlwave")
+(declare-function idlwave-expand-keyword "idlwave")
+(declare-function idlwave-find-class-definition "idlwave")
+(declare-function idlwave-find-inherited-class "idlwave")
+(declare-function idlwave-find-struct-tag "idlwave")
+(declare-function idlwave-get-buffer-visiting "idlwave")
+(declare-function idlwave-in-quote "idlwave")
+(declare-function idlwave-make-full-name "idlwave")
+(declare-function idlwave-members-only "idlwave")
+(declare-function idlwave-popup-select "idlwave")
+(declare-function idlwave-routine-source-file "idlwave")
+(declare-function idlwave-routines "idlwave")
+(declare-function idlwave-sintern-class "idlwave")
+(declare-function idlwave-sintern-keyword "idlwave")
+(declare-function idlwave-sintern-method "idlwave")
+(declare-function idlwave-sintern-routine-or-method "idlwave")
+(declare-function idlwave-substitute-link-target "idlwave")
+(declare-function idlwave-sys-dir "idlwave")
+(declare-function idlwave-this-word "idlwave")
+(declare-function idlwave-what-module-find-class "idlwave")
+(declare-function idlwave-where "idlwave")
 
 (defun idlwave-help-mode ()
   "Major mode for displaying IDL Help.
--- a/lisp/progmodes/idlwave.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/progmodes/idlwave.el	Tue Nov 27 06:57:07 2007 +0000
@@ -182,6 +182,13 @@
     (defmacro defcustom (var value doc &rest args)
       `(defvar ,var ,value ,doc))))
 
+(declare-function idlwave-shell-get-path-info "idlw-shell")
+(declare-function idlwave-shell-temp-file "idlw-shell")
+(declare-function idlwave-shell-is-running "idlw-shell")
+(declare-function widget-value "wid-edit" (widget))
+(declare-function comint-dynamic-complete-filename "comint" ())
+(declare-function Info-goto-node "info" (nodename &optional fork))
+
 (defgroup idlwave nil
   "Major mode for editing IDL .pro files."
   :tag "IDLWAVE"
--- a/lisp/vc.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/vc.el	Tue Nov 27 06:57:07 2007 +0000
@@ -1598,6 +1598,8 @@
   (let ((vc-handled-backends (list backend)))
     (call-interactively 'vc-register)))
 
+(declare-function view-mode-exit "view" (&optional return-to-alist exit-action all-win))
+
 (defun vc-resynch-window (file &optional keep noquery)
   "If FILE is in the current buffer, either revert or unvisit it.
 The choice between revert (to see expanded keywords) and unvisit depends on
--- a/lisp/vms-patch.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/vms-patch.el	Tue Nov 27 06:57:07 2007 +0000
@@ -1,3 +1,4 @@
+;; -*- no-byte-compile: t -*-
 ;;; vms-patch.el --- override parts of files.el for VMS
 
 ;; Copyright (C) 1986, 1992, 2001, 2002, 2003, 2004,
--- a/lisp/vmsproc.el	Tue Nov 27 05:04:28 2007 +0000
+++ b/lisp/vmsproc.el	Tue Nov 27 06:57:07 2007 +0000
@@ -1,3 +1,4 @@
+;; -*- no-byte-compile: t -*-
 ;;; vmsproc.el --- run asynchronous VMS subprocesses under Emacs
 
 ;; Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005,
--- a/src/ChangeLog	Tue Nov 27 05:04:28 2007 +0000
+++ b/src/ChangeLog	Tue Nov 27 06:57:07 2007 +0000
@@ -1,3 +1,8 @@
+2007-11-27  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not
+	compiled anymore.
+
 2007-11-26  Andreas Schwab  <schwab@suse.de>
 
 	* process.c (list_processes_1): Fix indentation level of the
--- a/src/Makefile.in	Tue Nov 27 05:04:28 2007 +0000
+++ b/src/Makefile.in	Tue Nov 27 06:57:07 2007 +0000
@@ -920,7 +920,7 @@
    for the sake of systems which can''t handle large ones.  */
 SOME_MACHINE_LISP = ${dotdot}/lisp/mouse.elc \
   ${dotdot}/lisp/select.elc ${dotdot}/lisp/scroll-bar.elc \
-  ${dotdot}/lisp/vmsproc.elc ${dotdot}/lisp/vms-patch.elc \
+  VMS_SUPPORT \
   ${dotdot}/lisp/ls-lisp.elc ${dotdot}/lisp/dos-fns.elc \
   ${dotdot}/lisp/w32-fns.elc ${dotdot}/lisp/dos-w32.elc \
   ${dotdot}/lisp/disp-table.elc ${dotdot}/lisp/dos-vars.elc \