aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJan Djärv2010-01-05 15:42:39 +0100
committerJan Djärv2010-01-05 15:42:39 +0100
commit2889df585ae164ccf8fc57ffdbb432dfcd75e870 (patch)
tree2fbd5bb635987af59cb98761f389b8d3747e8752 /lisp
parent451f23ab90cbbd98de861ed8dff0bd4ffdda3bdf (diff)
parent03f77f0a4470c967d6f4351d347ebedd8fb882bb (diff)
downloademacs-2889df585ae164ccf8fc57ffdbb432dfcd75e870.tar.gz
emacs-2889df585ae164ccf8fc57ffdbb432dfcd75e870.zip
Merge from mainline.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog19
-rw-r--r--lisp/language/indian.el6
-rw-r--r--lisp/vc-bzr.el40
3 files changed, 47 insertions, 18 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cfde9093e75..1b493440367 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,22 @@
12010-01-05 Kenichi Handa <handa@m17n.org>
2
3 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and
4 ZWJ.
5
62010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7
8 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9
102010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11
12 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13 checkouts. (Bug#618)
14 (vc-bzr-log-view-mode): Also highlight the author.
15 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
16 (vc-bzr-shelve-menu-map):
17 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
18 (vc-bzr-shelve-apply): Make prompt more explicit.
19
12010-01-02 Chong Yidong <cyd@stupidchicken.com> 202010-01-02 Chong Yidong <cyd@stupidchicken.com>
2 21
3 * net/browse-url.el (browse-url-encode-url): Don't escape commas. 22 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
diff --git a/lisp/language/indian.el b/lisp/language/indian.el
index 82f24a0272f..b9ea94ab2d1 100644
--- a/lisp/language/indian.el
+++ b/lisp/language/indian.el
@@ -153,8 +153,8 @@ South Indian language Malayalam is supported in this language environment."))
153 ("a" . "\u0903") ; vowel modifier (post) 153 ("a" . "\u0903") ; vowel modifier (post)
154 ("S" . "\u0951") ; stress sign (above) 154 ("S" . "\u0951") ; stress sign (above)
155 ("s" . "\u0952") ; stress sign (below) 155 ("s" . "\u0952") ; stress sign (below)
156 ("J" . "\u200D") ; ZWJ
157 ("N" . "\u200C") ; ZWNJ 156 ("N" . "\u200C") ; ZWNJ
157 ("J" . "\u200D") ; ZWJ
158 ("X" . "[\u0900-\u097F]")))) ; all coverage 158 ("X" . "[\u0900-\u097F]")))) ; all coverage
159 (indian-compose-regexp 159 (indian-compose-regexp
160 (concat 160 (concat
@@ -195,8 +195,8 @@ South Indian language Malayalam is supported in this language environment."))
195 ("b" . "[\u0D62-\u0D63]") ; belowbase matra 195 ("b" . "[\u0D62-\u0D63]") ; belowbase matra
196 ("a" . "[\u0D02-\u0D03]") ; abovebase sign 196 ("a" . "[\u0D02-\u0D03]") ; abovebase sign
197 ("H" . "\u0D4D") ; virama sign 197 ("H" . "\u0D4D") ; virama sign
198 ("N" . "\u200D") ; ZWJ 198 ("N" . "\u200C") ; ZWNJ
199 ("J" . "\u200C") ; ZWNJ 199 ("J" . "\u200D") ; ZWJ
200 ("X" . "[\u0D00-\u0D7F]")))) ; all coverage 200 ("X" . "[\u0D00-\u0D7F]")))) ; all coverage
201 (indian-compose-regexp 201 (indian-compose-regexp
202 (concat 202 (concat
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el
index fff4eca57fa..fc62696af1d 100644
--- a/lisp/vc-bzr.el
+++ b/lisp/vc-bzr.el
@@ -176,13 +176,13 @@ Invoke the bzr command adding `BZR_PROGRESS_BAR=none' and
176 "\0" 176 "\0"
177 "[^\0]*\0" ;id? 177 "[^\0]*\0" ;id?
178 "\\([^\0]*\\)\0" ;"a/f/d", a=removed? 178 "\\([^\0]*\\)\0" ;"a/f/d", a=removed?
179 "[^\0]*\0" ;sha1 (empty if conflicted)? 179 "\\([^\0]*\\)\0" ;sha1 (empty if conflicted)?
180 "\\([^\0]*\\)\0" ;size? 180 "\\([^\0]*\\)\0" ;size?p
181 "[^\0]*\0" ;"y/n", executable? 181 "[^\0]*\0" ;"y/n", executable?
182 "[^\0]*\0" ;? 182 "[^\0]*\0" ;?
183 "\\([^\0]*\\)\0" ;"a/f/d" a=added? 183 "\\([^\0]*\\)\0" ;"a/f/d" a=added?
184 "\\([^\0]*\\)\0" ;sha1 again? 184 "\\([^\0]*\\)\0" ;sha1 again?
185 "[^\0]*\0" ;size again? 185 "\\([^\0]*\\)\0" ;size again?
186 "[^\0]*\0" ;"y/n", executable again? 186 "[^\0]*\0" ;"y/n", executable again?
187 "[^\0]*\0" ;last revid? 187 "[^\0]*\0" ;last revid?
188 ;; There are more fields when merges are pending. 188 ;; There are more fields when merges are pending.
@@ -194,11 +194,20 @@ Invoke the bzr command adding `BZR_PROGRESS_BAR=none' and
194 ;; conflict markers). 194 ;; conflict markers).
195 (cond 195 (cond
196 ((eq (char-after (match-beginning 1)) ?a) 'removed) 196 ((eq (char-after (match-beginning 1)) ?a) 'removed)
197 ((eq (char-after (match-beginning 3)) ?a) 'added) 197 ((eq (char-after (match-beginning 4)) ?a) 'added)
198 ((and (eq (string-to-number (match-string 2)) 198 ((or (and (eq (string-to-number (match-string 3))
199 (nth 7 (file-attributes file))) 199 (nth 7 (file-attributes file)))
200 (equal (match-string 4) 200 (equal (match-string 5)
201 (vc-bzr-sha1 file))) 201 (vc-bzr-sha1 file)))
202 (and
203 ;; It looks like for lightweight
204 ;; checkouts \2 is empty and we need to
205 ;; look for size in \6.
206 (eq (match-beginning 2) (match-end 2))
207 (eq (string-to-number (match-string 6))
208 (nth 7 (file-attributes file)))
209 (equal (match-string 5)
210 (vc-bzr-sha1 file))))
202 'up-to-date) 211 'up-to-date)
203 (t 'edited)) 212 (t 'edited))
204 'unregistered)))) 213 'unregistered))))
@@ -475,7 +484,7 @@ REV non-nil gets an error."
475 (4 'change-log-list nil lax)))) 484 (4 'change-log-list nil lax))))
476 (append `((,log-view-message-re . 'log-view-message-face)) 485 (append `((,log-view-message-re . 'log-view-message-face))
477 ;; log-view-font-lock-keywords 486 ;; log-view-font-lock-keywords
478 '(("^ *committer: \ 487 '(("^ *\\(?:committer\\|author\\): \
479\\([^<(]+?\\)[ ]*[(<]\\([[:alnum:]_.+-]+@[[:alnum:]_.-]+\\)[>)]" 488\\([^<(]+?\\)[ ]*[(<]\\([[:alnum:]_.+-]+@[[:alnum:]_.-]+\\)[>)]"
480 (1 'change-log-name) 489 (1 'change-log-name)
481 (2 'change-log-email)) 490 (2 'change-log-email))
@@ -523,7 +532,8 @@ REV non-nil gets an error."
523(defun vc-bzr-diff (files &optional rev1 rev2 buffer) 532(defun vc-bzr-diff (files &optional rev1 rev2 buffer)
524 "VC bzr backend for diff." 533 "VC bzr backend for diff."
525 ;; `bzr diff' exits with code 1 if diff is non-empty. 534 ;; `bzr diff' exits with code 1 if diff is non-empty.
526 (apply #'vc-bzr-command "diff" (or buffer "*vc-diff*") 'async files 535 (apply #'vc-bzr-command "diff" (or buffer "*vc-diff*")
536 (if vc-disable-async-diff 1 'async) files
527 "--diff-options" (mapconcat 'identity 537 "--diff-options" (mapconcat 'identity
528 (vc-switches 'bzr 'diff) 538 (vc-switches 'bzr 'diff)
529 " ") 539 " ")
@@ -732,7 +742,7 @@ stream. Standard error output is discarded."
732 (define-key map "\C-k" 'vc-bzr-shelve-delete-at-point) 742 (define-key map "\C-k" 'vc-bzr-shelve-delete-at-point)
733 ;; (define-key map "=" 'vc-bzr-shelve-show-at-point) 743 ;; (define-key map "=" 'vc-bzr-shelve-show-at-point)
734 ;; (define-key map "\C-m" 'vc-bzr-shelve-show-at-point) 744 ;; (define-key map "\C-m" 'vc-bzr-shelve-show-at-point)
735 (define-key map "A" 'vc-bzr-shelve-apply-at-point) 745 (define-key map "P" 'vc-bzr-shelve-apply-at-point)
736 map)) 746 map))
737 747
738(defvar vc-bzr-shelve-menu-map 748(defvar vc-bzr-shelve-menu-map
@@ -740,9 +750,9 @@ stream. Standard error output is discarded."
740 (define-key map [de] 750 (define-key map [de]
741 '(menu-item "Delete shelf" vc-bzr-shelve-delete-at-point 751 '(menu-item "Delete shelf" vc-bzr-shelve-delete-at-point
742 :help "Delete the current shelf")) 752 :help "Delete the current shelf"))
743 (define-key map [ap] 753 (define-key map [po]
744 '(menu-item "Apply shelf" vc-bzr-shelve-apply-at-point 754 '(menu-item "Apply and remove shelf (pop)" vc-bzr-shelve-apply-at-point
745 :help "Apply the current shelf")) 755 :help "Apply the current shelf and remove it"))
746 ;; (define-key map [sh] 756 ;; (define-key map [sh]
747 ;; '(menu-item "Show shelve" vc-bzr-shelve-show-at-point 757 ;; '(menu-item "Show shelve" vc-bzr-shelve-show-at-point
748 ;; :help "Show the contents of the current shelve")) 758 ;; :help "Show the contents of the current shelve"))
@@ -800,7 +810,7 @@ stream. Standard error output is discarded."
800 (propertize x 810 (propertize x
801 'face 'font-lock-variable-name-face 811 'face 'font-lock-variable-name-face
802 'mouse-face 'highlight 812 'mouse-face 'highlight
803 'help-echo "mouse-3: Show shelve menu\nA: Apply shelf\nC-k: Delete shelf" 813 'help-echo "mouse-3: Show shelve menu\nP: Apply and remove shelf (pop)\nC-k: Delete shelf"
804 'keymap vc-bzr-shelve-map)) 814 'keymap vc-bzr-shelve-map))
805 shelve "\n")) 815 shelve "\n"))
806 (concat 816 (concat
@@ -830,8 +840,8 @@ stream. Standard error output is discarded."
830;; (pop-to-buffer (current-buffer))) 840;; (pop-to-buffer (current-buffer)))
831 841
832(defun vc-bzr-shelve-apply (name) 842(defun vc-bzr-shelve-apply (name)
833 "Apply shelve NAME." 843 "Apply shelve NAME and remove it afterwards."
834 (interactive "sApply shelf: ") 844 (interactive "sApply (and remove) shelf: ")
835 (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 0 nil "--apply" name) 845 (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 0 nil "--apply" name)
836 (vc-resynch-buffer (vc-bzr-root default-directory) t t)) 846 (vc-resynch-buffer (vc-bzr-root default-directory) t t))
837 847