Commit graph

206 commits

Author SHA1 Message Date
Vinicius Jose Latorre
3bcc60cfaf Error if ps-lpr-switches is not a list. 2007-11-11 14:18:17 +00:00
Vinicius Jose Latorre
d54ad49647 Clean the code for checking suitable Emacs version. 2007-11-09 15:34:03 +00:00
Vinicius Jose Latorre
4a6789f7cd If ps-lpr-switches is not a list, force it to be one. 2007-11-09 15:23:07 +00:00
Dan Nicolaescu
c9b3d6a5bb (ps-xemacs-color-name, ps-xemacs-face-kind-p): Only
do work for XEmacs.
(ps-xemacs-mapper): Rename from ps-mapper, only work on XEmacs.
(ps-xemacs-extent-sorter): Rename from ps-extent-sorter, only work
on XEmacs.
(ps-x-color-instance-p, ps-x-color-instance-rgb-components)
(ps-x-color-name, ps-x-color-specifier-p)
(ps-x-copy-coding-system, ps-x-device-class)
(ps-x-extent-end-position, ps-x-extent-face)
(ps-x-extent-priority, ps-x-extent-start-position)
(ps-x-face-font-instance, ps-x-find-coding-system)
(ps-x-font-instance-properties, ps-x-make-color-instance)
(ps-x-map-extents, ps-e-face-bold-p, ps-e-face-italic-p)
(ps-e-next-overlay-change, ps-e-overlays-at, ps-e-overlay-get)
(ps-e-overlay-end, ps-e-x-color-values, ps-e-color-values):
(ps-generate-postscript-with-faces): Delete defaliases.
(ps-face-foreground-name, ps-face-background-name)
(ps-color-values, ps-face-bold-p, ps-face-italic-p): Move
definitions to top level, make the body conditional on the emacs
flavor. Replace uses of deleted aliases and renamed functions.
(ps-generate-postscript-with-faces, ps-color-device): Replace uses
of deleted aliases and renamed functions.
2007-10-29 16:45:23 +00:00
Dan Nicolaescu
6546555e7d * calc/calc.el (calc-emacs-type-lucid): Remove.
(calc-digit-map, calcDigit-start, calc-read-key)
(calc-clear-unread-commands):
* calc/calc-ext.el (calc-user-key-map): Replace uses of
calc-emacs-type-lucid with (featurep 'xemacs)

* emulation/tpu-mapper.el: Replace tpu-lucid-emacs19-p with
(featurep 'xemacs).
(tpu-lucid-emacs19-p): Remove.
(tpu-map-key): Make it a function instead of using fset.  Inline
tpu-emacs-map-key and tpu-lucid-map-key.  Use featurep 'xemacs.
(tpu-emacs-map-key, tpu-lucid-map-key): Remove.

* ielm.el: Use featurep 'xemacs.

* progmodes/cperl-mode.el (cperl-xemacs-p): Remove.
(condition-case, cperl-can-font-lock, cperl-singly-quote-face)
(cperl-define-key, cperl-mode-map, cperl-mode, cperl-init-faces)
(cperl-write-tags, cperl-tags-hier-init, cperl-perldoc): Replace
cperl-xemacs-p with (featurep 'xemacs).
(font-lock-cache-position): Pacify byte compiler.
2007-10-29 15:33:04 +00:00
Vinicius Jose Latorre
ccae01a639 Detect if text foreground and background are equals 2007-10-28 04:58:17 +00:00
Dan Nicolaescu
f82460271e * emulation/edt-mapper.el (function-key-map):
(edt-map-key): Make it a function instead of using fset. Inline
edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs.
(edt-gnu-map-key, edt-lucid-map-key): Remove.
(edt-x-emacs-p): Remove.
(edt-emacs-variant, edt-window-system, edt-xserver):
Use featurep 'xemacs.

* net/eudc.el: Use (featurep 'xemacs) instead of the string test.
Replace eudc-xemacs-p with its definition.
(eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
(eudc-emacs-mule-p): Remove.
(eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
eudc-xemacs-p with feature tests.

* net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
(eudc-bob-url-keymap, eudc-bob-sound-keymap)
(eudc-bob-generic-keymap, eudc-bob-popup-menu)
(eudc-bob-toggle-inline-display):
* net/eudc-hotlist.el (eudc-hotlist-emacs-menu): Replace
eudc-emacs-p and eudc-xemacs-p with feature tests.

* net/eudcb-ph.el (eudc-ph-open-session): Replace
eudc-xemacs-mule-p with its former definition.

* progmodes/octave-mod.el (octave-xemacs-p): Remove.
(octave-abbrev-start): Replace octave-xemacs-p with
(featurep 'xemacs).

* progmodes/vera-mode.el (vera-xemacs): Remove.
(vera-mode-syntax-table): Replace vera-xemacs with
(featurep 'xemacs).

* progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
(vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
(vhdl-speedbar-initialize, vhdl-ps-print-init)
(vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
(vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
with (featurep 'xemacs).

* progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
(save-buffer-state-x):
* obsolete/fast-lock.el (fast-lock-verbose):
* emulation/viper-init.el (viper-xemacs-p)
(viper-cond-compile-for-xemacs-or-emacs):
* emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
* ps-print.el (case-fold-search):
* ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
* calculator.el (calculator-help): Use featurep 'xemacs.
2007-10-21 17:22:04 +00:00
Vinicius Jose Latorre
4d7a363143 Fix :foreground and :background face attributes 2007-10-11 01:59:14 +00:00
Juanma Barranquero
81ce287c33 (ps-background, ps-begin-file, ps-build-reference-face-lists):
Use `mapc' rather than `mapcar'.
2007-09-25 11:12:22 +00:00
Vinicius Jose Latorre
386ee3b0a9 Docstring fix 2007-08-17 01:44:02 +00:00
Vinicius Jose Latorre
76fd0079be Docstring fix 2007-08-16 22:27:35 +00:00
Glenn Morris
44a0e58612 (ps-font-size): Doc fix. 2007-08-16 03:18:21 +00:00
Vinicius Jose Latorre
d3509e5081 ps-print-color-p fix 2007-08-08 16:38:32 +00:00
Miles Bader
5ef05ae3b2 Update some .arch-inventory files
* lib-src/.arch-inventory: Don't track the blessmail binary.

* lisp/emacs-lisp/cl-loaddefs.el: Don't track this.  It is autogenerated.

* lisp/emacs-lisp/.arch-inventory: Don't track cl-loaddefs.el.

* lisp/ps-print.el: Check in trivial changes to the autoloads section
  caused by the build process.  These autoloads really ought to be placed
  in a separate file, methinks.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-833
Creator:  Michael Olson <mwolson@gnu.org>
2007-07-30 05:33:47 +00:00
Miles Bader
d804ada24e Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

2007-07-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

   * lisp/ps-print.el: Problem with foreground and background color when
   printing a buffer with and without faces.  Reported by Christian
   Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
   (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.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:20:56 +00:00
Vinicius Jose Latorre
6fb87e513c Doc/docstring fix 2007-07-25 13:27:59 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Vinicius Jose Latorre
b104099294 Fix foreground/background color 2007-07-25 00:06:45 +00:00
Stefan Monnier
5da6890d3d Update autoloaded entries. 2007-07-24 21:07:26 +00:00
Vinicius Jose Latorre
3f0257cb93 Fix foreground/background color 2007-07-20 17:24:39 +00:00
Richard M. Stallman
98738cd927 (ps-default-bg): Change to White. 2007-07-15 15:26:33 +00:00
Stefan Monnier
10c702986f Autoload section comment update. 2007-07-07 05:30:20 +00:00
Stefan Monnier
231f3e6680 Update with auto-generated autoloads. 2007-06-27 15:56:38 +00:00
Vinicius Jose Latorre
adbdb661ad Use default color when foreground or background color are unspecified. 2007-05-18 02:39:28 +00:00
Vinicius Jose Latorre
c6f33bac6a Use default color when color is unspecified. 2007-05-13 21:29:33 +00:00
Vinicius Jose Latorre
6db153642d Initialize some vars. 2007-03-05 23:44:56 +00:00
Vinicius Jose Latorre
2c873c4bd5 Replace (defvar VAR nil) by (defvar VAR). 2007-03-02 01:51:45 +00:00
Vinicius Jose Latorre
ba56482508 Replace (defvar VAR nil) by (defvar VAR). 2007-03-01 22:58:42 +00:00
Vinicius Jose Latorre
073238d68c Comment fix. 2007-03-01 20:02:32 +00:00
Vinicius Jose Latorre
d3241651a8 Minor fix. 2007-03-01 19:53:32 +00:00
Stefan Monnier
cf04718a31 Use (defvar <foo>) where applicable.
(ps-print-emacs-type): Remove.
(ps-x-frame-property, ps-e-frame-parameter): Remove.
(ps-frame-parameter): Align its call-convention with frame-parameter.
(ps-begin-job): Adjust calls to it appropriately.
(ps-setup): Don't print ps-print-emacs-type.
(ps-e-find-composition, ps-mark-active-p, ps-color-device):
Define in such a way that it's obvious that it's defined.
(ps-prsc, ps-c-prsc, ps-s-prsc): Remove.
(ps-rmail-mode-hook, ps-vm-mode-hook, ps-gnus-summary-setup)
(ps-jts-ps-setup): Use flavor-neutral syntax instead.
2007-02-16 16:11:05 +00:00
Vinicius Jose Latorre
5167749c66 Fix background color printing 2007-02-07 13:40:10 +00:00
Juanma Barranquero
1b1200a120 (ps-build-face-reference): Fix typo in docstring. 2007-01-29 16:11:48 +00:00
Vinicius Jose Latorre
d47570439f Fix background height 2007-01-27 00:10:33 +00:00
Vinicius Jose Latorre
c1a1c99425 Handle frame parameters changing dynamically 2007-01-21 12:51:29 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Vinicius Jose Latorre
758e48a0d1 Remove Time-stamp comment mark. 2006-12-04 14:38:15 +00:00
Vinicius Jose Latorre
4abc74e836 Eliminate Emacs 20 & 21 compatibility. 2006-12-01 13:13:19 +00:00
Vinicius Jose Latorre
0723946185 Fix maintainer email. Emacs 20/21 compatibility. 2006-11-30 10:03:25 +00:00
Vinicius Jose Latorre
502ca00a6b Adjust X-URL 2006-09-20 20:00:03 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juanma Barranquero
01cdabc616 (ps-extend-face-list, ps-extend-face, ps-print-background-image): Fix typos in
docstrings.
(ps-default-fg, ps-default-bg): Doc fixes.
2005-07-20 21:33:29 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
b0fa9df702 (postscript, ps-print, ps-print-horizontal, ps-print-vertical, ps-print-headers,
ps-print-font, ps-print-color, ps-print-face, ps-print-n-up, ps-print-zebra,
ps-print-background, ps-print-printer, ps-print-page, ps-print-miscellany):
Finish `defgroup' description with period.
(ps-print-quote): "?\ " -> "?\s".
2005-07-04 02:23:37 +00:00
Vinicius Jose Latorre
27484eb05f Fixed version number 2005-06-29 01:09:32 +00:00
Vinicius Jose Latorre
9dae638c17 ps-print selection page fix 2005-06-28 03:13:02 +00:00
Juri Linkov
8906db2766 (ps-face-foreground-name, ps-face-background-name):
Replace aliased functions with calls where second arg `inherit' is t.
2005-06-22 12:07:36 +00:00
Juanma Barranquero
640477ee0f (ps-default-fg, ps-default-bg): Fix typos in docstrings. 2005-06-06 15:17:32 +00:00