diff options
| author | Karoly Lorentey | 2004-07-24 22:08:12 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-07-24 22:08:12 +0000 |
| commit | 15dabcb48a89496d128b7159fbb8d498b7cfbda6 (patch) | |
| tree | ecead49e540dae176cbe47106d1b646c1796a020 /lisp | |
| parent | 407e382d35ede779a23b974d7ac40a7d3d0fa5ff (diff) | |
| parent | e4ed805e9d3b9f2019cb9376682bb53dafaf81fb (diff) | |
| download | emacs-15dabcb48a89496d128b7159fbb8d498b7cfbda6.tar.gz emacs-15dabcb48a89496d128b7159fbb8d498b7cfbda6.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-464
Update from CVS: lisp/progmodes/make-mode.el: Fix comments.
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-465
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-466
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-467
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-221
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 24 | ||||
| -rw-r--r-- | lisp/autorevert.el | 2 | ||||
| -rw-r--r-- | lisp/frame.el | 4 | ||||
| -rw-r--r-- | lisp/makefile.w32-in | 2 | ||||
| -rw-r--r-- | lisp/progmodes/make-mode.el | 6 | ||||
| -rw-r--r-- | lisp/ps-print.el | 51 | ||||
| -rw-r--r-- | lisp/simple.el | 7 |
7 files changed, 75 insertions, 21 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f0690a1fa44..3f1f6ed7363 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2004-07-23 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * frame.el (modify-all-frames-parameters): Minor doc fix. | ||
| 4 | (set-frame-configuration): Doc fix. | ||
| 5 | |||
| 6 | 2004-07-23 Matt Hodges <matt@stchem.bham.ac.uk> (tiny change) | ||
| 7 | |||
| 8 | * simple.el (completion-setup-function): Compute the common parts | ||
| 9 | and the first difference place correctly when | ||
| 10 | partial-completion-mode is on. | ||
| 11 | |||
| 12 | 2004-07-22 Vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| 13 | |||
| 14 | * ps-print.el: Doc fix. Improve the DSC compliance of the generated | ||
| 15 | PostScript. Suggested by Michael Piotrowski <mxp@dynalabs.de>. | ||
| 16 | (ps-print-version): New version 6.6.5. | ||
| 17 | (ps-printing-region): Doc fix. | ||
| 18 | (ps-generate-string-list): Comment fix. | ||
| 19 | (ps-message-log-max, ps-begin-file): Code fix. | ||
| 20 | |||
| 21 | 2004-07-22 Kim F. Storm <storm@cua.dk> | ||
| 22 | |||
| 23 | * progmodes/make-mode.el: Fix comments. | ||
| 24 | |||
| 1 | 2004-07-21 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 25 | 2004-07-21 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 2 | 26 | ||
| 3 | * printing.el: Doc fix. | 27 | * printing.el: Doc fix. |
diff --git a/lisp/autorevert.el b/lisp/autorevert.el index ef438eb4b97..796ebaa27c8 100644 --- a/lisp/autorevert.el +++ b/lisp/autorevert.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; autorevert.el --- revert buffers when files on disk change | 1 | ;;; autorevert.el --- revert buffers when files on disk change |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 1998, 1999, 2001, 2004 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Anders Lindgren <andersl@andersl.com> | 5 | ;; Author: Anders Lindgren <andersl@andersl.com> |
| 6 | ;; Keywords: convenience | 6 | ;; Keywords: convenience |
diff --git a/lisp/frame.el b/lisp/frame.el index d032dfa82ec..385af2e130e 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -532,7 +532,7 @@ React to settings of `default-frame-alist', `initial-frame-alist' there." | |||
| 532 | ;;;; Creation of additional frames, and other frame miscellanea | 532 | ;;;; Creation of additional frames, and other frame miscellanea |
| 533 | 533 | ||
| 534 | (defun modify-all-frames-parameters (alist) | 534 | (defun modify-all-frames-parameters (alist) |
| 535 | "Modify all current and future frames parameters according to ALIST. | 535 | "Modify all current and future frames' parameters according to ALIST. |
| 536 | This changes `default-frame-alist' and possibly `initial-frame-alist'. | 536 | This changes `default-frame-alist' and possibly `initial-frame-alist'. |
| 537 | See help of `modify-frame-parameters' for more information." | 537 | See help of `modify-frame-parameters' for more information." |
| 538 | (let (element) ;; temp | 538 | (let (element) ;; temp |
| @@ -856,6 +856,8 @@ where | |||
| 856 | "Restore the frames to the state described by CONFIGURATION. | 856 | "Restore the frames to the state described by CONFIGURATION. |
| 857 | Each frame listed in CONFIGURATION has its position, size, window | 857 | Each frame listed in CONFIGURATION has its position, size, window |
| 858 | configuration, and other parameters set as specified in CONFIGURATION. | 858 | configuration, and other parameters set as specified in CONFIGURATION. |
| 859 | However, this function does not restore deleted frames. | ||
| 860 | |||
| 859 | Ordinarily, this function deletes all existing frames not | 861 | Ordinarily, this function deletes all existing frames not |
| 860 | listed in CONFIGURATION. But if optional second argument NODELETE | 862 | listed in CONFIGURATION. But if optional second argument NODELETE |
| 861 | is given and non-nil, the unwanted frames are iconified instead." | 863 | is given and non-nil, the unwanted frames are iconified instead." |
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index 826cf89bfec..b2694bc2b78 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in | |||
| @@ -209,7 +209,7 @@ loaddefs.el-CMD: | |||
| 209 | echo (autoload 'define-derived-mode "derived")>> $@ | 209 | echo (autoload 'define-derived-mode "derived")>> $@ |
| 210 | echo (autoload 'encoded-kbd-mode "encoded-kb")>> $@ | 210 | echo (autoload 'encoded-kbd-mode "encoded-kb")>> $@ |
| 211 | echo (defvar cvs-global-menu nil)>> $@ | 211 | echo (defvar cvs-global-menu nil)>> $@ |
| 212 | echo.>> $@ | 212 | echo ;;; >> $@ |
| 213 | echo ;;; Local Variables:>> $@ | 213 | echo ;;; Local Variables:>> $@ |
| 214 | echo ;;; version-control: never>> $@ | 214 | echo ;;; version-control: never>> $@ |
| 215 | echo ;;; no-byte-compile: t>> $@ | 215 | echo ;;; no-byte-compile: t>> $@ |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 5130ca9bfef..c887b144965 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -8,11 +8,6 @@ | |||
| 8 | ;; Adapted-By: ESR | 8 | ;; Adapted-By: ESR |
| 9 | ;; Keywords: unix, tools | 9 | ;; Keywords: unix, tools |
| 10 | 10 | ||
| 11 | ;; RMS: | ||
| 12 | ;; This needs work. | ||
| 13 | ;; Also, the doc strings need fixing: the first line doesn't stand alone, | ||
| 14 | ;; and other usage is not high quality. Symbol names don't have `...'. | ||
| 15 | |||
| 16 | ;; This file is part of GNU Emacs. | 11 | ;; This file is part of GNU Emacs. |
| 17 | 12 | ||
| 18 | ;; GNU Emacs is free software; you can redistribute it and/or modify | 13 | ;; GNU Emacs is free software; you can redistribute it and/or modify |
| @@ -63,6 +58,7 @@ | |||
| 63 | ;; | 58 | ;; |
| 64 | ;; To Do: | 59 | ;; To Do: |
| 65 | ;; | 60 | ;; |
| 61 | ;; * Add missing doc strings, improve terse doc strings. | ||
| 66 | ;; * Eliminate electric stuff entirely. | 62 | ;; * Eliminate electric stuff entirely. |
| 67 | ;; * It might be nice to highlight targets differently depending on | 63 | ;; * It might be nice to highlight targets differently depending on |
| 68 | ;; whether they are up-to-date or not. Not sure how this would | 64 | ;; whether they are up-to-date or not. Not sure how this would |
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 72ba4c24eed..9dca7986e7c 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -10,12 +10,12 @@ | |||
| 10 | ;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters) | 10 | ;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters) |
| 11 | ;; Vinicius Jose Latorre <viniciusjl@ig.com.br> | 11 | ;; Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 12 | ;; Keywords: wp, print, PostScript | 12 | ;; Keywords: wp, print, PostScript |
| 13 | ;; Time-stamp: <2004/03/10 18:57:00 vinicius> | 13 | ;; Time-stamp: <2004/07/21 23:12:05 vinicius> |
| 14 | ;; Version: 6.6.4 | 14 | ;; Version: 6.6.5 |
| 15 | ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ | 15 | ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ |
| 16 | 16 | ||
| 17 | (defconst ps-print-version "6.6.4" | 17 | (defconst ps-print-version "6.6.5" |
| 18 | "ps-print.el, v 6.6.4 <2004/03/10 vinicius> | 18 | "ps-print.el, v 6.6.5 <2004/07/21 vinicius> |
| 19 | 19 | ||
| 20 | Vinicius's last change version -- this file may have been edited as part of | 20 | Vinicius's last change version -- this file may have been edited as part of |
| 21 | Emacs without changes to the version number. When reporting bugs, please also | 21 | Emacs without changes to the version number. When reporting bugs, please also |
| @@ -1353,6 +1353,9 @@ Please send all bug fixes and enhancements to | |||
| 1353 | ;; Acknowledgments | 1353 | ;; Acknowledgments |
| 1354 | ;; --------------- | 1354 | ;; --------------- |
| 1355 | ;; | 1355 | ;; |
| 1356 | ;; Thanks to Michael Piotrowski <mxp@dynalabs.de> for improving the DSC | ||
| 1357 | ;; compliance of the generated PostScript. | ||
| 1358 | ;; | ||
| 1356 | ;; Thanks to Adam Doppelt <adoppelt@avogadro.com> for face mapping suggestion | 1359 | ;; Thanks to Adam Doppelt <adoppelt@avogadro.com> for face mapping suggestion |
| 1357 | ;; for black/white PostScript printers. | 1360 | ;; for black/white PostScript printers. |
| 1358 | ;; | 1361 | ;; |
| @@ -1424,7 +1427,7 @@ Please send all bug fixes and enhancements to | |||
| 1424 | ;; initial port to Emacs 19. His code is no longer part of ps-print, but his | 1427 | ;; initial port to Emacs 19. His code is no longer part of ps-print, but his |
| 1425 | ;; work is still appreciated. | 1428 | ;; work is still appreciated. |
| 1426 | ;; | 1429 | ;; |
| 1427 | ;; Thanks to Remi Houdaille and Michel Train, michel@metasoft.fdn.org, for | 1430 | ;; Thanks to Remi Houdaille and Michel Train <michel@metasoft.fdn.org> for |
| 1428 | ;; adding underline support. Their code also is no longer part of ps-print, | 1431 | ;; adding underline support. Their code also is no longer part of ps-print, |
| 1429 | ;; but their efforts are not forgotten. | 1432 | ;; but their efforts are not forgotten. |
| 1430 | ;; | 1433 | ;; |
| @@ -4162,6 +4165,7 @@ If EXTENSION is any other symbol, it is ignored." | |||
| 4162 | 4165 | ||
| 4163 | (defun ps-message-log-max () | 4166 | (defun ps-message-log-max () |
| 4164 | (and (not (string= (buffer-name) "*Messages*")) | 4167 | (and (not (string= (buffer-name) "*Messages*")) |
| 4168 | (boundp 'message-log-max) | ||
| 4165 | message-log-max)) | 4169 | message-log-max)) |
| 4166 | 4170 | ||
| 4167 | 4171 | ||
| @@ -4210,7 +4214,7 @@ If EXTENSION is any other symbol, it is ignored." | |||
| 4210 | 4214 | ||
| 4211 | 4215 | ||
| 4212 | (defvar ps-printing-region nil | 4216 | (defvar ps-printing-region nil |
| 4213 | "Variable used to indicate if the region that ps-print is printing. | 4217 | "Variable used to indicate the region that ps-print is printing. |
| 4214 | It is a cons, the car of which is the line number where the region begins, and | 4218 | It is a cons, the car of which is the line number where the region begins, and |
| 4215 | its cdr is the total number of lines in the buffer. Formatting functions can | 4219 | its cdr is the total number of lines in the buffer. Formatting functions can |
| 4216 | use this information to print the original line number (and not the number of | 4220 | use this information to print the original line number (and not the number of |
| @@ -4729,12 +4733,16 @@ page-height == ((floor print-height ((th + ls) * zh)) * ((th + ls) * zh)) - th | |||
| 4729 | (let (str) | 4733 | (let (str) |
| 4730 | (while content | 4734 | (while content |
| 4731 | (setq str (cons (cond | 4735 | (setq str (cons (cond |
| 4736 | ;; string | ||
| 4732 | ((stringp (car content)) | 4737 | ((stringp (car content)) |
| 4733 | (car content)) | 4738 | (car content)) |
| 4739 | ;; function symbol | ||
| 4734 | ((and (symbolp (car content)) (fboundp (car content))) | 4740 | ((and (symbolp (car content)) (fboundp (car content))) |
| 4735 | (concat "(" (funcall (car content)) ")")) | 4741 | (concat "(" (funcall (car content)) ")")) |
| 4742 | ;; variable symbol | ||
| 4736 | ((and (symbolp (car content)) (boundp (car content))) | 4743 | ((and (symbolp (car content)) (boundp (car content))) |
| 4737 | (concat "(" (symbol-value (car content)) ")")) | 4744 | (concat "(" (symbol-value (car content)) ")")) |
| 4745 | ;; otherwise, empty string | ||
| 4738 | (t | 4746 | (t |
| 4739 | "")) | 4747 | "")) |
| 4740 | str) | 4748 | str) |
| @@ -5424,9 +5432,9 @@ XSTART YSTART are the relative position for the first page in a sheet.") | |||
| 5424 | ps-adobe-tag | 5432 | ps-adobe-tag |
| 5425 | "%%Title: " (buffer-name) ; Take job name from name of | 5433 | "%%Title: " (buffer-name) ; Take job name from name of |
| 5426 | ; first buffer printed | 5434 | ; first buffer printed |
| 5427 | "\n%%Creator: " (user-full-name) | 5435 | "\n%%Creator: ps-print v" ps-print-version |
| 5428 | " (using ps-print v" ps-print-version | 5436 | "\n%%For: " (user-full-name) |
| 5429 | ")\n%%CreationDate: " (format-time-string "%T %b %d %Y") | 5437 | "\n%%CreationDate: " (format-time-string "%T %b %d %Y") |
| 5430 | "\n%%Orientation: " | 5438 | "\n%%Orientation: " |
| 5431 | (if ps-landscape-mode "Landscape" "Portrait") | 5439 | (if ps-landscape-mode "Landscape" "Portrait") |
| 5432 | "\n%%DocumentNeededResources: font Times-Roman Times-Italic\n%%+ font " | 5440 | "\n%%DocumentNeededResources: font Times-Roman Times-Italic\n%%+ font " |
| @@ -5434,8 +5442,11 @@ XSTART YSTART are the relative position for the first page in a sheet.") | |||
| 5434 | (ps-remove-duplicates | 5442 | (ps-remove-duplicates |
| 5435 | (append (ps-fonts 'ps-font-for-text) | 5443 | (append (ps-fonts 'ps-font-for-text) |
| 5436 | (list (ps-font 'ps-font-for-header 'normal) | 5444 | (list (ps-font 'ps-font-for-header 'normal) |
| 5437 | (ps-font 'ps-font-for-header 'bold)))) | 5445 | (ps-font 'ps-font-for-header 'bold) |
| 5446 | (ps-font 'ps-font-for-footer 'normal) | ||
| 5447 | (ps-font 'ps-font-for-footer 'bold)))) | ||
| 5438 | "\n%%+ font ") | 5448 | "\n%%+ font ") |
| 5449 | "\n%%DocumentSuppliedResources: procset PSPrintUserDefinedPrologue-" (user-login-name) " 0 0" | ||
| 5439 | "\n%%DocumentMedia: " (ps-page-dimensions-get-media dimensions) | 5450 | "\n%%DocumentMedia: " (ps-page-dimensions-get-media dimensions) |
| 5440 | (format " %d" (round (ps-page-dimensions-get-width dimensions))) | 5451 | (format " %d" (round (ps-page-dimensions-get-width dimensions))) |
| 5441 | (format " %d" (round (ps-page-dimensions-get-height dimensions))) | 5452 | (format " %d" (round (ps-page-dimensions-get-height dimensions))) |
| @@ -5455,11 +5466,11 @@ XSTART YSTART are the relative position for the first page in a sheet.") | |||
| 5455 | ps-error-handler-alist)) | 5466 | ps-error-handler-alist)) |
| 5456 | 1)) ; send to paper | 5467 | 1)) ; send to paper |
| 5457 | ps-print-prologue-0 | 5468 | ps-print-prologue-0 |
| 5458 | "\n%%BeginProcSet: UserDefinedPrologue\n\n") | 5469 | "\n%%BeginResource: procset PSPrintUserDefinedPrologue-" (user-login-name) " 0 0\n\n") |
| 5459 | 5470 | ||
| 5460 | (ps-insert-string ps-user-defined-prologue) | 5471 | (ps-insert-string ps-user-defined-prologue) |
| 5461 | 5472 | ||
| 5462 | (ps-output "\n%%EndProcSet\n\n") | 5473 | (ps-output "\n%%EndResource\n\n") |
| 5463 | 5474 | ||
| 5464 | (ps-output-boolean "LandscapeMode " | 5475 | (ps-output-boolean "LandscapeMode " |
| 5465 | (or ps-landscape-mode | 5476 | (or ps-landscape-mode |
| @@ -5571,6 +5582,21 @@ XSTART YSTART are the relative position for the first page in a sheet.") | |||
| 5571 | (mapcar 'ps-output ps-background-all-pages) | 5582 | (mapcar 'ps-output ps-background-all-pages) |
| 5572 | (ps-output "}def\n/printLocalBackground{\n}def\n") | 5583 | (ps-output "}def\n/printLocalBackground{\n}def\n") |
| 5573 | 5584 | ||
| 5585 | (ps-output "\n%%EndProlog\n\n%%BeginSetup\n") | ||
| 5586 | |||
| 5587 | (ps-output | ||
| 5588 | "\n%%IncludeResource: font Times-Roman" | ||
| 5589 | "\n%%IncludeResource: font Times-Italic\n%%IncludeResource: font " | ||
| 5590 | (mapconcat 'identity | ||
| 5591 | (ps-remove-duplicates | ||
| 5592 | (append (ps-fonts 'ps-font-for-text) | ||
| 5593 | (list (ps-font 'ps-font-for-header 'normal) | ||
| 5594 | (ps-font 'ps-font-for-header 'bold) | ||
| 5595 | (ps-font 'ps-font-for-footer 'normal) | ||
| 5596 | (ps-font 'ps-font-for-footer 'bold)))) | ||
| 5597 | "\n%%IncludeResource: font ") | ||
| 5598 | "\n") | ||
| 5599 | |||
| 5574 | ;; Header/line number fonts | 5600 | ;; Header/line number fonts |
| 5575 | (ps-output (format "/h0 %s(%s)cvn DefFont\n" ; /h0 14/Helvetica-Bold DefFont | 5601 | (ps-output (format "/h0 %s(%s)cvn DefFont\n" ; /h0 14/Helvetica-Bold DefFont |
| 5576 | ps-header-title-font-size-internal | 5602 | ps-header-title-font-size-internal |
| @@ -5614,7 +5640,6 @@ XSTART YSTART are the relative position for the first page in a sheet.") | |||
| 5614 | (ps-output (format "/SpaceWidthRatio %f def\n" | 5640 | (ps-output (format "/SpaceWidthRatio %f def\n" |
| 5615 | (/ (ps-lookup 'space-width) (ps-lookup 'size))))) | 5641 | (/ (ps-lookup 'space-width) (ps-lookup 'size))))) |
| 5616 | 5642 | ||
| 5617 | (ps-output "\n%%EndProlog\n\n%%BeginSetup\n") | ||
| 5618 | (unless (eq ps-spool-config 'lpr-switches) | 5643 | (unless (eq ps-spool-config 'lpr-switches) |
| 5619 | (ps-output "\n%%BeginFeature: *Duplex " | 5644 | (ps-output "\n%%BeginFeature: *Duplex " |
| 5620 | (ps-boolean-capitalized ps-spool-duplex) | 5645 | (ps-boolean-capitalized ps-spool-duplex) |
diff --git a/lisp/simple.el b/lisp/simple.el index bf57c41b1c1..9a7b7f245d0 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -4317,6 +4317,13 @@ of the differing parts is, by contrast, slightly highlighted." | |||
| 4317 | (if minibuffer-completing-file-name | 4317 | (if minibuffer-completing-file-name |
| 4318 | (with-current-buffer mainbuf | 4318 | (with-current-buffer mainbuf |
| 4319 | (setq default-directory (file-name-directory mbuf-contents)))) | 4319 | (setq default-directory (file-name-directory mbuf-contents)))) |
| 4320 | ;; If partial-completion-mode is on, point might not be after the | ||
| 4321 | ;; last character in the minibuffer. | ||
| 4322 | ;; FIXME: This still doesn't work if the text to be completed | ||
| 4323 | ;; starts with a `-'. | ||
| 4324 | (when (and partial-completion-mode (not (eobp))) | ||
| 4325 | (setq mbuf-contents | ||
| 4326 | (substring mbuf-contents 0 (- (point) (point-max))))) | ||
| 4320 | (with-current-buffer standard-output | 4327 | (with-current-buffer standard-output |
| 4321 | (completion-list-mode) | 4328 | (completion-list-mode) |
| 4322 | (make-local-variable 'completion-reference-buffer) | 4329 | (make-local-variable 'completion-reference-buffer) |