aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-04-26 20:37:31 +0000
committerStefan Monnier2005-04-26 20:37:31 +0000
commit2231c2bc7d17080ae1a2a464afaee842542fa96a (patch)
tree395492a12cd83d9e8a60fc3077afbe0828a9fc1e
parent03de06dabd9074de1c617190d5056c2c245ac735 (diff)
downloademacs-2231c2bc7d17080ae1a2a464afaee842542fa96a.tar.gz
emacs-2231c2bc7d17080ae1a2a464afaee842542fa96a.zip
Rename "full-path" -> "full-name".
-rw-r--r--lisp/ChangeLog37
-rw-r--r--lisp/pcvs.el40
2 files changed, 44 insertions, 33 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8a9a8403052..eddacc001fb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,15 @@
12005-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * pcvs-info.el (cvs-fileinfo->full-path, cvs-display-full-path):
4 New fun and var, to preserve compatibility.
5
6 * pcvs.el, pcvs-info.el: Rename "full-path" -> "full-name".
7
82005-04-26 Dominique de Waleffe <ddw@missioncriticalit.com> (tiny change)
9
10 * pcvs-info.el (cvs-fileinfo->backup-file): Don't pass the full file
11 name to file-newer-than-file-p.
12
12005-04-26 Richard M. Stallman <rms@gnu.org> 132005-04-26 Richard M. Stallman <rms@gnu.org>
2 14
3 * simple.el (line-move-1): Avoid using vertical-motion in easy cases. 15 * simple.el (line-move-1): Avoid using vertical-motion in easy cases.
@@ -9,7 +21,7 @@
9 21
10 * emacs-lisp/eldoc.el (eldoc-mode): Doc fix. 22 * emacs-lisp/eldoc.el (eldoc-mode): Doc fix.
11 (eldoc-documentation-function): 23 (eldoc-documentation-function):
12 Renamed from eldoc-print-current-symbol-info-function. Calls changed. 24 Rename from eldoc-print-current-symbol-info-function. Calls changed.
13 25
142005-04-26 Nick Roberts <nickrob@snap.net.nz> 262005-04-26 Nick Roberts <nickrob@snap.net.nz>
15 27
@@ -18,13 +30,13 @@
182005-04-25 Dan Nicolaescu <dann@ics.uci.edu> 302005-04-25 Dan Nicolaescu <dann@ics.uci.edu>
19 31
20 * term/xterm.el (function-key-map): Fix strings for 32 * term/xterm.el (function-key-map): Fix strings for
21 {C,S,A,C-S}-f[1-4]. Use substitute-key-definition to bind 33 {C,S,A,C-S}-f[1-4]. Use substitute-key-definition to bind
22 {C,S,A,C-S}-{f1-f12}. 34 {C,S,A,C-S}-{f1-f12}.
23 35
242005-04-26 Kenichi Handa <handa@m17n.org> 362005-04-26 Kenichi Handa <handa@m17n.org>
25 37
26 * international/mule-cmds.el (select-safe-coding-system): Fix 38 * international/mule-cmds.el (select-safe-coding-system):
27 previous change. 39 Fix previous change.
28 40
292005-04-26 Lute Kamstra <lute@gnu.org> 412005-04-26 Lute Kamstra <lute@gnu.org>
30 42
@@ -43,8 +55,7 @@
432005-04-25 Dan Nicolaescu <dann@ics.uci.edu> 552005-04-25 Dan Nicolaescu <dann@ics.uci.edu>
44 56
45 * term.el (ansi-term-color-vector): Use the xterm colors. 57 * term.el (ansi-term-color-vector): Use the xterm colors.
46 (term-raw-map): Don't add mappings for \eO and \e[. Map 58 (term-raw-map): Don't add mappings for \eO and \e[. Map deletechar.
47 deletechar.
48 59
492005-04-25 Lute Kamstra <lute@gnu.org> 602005-04-25 Lute Kamstra <lute@gnu.org>
50 61
@@ -54,8 +65,8 @@
54 65
552005-04-25 Kenichi Handa <handa@m17n.org> 662005-04-25 Kenichi Handa <handa@m17n.org>
56 67
57 * international/mule-cmds.el (select-safe-coding-system): Don't 68 * international/mule-cmds.el (select-safe-coding-system):
58 check consistency with coding: spec, etc if raw-text or 69 Don't check consistency with coding: spec, etc if raw-text or
59 no-conversion was found to be safe. 70 no-conversion was found to be safe.
60 71
612005-04-24 Richard M. Stallman <rms@gnu.org> 722005-04-24 Richard M. Stallman <rms@gnu.org>
@@ -204,13 +215,13 @@
204 not quadratic. Suggested by David Kastrup <dak@gnu.org>. 215 not quadratic. Suggested by David Kastrup <dak@gnu.org>.
205 (rassq-delete-all): New function. 216 (rassq-delete-all): New function.
206 217
207 * menu-bar.el (menu-bar-options-save, menu-bar-showhide-menu): Add 218 * menu-bar.el (menu-bar-options-save, menu-bar-showhide-menu):
208 size-indication-mode. 219 Add size-indication-mode.
209 220
2102005-04-21 Kenichi Handa <handa@m17n.org> 2212005-04-21 Kenichi Handa <handa@m17n.org>
211 222
212 * international/mule-cmds.el: Add autoload for widget-value in 223 * international/mule-cmds.el: Add autoload for widget-value in
213 eval-when-compile 224 eval-when-compile.
214 225
2152005-04-21 Nick Roberts <nickrob@snap.net.nz> 2262005-04-21 Nick Roberts <nickrob@snap.net.nz>
216 227
@@ -581,8 +592,8 @@
5812005-04-11 Rajesh Vaidheeswarran <rv@gnu.org> 5922005-04-11 Rajesh Vaidheeswarran <rv@gnu.org>
582 593
583 * whitespace.el (whitespace-buffer-leading) 594 * whitespace.el (whitespace-buffer-leading)
584 (whitespace-buffer-trailing): Revert the incorrect test 595 (whitespace-buffer-trailing): Revert the incorrect test inversion.
585 inversion. However, fix the highlight area for the leading and 596 However, fix the highlight area for the leading and
586 trailing whitespaces to show space. 597 trailing whitespaces to show space.
587 598
5882005-04-11 Rajesh Vaidheeswarran <rv@gnu.org> 5992005-04-11 Rajesh Vaidheeswarran <rv@gnu.org>
diff --git a/lisp/pcvs.el b/lisp/pcvs.el
index e7139d9cfba..6382705139e 100644
--- a/lisp/pcvs.el
+++ b/lisp/pcvs.el
@@ -233,7 +233,7 @@
233 nil ;don't update display while running 233 nil ;don't update display while running
234 "status" 234 "status"
235 "-v" 235 "-v"
236 (cvs-fileinfo->full-path (car marked))) 236 (cvs-fileinfo->full-name (car marked)))
237 (goto-char (point-min)) 237 (goto-char (point-min))
238 (let ((tags (cvs-status-get-tags))) 238 (let ((tags (cvs-status-get-tags)))
239 (when (listp tags) tags))))))) 239 (when (listp tags) tags)))))))
@@ -512,7 +512,7 @@ If non-nil, NEW means to create a new buffer no matter what."
512 (let* ((dir+files+rest 512 (let* ((dir+files+rest
513 (if (or (null fis) (not single-dir)) 513 (if (or (null fis) (not single-dir))
514 ;; not single-dir mode: just process the whole thing 514 ;; not single-dir mode: just process the whole thing
515 (list "" (mapcar 'cvs-fileinfo->full-path fis) nil) 515 (list "" (mapcar 'cvs-fileinfo->full-name fis) nil)
516 ;; single-dir mode: extract the same-dir-elements 516 ;; single-dir mode: extract the same-dir-elements
517 (let ((dir (cvs-fileinfo->dir (car fis)))) 517 (let ((dir (cvs-fileinfo->dir (car fis))))
518 ;; output the concerned dir so the parser can translate paths 518 ;; output the concerned dir so the parser can translate paths
@@ -611,7 +611,7 @@ If non-nil, NEW means to create a new buffer no matter what."
611 (append (cvs-flags-query 'cvs-cvs-flags nil 'noquery) 611 (append (cvs-flags-query 'cvs-cvs-flags nil 'noquery)
612 (if cvs-cvsroot (list "-d" cvs-cvsroot)) 612 (if cvs-cvsroot (list "-d" cvs-cvsroot))
613 args 613 args
614 (mapcar 'cvs-fileinfo->full-path fis)))))) 614 (mapcar 'cvs-fileinfo->full-name fis))))))
615 615
616(defun cvs-update-header (cmd add) 616(defun cvs-update-header (cmd add)
617 (let* ((hf (ewoc-get-hf cvs-cookies)) 617 (let* ((hf (ewoc-get-hf cvs-cookies))
@@ -831,7 +831,7 @@ the problem."
831 (and (or (eq (cvs-fileinfo->type fi) 'REMOVED) 831 (and (or (eq (cvs-fileinfo->type fi) 'REMOVED)
832 (and (eq (cvs-fileinfo->type fi) 'CONFLICT) 832 (and (eq (cvs-fileinfo->type fi) 'CONFLICT)
833 (eq (cvs-fileinfo->subtype fi) 'REMOVED))) 833 (eq (cvs-fileinfo->subtype fi) 'REMOVED)))
834 (file-exists-p (cvs-fileinfo->full-path fi)))) 834 (file-exists-p (cvs-fileinfo->full-name fi))))
835 835
836;; called at the following times: 836;; called at the following times:
837;; - postparse ((eq cvs-auto-remove-handled t) cvs-auto-remove-directories nil) 837;; - postparse ((eq cvs-auto-remove-handled t) cvs-auto-remove-directories nil)
@@ -1406,7 +1406,7 @@ If FILE is non-nil, directory entries won't be selected."
1406(defun cvs-mode-files (&rest -cvs-mode-files-args) 1406(defun cvs-mode-files (&rest -cvs-mode-files-args)
1407 (cvs-mode! 1407 (cvs-mode!
1408 (lambda () 1408 (lambda ()
1409 (mapcar 'cvs-fileinfo->full-path 1409 (mapcar 'cvs-fileinfo->full-name
1410 (apply 'cvs-mode-marked -cvs-mode-files-args))))) 1410 (apply 'cvs-mode-marked -cvs-mode-files-args)))))
1411 1411
1412;; 1412;;
@@ -1564,7 +1564,7 @@ With prefix argument, prompt for cvs flags."
1564 ;; find directories and look for fis needing a description 1564 ;; find directories and look for fis needing a description
1565 (dolist (fi fis) 1565 (dolist (fi fis)
1566 (cond 1566 (cond
1567 ((file-directory-p (cvs-fileinfo->full-path fi)) (push fi dirs)) 1567 ((file-directory-p (cvs-fileinfo->full-name fi)) (push fi dirs))
1568 ((eq (cvs-fileinfo->type fi) 'UNKNOWN) (setq needdesc t)))) 1568 ((eq (cvs-fileinfo->type fi) 'UNKNOWN) (setq needdesc t))))
1569 ;; prompt for description if necessary 1569 ;; prompt for description if necessary
1570 (let* ((msg (if (and needdesc 1570 (let* ((msg (if (and needdesc
@@ -1642,8 +1642,8 @@ or \"Conflict\" in the *cvs* buffer."
1642Signal an error if there is no backup file." 1642Signal an error if there is no backup file."
1643 (let ((backup-file (cvs-fileinfo->backup-file fileinfo))) 1643 (let ((backup-file (cvs-fileinfo->backup-file fileinfo)))
1644 (unless backup-file 1644 (unless backup-file
1645 (error "%s has no backup file" (cvs-fileinfo->full-path fileinfo))) 1645 (error "%s has no backup file" (cvs-fileinfo->full-name fileinfo)))
1646 (list backup-file (cvs-fileinfo->full-path fileinfo)))) 1646 (list backup-file (cvs-fileinfo->full-name fileinfo))))
1647 1647
1648;; 1648;;
1649;; Emerge support 1649;; Emerge support
@@ -1697,7 +1697,7 @@ Signal an error if there is no backup file."
1697 1697
1698(defun cvs-retrieve-revision (fileinfo rev) 1698(defun cvs-retrieve-revision (fileinfo rev)
1699 "Retrieve the given REVision of the file in FILEINFO into a new buffer." 1699 "Retrieve the given REVision of the file in FILEINFO into a new buffer."
1700 (let* ((file (cvs-fileinfo->full-path fileinfo)) 1700 (let* ((file (cvs-fileinfo->full-name fileinfo))
1701 (buffile (concat file "." rev))) 1701 (buffile (concat file "." rev)))
1702 (or (find-buffer-visiting buffile) 1702 (or (find-buffer-visiting buffile)
1703 (with-current-buffer (create-file-buffer buffile) 1703 (with-current-buffer (create-file-buffer buffile)
@@ -1729,7 +1729,7 @@ Signal an error if there is no backup file."
1729 (interactive) 1729 (interactive)
1730 (let ((fi (cvs-mode-marked 'merge nil :one t :file t))) 1730 (let ((fi (cvs-mode-marked 'merge nil :one t :file t)))
1731 (let ((merge (cvs-fileinfo->merge fi)) 1731 (let ((merge (cvs-fileinfo->merge fi))
1732 (file (cvs-fileinfo->full-path fi)) 1732 (file (cvs-fileinfo->full-name fi))
1733 (backup-file (cvs-fileinfo->backup-file fi))) 1733 (backup-file (cvs-fileinfo->backup-file fi)))
1734 (if (not (and merge backup-file)) 1734 (if (not (and merge backup-file))
1735 (let ((buf (find-file-noselect file))) 1735 (let ((buf (find-file-noselect file)))
@@ -1760,7 +1760,7 @@ Signal an error if there is no backup file."
1760 (list (or rev1 (cvs-flags-query 'cvs-idiff-version)) 1760 (list (or rev1 (cvs-flags-query 'cvs-idiff-version))
1761 rev2))) 1761 rev2)))
1762 (let ((fi (cvs-mode-marked 'diff "idiff" :one t :file t))) 1762 (let ((fi (cvs-mode-marked 'diff "idiff" :one t :file t)))
1763 (let* ((file (cvs-fileinfo->full-path fi)) 1763 (let* ((file (cvs-fileinfo->full-name fi))
1764 (rev1-buf (cvs-retrieve-revision fi (or rev1 "BASE"))) 1764 (rev1-buf (cvs-retrieve-revision fi (or rev1 "BASE")))
1765 (rev2-buf (if rev2 (cvs-retrieve-revision fi rev2))) 1765 (rev2-buf (if rev2 (cvs-retrieve-revision fi rev2)))
1766 ;; this binding is used by cvs-ediff-startup-hook 1766 ;; this binding is used by cvs-ediff-startup-hook
@@ -1778,13 +1778,13 @@ Signal an error if there is no backup file."
1778 (error "idiff-other cannot be applied to more than 2 files at a time")) 1778 (error "idiff-other cannot be applied to more than 2 files at a time"))
1779 (let* ((fi1 (car fis)) 1779 (let* ((fi1 (car fis))
1780 (rev1-buf (if rev1 (cvs-retrieve-revision fi1 rev1) 1780 (rev1-buf (if rev1 (cvs-retrieve-revision fi1 rev1)
1781 (find-file-noselect (cvs-fileinfo->full-path fi1)))) 1781 (find-file-noselect (cvs-fileinfo->full-name fi1))))
1782 rev2-buf) 1782 rev2-buf)
1783 (if (cdr fis) 1783 (if (cdr fis)
1784 (let ((fi2 (nth 1 fis))) 1784 (let ((fi2 (nth 1 fis)))
1785 (setq rev2-buf 1785 (setq rev2-buf
1786 (if rev2 (cvs-retrieve-revision fi2 rev2) 1786 (if rev2 (cvs-retrieve-revision fi2 rev2)
1787 (find-file-noselect (cvs-fileinfo->full-path fi2))))) 1787 (find-file-noselect (cvs-fileinfo->full-name fi2)))))
1788 (error "idiff-other doesn't know what other file/buffer to use")) 1788 (error "idiff-other doesn't know what other file/buffer to use"))
1789 (let* (;; this binding is used by cvs-ediff-startup-hook 1789 (let* (;; this binding is used by cvs-ediff-startup-hook
1790 (cvs-transient-buffers (list rev1-buf rev2-buf))) 1790 (cvs-transient-buffers (list rev1-buf rev2-buf)))
@@ -1799,7 +1799,7 @@ Signal an error if there is no backup file."
1799 (let (ret) 1799 (let (ret)
1800 (dolist (fi (or fis (list (cvs-create-fileinfo 'DIRCHANGE "" "." "")))) 1800 (dolist (fi (or fis (list (cvs-create-fileinfo 'DIRCHANGE "" "." ""))))
1801 (when (cvs-string-prefix-p 1801 (when (cvs-string-prefix-p
1802 (expand-file-name (cvs-fileinfo->full-path fi) dir) 1802 (expand-file-name (cvs-fileinfo->full-name fi) dir)
1803 buffer-file-name) 1803 buffer-file-name)
1804 (setq ret t))) 1804 (setq ret t)))
1805 ret))) 1805 ret)))
@@ -2002,7 +2002,7 @@ With a prefix, opens the buffer in an OTHER window."
2002 (set-buffer cvs-buf) 2002 (set-buffer cvs-buf)
2003 (setq default-directory odir)) 2003 (setq default-directory odir))
2004 (let ((buf (if rev (cvs-retrieve-revision fi rev) 2004 (let ((buf (if rev (cvs-retrieve-revision fi rev)
2005 (find-file-noselect (cvs-fileinfo->full-path fi))))) 2005 (find-file-noselect (cvs-fileinfo->full-name fi)))))
2006 (funcall (cond ((eq other 'dont-select) 'display-buffer) 2006 (funcall (cond ((eq other 'dont-select) 'display-buffer)
2007 (other 2007 (other
2008 (if view 'view-buffer-other-window 2008 (if view 'view-buffer-other-window
@@ -2093,14 +2093,14 @@ Returns a list of FIS that should be `cvs remove'd."
2093 (silent (or (not cvs-confirm-removals) 2093 (silent (or (not cvs-confirm-removals)
2094 (cvs-every (lambda (fi) 2094 (cvs-every (lambda (fi)
2095 (or (not (file-exists-p 2095 (or (not (file-exists-p
2096 (cvs-fileinfo->full-path fi))) 2096 (cvs-fileinfo->full-name fi)))
2097 (cvs-applicable-p fi 'safe-rm))) 2097 (cvs-applicable-p fi 'safe-rm)))
2098 files))) 2098 files)))
2099 (tmpbuf (cvs-temp-buffer))) 2099 (tmpbuf (cvs-temp-buffer)))
2100 (when (and (not silent) (equal cvs-confirm-removals 'list)) 2100 (when (and (not silent) (equal cvs-confirm-removals 'list))
2101 (with-current-buffer tmpbuf 2101 (with-current-buffer tmpbuf
2102 (let ((inhibit-read-only t)) 2102 (let ((inhibit-read-only t))
2103 (cvs-insert-strings (mapcar 'cvs-fileinfo->full-path fis)) 2103 (cvs-insert-strings (mapcar 'cvs-fileinfo->full-name fis))
2104 (cvs-pop-to-buffer-same-frame (current-buffer)) 2104 (cvs-pop-to-buffer-same-frame (current-buffer))
2105 (shrink-window-if-larger-than-buffer)))) 2105 (shrink-window-if-larger-than-buffer))))
2106 (if (not (or silent 2106 (if (not (or silent
@@ -2119,7 +2119,7 @@ Returns a list of FIS that should be `cvs remove'd."
2119 (progn (message "Aborting") nil) 2119 (progn (message "Aborting") nil)
2120 (dolist (fi files) 2120 (dolist (fi files)
2121 (let* ((type (cvs-fileinfo->type fi)) 2121 (let* ((type (cvs-fileinfo->type fi))
2122 (file (cvs-fileinfo->full-path fi))) 2122 (file (cvs-fileinfo->full-name fi)))
2123 (when (or all (eq type 'UNKNOWN)) 2123 (when (or all (eq type 'UNKNOWN))
2124 (when (file-exists-p file) (delete-file file)) 2124 (when (file-exists-p file) (delete-file file))
2125 (unless all (setf (cvs-fileinfo->type fi) 'DEAD) t)))) 2125 (unless all (setf (cvs-fileinfo->type fi) 'DEAD) t))))
@@ -2166,7 +2166,7 @@ With prefix argument, prompt for cvs flags."
2166 (interactive) 2166 (interactive)
2167 (let ((marked (cvs-get-marked (cvs-ignore-marks-p "byte-compile")))) 2167 (let ((marked (cvs-get-marked (cvs-ignore-marks-p "byte-compile"))))
2168 (dolist (fi marked) 2168 (dolist (fi marked)
2169 (let ((filename (cvs-fileinfo->full-path fi))) 2169 (let ((filename (cvs-fileinfo->full-name fi)))
2170 (when (string-match "\\.el\\'" filename) 2170 (when (string-match "\\.el\\'" filename)
2171 (byte-compile-file filename)))))) 2171 (byte-compile-file filename))))))
2172 2172
@@ -2237,7 +2237,7 @@ this file, or a list of arguments to send to the program."
2237 2237
2238(defun cvs-revert-if-needed (fis) 2238(defun cvs-revert-if-needed (fis)
2239 (dolist (fileinfo fis) 2239 (dolist (fileinfo fis)
2240 (let* ((file (cvs-fileinfo->full-path fileinfo)) 2240 (let* ((file (cvs-fileinfo->full-name fileinfo))
2241 (buffer (find-buffer-visiting file))) 2241 (buffer (find-buffer-visiting file)))
2242 ;; For a revert to happen the user must be editing the file... 2242 ;; For a revert to happen the user must be editing the file...
2243 (unless (or (null buffer) 2243 (unless (or (null buffer)