# HG changeset patch # User Glenn Morris # Date 1201988261 0 # Node ID 0158535f0ec8cc4cd02ed6f233320322a5ee875b # Parent 88108166991aee8bf9603c426bb4e97ece37fcf3 Restore ps-print changes originally made on trunk to their original dates. (Dates were replaced with unicode merge dates in rev 1.12702.) See http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00062.html diff -r 88108166991a -r 0158535f0ec8 lisp/ChangeLog --- a/lisp/ChangeLog Sat Feb 02 21:16:39 2008 +0000 +++ b/lisp/ChangeLog Sat Feb 02 21:37:41 2008 +0000 @@ -390,13 +390,7 @@ 2008-02-01 Vinicius Jose Latorre - * ps-print.el: Fix the usage of :foreground and :background face - attributes. Reported by Nikolaj Schumacher . - (ps-print-version): New version 7.2.5. - (ps-face-attributes, ps-face-attribute-list, ps-face-background): Fix - code. - (ps-face-foreground-color-p, ps-face-background-color-p) - (ps-face-color-p): New inline funs. + * ps-print.el (ps-print-version): New version 7.2.5. (ps-background, ps-begin-file, ps-build-reference-face-lists): Use `mapc' rather than `mapcar'. @@ -416,92 +410,6 @@ * play/gamegrid.el (gamegrid-setup-default-font): Calculate a font height that doesn't exceed the requested height by rounding off. -2008-02-01 Vinicius Jose Latorre - - * ps-print.el (ps-header-font-size, ps-header-title-font-size) - (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing) - (ps-paragraph-spacing): Docstring fix. - -2008-02-01 Glenn Morris - - * ps-print.el (ps-font-size): Doc fix. - -2008-02-01 Vinicius Jose Latorre - - * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix. - (ps-begin-job): Use ps-default-fg and ps-default-bg only when - ps-print-color-p is neither nil nor black-white. Reported by Christian - Schlauer . - -2008-02-01 Vinicius Jose Latorre - - * printing.el (pr-update-menus): Docstring fix. - -2008-02-01 Vinicius Jose Latorre - - * printing.el: Require lpr and ps-print when loading printing package. - Reported by Glenn Morris . - -2008-02-01 Vinicius Jose Latorre - - * printing.el: Evaluate require only during compilation. - (pr-version): New version 6.9.1. - (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR). - (pr-global-menubar): Fix code. - -2008-02-01 Vinicius Jose Latorre - - * progmodes/ebnf-abn.el (ebnf-abn-skip-comment): - * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment): - * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment): - * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment): - * progmodes/ebnf-iso.el (ebnf-iso-skip-comment): - * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version. - New command actions for EPS header and EPS footer. - - * progmodes/ebnf2ps.el: New command actions for EPS header and EPS - footer. Fix some problems with one-or-more, zero-or-more and - alternative constructions generation. Some log messages - implementation. Doc fix. - (ebnf-version): New version 4.4. - (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font) - (ebnf-eps-footer, ebnf-log): New options. - (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header) - (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment) - (ebnf-eps-header-footer-p, ebnf-eps-header-comment) - (ebnf-eps-footer-comment, ebnf-eps-header-footer-file) - (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs. - (ebnf-style-custom-list, ebnf-style-database): Put new values. - (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer) - (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file) - (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory) - (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region) - (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer) - (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job) - (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension) - (ebnf-non-terminal-dimension, ebnf-special-dimension) - (ebnf-terminal-dimension1, ebnf-repeat-dimension) - (ebnf-except-dimension, ebnf-alternative-dimension) - (ebnf-optional-dimension, ebnf-one-or-more-dimension) - (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log - message fun. - (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more) - (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write) - (ebnf-insert-ebnf-prologue, ebnf-production-dimension) - (ebnf-terminal-dimension1, ebnf-alternative-dimension) - (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension) - (ebnf-eps-add-context, ebnf-eps-add-production): Fix code. - (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep - compatibility with Emacs 20 & 21. - (ebnf-eps-header-comment, ebnf-eps-footer-comment) - (ebnf-eps-file-alist, ebnf-basic-width-extra) - (ebnf-basic-empty-height): New vars. - (ebnf-prologue): Fix PostScript code. - (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1) - (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional) - (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence) - (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments. - 2008-02-01 Andreas Schwab * international/mule-diag.el (print-fontset-element): Use fontp @@ -509,26 +417,13 @@ 2008-02-01 Vinicius Jose Latorre - * ps-print.el (ps-multibyte-buffer): Docstring fix. - - * ps-mule.el: Doc fix. - (ps-multibyte-buffer, ps-mule-font-info-database, ps-mule-prepare-font) - (ps-mule-external-libraries, ps-mule-encode-region) - (ps-mule-plot-composition, ps-mule-encode-header-string) - (ps-mule-begin-job): Docstring fix. + * ps-mule.el (ps-mule-prepare-font, ps-mule-encode-region) + (ps-mule-plot-composition, ps-mule-encode-header-string): Docstring fix. (ps-mule-prologue-generated): Code fix. 2008-02-01 Vinicius Jose Latorre - * ps-print.el: Problem with foreground and background color when - printing a buffer with and without faces. Reported by Christian - Schlauer . - (ps-print-version): New version 7.2.4. - (ps-default-fg): Change default value to nil, so black color is used - when a face does not specify a foreground color. - (ps-default-bg): Change default value to nil, so white color is used - for background color. - (ps-begin-job): Fix code. + * ps-print.el (ps-print-version): New version 7.2.4. 2008-02-01 Kenichi Handa @@ -590,45 +485,10 @@ (glyph-char): Likewise. (glyph-face): Likewise. -2008-02-01 Vinicius Jose Latorre - - * printing.el: Group together all XEmacs/Emacs definitions. - (pr-version): New version 6.9. - (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs. - (pr-menu-char-height, pr-menu-char-width): Fix initialization code. - (pr-menu-bind): Fix code. - (pr-e-frame-char-height, pr-e-frame-char-width) - (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function) - (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height) - (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event) - (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel) - (pr-x-event-y-pixel): Aliases eliminated. - (pr-xemacs-global-menubar): Macro moved. - (current-menubar, current-mouse-event, zmacs-region-stays) - (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old) - (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu): - Vars moved. - (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock) - (pr-update-mode-line, pr-do-update-menus, pr-menu-alist) - (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title) - (pr-menu-set-utility-title, pr-even-or-odd-pages) - (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string) - (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs - moved. - 2008-02-01 Juanma Barranquero * printing.el (pr-ps-fast-fire): Fix typos in docstring. -2008-02-01 Vinicius Jose Latorre - - * ps-print.el: Use default color when foreground or background color - are unspecified. Reported by Leo . - (ps-print-version): New version 7.2.3. - (ps-rgb-color): New argument. Use default color when color is - unspecified. - (ps-begin-job): Fix code. - 2008-02-01 Kenichi Handa * international/characters.el: Add more cases/syntaxes from Latin @@ -10380,6 +10240,16 @@ * international/characters.el: Undo unwanted and unexplained change. +2007-10-10 Vinicius Jose Latorre + + * ps-print.el: Fix the usage of :foreground and :background face + attributes. Reported by Nikolaj Schumacher . + (ps-print-version): New version 6.7.6. + (ps-face-attributes, ps-face-attribute-list, ps-face-background): + Fix code. + (ps-face-foreground-color-p, ps-face-background-color-p) + (ps-face-color-p): New inline funs. + 2007-10-10 Carsten Dominik * textmodes/org.el (org-additional-option-like-keywords): New constant. @@ -13434,6 +13304,16 @@ * calc/calc.el (calc-language-alist): Add texinfo-mode. +2007-08-16 Vinicius Jose Latorre + + * ps-print.el (ps-header-font-size, ps-header-title-font-size) + (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing) + (ps-paragraph-spacing): Docstring fix. + +2007-08-16 Glenn Morris + + * ps-print.el (ps-font-size): Doc fix. + 2007-08-16 Richard Stallman * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group. @@ -13744,6 +13624,13 @@ (tex-font-script-display, tex-font-lock-suscript): Change from a cons cell to a list of 2 elements to simplify the unfontify code. +2007-08-08 Vinicius Jose Latorre + + * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix. + (ps-begin-job): Use ps-default-fg and ps-default-bg only when + ps-print-color-p is neither nil nor black-white. Reported by Christian + Schlauer . + 2007-08-08 Andreas Schwab * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for @@ -13825,6 +13712,10 @@ format-mode-line because it may be a list, e.g., (sgml-xml-mode "XML" "SGML"), and not a string. +2007-08-06 Vinicius Jose Latorre + + * printing.el (pr-update-menus): Docstring fix. + 2007-08-06 Jason Rumney * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend. @@ -13868,6 +13759,11 @@ * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables. (math-nlfit-givens): Let bind free variables. +2007-08-05 Vinicius Jose Latorre + + * printing.el: Require lpr and ps-print when loading printing package. + Reported by Glenn Morris . + 2007-08-05 Michael Albinus * files.el (set-auto-mode): Handle also remote files wrt @@ -13897,6 +13793,13 @@ may match up to 4 lines. (diff-beginning-of-file-and-junk): Rewrite. +2007-08-03 Vinicius Jose Latorre + + * printing.el: Evaluate require only during compilation. + (pr-version): New version 6.9.1. + (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR). + (pr-global-menubar): Fix code. + 2007-08-03 Dan Nicolaescu * term.el (term-erase-in-display): Fix case when point is not at @@ -14187,6 +14090,59 @@ * vc-git.el (vc-git-revision-table) (vc-git-revision-completion-table): New functions. +2007-07-26 Vinicius Jose Latorre + + * progmodes/ebnf-abn.el (ebnf-abn-skip-comment): + * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment): + * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment): + * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment): + * progmodes/ebnf-iso.el (ebnf-iso-skip-comment): + * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version. + New command actions for EPS header and EPS footer. + + * progmodes/ebnf2ps.el: New command actions for EPS header and EPS + footer. Fix some problems with one-or-more, zero-or-more and + alternative constructions generation. Some log messages + implementation. Doc fix. + (ebnf-version): New version 4.4. + (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font) + (ebnf-eps-footer, ebnf-log): New options. + (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header) + (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment) + (ebnf-eps-header-footer-p, ebnf-eps-header-comment) + (ebnf-eps-footer-comment, ebnf-eps-header-footer-file) + (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs. + (ebnf-style-custom-list, ebnf-style-database): Put new values. + (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer) + (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file) + (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory) + (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region) + (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer) + (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job) + (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension) + (ebnf-non-terminal-dimension, ebnf-special-dimension) + (ebnf-terminal-dimension1, ebnf-repeat-dimension) + (ebnf-except-dimension, ebnf-alternative-dimension) + (ebnf-optional-dimension, ebnf-one-or-more-dimension) + (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log + message fun. + (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more) + (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write) + (ebnf-insert-ebnf-prologue, ebnf-production-dimension) + (ebnf-terminal-dimension1, ebnf-alternative-dimension) + (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension) + (ebnf-eps-add-context, ebnf-eps-add-production): Fix code. + (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep + compatibility with Emacs 20 & 21. + (ebnf-eps-header-comment, ebnf-eps-footer-comment) + (ebnf-eps-file-alist, ebnf-basic-width-extra) + (ebnf-basic-empty-height): New vars. + (ebnf-prologue): Fix PostScript code. + (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1) + (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional) + (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence) + (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments. + 2007-07-25 Glenn Morris * Relicense all FSF files to GPLv3 or later. @@ -14253,6 +14209,14 @@ * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface. (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions. +2007-07-25 Vinicius Jose Latorre + + * ps-print.el (ps-multibyte-buffer): Docstring fix. + + * ps-mule.el: Doc fix. + (ps-multibyte-buffer, ps-mule-font-info-database-default) + (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix. + 2007-07-25 Glenn Morris * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays) @@ -14636,6 +14600,18 @@ * vc-hg.el (vc-hg-diff): Use vc-hg-command. +2007-07-20 Vinicius Jose Latorre + + * ps-print.el: Problem with foreground and background color when + printing a buffer with and without faces. Reported by Christian + Schlauer . + (ps-print-version): New version 6.7.5. + (ps-default-fg): Change default value to nil, so black color is used + when a face does not specify a foreground color. + (ps-default-bg): Change default value to nil, so white color is used + for background color. + (ps-begin-job): Fix code. + 2007-07-20 Eli Zaretskii * makefile.w32-in (install-lisp-SH): Don't create subdirectories @@ -16880,6 +16856,32 @@ for start and end positions. (ispell-word): Assume END is a marker. +2007-05-17 Vinicius Jose Latorre + + * printing.el: Group together all XEmacs/Emacs definitions. + (pr-version): New version 6.9. + (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs. + (pr-menu-char-height, pr-menu-char-width): Fix initialization code. + (pr-menu-bind): Fix code. + (pr-e-frame-char-height, pr-e-frame-char-width) + (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function) + (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height) + (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event) + (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel) + (pr-x-event-y-pixel): Aliases eliminated. + (pr-xemacs-global-menubar): Macro moved. + (current-menubar, current-mouse-event, zmacs-region-stays) + (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old) + (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu): + Vars moved. + (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock) + (pr-update-mode-line, pr-do-update-menus, pr-menu-alist) + (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title) + (pr-menu-set-utility-title, pr-even-or-odd-pages) + (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string) + (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs + moved. + 2007-05-17 Christian Plate (tiny change) * textmodes/sgml-mode.el (sgml-tag): @@ -16942,6 +16944,15 @@ * files.el (mode-require-final-newline, require-final-newline) (enable-local-variables, enable-local-eval): Doc fixes. +2007-05-13 Vinicius Jose Latorre + + * ps-print.el: Use default color when foreground or background color + are unspecified. Reported by Leo . + (ps-print-version): New version 6.7.4. + (ps-rgb-color): New argument. Use default color when color is + unspecified. + (ps-begin-job): Fix code. + 2007-05-12 Chong Yidong * longlines.el (longlines-mode): Make longlines-auto-wrap