Andrew Innes [Sun, 17 Jan 1999 19:00:24 +0000 (19:00 +0000)]
(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.
Andrew Innes [Sun, 17 Jan 1999 18:58:43 +0000 (18:58 +0000)]
(printer-name): Update docstring about usage on MS-DOS
and MS-Windows.
(lpr-command) [ms-dos, windows-nt]: Initialize to empty string on
DOS and Windows platforms, to indicate direct printing. Update
the docstring accordingly.
Andrew Innes [Sun, 17 Jan 1999 18:57:20 +0000 (18:57 +0000)]
(ps-printer-name): Update docstring about usage on
MS-DOS and MS-Windows.
(ps-lpr-command): Update docstring as for lpr-command.
(ps-print-region-function): New variable.
(ps-do-despool): Use it.
(ps-do-despool) [ms-dos, windows-nt]: Remove special case code for
DOS/Windows.
Eli Zaretskii [Sun, 17 Jan 1999 16:34:00 +0000 (16:34 +0000)]
(bdf-cache-file): Use convert-standard-filename.
(bdf-find-font-info): New function, looks for the first readable
file from a list of alternatives.
(bdf-get-bitmaps, bdf-generate-font): Call bdf-find-font-info
instead of bdf-get-font-info.
(bdf-generate-glyphs): If font-name is a cons cell, pass its car
to ps-mule-generate-bitmap-glyph.
Eli Zaretskii [Sun, 17 Jan 1999 16:32:50 +0000 (16:32 +0000)]
(ps-mule-font-info-database-bdf): Add alternative
file names that avoid clashes in DOS 8+3 namespace. FONT-NAME can
now be a list of alternative names.
(ps-mule-generate-font): If FONT-NAME is a cons cell, use its car.
(ps-mule-prepare-font): Likewise.
(forms--show-record): Convert integers to string
expicitly since concat will no longer accept integers.
(forms-print): Use local `total-nb-records' since
`forms--total-records' will be inaccessible after buffer switching.
Karl Heuer [Tue, 12 Jan 1999 21:50:44 +0000 (21:50 +0000)]
(sql-mode-ansi-font-lock-keywords): Quote font-lock
faces, eliminating the need to load font-lock before loading sql.
(sql-mode-oracle-font-lock-keywords): Likewise.
(sql-mode-postgres-font-lock-keywords): Likewise.
(find_handler_clause): If SIG is nil (memory full error),
never run the debugger, and don't bother checking the args
to see whether the debugger should be run.
(read_key_sequence): In key-translation-map and
function-key-map, handle symbol with array as fn def.
In function-key-map, handle symbol with keymap as fn def,
and autoloaded definitions.
(help-mode-finish): Renamed from help-mode-maybe.
Don't switch to Help mode here.
(temp-buffer-setup-hook): Use help-mode-finish.
(help-mode-setup): New function.
(temp-buffer-setup-hook): Use help-mode-setup.
(term_send_home): Change the string to
be the same as the one emitted by xterm and consistent with the
ones emitted by prior and next.
(term_send_end): Likewise.
Dave Love [Wed, 6 Jan 1999 14:57:58 +0000 (14:57 +0000)]
1999-01-06 Dave Love <fx@gnu.org>
* browse-url.el: Require (noerror) w3-auto when compiling.
(browse-url-maybe-new-window): Make it a macro and revert last
change to callers.
(browse-url-w3): Require w3 for w3-fetch-other-window.
1999-01-06 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
* browse-url.el (browse-url-w3): Give w3-fetch-other-window the
argument.
Eli Zaretskii [Wed, 6 Jan 1999 10:14:25 +0000 (10:14 +0000)]
(set_clipboard_data): Terminate the text with a null
character. Don't allow to put binary data into the clipboard.
Return zero in case of success, 1 or 2 otherwise.
(get_clipboard_data): Only bail out if the null character is in
the last 32-byte chunk of clipboard data
(Fw16_set_clipboard_data): Make ok and put_status be unsigned. If
they save binary data, print a message in the echo area saying the
text was not put into the clipboard.
Carsten Dominik [Tue, 5 Jan 1999 09:07:29 +0000 (09:07 +0000)]
(reftex-section-levels): Allow negative levels.
(reftex-section-info): Handle negative section levels.
(reftex-view-crossref-extra): New option.
(reftex-view-crossref): Generalized to work in more places.
(reftex-find-citation-regexp-format, reftex-find-reference-format,
reftex-macros-with-labels, reftex-global-search-marker): New variables.
(reftex-view-cite-locations-from-bibtex): New command.
(reftex-view-regexp-match, reftex-global-search,
reftex-global-search-continue): New functions.
(reftex-extract-bib-entries): No error for non-existing BibTeX
file, just a message.
(reftex-extract-bib-entries): Better error handling.
(reftex-select-with-char): Use `*RefTeX Select*' for selection
help and force it on current frame.
(reftex-default-bibliography): New function.
(reftex-access-parse-file): Check consistency after loading a
parse file. When inconsistent, enfore rescan.
(reftex-check-parse-consistency): New function.
(easy-menu-define): Options section drastically shortened.
Kenichi Handa [Tue, 5 Jan 1999 02:39:31 +0000 (02:39 +0000)]
(fill-region-as-paragraph): While deleting a
newline in multibyte buffer, if previous or next character is a
composite char, check the first component of the composite char.