aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-03-17 20:19:00 +0000
committerStefan Monnier2008-03-17 20:19:00 +0000
commit800a97b891f3b5c344fba2a6a76649fb51f488fa (patch)
tree6755be167cfb127562dffaae66f39895e4182403
parent7ee8e7eb0fbe17073ce4ebd94113241eb49669e4 (diff)
downloademacs-800a97b891f3b5c344fba2a6a76649fb51f488fa.tar.gz
emacs-800a97b891f3b5c344fba2a6a76649fb51f488fa.zip
(tramp-completion-mode-p): Don't use char-equal for
elements which may be something else than characters.
-rw-r--r--lisp/ChangeLog36
-rw-r--r--lisp/net/tramp.el16
2 files changed, 27 insertions, 25 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6c7fb228944..ecd9395ad63 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
4 elements which may be something else than characters.
5
12008-03-17 Dan Nicolaescu <dann@ics.uci.edu> 62008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status): 8 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
@@ -166,8 +171,8 @@
166 (tramp-completion-file-name-regexp-unified) 171 (tramp-completion-file-name-regexp-unified)
167 (tramp-completion-file-name-regexp-separate) 172 (tramp-completion-file-name-regexp-separate)
168 (tramp-completion-file-name-regexp-url): Use it. 173 (tramp-completion-file-name-regexp-url): Use it.
169 (tramp-do-copy-or-rename-file-via-buffer): Set 174 (tramp-do-copy-or-rename-file-via-buffer):
170 `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to 175 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
171 t for `insert-file-contents-literally'. 176 t for `insert-file-contents-literally'.
172 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'. 177 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
173 Autoload it. 178 Autoload it.
@@ -333,7 +338,7 @@
333 338
3342008-03-14 Bastien Guerry <bzg@altern.org> 3392008-03-14 Bastien Guerry <bzg@altern.org>
335 340
336 * textmodes/flyspell.el (nxml-mode): Add the right. 341 * textmodes/flyspell.el (nxml-mode): Add the right
337 `flyspell-mode-predicate'. 342 `flyspell-mode-predicate'.
338 343
339 * wid-edit.el (link): Use 'mouse-face for :follow-link. 344 * wid-edit.el (link): Use 'mouse-face for :follow-link.
@@ -411,8 +416,8 @@
411 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry) 416 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
412 (insert-yearly-islamic-diary-entry): Use let rather than let*. 417 (insert-yearly-islamic-diary-entry): Use let rather than let*.
413 418
414 * calendar/cal-julian.el (calendar-absolute-from-julian): Move 419 * calendar/cal-julian.el (calendar-absolute-from-julian):
415 definition before use. Remove un-needed local `day'. 420 Move definition before use. Remove un-needed local `day'.
416 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix. 421 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
417 422
418 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array) 423 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
@@ -492,11 +497,11 @@
492 if the original message starts with the last successful message. 497 if the original message starts with the last successful message.
493 498
494 * dired.el (dired-warn-writable): Rename to `dired-perm-write'. 499 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
495 (dired-perm-write): Renamed from `dired-warn-writable'. 500 (dired-perm-write): Rename from `dired-warn-writable'.
496 Change parent face from `font-lock-warning-face' to 501 Change parent face from `font-lock-warning-face' to
497 `font-lock-comment-delimiter-face'. 502 `font-lock-comment-delimiter-face'.
498 (dired-warn-writable-face): Rename to `dired-perm-write-face'. 503 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
499 (dired-perm-write-face): Renamed from `dired-warn-writable-face'. 504 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
500 (dired-font-lock-keywords): Replace `dired-warn-writable-face' 505 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
501 with `dired-perm-write-face'. 506 with `dired-perm-write-face'.
502 507
@@ -638,8 +643,7 @@
638 due date approaches and is passed. 643 due date approaches and is passed.
639 (org-remember-apply-template): Fix problem with tags that 644 (org-remember-apply-template): Fix problem with tags that
640 contain "_" or "@". 645 contain "_" or "@".
641 (org-make-link-regexps): Improve the regular expression for plain 646 (org-make-link-regexps): Improve the regular expression for plain links.
642 links.
643 (org-agenda-get-closed): List each clocking entry. 647 (org-agenda-get-closed): List each clocking entry.
644 (org-set-tags): Only tabify before tags if indent-tabs-mode is t. 648 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
645 (org-special-ctrl-k): New option. 649 (org-special-ctrl-k): New option.
@@ -1038,8 +1042,7 @@
1038 1042
10392008-03-08 Glenn Morris <rgm@gnu.org> 10432008-03-08 Glenn Morris <rgm@gnu.org>
1040 1044
1041 * calendar/diary-lib.el (entry): Declare for compiler part-way 1045 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
1042 through.
1043 1046
10442008-03-08 Stefan Monnier <monnier@iro.umontreal.ca> 10472008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
1045 1048
@@ -1194,13 +1197,12 @@
1194 Move here from calendar.el. 1197 Move here from calendar.el.
1195 (diary-file-name-prefix-function): Use 'identity. 1198 (diary-file-name-prefix-function): Use 'identity.
1196 (diary-face): Make it a defcustom, and mark as obsolete. 1199 (diary-face): Make it a defcustom, and mark as obsolete.
1197 (top-level): No need to require cal-hebrew, cal-islam when 1200 (top-level): No need to require cal-hebrew, cal-islam when compiling.
1198 compiling.
1199 (calendar-hebrew-month-name-array-leap-year) 1201 (calendar-hebrew-month-name-array-leap-year)
1200 (calendar-islamic-month-name-array, calendar-bahai-month-name-array): 1202 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
1201 Define for compiler. 1203 Define for compiler.
1202 (diary-font-lock-keywords): Use format rather than concat. Add 1204 (diary-font-lock-keywords): Use format rather than concat.
1203 bahai-diary-entry-symbol. 1205 Add bahai-diary-entry-symbol.
1204 1206
1205 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el: 1207 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
1206 * calendar/solar.el: Unquote lambda functions. 1208 * calendar/solar.el: Unquote lambda functions.
@@ -1248,8 +1250,8 @@
1248 * bookmark.el (bookmark-set): Don't check for 1250 * bookmark.el (bookmark-set): Don't check for
1249 `bookmark-make-name-function' since `bookmark-buffer-file-name' 1251 `bookmark-make-name-function' since `bookmark-buffer-file-name'
1250 already takes care of this. 1252 already takes care of this.
1251 (bookmark-buffer-name, bookmark-buffer-file-name): Remove 1253 (bookmark-buffer-name, bookmark-buffer-file-name):
1252 Info-mode specific code. 1254 Remove Info-mode specific code.
1253 1255
1254 * info.el (bookmark-get-info-node): Define this function in 1256 * info.el (bookmark-get-info-node): Define this function in
1255 info.el, not in bookmark.el. 1257 info.el, not in bookmark.el.
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index e0bb3244e1b..90b9a1bbaee 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -6,7 +6,7 @@
6 6
7;; (copyright statements below in code to be updated with the above notice) 7;; (copyright statements below in code to be updated with the above notice)
8 8
9;; Author: Kai Großjohann <kai.grossjohann@gmx.net> 9;; Author: Kai Großjohann <kai.grossjohann@gmx.net>
10;; Michael Albinus <michael.albinus@gmx.de> 10;; Michael Albinus <michael.albinus@gmx.de>
11;; Keywords: comm, processes 11;; Keywords: comm, processes
12 12
@@ -4614,10 +4614,10 @@ should never be set globally, the intention is to let-bind it.")
4614 (and (natnump last-input-event) 4614 (and (natnump last-input-event)
4615 (or 4615 (or
4616 ;; ?\t has event-modifier 'control. 4616 ;; ?\t has event-modifier 'control.
4617 (char-equal last-input-event ?\t) 4617 (equal last-input-event ?\t)
4618 (and (not (event-modifiers last-input-event)) 4618 (and (not (event-modifiers last-input-event))
4619 (or (char-equal last-input-event ?\?) 4619 (or (equal last-input-event ?\?)
4620 (char-equal last-input-event ?\ ))))) 4620 (equal last-input-event ?\ )))))
4621 ;; XEmacs. 4621 ;; XEmacs.
4622 (and (featurep 'xemacs) 4622 (and (featurep 'xemacs)
4623 ;; `last-input-event' might be nil. 4623 ;; `last-input-event' might be nil.
@@ -4626,14 +4626,14 @@ should never be set globally, the intention is to let-bind it.")
4626 (funcall (symbol-function 'event-to-character) last-input-event) 4626 (funcall (symbol-function 'event-to-character) last-input-event)
4627 (or 4627 (or
4628 ;; ?\t has event-modifier 'control. 4628 ;; ?\t has event-modifier 'control.
4629 (char-equal 4629 (equal
4630 (funcall (symbol-function 'event-to-character) 4630 (funcall (symbol-function 'event-to-character)
4631 last-input-event) ?\t) 4631 last-input-event) ?\t)
4632 (and (not (event-modifiers last-input-event)) 4632 (and (not (event-modifiers last-input-event))
4633 (or (char-equal 4633 (or (equal
4634 (funcall (symbol-function 'event-to-character) 4634 (funcall (symbol-function 'event-to-character)
4635 last-input-event) ?\?) 4635 last-input-event) ?\?)
4636 (char-equal 4636 (equal
4637 (funcall (symbol-function 'event-to-character) 4637 (funcall (symbol-function 'event-to-character)
4638 last-input-event) ?\ ))))))) 4638 last-input-event) ?\ )))))))
4639 4639
@@ -7383,7 +7383,7 @@ Only works for Bourne-like shells."
7383;; transfer method to use. (Greg Stark) 7383;; transfer method to use. (Greg Stark)
7384;; * Remove unneeded parameters from methods. 7384;; * Remove unneeded parameters from methods.
7385;; * Invoke rsync once for copying a whole directory hierarchy. 7385;; * Invoke rsync once for copying a whole directory hierarchy.
7386;; (Francesco Potortì) 7386;; (Francesco Potortì)
7387;; * Make it work for different encodings, and for different file name 7387;; * Make it work for different encodings, and for different file name
7388;; encodings, too. (Daniel Pittman) 7388;; encodings, too. (Daniel Pittman)
7389;; * Progress reports while copying files. (Michael Kifer) 7389;; * Progress reports while copying files. (Michael Kifer)