VM

vm-dired compilation errors in XEmacs

Bug #1203903 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Triaged
Low
Julian Bradfield

Bug Description

Rainer Woitok reports (viewmail-info, 2013-07-22):

running "./configure ..." pro-
duced two warnings, and I just cannot tell whether they are trivial and
to be ignored or are sort of important:

"xemacs" -batch -no-autoloads -l ./vm-build.el -f batch-byte-compile vm-dired.el
Compiling /home/Rainer/prod/vm-8.2.0b/lisp/vm-dired.el...
Loading dired-mule...
While compiling vm-dired-do-attach-files in file /home/Rainer/prod/vm-8.2.0b/lisp/vm-dired.el:
  ** evaluating (= nil 0): (wrong-type-argument number-char-or-marker-p nil)
  ** evaluating (< nil 0): (wrong-type-argument number-char-or-marker-p nil)
Wrote /home/Rainer/prod/vm-8.2.0b/lisp/vm-dired.elc
Done

Revision history for this message
Uday Reddy (reddyuday) wrote :

Thanks for reporting. They do look like warnings because the compilation
got completed.

The code of `vm-dired-do-attach-files' uses a macro caled
`dired-map-over-marks' defined in the Emacs library. There are possibly
some problems with the macro. In GNU Emacs, it works fine for me. If you
are able to test this function in XEmacs, please let me know if it works.

Revision history for this message
Uday Reddy (reddyuday) wrote :

Rainer Woitok:

Here's what I got:

Loading vm-dired...
vm-dired not supported in Emacs version 21.4 (patch 22) "Instant Classic" XEmacs Lucid

tags: added: xemacs
Changed in vm:
assignee: nobody → Julian Bradfield (jcb+vm)
Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.0b1 → 8.2.0b2
Revision history for this message
Julian Bradfield (jcb+vm) wrote :

I think this is probably harmless. The nil it's complaining about is the second argument of the macro; at run time, these clauses should be protected by an "if (integerp arg) ...", so won't be hit.
I don't understand enough about compilation to know how to suppress the warning, but may try to find out.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.