aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2010-01-23 03:49:15 -0500
committerEli Zaretskii2010-01-23 03:49:15 -0500
commit151b77c2684759f6f883c012ce8469b68741b6eb (patch)
treeff092a00d753e8c643512f4de972759e6f11ee86
parent46ee4cb48102fd75ce20609692a7e3ee058cb630 (diff)
parent3d782998caa47e69de96807eb9deee2b9aa1d9d1 (diff)
downloademacs-151b77c2684759f6f883c012ce8469b68741b6eb.tar.gz
emacs-151b77c2684759f6f883c012ce8469b68741b6eb.zip
Merger from mainline.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/net/tramp-imap.el21
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c3
4 files changed, 28 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c59ecbae67b..65e171c1381 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-01-22 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-imap.el (top): Autoload needed packages.
4
12010-01-22 Stefan Monnier <monnier@iro.umontreal.ca> 52010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte 7 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
diff --git a/lisp/net/tramp-imap.el b/lisp/net/tramp-imap.el
index da75e2307ca..6f20d527713 100644
--- a/lisp/net/tramp-imap.el
+++ b/lisp/net/tramp-imap.el
@@ -55,13 +55,23 @@
55(require 'assoc) 55(require 'assoc)
56(require 'tramp) 56(require 'tramp)
57(require 'tramp-compat) 57(require 'tramp-compat)
58(require 'message) 58
59(require 'imap-hash)
60(require 'epa)
61(autoload 'auth-source-user-or-password "auth-source") 59(autoload 'auth-source-user-or-password "auth-source")
60(autoload 'epg-context-operation "epg")
61(autoload 'epg-context-set-armor "epg")
62(autoload 'epg-context-set-passphrase-callback "epg")
63(autoload 'epg-context-set-progress-callback "epg")
64(autoload 'epg-decrypt-string "epg")
65(autoload 'epg-encrypt-string "epg")
66(autoload 'imap-hash-get "imap-hash")
67(autoload 'imap-hash-make "imap-hash")
68(autoload 'imap-hash-map "imap-hash")
69(autoload 'imap-hash-put "imap-hash")
70(autoload 'imap-hash-rem "imap-hash")
62 71
63;; We use the additional header "X-Size" for encoding the size of a file. 72;; We use the additional header "X-Size" for encoding the size of a file.
64(add-to-list 'imap-hash-headers 'X-Size 'append) 73(eval-after-load "imap-hash"
74 '(add-to-list 'imap-hash-headers 'X-Size 'append))
65 75
66;; Define Tramp IMAP method ... 76;; Define Tramp IMAP method ...
67(defconst tramp-imap-method "imap" 77(defconst tramp-imap-method "imap"
@@ -662,7 +672,8 @@ KEY-ID can be 'SYM or 'PIN among others."
662 (read-passwd 672 (read-passwd
663 (if (eq key-id 'PIN) 673 (if (eq key-id 'PIN)
664 "Tramp-IMAP passphrase for PIN: " 674 "Tramp-IMAP passphrase for PIN: "
665 (let ((entry (assoc key-id epg-user-id-alist))) 675 (let ((entry (assoc key-id
676 (symbol-value 'epg-user-id-alist))))
666 (if entry 677 (if entry
667 (format "Tramp-IMAP passphrase for %s %s: " 678 (format "Tramp-IMAP passphrase for %s %s: "
668 key-id (cdr entry)) 679 key-id (cdr entry))
diff --git a/src/ChangeLog b/src/ChangeLog
index 5589b7f34a2..62337d8db63 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12010-01-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * xdisp.c (draw_glyphs): Update `start' for left_overwritten case
4 as in Emacs 22.
5
12010-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 62010-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 7
3 * lisp.h (make_pure_string): String pointer arg now points to const. 8 * lisp.h (make_pure_string): String pointer arg now points to const.
diff --git a/src/xdisp.c b/src/xdisp.c
index 2513c17c8b1..17a6f7eb4f0 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -20939,6 +20939,7 @@ draw_glyphs (w, x, row, area, start, end, hl, overlaps)
20939 j = i; 20939 j = i;
20940 BUILD_GLYPH_STRINGS (j, start, h, t, 20940 BUILD_GLYPH_STRINGS (j, start, h, t,
20941 overlap_hl, dummy_x, last_x); 20941 overlap_hl, dummy_x, last_x);
20942 start = i;
20942 compute_overhangs_and_x (t, head->x, 1); 20943 compute_overhangs_and_x (t, head->x, 1);
20943 prepend_glyph_string_lists (&head, &tail, h, t); 20944 prepend_glyph_string_lists (&head, &tail, h, t);
20944 clip_head = head; 20945 clip_head = head;
@@ -20988,6 +20989,8 @@ draw_glyphs (w, x, row, area, start, end, hl, overlaps)
20988 20989
20989 BUILD_GLYPH_STRINGS (end, i, h, t, 20990 BUILD_GLYPH_STRINGS (end, i, h, t,
20990 overlap_hl, x, last_x); 20991 overlap_hl, x, last_x);
20992 /* Because BUILD_GLYPH_STRINGS updates the first argument,
20993 we don't have `end = i;' here. */
20991 compute_overhangs_and_x (h, tail->x + tail->width, 0); 20994 compute_overhangs_and_x (h, tail->x + tail->width, 0);
20992 append_glyph_string_lists (&head, &tail, h, t); 20995 append_glyph_string_lists (&head, &tail, h, t);
20993 clip_tail = tail; 20996 clip_tail = tail;