annotate lisp/rsz-mini.el @ 26114:c19849fe02b5

Doc fix, duplex and setpagedevice configuration. (ps-print-version): New version number (4.2). (ps-spool-config, ps-spool-tumble): New vars. (ps-print-prologue-1): Changed to defconst, adjust PostScript programming, new PostScript procedure to handle errors. (ps-print-prologue-2): Changed to defconst. (ps-print-duplex-feature): New const: duplex and tumble setting. (ps-setup, ps-begin-file): Fix funs. (ps-boolean-capitalized): New fun. Doc fix, n-up printing. (ps-print-version): New version number (5.0). (ps-page-dimensions-database): Added document media. (ps-n-up-printing, ps-n-up-margin, ps-n-up-border-p, ps-n-up-filling) (ps-page-order, ps-printing-region-p): New vars. (ps-n-up-printing, ps-n-up-filling, ps-header-sheet, ps-end-job): New funs. (ps-page-dimensions-get-media, ps-n-up-landscape, ps-n-up-lines) (ps-n-up-columns, ps-n-up-missing, ps-n-up-xcolumn, ps-n-up-ycolumn) (ps-n-up-xline, ps-n-up-yline, ps-n-up-repeat, ps-n-up-end) (ps-n-up-xstart, ps-n-up-ystart): New macros. (ps-print-begin-sheet-hook): New hook. (ps-boundingbox-re, ps-n-up-database, ps-n-up-filling-database): New const. (ps-setup, ps-begin-file, ps-get-buffer-name, ps-begin-job) (ps-end-file, ps-dummy-page, ps-generate): Fix funs. (ps-print-prologue-1): Adjust PostScript programming for n-up printing. (ps-count-lines): Changed to defun. (ps-header-page): Changed to defsubst, fix fun. (ps-printing-region): Doc fix, adjust programming code. (ps-output-boolean, ps-background-pages, ps-background-text) (ps-background-image, ps-background, ps-get-boundingbox): Adjust programming code. Doc fix, better customization. (ps-print-region-function, ps-number-of-columns, ps-spool-tumble) (ps-print-color-p, ps-printing-region-p, ps-n-up-database) (ps-end-file): Doc fix. (ps-setup, ps-begin-file): Fun fix. (postscript): New group. (ps-zebra-gray, ps-banner-page-when-duplexing): New vars. (ps-print-prologue-1): Adjust PostScript programming. (ps-print): Adjust group hierarchy. (ps-print-n-up, ps-print-zebra, ps-print-background, ps-print-printer) (ps-print-page): New subgroups. (ps-print-prologue-header, ps-printer-name, ps-lpr-command) (ps-lpr-switches, ps-page-dimensions-database, ps-paper-type) (ps-landscape-mode, ps-print-control-characters, ps-n-up-printing) (ps-n-up-margin, ps-n-up-border-p, ps-n-up-filling, ps-zebra-stripes) (ps-zebra-stripe-height, ps-print-background-image) (ps-print-background-text, ps-spool-config): Adjust customization. (dos-ps-printer): Definition eliminated.
author Kenichi Handa <handa@m17n.org>
date Wed, 20 Oct 1999 01:06:27 +0000
parents f541d471520a
children dd613770eb0f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 ;;; rsz-mini.el --- dynamically resize minibuffer to display entire contents
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
23240
b9d8ec6db59a Comment fixes only.
Noah Friedman <friedman@splode.com>
parents: 23238
diff changeset
3 ;; Copyright (C) 1990, 1993-1995, 1997 Free Software Foundation, Inc.
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
23240
b9d8ec6db59a Comment fixes only.
Noah Friedman <friedman@splode.com>
parents: 23238
diff changeset
5 ;; Author: Noah Friedman <friedman@splode.com>
b9d8ec6db59a Comment fixes only.
Noah Friedman <friedman@splode.com>
parents: 23238
diff changeset
6 ;; Roland McGrath <roland@gnu.org>
b9d8ec6db59a Comment fixes only.
Noah Friedman <friedman@splode.com>
parents: 23238
diff changeset
7 ;; Maintainer: Noah Friedman <friedman@splode.com>
11297
056c7266a614 (resize-minibuffer-window): Make sure minibuffer window is selected.
Noah Friedman <friedman@splode.com>
parents: 8240
diff changeset
8 ;; Keywords: minibuffer, window, frame, display
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
10 ;; $Id: rsz-mini.el,v 1.2 1999/09/13 13:00:24 gerd Exp $
18418
da941474d947 Update copyright year.
Noah Friedman <friedman@splode.com>
parents: 17423
diff changeset
11
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 ;; This file is part of GNU Emacs.
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 ;; GNU Emacs is free software; you can redistribute it and/or modify
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 ;; it under the terms of the GNU General Public License as published by
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 ;; the Free Software Foundation; either version 2, or (at your option)
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 ;; any later version.
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 ;; GNU Emacs is distributed in the hope that it will be useful,
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 ;; GNU General Public License for more details.
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 ;; You should have received a copy of the GNU General Public License
14169
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 14123
diff changeset
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 14123
diff changeset
26 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 14123
diff changeset
27 ;; Boston, MA 02111-1307, USA.
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 ;;; Commentary:
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
31 ;; This package is obsolete. Emacs now resizes mini-windows
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
32 ;; automatically.
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 ;;; Code:
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
37 (defgroup resize-minibuffer nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
38 "This customization group is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
39 :group 'frames)
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
40
22354
2319cdbf38e5 *** empty log message ***
Dan Nicolaescu <done@ece.arizona.edu>
parents: 21670
diff changeset
41 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
42 (defcustom resize-minibuffer-mode nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
43 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
44 :type 'boolean
20581
9b78b337e8bf (resize-minibuffer-mode): Variable customized to
Richard M. Stallman <rms@gnu.org>
parents: 18418
diff changeset
45 :group 'resize-minibuffer
23238
f99998525810 (resize-minibuffer-mode): remove :version field from defcustom declaration.
Noah Friedman <friedman@splode.com>
parents: 22354
diff changeset
46 :require 'rsz-mini)
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
47
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
48 ;;;###autoload
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
49 (defcustom resize-minibuffer-window-max-height nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
50 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
51 :type '(choice (const nil) integer)
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
52 :group 'resize-minibuffer)
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
55 (defcustom resize-minibuffer-window-exactly t
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
56 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
57 :type 'boolean
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
58 :group 'resize-minibuffer)
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
61 (defcustom resize-minibuffer-frame nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
62 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
63 :type 'boolean
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
64 :group 'resize-minibuffer)
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
67 (defcustom resize-minibuffer-frame-max-height nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
68 "*This variable is obsolete.")
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
71 (defcustom resize-minibuffer-frame-exactly t
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
72 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
73 :type 'boolean
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
74 :group 'resize-minibuffer)
8012
df03bfa5b694 (resize-minibuffer-window-exactly, resize-minibuffer-frame,
Noah Friedman <friedman@splode.com>
parents: 7590
diff changeset
75
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 ;;;###autoload
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 (defun resize-minibuffer-mode (&optional prefix)
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
79 "This function is obsolete."
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
80 (interactive "P"))
20581
9b78b337e8bf (resize-minibuffer-mode): Variable customized to
Richard M. Stallman <rms@gnu.org>
parents: 18418
diff changeset
81
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 (provide 'rsz-mini)
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 ;; rsz-mini.el ends here