Eli Zaretskii [Thu, 14 May 1998 15:08:55 +0000 (15:08 +0000)]
(archive-tmpdir): Make the prefix of the temporary
directory absolute.
(file-name-invalid-regexp): New variable.
(archive-zip-case-fiddle): Doc fix.
(archive-remote): Make it permanent-local.
(archive-member-coding-system): New variable.
(archive-mode): Don't use write-contents-hooks for remote
archives. Archives whose names are illegal for the current
filesystem are marked read-only.
(archive-summarize): Optional argument SHUT-UP makes it silent.
All callers changed.
(archive-unique-fname): New function.
(archive-maybe-copy): Use it.
(archive-maybe-copy, archive-write-file): Bind
coding-system-for-write to no-conversion.
(archive-maybe-update, archive-mode-revert): Bind
coding-system-for-read to no-conversion.
(archive-maybe-update): Remain at the same line in the archive
listing, after updating the archive. Print the buffer name of the
archive to be saved.
(archive-extract): Mark archive members whose names are invalid as
read-only. Don't set buffer-file-type. Remove the write-contents
hook for remote archives. Warn about read-only archives inside
other archives.
(archive-write-file-member): Handle remote archives. Restore
value of last-coding-system-used.
(archive-*-write-file-member): Handle archives inside other
archives. Save the value of last-coding-system-used.
(archive-write-file): New optional variable FILE: where to write
the archive; defaults to buffer-file-name, for remote archives.
(archive-zip-summarize, archive-zip-chmod-entry): Support VFAT
type of host filesystem.
(archive-zip-summarize): Don't fiddle letter case of mixed-case
file names.
(byte-compile-from-buffer):
Insert the output file header after compiling all the input.
(byte-compile-output-file-form): Major cleanup.
If output file contains multibyte chars,
insist on Emacs 20 when loading.
(rmail-decode-babyl-format):
Set save-buffer-coding-system instead of buffer-file-coding-system.
Decode the whole Babyl text at once, not message by message.
Don't alter global value of rmail-file-coding-system.
(rmail-show-message): Set buffer-file-coding-system from
X-Coding-System header field.
(rmail-convert-to-babyl-format): Record X-Coding-System header
for each message that was converted.
(rmail-variables): Make local binding for save-buffer-coding-system,
and set it from buffer-file-coding-system if not already non-nil.
(Finsert_file_contents): Don't use the fast replace code
if coding needs eol conversion.
(Finsert_file_contents) [DOS_NT]: When setting buffer_file_type,
if code conversion is needed, file is not binary.
(parse_menu_item): Argument inmenubar < 0 now means
parsing a keyboard menu item.
(read_char_minibuf_menu_prompt): Use `parse_menu_item' to understand
new menu item format.
(calendar-mode-map): Rename `holidays' menu to `Holidays'.
(cal-menu-update): Similar renamings; change the arg to
easy-menu-change also. Change some item names.
(assoc_for_completion): Use Fcompare_strings.
(test_completion): In obarray, try both unibyte and multibyte strings.
(read_minibuf): Convert unibyte prompt to multi if minibuffer is multi.
(Fdisplay_completion_list): Convert unibyte to strings to multibyte
to conform to the buffer.
(save-buffer-coding-system): New variable.
(basic-save-buffer-1): Obey it.
(basic-save-buffer): Set save-buffer-coding-system instead of
buffer-file-coding-system, if save-buffer-coding-system is already non-nil.
(unchain_marker): Abort if the marker is not in its buffer's chain.
(buf_bytepos_to_charpos): Fix assignment of `record'
when scanning from below.
Don't create a marker if buffer's marker chain is empty.
(Fstart_process): Remove the special case for
unibyte, for initializing the process coding systems.
Instead, use the normal multibyte code, but check
BUFFER's value and the default value of enable-multibyte-characters.
(Fopen_network_stream): Likewise.
(ps-alist-position): Renamed from ps-position.
Look for ITEM as the car of an element.
(ps-font-number): Use ps-alist-position.
(ps-font-alist): Renamed from ps-font-list.
(Fexpand_file_name) [DOS_NT]: Note when special escape
prefix /: is present, and reinsert after name has been expanded.
Only recognize drive specifier at beginning of name.
(Fexpand_file_name): Don't strip trailing slash if newdir is just /.