This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
i marked a region
i typed M-x rtf-export-region RET
she told me
Loading rtf-support...
Loading rtf-support...done
rtf-spool-region: building header...
Wrong type argument: stringp, nil
btw, i have text-mode 1.39
the stack trace follows
Signaling: (wrong-type-argument stringp nil)
string-to-number(nil)
(if (length (nth 2 font)) (string-to-number (nth 2 font)) 10)
(list (nth 0 font) (nth 1 font) (nth 3 font) (if (length ...) (string-to-number ...)
10))
(setq font (list (nth 0 font) (nth 1 font) (nth 3 font) (if ... ... 10)))
(lambda (cur-face) (setq font (font-name ...)) (setq font (split-string font
":")) (setq font (list ... ... ... ...)) (unless (assoc ... fonts) (setq fnum
...) (setq fonts ...)) (setq forecolour (rtf-map-colour ...)) (setq backcolour
(rtf-map-colour ...)) (if rtf-create-colours (progn ... ...)) (setq extstyle nil) (let
(...) (if ... ...) (if ... ...) (if ... ...)) (setq style (list ... ... ... ... ...
extstyle cur-face)) (unless rtf-untabify-p (if ... ...)) (setq snum (+ snum 1)) (setq
styles (append styles ...)))(default)
mapc-internal((lambda (cur-face) (setq font (font-name ...)) (setq font (split-string
font ":")) (setq font (list ... ... ... ...)) (unless (assoc ... fonts) (setq
fnum ...) (setq fonts ...)) (setq forecolour (rtf-map-colour ...)) (setq backcolour
(rtf-map-colour ...)) (if rtf-create-colours (progn ... ...)) (setq extstyle nil) (let
(...) (if ... ...) (if ... ...) (if ... ...)) (setq style (list ... ... ... ... ...
extstyle cur-face)) (unless rtf-untabify-p (if ... ...)) (setq snum (+ snum 1)) (setq
styles (append styles ...))) (default zmacs-region italic))
mapc((lambda (cur-face) (setq font (font-name ...)) (setq font (split-string font
":")) (setq font (list ... ... ... ...)) (unless (assoc ... fonts) (setq fnum
...) (setq fonts ...)) (setq forecolour (rtf-map-colour ...)) (setq backcolour
(rtf-map-colour ...)) (if rtf-create-colours (progn ... ...)) (setq extstyle nil) (let
(...) (if ... ...) (if ... ...) (if ... ...)) (setq style (list ... ... ... ... ...
extstyle cur-face)) (unless rtf-untabify-p (if ... ...)) (setq snum (+ snum 1)) (setq
styles (append styles ...))) (default zmacs-region italic))
rtf-spool-region(1456 2328)
rtf-export-region("~/asde" 1456 2328)
call-interactively(rtf-export-region)
command-execute(rtf-export-region t)
execute-extended-command(nil)
call-interactively(execute-extended-command)
if you need more data, just let me know
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux boffi95 2.2.17 #2 Thu Mar 22 17:19:05 CET 2001 i586 unknown
./configure '--extra-verbose' '--with-athena=3d' '--debug'
'--error-checking=none' '--use-union-type'
'--with-clash-detection'
'--rel-alloc' '--without-wmcommand' '--pdump'
'--with-file-coding'
'--with-site-lisp=yes' '--with-sound=no'
XEmacs 21.5-b5 "beets" configured for `i586-pc-linux'.
Compilation / Installation:
Source code location: /home/gb/src/xemacs
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow
Relocating allocator for buffers: yes
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
Using Lucid menubars.
Using Lucid scrollbars.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Databases:
Compiling in support for Berkeley database.
Internationalization:
Compiling in support for file coding.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the union type for Lisp_Objects.
Using the new portable dumper.
Compiling in support for extra debugging code.
Load-Path Lisp Shadows:
----------------------
(/home/gb/lib/emacs/man
/usr/local/lib/xemacs/xemacs-packages/lisp/edit-utils/man
/home/gb/lib/emacs/htmlize
/usr/local/lib/xemacs/xemacs-packages/lisp/text-modes/htmlize)
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.43 :type single-file)
(xemacs-base :version 1.59 :type regular)
(w3 :version 1.21 :type regular)
(vm :version 7.02 :type regular)
(vc-cc :version 1.18 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.03 :type regular)
(tm :version 1.3 :type regular)
(text-modes :version 1.39 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(speedbar :version 1.22 :type regular)
(sh-script :version 1.14 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.24 :type regular)
(psgml :version 1.27 :type regular)
(ps-print :version 1.03 :type regular)
(prog-modes
:version
1
.52
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.59 :type regular)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.24 :type single-file)
(mh-e :version 1.14 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.43 :type regular)
(ispell :version 1.24 :type regular)
(igrep :version 1.08 :type regular)
(ibuffer :version 1.03 :type regular)
(hm--html-menus :version 1.17 :type regular)
(gnus :version 1.58 :type regular)
(gnats :version 1.13 :type regular)
(fsf-compat :version 1.1 :type single-file)
(footnote :version 1.14 :type regular)
(eterm :version 1.13 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.27 :type regular)
(edit-utils :version 1.8 :type single-file)
(ediff :version 1.37 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(dictionary :version 1.07 :type regular)
(debug :version 1.14 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.18 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.05 :type regular)
(bbdb :version 1.19 :type regular)
(auctex :version 1.29 :type regular)
(apel :version 1.2 :type regular))
Features:
--------
(xemacsbug shadow rtf-support package-get package-admin config vm-sort
w3-hot url-file url-cache w3-xemac w3-xemacs w3-toolbar xbm-button
xpm-button images url-http url-cookie urlauth w3 w3-menu url-news
url-gw w3-script w3-jscript w3-elisp w3-java cus-edit cus-load
w3-emulate w3-auto w3-parse w3-cfg w3-sysdp vm-undo vm-minibuf vm-imap
vm-page vm-mime vm-toolbar vm-summary tapestry vm-motion vm-message
vm-menu vm-folder vm-misc vm-mouse vm-window vm-autoload
highlight-headers vm-vars vm-version vm vm-startup flow-fill mail-extr
gnus-picon w3-forms w3-display advice advice-preload w3-imap w3-widget
css w3-mouse w3-vars w3-cus w3-keyword url mm mule-sysdp url-parse
url-vars sort gnus-cite gnus-async gnus-score score-mode gnus-ml
gnus-msg gnus-art mm-uu mm-view gnus-sum gnus-topic nndraft nnmh nndoc
gnus-cache gnus-group gnus-undo nnmail mail-source format-spec nntp
nnoo gnus-start gnus-range gnus-spec gnus-int gnus-win gnus gnus-ems
gnus-xmas wid-edit message mml mm-decode mm-encode mailcap mm-bodies
uudecode mail-parse rfc2045 rfc2231 rfc2047 qp ietf-drums mail-abbrevs
sendmail rfc822 mailheader gnus-util time-date parse-time xrdb-mode
efs-cu gnuserv font disp-table paren blink-paren func-menu bbdb
timezone psgml-xemacs sgml-mode psgml font-lock cus-face jka-compr
tex-site smiley annotations messagexmas nnheader nnheaderxm mm-util
mail-prsvr mail-utils x-compose filladapt image-mode view-less view
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
vc-cc-autoloads vc-autoloads tramp-autoloads tm-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads
speedbar-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads rmail-autoloads reftex-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads os-utils-autoloads net-utils-autoloads
mh-e-autoloads mailcrypt-autoloads mail-lib-autoloads ispell-autoloads
igrep-autoloads ibuffer-autoloads hm--html-menus-autoloads
gnus-autoloads gnats-autoloads fsf-compat-autoloads footnote-autoloads
eterm-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
dired-autoloads dictionary-autoloads debug-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads src-autoloads loadhist
auto-show fontl-hooks x-iso8859-1 code-cmds gutter-items menubar-items
x-menubar mode-motion mouse itimer auto-save lisp-mode easymenu
iso8859-1 page buff-menu lib-complete help-nomule cus-file derived
frame text-props obsolete cus-start custom widget cl-extra mini-cl cl
cl-19 packages backquote very-early-lisp file-coding lucid-scrollbars
cut-buffer lucid-menubars x c-balloon-help tty-frames tty toolbar
scrollbar unix-processes multicast network-streams subprocesses
modules menu-accelerator-support menubar berkeley-db md5 xemacs gutter
tiff png gif jpeg xface xpm xbm lisp-float-type linux devices
window-system base64)
Recent keystrokes:
-----------------
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user button1 button1up
C-x C-e down down button1 button1up M-x r t g BS f
TAB r e TAB BS BS e x TAB SPC r e SPC RET a s d e f
RET button1 button1up M-x r e p o r t SPC e SPC SPC
RET
Recent messages (most recent first):
-----------------------------------
Parsing /home/gb/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
Wrong type argument: stringp, nil
rtf-spool-region: building header...
Loading rtf-support...done
Loading rtf-support...
(text-modes "1.39")
Updated package-get database
Got 97 package-get database entries
Loading package-get...done
Loading package-get...
End of message 931 from Steve Youngs
End of message 931 from Steve Youngs
End of message 930 from Steve Youngs
End of message 930 from Steve Youngs
End of message 929 from Enrico De Angelis
End of message 929 from Enrico De Angelis
Decoding MIME message... done
Decoding MIME message...