aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mh-e/ChangeLog16
-rw-r--r--lisp/mh-e/mh-comp.el7
-rw-r--r--lisp/mh-e/mh-e.el4
-rw-r--r--lisp/mh-e/mh-folder.el11
-rw-r--r--lisp/net/tramp-adb.el11
-rw-r--r--lisp/textmodes/ispell.el2
7 files changed, 45 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8b6ffeed01d..a19ebaf473f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-03-03 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
4 whether the "su" command is available on the device.
5
12013-03-01 Michael Albinus <michael.albinus@gmx.de> 62013-03-01 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp. 8 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 0854010e60f..6894a185ddc 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,19 @@
12013-03-02 Bill Wohler <wohler@newt.com>
2
3 Release MH-E version 8.5.
4
5 * mh-e.el (Version, mh-version): Update for release 8.5.
6
72013-03-02 Jeffrey C Honig <jch@honig.net>
8
9 * mh-folder.el (mh-inc-folder): Revert SF #2321115, SF #250
10 which processed pending deletes and refiles. Call to
11 mh-process-or-undo-commands to insure that pending changes are
12 properly tagged after including new mail (closes SF #271).
13
14 * mh-comp.el: Insure that mail-header-separator is set before
15 invoking any mml functions (closes SF #270).
16
12013-01-23 Dmitry Antipov <dmantipov@yandex.ru> 172013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2 18
3 * mh-acros.el (mh-do-at-event-location): Use point-marker. 19 * mh-acros.el (mh-do-at-event-location): Use point-marker.
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el
index fbfc1207a5a..1f07a7983b1 100644
--- a/lisp/mh-e/mh-comp.el
+++ b/lisp/mh-e/mh-comp.el
@@ -587,6 +587,13 @@ See also `mh-compose-forward-as-mime-flag',
587 (mh-forwarded-letter-subject orig-from orig-subject))) 587 (mh-forwarded-letter-subject orig-from orig-subject)))
588 (mh-insert-fields "Subject:" forw-subject) 588 (mh-insert-fields "Subject:" forw-subject)
589 (goto-char (point-min)) 589 (goto-char (point-min))
590 ;; Set the local value of mh-mail-header-separator according to what is
591 ;; present in the buffer...
592 (set (make-local-variable 'mh-mail-header-separator)
593 (save-excursion
594 (goto-char (mh-mail-header-end))
595 (buffer-substring-no-properties (point) (mh-line-end-position))))
596 (set (make-local-variable 'mail-header-separator) mh-mail-header-separator) ;override sendmail.el
590 ;; If using MML, translate MH-style directive 597 ;; If using MML, translate MH-style directive
591 (if (equal mh-compose-insertion 'mml) 598 (if (equal mh-compose-insertion 'mml)
592 (save-excursion 599 (save-excursion
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index 334f73ff7ed..6ed033b8fa8 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -5,7 +5,7 @@
5 5
6;; Author: Bill Wohler <wohler@newt.com> 6;; Author: Bill Wohler <wohler@newt.com>
7;; Maintainer: Bill Wohler <wohler@newt.com> 7;; Maintainer: Bill Wohler <wohler@newt.com>
8;; Version: 8.4 8;; Version: 8.5
9;; Keywords: mail 9;; Keywords: mail
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
@@ -127,7 +127,7 @@
127;; Try to keep variables local to a single file. Provide accessors if 127;; Try to keep variables local to a single file. Provide accessors if
128;; variables are shared. Use this section as a last resort. 128;; variables are shared. Use this section as a last resort.
129 129
130(defconst mh-version "8.4" "Version number of MH-E.") 130(defconst mh-version "8.5" "Version number of MH-E.")
131 131
132;; Variants 132;; Variants
133 133
diff --git a/lisp/mh-e/mh-folder.el b/lisp/mh-e/mh-folder.el
index f3ea8003ed0..01f304a38dc 100644
--- a/lisp/mh-e/mh-folder.el
+++ b/lisp/mh-e/mh-folder.el
@@ -774,7 +774,7 @@ the message."
774 return-value)) 774 return-value))
775 775
776;;;###mh-autoload 776;;;###mh-autoload
777(defun mh-inc-folder (&optional file folder dont-exec-pending) 777(defun mh-inc-folder (&optional file folder)
778 "Incorporate new mail into a folder. 778 "Incorporate new mail into a folder.
779 779
780You can incorporate mail from any file into the current folder by 780You can incorporate mail from any file into the current folder by
@@ -785,10 +785,7 @@ The hook `mh-inc-folder-hook' is run after incorporating new
785mail. 785mail.
786 786
787Do not call this function from outside MH-E; use \\[mh-rmail] 787Do not call this function from outside MH-E; use \\[mh-rmail]
788instead. 788instead."
789
790In a program, the processing of outstanding commands is not performed
791if DONT-EXEC-PENDING is non-nil."
792 (interactive (list (if current-prefix-arg 789 (interactive (list (if current-prefix-arg
793 (expand-file-name 790 (expand-file-name
794 (read-file-name "inc mail from file: " 791 (read-file-name "inc mail from file: "
@@ -797,8 +794,6 @@ if DONT-EXEC-PENDING is non-nil."
797 (mh-prompt-for-folder "inc mail into" mh-inbox t)))) 794 (mh-prompt-for-folder "inc mail into" mh-inbox t))))
798 (if (not folder) 795 (if (not folder)
799 (setq folder mh-inbox)) 796 (setq folder mh-inbox))
800 (unless dont-exec-pending
801 (mh-process-or-undo-commands folder))
802 (let ((threading-needed-flag nil)) 797 (let ((threading-needed-flag nil))
803 (let ((config (current-window-configuration))) 798 (let ((config (current-window-configuration)))
804 (when (and mh-show-buffer (get-buffer mh-show-buffer)) 799 (when (and mh-show-buffer (get-buffer mh-show-buffer))
@@ -820,6 +815,8 @@ if DONT-EXEC-PENDING is non-nil."
820 nil)))) 815 nil))))
821 (mh-toggle-threads)) 816 (mh-toggle-threads))
822 (beginning-of-line) 817 (beginning-of-line)
818 (when (mh-outstanding-commands-p)
819 (mh-notate-deleted-and-refiled))
823 (if (and mh-showing-mode (looking-at mh-scan-valid-regexp)) (mh-show)) 820 (if (and mh-showing-mode (looking-at mh-scan-valid-regexp)) (mh-show))
824 (run-hooks 'mh-inc-folder-hook))) 821 (run-hooks 'mh-inc-folder-hook)))
825 822
diff --git a/lisp/net/tramp-adb.el b/lisp/net/tramp-adb.el
index 910356fbb6c..2d683a4d3d2 100644
--- a/lisp/net/tramp-adb.el
+++ b/lisp/net/tramp-adb.el
@@ -1074,6 +1074,13 @@ connection if a previous connection has died for some reason."
1074 (host (tramp-file-name-host vec)) 1074 (host (tramp-file-name-host vec))
1075 (user (tramp-file-name-user vec)) 1075 (user (tramp-file-name-user vec))
1076 (devices (mapcar 'cadr (tramp-adb-parse-device-names nil)))) 1076 (devices (mapcar 'cadr (tramp-adb-parse-device-names nil))))
1077
1078 ;; Maybe we know already that "su" is not supported. We cannot
1079 ;; use a connection property, because we have not checked yet
1080 ;; whether it is still the same device.
1081 (when (and user (not (tramp-get-file-property vec "" "su-command-p" t)))
1082 (tramp-error vec 'file-error "Cannot switch to user `%s'" user))
1083
1077 (unless 1084 (unless
1078 (and p (processp p) (memq (process-status p) '(run open))) 1085 (and p (processp p) (memq (process-status p) '(run open)))
1079 (save-match-data 1086 (save-match-data
@@ -1133,7 +1140,9 @@ connection if a previous connection has died for some reason."
1133 (tramp-adb-send-command vec (format "su %s" user)) 1140 (tramp-adb-send-command vec (format "su %s" user))
1134 (unless (zerop (tramp-adb-command-exit-status vec nil)) 1141 (unless (zerop (tramp-adb-command-exit-status vec nil))
1135 (delete-process p) 1142 (delete-process p)
1136 (tramp-error vec 'file-error "Cannot switch to user %s" user))) 1143 (tramp-set-file-property vec "" "su-command-p" nil)
1144 (tramp-error
1145 vec 'file-error "Cannot switch to user `%s'" user)))
1137 1146
1138 ;; Set "remote-path" connection property. This is needed 1147 ;; Set "remote-path" connection property. This is needed
1139 ;; for eshell. 1148 ;; for eshell.
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 92e21c300c7..467ac004420 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1157,7 +1157,7 @@ all uninitialized dicts using that affix file."
1157 (use-for-dicts (list dict)) 1157 (use-for-dicts (list dict))
1158 (dict-args-cdr (cdr (ispell-parse-hunspell-affix-file dict))) 1158 (dict-args-cdr (cdr (ispell-parse-hunspell-affix-file dict)))
1159 newlist) 1159 newlist)
1160 ;; Get a list of unitialized dicts using the same affix file. 1160 ;; Get a list of uninitialized dicts using the same affix file.
1161 (dolist (dict-equiv-alist-entry ispell-hunspell-dictionary-equivs-alist) 1161 (dolist (dict-equiv-alist-entry ispell-hunspell-dictionary-equivs-alist)
1162 (let ((dict-equiv-key (car dict-equiv-alist-entry)) 1162 (let ((dict-equiv-key (car dict-equiv-alist-entry))
1163 (dict-equiv-value (cadr dict-equiv-alist-entry))) 1163 (dict-equiv-value (cadr dict-equiv-alist-entry)))