1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
Stefan Monnier
705e5bd932 * mail/feedmail.el: Use CL macros.
(feedmail-run-the-queue, feedmail-send-it-immediately):
* dos-w32.el (find-buffer-file-type): Replace uses of
default-buffer-file-type with (default-value 'buffer-file-type).
2009-08-28 04:05:58 +00:00
Eli Zaretskii
5a4122e2bf (find-buffer-file-type-coding-system): If `(car target)' does not exist as a
file, try again with its basename replaced by `(cdr target)'. Fixes Bug #1853.
2009-01-17 12:35:50 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
116f996b96 Spelling fix. 2008-05-23 04:44:07 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Dan Nicolaescu
73e6adaa14 * international/titdic-cnv.el (dos-8+3-filename):
* obsolete/fast-lock.el (msdos-long-file-names):
* frame.el (msdos-mouse-p):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* net/browse-url.el (w32-shell-execute):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-22 01:05:55 +00:00
Dan Nicolaescu
99c715160b * frame.el (msdos-mouse-p):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Undo previous change.
2007-11-21 08:37:31 +00:00
Dan Nicolaescu
e8ffb999b9 * frame.el (msdos-mouse-p):
* generic-x.el (w32-shell-name):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names, dired-get-filename, dired-unmark)
(dired-do-flagged-delete, dos-8+3-filename, vms-read-directory)
(view-mode-disable):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* help-fns.el (ad-get-advice-info):
* font-lock.el (fast-lock-after-fontify-buffer)
(fast-lock-after-unfontify-buffer, fast-lock-mode)
(lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-mode):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-21 03:06:01 +00:00
Dan Nicolaescu
200fe89b7c * w32-fns.el (w32-quote-process-args):
* dos-w32.el (print-region-function, lpr-headers-switches)
(ps-print-region-function): Pacify byte-compiler.
2007-10-21 19:35:11 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Eli Zaretskii
6903229ca9 (find-buffer-file-type-coding-system): Doc fix. 2007-05-22 11:21:13 +00:00
Glenn Morris
f22f1a912b (default-buffer-file-type): Add defvar to quieten byte-compiler. 2007-04-10 04:05:10 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
e91081eb9e Update copyright years. 2006-12-05 06:15:26 +00:00
Eli Zaretskii
9e36182786 (find-buffer-file-type-coding-system): Support calls where `(nth 1 command)'
is a cons cell.  Doc fix.
2006-07-21 09:20:02 +00:00
Eli Zaretskii
e7962b9203 (top level): Use find-file-not-found-functions instead of the obsolete
find-file-not-found-hooks.
2006-06-23 10:39:05 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Jason Rumney
d37c8e1eeb Added support for the `default-printer-name' function. 2004-01-28 23:32:55 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
c60ee5e70f Cygwin support patch. 2003-01-31 15:24:20 +00:00
Pavel Janík
c25773c46d *** empty log message *** 2002-07-11 17:32:01 +00:00
Francesco Potortì
6eaa6db46b (file-name-buffer-file-type-alist): Add knowledge of .sx[dmicw] file
suffixes for Open office data files.
2002-07-05 23:15:06 +00:00
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