diff options
| author | Karoly Lorentey | 2004-07-22 22:01:29 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-07-22 22:01:29 +0000 |
| commit | 407e382d35ede779a23b974d7ac40a7d3d0fa5ff (patch) | |
| tree | 4a9e97dd58011b0ce2d6223626554765860fd6db /lisp | |
| parent | 31d7e9bc5a474c2da8c40f4812ea3e09cd5fb82c (diff) | |
| parent | bb6a9650da7971581f2ddf625c172b58a6806e7a (diff) | |
| download | emacs-407e382d35ede779a23b974d7ac40a7d3d0fa5ff.tar.gz emacs-407e382d35ede779a23b974d7ac40a7d3d0fa5ff.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-461
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-462
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-463
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-220
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 25 | ||||
| -rw-r--r-- | lisp/dired-aux.el | 40 | ||||
| -rw-r--r-- | lisp/frame.el | 2 | ||||
| -rw-r--r-- | lisp/printing.el | 51 | ||||
| -rw-r--r-- | lisp/textmodes/fill.el | 7 |
5 files changed, 75 insertions, 50 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 876646163e3..f0690a1fa44 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,28 @@ | |||
| 1 | 2004-07-21 Vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| 2 | |||
| 3 | * printing.el: Doc fix. | ||
| 4 | |||
| 5 | 2004-07-20 Luc Teirlinck <teirllm@auburn.edu> | ||
| 6 | |||
| 7 | * frame.el (modify-all-frames-parameters): Minor doc fix. | ||
| 8 | |||
| 9 | 2004-07-20 Richard M. Stallman <rms@gnu.org> | ||
| 10 | |||
| 11 | * textmodes/fill.el (fill-comment-paragraph): Handle indent-tabs-mode. | ||
| 12 | (fill-delete-newlines): Call sentence-end as function. | ||
| 13 | (fill-nobreak-p, canonically-space-region): Likewise. | ||
| 14 | (fill-nobreak-p): If this break point is at the end of the line, | ||
| 15 | don't consider the newline which follows as a reason to return t. | ||
| 16 | |||
| 17 | 2004-07-19 John Paul Wallington <jpw@gnu.org> | ||
| 18 | |||
| 19 | * dired-aux.el (dired-file-set-difference): Don't use `caddr'. | ||
| 20 | |||
| 21 | 2004-07-18 Luc Teirlinck <teirllm@auburn.edu> | ||
| 22 | |||
| 23 | * dired-aux.el (dired-do-kill-lines): Expand docstring. | ||
| 24 | Delete irrelevant code. | ||
| 25 | |||
| 1 | 2004-07-17 Kai Grossjohann <kai.grossjohann@gmx.net> | 26 | 2004-07-17 Kai Grossjohann <kai.grossjohann@gmx.net> |
| 2 | 27 | ||
| 3 | * net/tramp.el (tramp-handle-verify-visited-file-modtime): New | 28 | * net/tramp.el (tramp-handle-verify-visited-file-modtime): New |
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index bf7c9c00d18..6c1a9ad36f0 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -163,8 +163,8 @@ condition. Two file items are considered to match if they are equal | |||
| 163 | (unless (let ((list list2)) | 163 | (unless (let ((list list2)) |
| 164 | (while (and list | 164 | (while (and list |
| 165 | (not (let* ((file2 (car list)) | 165 | (not (let* ((file2 (car list)) |
| 166 | (fa1 (caddr file1)) | 166 | (fa1 (car (cddr file1))) |
| 167 | (fa2 (caddr file2)) | 167 | (fa2 (car (cddr file2))) |
| 168 | (size1 (nth 7 fa1)) | 168 | (size1 (nth 7 fa1)) |
| 169 | (size2 (nth 7 fa2)) | 169 | (size2 (nth 7 fa2)) |
| 170 | (mtime1 (float-time (nth 5 fa1))) | 170 | (mtime1 (float-time (nth 5 fa1))) |
| @@ -627,9 +627,14 @@ the list of file names explicitly with the FILE-LIST argument." | |||
| 627 | (defun dired-do-kill-lines (&optional arg fmt) | 627 | (defun dired-do-kill-lines (&optional arg fmt) |
| 628 | "Kill all marked lines (not the files). | 628 | "Kill all marked lines (not the files). |
| 629 | With a prefix argument, kill that many lines starting with the current line. | 629 | With a prefix argument, kill that many lines starting with the current line. |
| 630 | \(A negative argument kills lines before the current line.) | 630 | \(A negative argument kills backward.) |
| 631 | To kill an entire subdirectory, go to its directory header line | 631 | If you use this command with a prefix argument to kill the line |
| 632 | and use this command with a prefix argument (the value does not matter)." | 632 | for a file that is a directory, which you have inserted in the |
| 633 | Dired buffer as a subdirectory, then it deletes that subdirectory | ||
| 634 | from the buffer as well. | ||
| 635 | To kill an entire subdirectory \(without killing its line in the | ||
| 636 | parent directory), go to its directory header line and use this | ||
| 637 | command with a prefix argument (the value does not matter)." | ||
| 633 | ;; Returns count of killed lines. FMT="" suppresses message. | 638 | ;; Returns count of killed lines. FMT="" suppresses message. |
| 634 | (interactive "P") | 639 | (interactive "P") |
| 635 | (if arg | 640 | (if arg |
| @@ -638,23 +643,14 @@ and use this command with a prefix argument (the value does not matter)." | |||
| 638 | (dired-kill-line arg)) | 643 | (dired-kill-line arg)) |
| 639 | (save-excursion | 644 | (save-excursion |
| 640 | (goto-char (point-min)) | 645 | (goto-char (point-min)) |
| 641 | (let (buffer-read-only (count 0)) | 646 | (let (buffer-read-only |
| 642 | (if (not arg) ; kill marked lines | 647 | (count 0) |
| 643 | (let ((regexp (dired-marker-regexp))) | 648 | (regexp (dired-marker-regexp))) |
| 644 | (while (and (not (eobp)) | 649 | (while (and (not (eobp)) |
| 645 | (re-search-forward regexp nil t)) | 650 | (re-search-forward regexp nil t)) |
| 646 | (setq count (1+ count)) | 651 | (setq count (1+ count)) |
| 647 | (delete-region (progn (beginning-of-line) (point)) | 652 | (delete-region (progn (beginning-of-line) (point)) |
| 648 | (progn (forward-line 1) (point))))) | 653 | (progn (forward-line 1) (point)))) |
| 649 | ;; else kill unmarked lines | ||
| 650 | (while (not (eobp)) | ||
| 651 | (if (or (dired-between-files) | ||
| 652 | (not (looking-at "^ "))) | ||
| 653 | (forward-line 1) | ||
| 654 | (setq count (1+ count)) | ||
| 655 | (delete-region (point) (save-excursion | ||
| 656 | (forward-line 1) | ||
| 657 | (point)))))) | ||
| 658 | (or (equal "" fmt) | 654 | (or (equal "" fmt) |
| 659 | (message (or fmt "Killed %d line%s.") count (dired-plural-s count))) | 655 | (message (or fmt "Killed %d line%s.") count (dired-plural-s count))) |
| 660 | count)))) | 656 | count)))) |
diff --git a/lisp/frame.el b/lisp/frame.el index 243ad71497d..d032dfa82ec 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 |
diff --git a/lisp/printing.el b/lisp/printing.el index ae6e194d731..22a3f762ab6 100644 --- a/lisp/printing.el +++ b/lisp/printing.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | ||
| 6 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 7 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 7 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 8 | ;; Time-stamp: <2004/07/12 21:10:35 vinicius> | 8 | ;; Time-stamp: <2004/07/20 21:44:43 vinicius> |
| 9 | ;; Keywords: wp, print, PostScript | 9 | ;; Keywords: wp, print, PostScript |
| 10 | ;; Version: 6.8 | 10 | ;; Version: 6.8 |
| 11 | ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ | 11 | ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ |
| @@ -40,37 +40,22 @@ Please send all bug fixes and enhancements to | |||
| 40 | ;; Introduction | 40 | ;; Introduction |
| 41 | ;; ------------ | 41 | ;; ------------ |
| 42 | ;; | 42 | ;; |
| 43 | ;; This package provides an user interface to some printing utilities that | 43 | ;; With `printing' you can preview or print a PostScript file. You can also |
| 44 | ;; includes previewing/printing a PostScript file, printing a text file and | 44 | ;; print a text file using PostScript, and preview or print buffers that use |
| 45 | ;; previewing/printing some major modes (like mh-folder-mode, | 45 | ;; certain special modes like mh-folder-mode, rmail-summary-mode, |
| 46 | ;; rmail-summary-mode, gnus-summary-mode, etc). It also includes a | 46 | ;; gnus-summary-mode, etc. This package also includes a PostScript/text |
| 47 | ;; PostScript/text printer database. | 47 | ;; printer database. |
| 48 | ;; | 48 | ;; |
| 49 | ;; Indeed, there are two user interfaces: | 49 | ;; There are two user interfaces: |
| 50 | ;; | 50 | ;; |
| 51 | ;; * Menu interface: | 51 | ;; * Menu interface: |
| 52 | ;; When `printing' is loaded, the menubar is modified to use `printing' | 52 | ;; The `printing' menu replaces the usual print options in the menu bar. |
| 53 | ;; menu instead of the print options in menubar. | ||
| 54 | ;; This is the default user interface. | 53 | ;; This is the default user interface. |
| 55 | ;; | 54 | ;; |
| 56 | ;; * Buffer interface: | 55 | ;; * Buffer interface: |
| 57 | ;; It is an option of `printing' menu, but it can be binded into another | 56 | ;; You can use a buffer interface instead of menus. It looks like a |
| 58 | ;; key, so user can activate the buffer interface directly without using | 57 | ;; customization buffer. Basically, it has the same options found in the |
| 59 | ;; a menu. See `pr-interface' command. | 58 | ;; menu and some extra options, all this on a buffer. |
| 60 | ;; | ||
| 61 | ;; `printing' was inspired on: | ||
| 62 | ;; | ||
| 63 | ;; print-nt.el Frederic Corne <frederic.corne@erli.fr> | ||
| 64 | ;; Special printing functions for Windows NT | ||
| 65 | ;; | ||
| 66 | ;; mh-e-init.el Tom Vogels <tov@ece.cmu.edu> | ||
| 67 | ;; PS-print for mail messages | ||
| 68 | ;; | ||
| 69 | ;; win32-ps-print.el Matthew O. Persico <mpersico@erols.com> | ||
| 70 | ;; PostScript printing with ghostscript | ||
| 71 | ;; | ||
| 72 | ;; ps-print-interface.el Volker Franz <volker.franz@tuebingen.mpg.de> | ||
| 73 | ;; Graphical front end for ps-print and previewing | ||
| 74 | ;; | 59 | ;; |
| 75 | ;; `printing' is prepared to run on GNU, Unix and NT systems. | 60 | ;; `printing' is prepared to run on GNU, Unix and NT systems. |
| 76 | ;; On GNU or Unix system, `printing' depends on gs and gv utilities. | 61 | ;; On GNU or Unix system, `printing' depends on gs and gv utilities. |
| @@ -86,6 +71,20 @@ Please send all bug fixes and enhancements to | |||
| 86 | ;; `http://www.cpqd.com.br/~vinicius/emacs/ps-print.tar.gz'. | 71 | ;; `http://www.cpqd.com.br/~vinicius/emacs/ps-print.tar.gz'. |
| 87 | ;; Please, see README file for ps-print installation instructions. | 72 | ;; Please, see README file for ps-print installation instructions. |
| 88 | ;; | 73 | ;; |
| 74 | ;; `printing' was inspired on: | ||
| 75 | ;; | ||
| 76 | ;; print-nt.el Frederic Corne <frederic.corne@erli.fr> | ||
| 77 | ;; Special printing functions for Windows NT | ||
| 78 | ;; | ||
| 79 | ;; mh-e-init.el Tom Vogels <tov@ece.cmu.edu> | ||
| 80 | ;; PS-print for mail messages | ||
| 81 | ;; | ||
| 82 | ;; win32-ps-print.el Matthew O. Persico <mpersico@erols.com> | ||
| 83 | ;; PostScript printing with ghostscript | ||
| 84 | ;; | ||
| 85 | ;; ps-print-interface.el Volker Franz <volker.franz@tuebingen.mpg.de> | ||
| 86 | ;; Graphical front end for ps-print and previewing | ||
| 87 | ;; | ||
| 89 | ;; | 88 | ;; |
| 90 | ;; Log Messages | 89 | ;; Log Messages |
| 91 | ;; ------------ | 90 | ;; ------------ |
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index a888003402d..dfd471a87c4 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -353,7 +353,12 @@ and `fill-nobreak-invisible'." | |||
| 353 | ;; Don't split a line if the rest would look like a new paragraph. | 353 | ;; Don't split a line if the rest would look like a new paragraph. |
| 354 | (unless use-hard-newlines | 354 | (unless use-hard-newlines |
| 355 | (save-excursion | 355 | (save-excursion |
| 356 | (skip-chars-forward " \t") (looking-at paragraph-start))) | 356 | (skip-chars-forward " \t") |
| 357 | ;; If this break point is at the end of the line, | ||
| 358 | ;; which can occur for auto-fill, don't consider the newline | ||
| 359 | ;; which follows as a reason to return t. | ||
| 360 | (and (not (eolp)) | ||
| 361 | (looking-at paragraph-start)))) | ||
| 357 | (run-hook-with-args-until-success 'fill-nobreak-predicate))))) | 362 | (run-hook-with-args-until-success 'fill-nobreak-predicate))))) |
| 358 | 363 | ||
| 359 | ;; Put `fill-find-break-point-function' property to charsets which | 364 | ;; Put `fill-find-break-point-function' property to charsets which |