aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKaroly Lorentey2004-07-30 16:33:42 +0000
committerKaroly Lorentey2004-07-30 16:33:42 +0000
commitaa1e2e2282f2c0222676f3d984812e1b6ccee299 (patch)
tree661d451b483236cc29eb5eee5cb64b66c884c0a8 /lisp
parente1775c3e8209d76d22151282bc5343ed948b948c (diff)
parentee945d083910ee9d0af23008806ba3cf2edcd5b4 (diff)
downloademacs-aa1e2e2282f2c0222676f3d984812e1b6ccee299.tar.gz
emacs-aa1e2e2282f2c0222676f3d984812e1b6ccee299.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-470 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-471 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-472 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-223
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog19
-rw-r--r--lisp/custom.el7
-rw-r--r--lisp/font-lock.el5
-rw-r--r--lisp/progmodes/etags.el97
-rw-r--r--lisp/ps-print.el44
5 files changed, 97 insertions, 75 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 57ee67c60b5..ea1392783f6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12004-07-28 Luc Teirlinck <teirllm@auburn.edu>
2
3 * custom.el (defcustom): Doc fix.
4
52004-07-28 Masatake YAMATO <jet@gyve.org>
6
7 * progmodes/etags.el (etags-tags-apropos): Show building progress.
8
12004-07-26 Stefan Monnier <monnier@iro.umontreal.ca> 92004-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2 10
3 * imenu.el (imenu-prev-index-position-function) 11 * imenu.el (imenu-prev-index-position-function)
@@ -42,12 +50,17 @@
42 50
432004-07-22 Vinicius Jose Latorre <viniciusjl@ig.com.br> 512004-07-22 Vinicius Jose Latorre <viniciusjl@ig.com.br>
44 52
45 * ps-print.el: Doc fix. Improve the DSC compliance of the generated 53 * ps-print.el: Doc fix.
46 PostScript. Suggested by Michael Piotrowski <mxp@dynalabs.de>.
47 (ps-print-version): New version 6.6.5. 54 (ps-print-version): New version 6.6.5.
48 (ps-printing-region): Doc fix. 55 (ps-printing-region): Doc fix.
49 (ps-generate-string-list): Comment fix. 56 (ps-generate-string-list): Comment fix.
50 (ps-message-log-max, ps-begin-file): Code fix. 57 (ps-message-log-max): Code fix.
58
59
602004-07-22 Michael Piotrowski <mxp@dynalabs.de> (tiny change)
61
62 * ps-print.el (ps-begin-file): Improve the DSC compliance of the
63 generated PostScript.
51 64
522004-07-22 Kim F. Storm <storm@cua.dk> 652004-07-22 Kim F. Storm <storm@cua.dk>
53 66
diff --git a/lisp/custom.el b/lisp/custom.el
index e86308c95e7..2ddd7ceb943 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -246,6 +246,13 @@ The following keywords are meaningful:
246 Specifies that SYMBOL should be set after the list of variables 246 Specifies that SYMBOL should be set after the list of variables
247 VARIABLES when both have been customized. 247 VARIABLES when both have been customized.
248 248
249If SYMBOL has a local binding, then this form affects the local
250binding. This is normally not what you want. Thus, if you need
251to load a file defining variables with this form, or with
252`defvar' or `defconst', you should always load that file
253_outside_ any bindings for these variables. \(`defvar' and
254`defconst' behave similarly in this respect.)
255
249Read the section about customization in the Emacs Lisp manual for more 256Read the section about customization in the Emacs Lisp manual for more
250information." 257information."
251 ;; It is better not to use backquote in this file, 258 ;; It is better not to use backquote in this file,
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 3592a6ac779..d275e48e482 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -358,8 +358,9 @@ Each element in a user-level keywords list should have one of these forms:
358 (eval . FORM) 358 (eval . FORM)
359 359
360where MATCHER can be either the regexp to search for, or the function name to 360where MATCHER can be either the regexp to search for, or the function name to
361call to make the search (called with one argument, the limit of the search) and 361call to make the search (called with one argument, the limit of the search;
362return non-nil if it succeeds (and set `match-data' appropriately). 362it should return non-nil, move point, and set `match-data' appropriately iff
363it succeeds; like `re-search-forward' would).
363MATCHER regexps can be generated via the function `regexp-opt'. 364MATCHER regexps can be generated via the function `regexp-opt'.
364 365
365FORM is an expression, whose value should be a keyword element, evaluated when 366FORM is an expression, whose value should be a keyword element, evaluated when
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 184077f6a3a..4464df3a916 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1453,53 +1453,58 @@ where they were found."
1453 (tags-with-face 'highlight (princ buffer-file-name)) 1453 (tags-with-face 'highlight (princ buffer-file-name))
1454 (princ "':\n\n")) 1454 (princ "':\n\n"))
1455 (goto-char (point-min)) 1455 (goto-char (point-min))
1456 (while (re-search-forward string nil t) 1456 (let ((point-max (/ (float (point-max)) 100.0)))
1457 (beginning-of-line) 1457 (while (re-search-forward string nil t)
1458 (message "Making tags apropos buffer for `%s'...%d%%"
1459 string
1460 (/ (point) point-max))
1461 (beginning-of-line)
1458 1462
1459 (let* (;; Get the local value in the tags table 1463 (let* ( ;; Get the local value in the tags table
1460 ;; buffer before switching buffers. 1464 ;; buffer before switching buffers.
1461 (goto-func goto-tag-location-function) 1465 (goto-func goto-tag-location-function)
1462 (tag-info (save-excursion (funcall snarf-tag-function))) 1466 (tag-info (save-excursion (funcall snarf-tag-function)))
1463 (tag (if (eq t (car tag-info)) nil (car tag-info))) 1467 (tag (if (eq t (car tag-info)) nil (car tag-info)))
1464 (file-path (save-excursion (if tag (file-of-tag) 1468 (file-path (save-excursion (if tag (file-of-tag)
1465 (save-excursion (next-line 1) 1469 (save-excursion (next-line 1)
1466 (file-of-tag))))) 1470 (file-of-tag)))))
1467 (file-label (if tag (file-of-tag t) 1471 (file-label (if tag (file-of-tag t)
1468 (save-excursion (next-line 1) 1472 (save-excursion (next-line 1)
1469 (file-of-tag t)))) 1473 (file-of-tag t))))
1470 (pt (with-current-buffer standard-output (point)))) 1474 (pt (with-current-buffer standard-output (point))))
1471 (if tag 1475 (if tag
1472 (progn 1476 (progn
1473 (princ (format "[%s]: " file-label)) 1477 (princ (format "[%s]: " file-label))
1474 (princ tag) 1478 (princ tag)
1475 (when (= (aref tag 0) ?\() (princ " ...)")) 1479 (when (= (aref tag 0) ?\() (princ " ...)"))
1476 (with-current-buffer standard-output 1480 (with-current-buffer standard-output
1477 (make-text-button pt (point) 1481 (make-text-button pt (point)
1478 'tag-info tag-info 1482 'tag-info tag-info
1479 'file-path file-path 1483 'file-path file-path
1480 'goto-func goto-func 1484 'goto-func goto-func
1481 'action (lambda (button) 1485 'action (lambda (button)
1482 (let ((tag-info (button-get button 'tag-info)) 1486 (let ((tag-info (button-get button 'tag-info))
1483 (goto-func (button-get button 'goto-func))) 1487 (goto-func (button-get button 'goto-func)))
1484 (tag-find-file-of-tag (button-get button 'file-path)) 1488 (tag-find-file-of-tag (button-get button 'file-path))
1485 (widen) 1489 (widen)
1486 (funcall goto-func tag-info))) 1490 (funcall goto-func tag-info)))
1487 'face 'tags-tag-face 1491 'face 'tags-tag-face
1488 'type 'button))) 1492 'type 'button)))
1489 (princ (format "- %s" file-label)) 1493 (princ (format "- %s" file-label))
1490 (with-current-buffer standard-output 1494 (with-current-buffer standard-output
1491 (make-text-button pt (point) 1495 (make-text-button pt (point)
1492 'file-path file-path 1496 'file-path file-path
1493 'action (lambda (button) 1497 'action (lambda (button)
1494 (tag-find-file-of-tag (button-get button 'file-path)) 1498 (tag-find-file-of-tag (button-get button 'file-path))
1495 ;; Get the local value in the tags table 1499 ;; Get the local value in the tags table
1496 ;; buffer before switching buffers. 1500 ;; buffer before switching buffers.
1497 (goto-char (point-min))) 1501 (goto-char (point-min)))
1498 'face 'tags-tag-face 1502 'face 'tags-tag-face
1499 'type 'button)) 1503 'type 'button))
1500 )) 1504 ))
1501 (terpri) 1505 (terpri)
1502 (forward-line 1)) 1506 (forward-line 1))
1507 (message nil))
1503 (when tags-apropos-verbose (princ "\n"))) 1508 (when tags-apropos-verbose (princ "\n")))
1504 1509
1505(defun etags-tags-table-files () 1510(defun etags-tags-table-files ()
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index 9dca7986e7c..78a558baebe 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -5576,17 +5576,15 @@ XSTART YSTART are the relative position for the first page in a sheet.")
5576 (setq ps-background-all-pages (nreverse ps-background-all-pages) 5576 (setq ps-background-all-pages (nreverse ps-background-all-pages)
5577 ps-background-pages (nreverse ps-background-pages)) 5577 ps-background-pages (nreverse ps-background-pages))
5578 5578
5579 (ps-output "\n" ps-print-prologue-1) 5579 (ps-output "\n" ps-print-prologue-1
5580 5580 "\n/printGlobalBackground{\n")
5581 (ps-output "\n/printGlobalBackground{\n")
5582 (mapcar 'ps-output ps-background-all-pages) 5581 (mapcar 'ps-output ps-background-all-pages)
5583 (ps-output "}def\n/printLocalBackground{\n}def\n")
5584
5585 (ps-output "\n%%EndProlog\n\n%%BeginSetup\n")
5586
5587 (ps-output 5582 (ps-output
5583 "}def\n/printLocalBackground{\n}def\n"
5584 "\n%%EndProlog\n\n%%BeginSetup\n"
5588 "\n%%IncludeResource: font Times-Roman" 5585 "\n%%IncludeResource: font Times-Roman"
5589 "\n%%IncludeResource: font Times-Italic\n%%IncludeResource: font " 5586 "\n%%IncludeResource: font Times-Italic"
5587 "\n%%IncludeResource: font "
5590 (mapconcat 'identity 5588 (mapconcat 'identity
5591 (ps-remove-duplicates 5589 (ps-remove-duplicates
5592 (append (ps-fonts 'ps-font-for-text) 5590 (append (ps-fonts 'ps-font-for-text)
@@ -5595,22 +5593,20 @@ XSTART YSTART are the relative position for the first page in a sheet.")
5595 (ps-font 'ps-font-for-footer 'normal) 5593 (ps-font 'ps-font-for-footer 'normal)
5596 (ps-font 'ps-font-for-footer 'bold)))) 5594 (ps-font 'ps-font-for-footer 'bold))))
5597 "\n%%IncludeResource: font ") 5595 "\n%%IncludeResource: font ")
5598 "\n") 5596 ;; Header/line number fonts
5599 5597 (format "\n/h0 %s(%s)cvn DefFont\n" ; /h0 14/Helvetica-Bold DefFont
5600 ;; Header/line number fonts 5598 ps-header-title-font-size-internal
5601 (ps-output (format "/h0 %s(%s)cvn DefFont\n" ; /h0 14/Helvetica-Bold DefFont 5599 (ps-font 'ps-font-for-header 'bold))
5602 ps-header-title-font-size-internal 5600 (format "/h1 %s(%s)cvn DefFont\n" ; /h1 12/Helvetica DefFont
5603 (ps-font 'ps-font-for-header 'bold)) 5601 ps-header-font-size-internal
5604 (format "/h1 %s(%s)cvn DefFont\n" ; /h1 12/Helvetica DefFont 5602 (ps-font 'ps-font-for-header 'normal))
5605 ps-header-font-size-internal 5603 (format "/L0 %s(%s)cvn DefFont\n" ; /L0 6/Times-Italic DefFont
5606 (ps-font 'ps-font-for-header 'normal)) 5604 (ps-get-font-size 'ps-line-number-font-size)
5607 (format "/L0 %s(%s)cvn DefFont\n" ; /L0 6/Times-Italic DefFont 5605 ps-line-number-font)
5608 (ps-get-font-size 'ps-line-number-font-size) 5606 (format "/H0 %s(%s)cvn DefFont\n" ; /H0 12/Helvetica DefFont
5609 ps-line-number-font) 5607 ps-footer-font-size-internal
5610 (format "/H0 %s(%s)cvn DefFont\n" ; /H0 12/Helvetica DefFont 5608 (ps-font 'ps-font-for-footer 'normal))
5611 ps-footer-font-size-internal 5609 "\n\n% ---- These lines must be kept together because...
5612 (ps-font 'ps-font-for-footer 'normal))
5613 "\n\n% ---- These lines must be kept together because...
5614 5610
5615/h0 F 5611/h0 F
5616/HeaderTitleLineHeight FontHeight def 5612/HeaderTitleLineHeight FontHeight def