Commit e07777e6 authored by Stefan Monnier's avatar Stefan Monnier

(uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).

parent e7fd29af
2001-10-23 Stefan Monnier <monnier@cs.yale.edu> 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
* uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
* progmodes/compile.el (compile-mouse-goto-error, compile-goto-error): * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
Turn caadr into caar of cdr. Turn caadr into caar of cdr.
2001-10-23 Gerd Moellmann <gerd@gnu.org> 2001-10-23 Gerd Moellmann <gerd@gnu.org>
* info.el (Info-fontify-node): Bind doun-mouse-{1,2} instead * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
of mouse-{1,2} since dragging is on the down event. of mouse-{1,2} since dragging is on the down event.
* play/doctor.el (make-doctor-variables): Remove a '($ please)'. * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
...@@ -19,8 +21,8 @@ ...@@ -19,8 +21,8 @@
2001-10-22 Gerd Moellmann <gerd@gnu.org> 2001-10-22 Gerd Moellmann <gerd@gnu.org>
* progmodes/compile.el (compilation-set-window-height): Select * progmodes/compile.el (compilation-set-window-height):
old window only if it's still live. Select old window only if it's still live.
2001-10-22 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 2001-10-22 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
...@@ -29,8 +31,8 @@ ...@@ -29,8 +31,8 @@
2001-10-22 Eli Zaretskii <eliz@is.elta.co.il> 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
* files.el (file-name-sans-extension, file-name-extension): Don't * files.el (file-name-sans-extension, file-name-extension):
count the leading dots in file names as signaling an extension. Don't count the leading dots in file names as signaling an extension.
2001-10-22 Andre Spiegel <spiegel@gnu.org> 2001-10-22 Andre Spiegel <spiegel@gnu.org>
...@@ -51,8 +53,7 @@ ...@@ -51,8 +53,7 @@
* tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
doc string the effect of `left' and `top' parameters in doc string the effect of `left' and `top' parameters in
tooltip-frame-parameters, the default values, and the units. tooltip-frame-parameters, the default values, and the units.
(tooltip-frame-parameters): Mention `top' and `left' in the doc (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
string.
(tooltip-show): Mention in the doc string the `top' and `left' (tooltip-show): Mention in the doc string the `top' and `left'
parameters in tooltip-frame-parameters, and x-max-tooltip-size. parameters in tooltip-frame-parameters, and x-max-tooltip-size.
...@@ -60,14 +61,13 @@ ...@@ -60,14 +61,13 @@
Add autoscaling support for vc-annotate. Add autoscaling support for vc-annotate.
From J.D. Smith <jdsmith@astro.cornell.edu>. From J.D. Smith <jdsmith@astro.cornell.edu>.
* vc.el (vc-annotate-display-default): Accept colormap scaling * vc.el (vc-annotate-display-default): Accept colormap scaling
ratio (now deprecated). ratio (now deprecated).
(vc-annotate-display-autoscale): Added. (vc-annotate-display-autoscale): Added.
(vc-annotate-add-menu): New autoscaling menu options "Span to (vc-annotate-add-menu): New autoscaling menu options "Span to
Oldest" and "Span Oldest->Newest". Easymenu support added for Oldest" and "Span Oldest->Newest". Easymenu support added for
toggle menus driven by customize variable toggle menus driven by customize variable `vc-annotate-display-mode'.
`vc-annotate-display-mode'.
(vc-annotate-display-select): Added. (vc-annotate-display-select): Added.
(vc-annotate): Changed temp-buffer-show-function to (vc-annotate): Changed temp-buffer-show-function to
`vc-annotate-display-select'. `vc-annotate-display-select'.
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
(vc-default-annotate-current-time): Added. (vc-default-annotate-current-time): Added.
* vc-cvs.el (vc-cvs-annotate-difference): Removed to generic * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
version in vc.el, with version in vc.el, with
(vc-cvs-annotate-current-time): Added, as override of default. (vc-cvs-annotate-current-time): Added, as override of default.
(vc-cvs-annotate-time) Added. Taken mostly from the (now removed) (vc-cvs-annotate-time) Added. Taken mostly from the (now removed)
`vc-cvs-annotate-difference'. `vc-cvs-annotate-difference'.
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
* saveplace.el (save-place): Require `saveplace'. * saveplace.el (save-place): Require `saveplace'.
* progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist): * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
Use `sexp' for :value-type instead of `face'. Use `sexp' for :value-type instead of `face'.
2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
...@@ -117,15 +117,15 @@ ...@@ -117,15 +117,15 @@
2001-10-21 Andre Spiegel <spiegel@gnu.org> 2001-10-21 Andre Spiegel <spiegel@gnu.org>
* vc.el (vc-diff-internal, vc-coding-system-for-diff, * vc.el (vc-diff-internal, vc-coding-system-for-diff)
vc-default-diff-tree): New functions. (vc-default-diff-tree): New functions.
(vc-version-diff): Use them. As a result, coding systems are now (vc-version-diff): Use them. As a result, coding systems are now
set up properly for all sorts of diffs, and tree diffs can now set up properly for all sorts of diffs, and tree diffs can now
also be done locally. also be done locally.
(vc-diff): With a prefix argument, don't require that it's called (vc-diff): With a prefix argument, don't require that it's called
from a buffer under version control. from a buffer under version control.
(diff-switches): Remove duplicate definition. (diff-switches): Remove duplicate definition.
* vc-cvs.el (vc-cvs-diff-tree): New function. * vc-cvs.el (vc-cvs-diff-tree): New function.
2001-10-21 Miles Bader <miles@gnu.org> 2001-10-21 Miles Bader <miles@gnu.org>
...@@ -151,15 +151,14 @@ ...@@ -151,15 +151,14 @@
2001-10-19 Eli Zaretskii <eliz@is.elta.co.il> 2001-10-19 Eli Zaretskii <eliz@is.elta.co.il>
* files.el (auto-mode-alist): Associate .indent.pro with * files.el (auto-mode-alist): Associate .indent.pro with
Fundamental mode. Suggested by Samuel Padgett Fundamental mode. Suggested by Samuel Padgett <spadgett1@nc.rr.com>.
<spadgett1@nc.rr.com>.
2001-10-18 Sam Steingold <sds@gnu.org> 2001-10-18 Sam Steingold <sds@gnu.org>
Put the *Compile-Log* buffer in `compilation-mode'. Put the *Compile-Log* buffer in `compilation-mode'.
* emacs-lisp/bytecomp.el (byte-goto-log-buffer): New function. * emacs-lisp/bytecomp.el (byte-goto-log-buffer): New function.
(byte-compile-log-1, byte-compile-log-file) (byte-compile-log-1, byte-compile-log-file)
(displaying-byte-compile-warnings): use it (displaying-byte-compile-warnings): Use it
2001-10-18 Stefan Monnier <monnier@cs.yale.edu> 2001-10-18 Stefan Monnier <monnier@cs.yale.edu>
......
...@@ -279,7 +279,7 @@ in `uniquify-list-buffers-directory-modes', otherwise returns nil." ...@@ -279,7 +279,7 @@ in `uniquify-list-buffers-directory-modes', otherwise returns nil."
file) file)
extra-string))) extra-string)))
(when (zerop n) (when (zerop n)
(if (and filename (if (and filename extra-string
(setq filename (file-name-directory filename)) (setq filename (file-name-directory filename))
(equal filename (equal filename
(file-name-directory (directory-file-name filename)))) (file-name-directory (directory-file-name filename))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment