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!
With:
(setq buffer-file-coding-system-for-read 'undecided)
(setq-default buffer-file-coding-system 'raw-text)
and a CRLF text file (test.txt) I see the following:
C-x f test.txt
C-h v buffer-file-coding-system =
Value: #<coding-system raw-text-dos no-conversion eol-type=crlf>
Default-value: raw-text
(Good)
Change the file, then C-x s test.txt
C-x k
C-x f test.txt
C-h v buffer-file-coding-system =
Value: #<coding-system raw-text-dos no-conversion eol-type=crlf>
Default-value: raw-text
(Good)
C-x k
C-x d
C-x f test.txt
C-h v buffer-file-coding-system =
Value: #<coding-system raw-text-unix no-conversion eol-type=lf>
Default-value: raw-text
HUH?
How/why does dired screw up the buffer-file-coding-system used for
reading test.txt?
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: CYGWIN_NT-5.0 PASTON 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown
./configure '--with-dragndrop' '--site-includes=/usr/include/w32api'
'--error-checking=none' '--debug=no' '--with-x11=no'
'--pdump'
XEmacs 21.5-b9 "brussels sprouts" configured for `i686-pc-cygwin'.
Compilation / Installation:
Source code location: /opt/src/xemacs-21.5
Installation prefix: /usr/local
Additional header files: /usr/include/w32api
Operating system description file: `s/cygwin32.h'
Machine description file: `m/intel386.h'
Compiler: gcc -I/usr/lib/../include/noX
-I/usr/lib/../include/noX -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wsign-compare -Wshadow -Wpointer-arith
Relocating allocator for buffers: no
GNU version of malloc: yes
Window System:
Compiling in support for the Microsoft window system.
Using MS-Windows menubars.
Using MS-Windows scrollbars.
Using MS-Windows dialog boxes.
Using MS-Windows native widgets.
Compiling in support for Drag'n'Drop (EXPERIMENTAL).
- Drag'n'Drop prototype: msw.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
WARNING: -----------------------------------------------------------
WARNING: Compiling without PNG image support.
WARNING: You should strongly consider installing the PNG libraries.
WARNING: Otherwise certain images and glyphs may not display.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
WARNING: -----------------------------------------------------------
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for GNU DBM.
Internationalization:
Mail:
Compiling in support for POP mail retrieval.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/usr/local/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print
/usr/local/lib/xemacs/xemacs-packages/lisp/ps-print-nomule/ps-print
/work/home/philipa/.xemacs/mylisp/xslide/xslide
/usr/local/lib/xemacs/xemacs-packages/lisp/xslide/xslide
/work/home/philipa/.xemacs/mylisp/xslide/xslide-process
/usr/local/lib/xemacs/xemacs-packages/lisp/xslide/xslide-process
/work/home/philipa/.xemacs/mylisp/xslide/xslide-font
/usr/local/lib/xemacs/xemacs-packages/lisp/xslide/xslide-font
/work/home/philipa/.xemacs/mylisp/xslide/xslide-data
/usr/local/lib/xemacs/xemacs-packages/lisp/xslide/xslide-data
/work/home/philipa/.xemacs/mylisp/xslide/xslide-abbrev
/usr/local/lib/xemacs/xemacs-packages/lisp/xslide/xslide-abbrev)
Installed XEmacs Packages:
-------------------------
((xslt-process:version 1.1 :type regular)
(xslide :version 1.03 :type regular)
(xemacs-devel :version 1.48 :type single-file)
(xemacs-base :version 1.67 :type regular)
(w3 :version 1.25 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.34 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.33 :type regular)
(tooltalk :version 1.13 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.51 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.24 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sh-script :version 1.15 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.14 :type regular)
(scheme :version 1.11 :type regular)
(reftex :version 1.26 :type regular)
(psgml :version 1.31 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(ps-print :version 1.07 :type regular)
(prog-modes
:version
1
.63
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.28 :type single-file)
(net-utils :version 1.27 :type single-file)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.15 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.48 :type regular)
(jde :version 1.35 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.27 :type regular)
(igrep :version 1.09 :type regular)
(hm--html-menus :version 1.18 :type regular)
(gnus :version 1.62 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.11 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.36 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.03 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.03 :type regular)
(efs :version 1.29 :type regular)
(edit-utils :version 1.92 :type single-file)
(ediff :version 1.41 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.12 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.15 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.04 :type regular)
(cc-mode :version 1.29 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.19 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.07 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.32 :type regular)
(apel :version 1.25 :type regular))
Features:
--------
(xemacsbug shadow rect jka-compr ediff-merg ediff-diff ediff-tbar
ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff igrep
vm-crypto vm-pop netrc smtpmail time-stamp calc-macs calc vm-virtual
vm-sort vm-delete vm-save vm-undo w3-style w3-xemac w3-xemacs
w3-toolbar xbm-button xpm-button w3-forms images urlauth vm-macro
smiley messagexmas nnheader nnheaderxm mm-util mail-prsvr annotations
vm-page vm-toolbar tapestry vm-motion vm-message overlay feedmail
vm-folder vm-minibuf vm-mime vm-summary mail-utils flyspell ispell
mail-abbrevs vm-menu vm-reply vm-misc vm-window vm-autoload
highlight-headers vm-vars vm-version vm vm-startup outline bookmark pp
psgml-dtd psgml-parse psgml-edit dabbrev dired-faces dired-xemacs
dired senator jde executable jde-package jde-import jde-which-method
jde-stat jde-javadoc jde-javadoc-gen jde-java-font-lock jde-bug
jde-dbs jde-dbo jde-help jde-wiz jde-widgets tree-widget jde-complete
beanshell jde-gen jde-make compile jde-run jde-db jde-parse jde-imenu
regexp-opt semantic-imenu jde-java-grammar semantic-java avltree
stack-m elib-node semantic-bnf semantic-sb semantic-ia-sb
semantic-analyze semantic-ctxt semantic-cb eieio-base eieio-speedbar
eieio-custom eieio speedbar sb-image dframe semantic-util-modes timer
semantic-util semantic assoc working gud tags etags jde-compile
cc-mode cc-align cc-cmds cc-engine cc-langs cc-menus semantic-load
imenu python-mode sendmail tempo psgml-html psgml-xemacs sgml-mode
psgml efs-cu paren blink-paren pending-del vm-mouse browse-url gnuserv
mailcrypt rfc822 comint ring cc-styles cc-vars cc-defs byte-optimize
bytecomp byte-compile savehist time w3-hot url-file url-cache url-http
url-cookie timezone 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 url mm
w3-display w3-mouse advice advice-preload w3-imap w3-widget w3-vars
w3-keyword wid-edit w3-cus url-parse url-vars css font disp-table
mule-sysdp w3-cfg w3-sysdp x-compose x-iso8859-1 vc-hooks
scroll-in-place recent-files func-menu font-lock cus-face
xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vm-autoloads viper-autoloads
view-process-autoloads vhdl-autoloads vc-cc-autoloads vc-autoloads
tooltalk-autoloads time-autoloads textools-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads
strokes-autoloads speedbar-autoloads sounds-wav-autoloads
sounds-au-autoloads slider-autoloads sh-script-autoloads
sgml-autoloads semantic-autoloads scheme-autoloads reftex-autoloads
psgml-autoloads ps-print-nomule-autoloads ps-print-autoloads
prog-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads hm--html-menus-autoloads
gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads forms-autoloads footnote-autoloads eudc-autoloads
eterm-autoloads eshell-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads dired-autoloads dictionary-autoloads debug-autoloads
crisp-autoloads cookie-autoloads clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads lisp-autoloads loadhist
rsz-minibuf auto-show fontl-hooks code-cmds gutter-items menubar-items
x-menubar dragdrop mode-motion mouse behavior itimer auto-save
lisp-mode easymenu iso8859-1 page buff-menu lib-complete cus-file
derived env text-props frame obsolete cus-start custom widget cl-extra
mini-cl cl cl-19 packages backquote very-early-lisp unicode
mswindows-scrollbars mswindows tty-frames tty toolbar native-sound
scrollbar unix-processes multicast network-streams subprocesses
modules menu-accelerator-support menubar dbm md5 xemacs gutter tiff
gif jpeg xpm xbm lisp-float-type file-coding dde cygwin32 dragdrop-api
dialog devices window-system base64)
Recent keystrokes:
-----------------
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-c C-c RET s g r TAB RET # S button1
button1up C-up C-up button1 button1up SPC misc-use
r
Recent messages (most recent first):
-----------------------------------
Parsing /work/home/philipa/.mailrc... done
Parsing /work/home/philipa/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
End of message 9 from Andy Piper
End of message 9 from Andy Piper
Wrote /work/home/philipa/INBOX
Saving...
Stuffing attributes... done
Ordering updates...
Stuffing attributes...
Deleted messages expunged.
Expunging...
Decoding MIME message... done
Inlining text/html... done
Drawing... done
Parsed 100% of 504...done
Inlining text/html, be patient...
Inlining text/html... done
Drawing... done