I'm using xemacs-21.5 under native win32 with Mule. I have tried to turn
on automatic build and save of dir contents for info directories. There
are two problems currently:
- info files which does not hold the proper description do not get a
'\n' on their line in the menu. I ended up in forcing one in
Info-dump-dir-entries.
- Something is wrong wrt EOL conventions between buffers
used. I don't know what is the proper way to fix it. Currently I have
forced the LF only EOL in a couple of places. But that's ugly.
If anybody can come up with a better solution to these problems ...
--
Fabrice
--- xemacs\xemacs-21.5\lisp\info.el Tue Jan 28 11:14:02 2003
+++ xemacs\xemacs-21.5\lisp\info.el Wed Apr 09 00:57:19 2003
@@ -846,6 +846,10 @@
The \"dir\" files will take precedence in cases where both exist. It
sets the *info* buffer's `default-directory' to the first directory we
actually get any text from."
+ (setq buffer-file-coding-system
+ (subsidiary-coding-system
+ (coding-system-base buffer-file-coding-system)
+ 'lf))
(if (and Info-dir-contents Info-dir-file-attributes
;; Verify that none of the files we used has changed
;; since we used it.
@@ -1191,7 +1195,8 @@
(while e
(indent-to-column description-col)
(insert (car e) "\n")
- (setq e (cdr e))))
+ (setq e (cdr e)))
+ (insert "\n"))
entries)
(insert "\n")))
@@ -1263,6 +1268,10 @@
(message "%s is outdated. Overwrite ? "
file))))))))
(set-buffer (find-file-noselect file t))
+ (setq buffer-file-coding-system
+ (subsidiary-coding-system
+ (coding-system-base buffer-file-coding-system)
+ 'lf))
(setq buffer-read-only nil)
(if to-temp
(message "Rebuilding temporary %s..." file)