Merge changes made in Gnus trunk.
authorGnus developers <ding@gnus.org>
Tue, 29 Mar 2011 13:23:38 +0000 (13:23 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 29 Mar 2011 13:23:38 +0000 (13:23 +0000)
mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with local variables disabled rather than `normal-mode'.
imap.el (imap-shell-open, imap-process-connection-type): Use imap-process-connection-type for 'shell' streams as well as Kerberos, SSL, other subprocesses.

lisp/ChangeLog
lisp/gnus/ChangeLog
lisp/gnus/mm-view.el
lisp/net/imap.el

index 57916aa..dbd335b 100644 (file)
@@ -3,6 +3,12 @@
        * ido.el (ido-read-internal): Use the default history var
        minibuffer-history if no HISTORY is specified.
 
+2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
+
+       * net/imap.el (imap-shell-open, imap-process-connection-type): Use
+       imap-process-connection-type for 'shell' streams as well as
+       Kerberos, SSL, other subprocesses.
+
 2011-03-28  Leo Liu  <sdl.web@gmail.com>
 
        * abbrev.el (abbrev-table-empty-p): New function.
index f257ff5..a6faaf0 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-29  Julien Danjou  <julien@danjou.info>
+
+       * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with
+       local variables disabled rather than `normal-mode'.
+
 2011-03-26  Chong Yidong  <cyd@stupidchicken.com>
 
        * proto-stream.el: Changes preparatory to merging open-protocol-stream
index 39d49af..abd78b8 100644 (file)
@@ -603,9 +603,10 @@ If MODE is not set, try to find mode automatically."
            ;; I find font-lock a bit too verbose.
            (font-lock-verbose nil))
         (setq buffer-file-name (mm-handle-filename handle))
+        (set (make-local-variable 'enable-local-variables) nil)
         (if mode
             (funcall mode)
-          (normal-mode))
+          (set-auto-mode))
        ;; The mode function might have already turned on font-lock.
        (unless (symbol-value 'font-lock-mode)
          (font-lock-fontify-buffer)))
index 6d80b97..f4af03f 100644 (file)
@@ -211,7 +211,7 @@ until a successful connection is made."
   :type '(repeat string))
 
 (defcustom imap-process-connection-type nil
-  "*Value for `process-connection-type' to use for Kerberos4, GSSAPI and SSL.
+  "*Value for `process-connection-type' to use for Kerberos4, GSSAPI, shell, and SSL.
 The `process-connection-type' variable controls the type of device
 used to communicate with subprocesses.  Values are nil to use a
 pipe, or t or `pty' to use a pty.  The value has no effect if the
@@ -770,6 +770,7 @@ sure of changing the value of `foo'."
       (let* ((port (or port imap-default-port))
             (coding-system-for-read imap-coding-system-for-read)
             (coding-system-for-write imap-coding-system-for-write)
+             (process-connection-type imap-process-connection-type)
             (process (start-process
                       name buffer shell-file-name shell-command-switch
                       (format-spec