unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: 14380@debbugs.gnu.org, emacs-devel@gnu.org
Subject: bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32
Date: Thu, 6 Jun 2013 09:15:59 +0100	[thread overview]
Message-ID: <CALDnm51D9tsejLZ0fxV33zekWe=gogh6nqb2tXYKoGqY7QO-JQ__43824.1811273203$1370506641$gmane$org@mail.gmail.com> (raw)
In-Reply-To: <87obbk1trn.fsf@lifelogs.com>

Thanks!

To test, I will load just load the trunks "tls.el" in my existing W32
emacs. (I don't have time to get a windows emacs-building toolchain).

As Stefan mentioned, I have already signed papers.

João

On Wed, Jun 5, 2013 at 4:06 PM, Ted Zlatanov <tzz@lifelogs.com> wrote:
> On Mon, 20 May 2013 23:07:30 +0100 João Távora <joaotavora@gmail.com> wrote:
>
> JT> Here is a patch that should be equivalent to the defadvice I'm using.
> JT> As I said, it works for me. Also I didn't have a VC copy of emacs so I
> JT> used  `diff-buffer-with-file'
>
> I applied something very similar.  It's a tiny change so it doesn't
> require assignment papers.  If you'd like to contribute to GNU Emacs or
> other GNU software in the future, I encourage you to file them.
>
> revno: 112858
> timestamp: Wed 2013-06-05 11:03:37 -0400
> message:
>   (open-tls-stream): Remove unneeded buffer contents when opening the connection.
>
> This change didn't break anything in my testing.  Please test so I can
> close the bug if it's fixed for you.
>
> Ted
>
> diff -u -L /usr/local/share/emacs/24.3/lisp/net/tls.el.gz -L
> \#\<buffer\ tls.el.gz\> /tmp/jka-com1909LVh
> /tmp/buffer-content-1909lpt
> --- /usr/local/share/emacs/24.3/lisp/net/tls.el.gz
> +++ #<buffer tls.el.gz>
> @@ -286,7 +286,11 @@
>                              (format "Host name in certificate doesn't \
>  match `%s'. Connect anyway? " host))))))
>         (setq done nil)
> -       (delete-process process)))
> +       (delete-process process))
> +      ;; delete all the informational messages that could
> +      ;; confuse futures users of `buffer'
> +      ;;
> +      (delete-region (point-min) (point)))
>      (message "Opening TLS connection to `%s'...%s"
>              host (if done "done" "failed"))
>      (when use-temp-buffer
>



-- 
João Távora





      parent reply	other threads:[~2013-06-06  8:15 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87k3mw79iv.fsf@lifelogs.com>
2013-05-18 13:05 ` bug#14380: [gmane.emacs.bugs] bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32 João Távora
2013-05-19  3:17   ` Ted Zlatanov
     [not found]   ` <87zjvr64lt.fsf_-_@lifelogs.com>
2013-05-19 11:45     ` João Távora
2013-05-19 15:32     ` Eli Zaretskii
2013-05-20 13:56       ` Ted Zlatanov
2013-05-20 16:28         ` Eli Zaretskii
2013-05-24 19:48           ` Ted Zlatanov
2013-05-24 20:27             ` Eli Zaretskii
2013-05-10 12:49               ` João Távora
2013-05-10 14:00                 ` Eli Zaretskii
2013-05-10 16:00                   ` João Távora
2013-05-10 17:17                     ` Eli Zaretskii
2013-05-10 20:44                       ` João Távora
2013-05-11  7:06                         ` Eli Zaretskii
2013-05-17 13:12                         ` Ted Zlatanov
2013-05-24 22:20                 ` Ted Zlatanov
2013-05-25  6:49                   ` Eli Zaretskii
     [not found]     ` <CALDnm50KHS7wOKUpQJQHb4V_PLfQs6VkjEsRmPgY=R5x0eEuUg@mail.gmail.com>
2013-05-19 15:44       ` Eli Zaretskii
2013-05-19 17:57         ` João Távora
2013-05-19 19:01           ` Eli Zaretskii
2013-05-19 23:05       ` Ted Zlatanov
     [not found]       ` <87txly4ll9.fsf@lifelogs.com>
2013-05-20  2:08         ` Juanma Barranquero
2013-05-20 22:07         ` João Távora
     [not found]         ` <CALDnm51-4aTee3NGoRp+=T6MuTV3xD9P4Ed1yZLU_E5k_r5hGw@mail.gmail.com>
2013-06-05 15:06           ` Ted Zlatanov
     [not found]           ` <87obbk1trn.fsf@lifelogs.com>
2013-06-05 16:42             ` Glenn Morris
2013-06-05 18:10               ` Ted Zlatanov
2013-06-08  0:58                 ` Glenn Morris
2013-06-06  8:15             ` João Távora [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALDnm51D9tsejLZ0fxV33zekWe=gogh6nqb2tXYKoGqY7QO-JQ__43824.1811273203$1370506641$gmane$org@mail.gmail.com' \
    --to=joaotavora@gmail.com \
    --cc=14380@debbugs.gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).