unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jose A. Ortega Ruiz" <jao@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 20069@debbugs.gnu.org
Subject: bug#20069: 24.4.91; url does not register any auth method
Date: Tue, 29 Dec 2015 01:16:34 +0100	[thread overview]
Message-ID: <87a8ouhzx9.fsf@gnu.org> (raw)
In-Reply-To: <87mvsyxtva.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 25 Dec 2015 19:31:37 +0100")

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

On Fri, Dec 25 2015, Lars Ingebrigtsen wrote:

> "Jose A. Ortega Ruiz" <jao@gnu.org> writes:
>
>> The other problem with the error message is probably worth fixing, but
>> of course not a regression.
>
> Could you submit a patch for the error message problem?

Please find one attached.  I'm not sure it's the best error message, but
at least avoids the error displaying it.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-for-error-reporting-in-URL-package-20069.patch --]
[-- Type: text/x-diff, Size: 929 bytes --]

From 0332b85adcd75342f62cb94d94925117418e305c Mon Sep 17 00:00:00 2001
From: Jose Antonio Ortega Ruiz <jao@gnu.org>
Date: Tue, 29 Dec 2015 01:12:58 +0100
Subject: [PATCH] Fix for error reporting in URL package (#20069)

Signed-off-by: Jose Antonio Ortega Ruiz <jao@gnu.org>
---
 lisp/url/url-http.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index c5b6ef3..e34f352 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -420,7 +420,7 @@ url-http-handle-authentication
 	(progn
 	  (widen)
 	  (goto-char (point-max))
-	  (insert "<hr>Sorry, but I do not know how to handle " type
+	  (insert "<hr>Sorry, but I do not know how to handle " (or type auth url "")
 		  " authentication.  If you'd like to write it,"
 		  " please use M-x report-emacs-bug RET.<hr>")
           ;; We used to set a `status' var (declared "special") but I can't
-- 
2.6.4


  reply	other threads:[~2015-12-29  0:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09 23:41 bug#20069: 24.4.91; url does not register any auth method Jose A. Ortega Ruiz
2015-03-10  0:39 ` Glenn Morris
2015-03-10  1:15   ` Jose A. Ortega Ruiz
2015-12-25 18:31     ` Lars Ingebrigtsen
2015-12-29  0:16       ` Jose A. Ortega Ruiz [this message]
2015-12-29  0:28         ` Lars Ingebrigtsen

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=87a8ouhzx9.fsf@gnu.org \
    --to=jao@gnu.org \
    --cc=20069@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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).