1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
Eli Zaretskii
e5e316b0b5 (grep-regexp-alist): Remove definition, since the
general one on compile.el supports drive letters.
2001-06-08 10:57:27 +00:00
Eli Zaretskii
5cbb3e93c8 (find-buffer-file-type-coding-system): Doc fix. 2000-12-02 11:29:40 +00:00
Eli Zaretskii
d71d711415 (find-file-not-found-set-buffer-file-coding-system):
Don't call find-buffer-file-type-coding-system.  Instead, just
set eol-type to -unix if inhibit-eol-conversion is in effect, or
if the file is on an untranslated filesystem.
(add-untranslated-filesystem): Use "D" instead of "f" inside
interactive.
2000-10-27 19:24:25 +00:00
Gerd Moellmann
a7261cf5cb (file-name-buffer-file-type-alist): Add `$' at end of
regexp matching image and audio files.
1999-12-10 13:37:42 +00:00
Eli Zaretskii
b046ee9f70 (direct-print-region-helper): Use temporary-file-directory. 1999-09-02 11:51:42 +00:00
Andrew Innes
97a1a46f05 (untranslated-canonical-name): Avoid expanding
ange-ftp file names, which might force ange-ftp to prompt for a
password.
1999-07-01 19:42:42 +00:00
Andrew Innes
e51d4f9c1c (file-name-buffer-file-type-alist): Remove various
file extension regexps which aren't necessarily binary files.
1999-05-02 09:36:07 +00:00
Andrew Innes
224116b8e9 (set-default-process-coding-system): Copied from dos-w32.el. 1999-03-25 22:51:54 +00:00
Geoff Voelker
416afb3205 (direct-print-region-helper): Check for printer
being t as well as a string.
1999-01-28 04:48:30 +00:00
Andrew Innes
ca19ad6778 (find-buffer-file-type-coding-system): Use
default-buffer-file-coding-system when file doesn't exist (and isn't
covered by a special case) instead of forcing undecided-dos against
the user's wishes.

(direct-print-region-helper): New function based on
direct-print-region-function; sends data to specified printer port
without further translation.  Recognize and handle specially the
standard `print' and `nprint' programs, as well as `lpr' and
similar programs.  Only write directly to the printer port if no
print program is specified.  Work around a bug in Windows 9x
affecting Win32 version of Emacs by invoking command.com to write
to the printer port instead of writing directly.
(direct-print-region-function): Use direct-print-region-helper to
do most of the work.
(direct-ps-print-region-function): New function; analogue of
direct-print-region-function for ps-print.
(ps-lpr-command): Comment out setq; leave as example usage.
(ps-lpr-switches): Ditto.
1999-01-17 19:00:24 +00:00
Geoff Voelker
36f22224e1 (direct-print-region-function): Try to ensure that
printer-name is expanded to a file name on a local drive;
sometimes printing a file loaded from a network volume fails.
(direct-print-region-function): Add a function to
write-region-annotate-functions to append a formfeed character to
the region being printed, if the region doesn't end with a
formfeed already.  This avoids creating a second print job
containing a blank page when print spooling is enabled on Windows.
1998-12-02 23:01:50 +00:00
Geoff Voelker
5dbd225734 (set-default-process-coding-system): Use function on
before-init-hook to set default-process-coding-system based on
enable-multibyte-characters.
1998-11-10 21:06:50 +00:00
Geoff Voelker
0009dce3ea (file-name-buffer-file-type-alist): Fix typo in regexp. 1998-10-07 02:29:06 +00:00
Andrew Innes
b2a8c84d18 dos-w32.el (file-name-buffer-file-type-alist): Force tags files to be
read as raw-text-dos (to handle files in DOS format).
1998-07-12 15:20:27 +00:00
Richard M. Stallman
5a0aa6443e (direct-print-region-function): Renamed from
dos-print-region-function.  Added &rest keyword.
(print-region-function): Set to direct-print-region-function.
(lpr-headers-switches): Initialize.
(ps-lpr-command): Initialize.
(ps-lpr-switches): Initialize.
1998-07-03 19:54:01 +00:00
Andrew Innes
bfba21fc34 (null-device): Renamed from grep-null-device. 1998-06-24 20:32:19 +00:00
Richard M. Stallman
fdc4f7a08a (minibuffer-history-case-insensitive-variables):
Add file-name-history to it.
1998-05-26 20:52:06 +00:00
Eli Zaretskii
0b61968932 (find-binary-process-coding-system): Remove.
(default-process-coding-system): Make it be raw-text-dos if async
processes are supported, undecided-dos otherwise.
1998-04-15 15:02:22 +00:00
Richard M. Stallman
68429d8618 Comment change. 1998-03-03 19:36:31 +00:00
Eli Zaretskii
17e4fb34cc (file-name-buffer-file-type-alist): Remove the files with ".dos" extension
from the list of binary files.
1997-09-24 08:50:49 +00:00
Geoff Voelker
f359fb79df (file-name-buffer-file-type-alist): Add more
extensions for binary files.
1997-09-02 23:52:43 +00:00
Richard M. Stallman
73b2c66423 (find-buffer-file-type): Don't check for untranslated file systems here.
(find-buffer-file-type-coding-system): For reading a file,
check for binary file, then text file, then existing file,
then whether file name is translated.
1997-09-01 17:04:41 +00:00
Geoff Voelker
99bf72f2ee Set default coding system to undecided-dos.
(find-buffer-file-type-coding-system):
For writing, use buffer-file-coding-system if set, otherwise
buffer-file-type.
(find-file-not-found-set-buffer-file-coding-system):
Renamed from find-file-not-found-set-buffer-file-type.
Set buffer-file-coding-system as well as buffer-file-type.
1997-08-17 01:49:50 +00:00
Geoff Voelker
7c621f7acd (find-buffer-file-type-coding-system,
find-buffer-process-coding-system): Remove second argument.
1997-07-22 21:49:49 +00:00
Geoff Voelker
f473b0ca64 (find-buffer-file-type-coding-system):
Use undecided-dos for dos-text file names.
Use undecided for non-existing untranslated file names.
1997-07-20 01:30:54 +00:00
Richard M. Stallman
dfbcdf5f5b (find-buffer-file-type-coding-system):
Use emacs-mule-dos for text file names; use undecided-dos
for the last resort (instead of emacs-mule-dos).
1997-07-19 03:27:19 +00:00
Richard M. Stallman
ee425fc3fc (find-buffer-file-type-coding-system)
(find-binary-process-coding-system, find-buffer-file-type-match):
New functions.

(find-buffer-file-type): Use find-buffer-file-type-match.
Add find-buffer-file-type-coding-system to file-coding-system-alist
as the default entry.
Add find-binary-process-coding-system to process-coding-system-alist
as the default entry.
1997-07-18 22:54:23 +00:00
Richard M. Stallman
60382faa3a (add-untranslated-filesystem)
(remove-untranslated-filesystem): Add interactive spec.
1997-05-20 18:51:22 +00:00
Geoff Voelker
b63f9ba137 Change uses of win32 to w32. 1997-01-20 01:07:48 +00:00
Geoff Voelker
b55edb6350 Use new file name dos-w32.el 1996-11-19 07:02:50 +00:00
Karl Heuer
f37fec3047 Comment change. 1996-09-17 21:38:17 +00:00
Richard M. Stallman
a750bcaada Initial revision 1996-09-01 17:09:21 +00:00