[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/excorporate ba927b9 52/93: packages/excorporate: Update
From: |
Stefan Monnier |
Subject: |
[elpa] externals/excorporate ba927b9 52/93: packages/excorporate: Update HTTP debugging steps |
Date: |
Sun, 29 Nov 2020 15:43:07 -0500 (EST) |
branch: externals/excorporate
commit ba927b9df27addad19338f8299d11c6cd0cf5115
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>
packages/excorporate: Update HTTP debugging steps
* packages/excorporate/excorporate.texi (Troubleshooting): Update
HTTP debugging instructions.
* packages/excorporate/excorporate.info: Rebuild.
---
excorporate.info | 35 +++++++++++++++++------------------
excorporate.texi | 30 +++++++++++++++---------------
2 files changed, 32 insertions(+), 33 deletions(-)
diff --git a/excorporate.info b/excorporate.info
index f1acc6b..77fd4a5 100644
--- a/excorporate.info
+++ b/excorporate.info
@@ -177,23 +177,22 @@ message about having created a service.
When this works, it will show a bunch of WSDL (XML) in *Messages*.
-Debug the above URL retrievals with (setq url-debug t), and with this
-patch:
-
- diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
- index d49e527..0f1c8ae 100644
- --- a/lisp/url/url-http.el
- +++ b/lisp/url/url-http.el
- @ -869,6 +869,7 @ url-http-parse-headers
- (url-handle-content-transfer-encoding))
- (url-http-debug "Finished parsing HTTP headers: %S" success)
- (widen)
- + (url-http-debug "Response: %s" (buffer-string))
- (goto-char (point-min))
- success))
-
-
-(Beware that HTTP responses are out-of-order with this patch.)
+Debug the above URL retrievals with 'M-:' in an 'emacs -Q' run:
+
+ (progn
+ (setq url-debug 1)
+ (url-retrieve-synchronously URL-STRING)
+ (dolist (p (seq-filter
+ (lambda (b) (string-match " *http*" (buffer-name b)))
+ (buffer-list)))
+ (message "HTTP result buffer: \"%s\"\n%s"
+ (buffer-name p)
+ (with-current-buffer p (buffer-string))))
+ "check *Messages*")
+
+Beware that HTTP responses can be out-of-order, and that if you set
+'url-debug' to a number or 't', Emacs may hang for a while if it
+attempts to print a very large data structure.
Once you're sure the above steps are working, try 'M-x excorporate'.
@@ -232,6 +231,6 @@ Node: Installation2222
Node: Configuration2485
Node: Usage3505
Node: Troubleshooting4923
-Node: Reporting Bugs7758
+Node: Reporting Bugs7796
End Tag Table
diff --git a/excorporate.texi b/excorporate.texi
index 4235708..f3451b4 100644
--- a/excorporate.texi
+++ b/excorporate.texi
@@ -201,26 +201,26 @@ message about having created a service.
When this works, it will show a bunch of WSDL (XML) in *Messages*.
@noindent
-Debug the above URL retrievals with (setq url-debug t), and with this
-patch:
+Debug the above URL retrievals with @code{M-:} in an @code{emacs -Q}
+run:
@example
-diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
-index d49e527..0f1c8ae 100644
---- a/lisp/url/url-http.el
-+++ b/lisp/url/url-http.el
-@@ -869,6 +869,7 @@ url-http-parse-headers
- (url-handle-content-transfer-encoding))
- (url-http-debug "Finished parsing HTTP headers: %S" success)
- (widen)
-+ (url-http-debug "Response: %s" (buffer-string))
- (goto-char (point-min))
- success))
-
+(progn
+ (setq url-debug 1)
+ (url-retrieve-synchronously URL-STRING)
+ (dolist (p (seq-filter
+ (lambda (b) (string-match " *http*" (buffer-name b)))
+ (buffer-list)))
+ (message "HTTP result buffer: \"%s\"\n%s"
+ (buffer-name p)
+ (with-current-buffer p (buffer-string))))
+ "check *Messages*")
@end example
@noindent
-(Beware that HTTP responses are out-of-order with this patch.)
+Beware that HTTP responses can be out-of-order, and that if you set
+@code{url-debug} to a number or @code{t}, Emacs may hang for a while if
+it attempts to print a very large data structure.
@noindent
Once you're sure the above steps are working, try @code{M-x
- [elpa] externals/excorporate 68c5585 17/93: packages/excorporate: Interoperate with `save-some-buffers', (continued)
- [elpa] externals/excorporate 68c5585 17/93: packages/excorporate: Interoperate with `save-some-buffers', Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 52d6067 21/93: excorporate.el: Bump version to 0.7.6, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 7e855f7 23/93: excorporate.el: Bump soap-client requirement to 3.1.4, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate a588ff6 27/93: packages/excorporate: Bump version to 0.7.7, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 23e514f 33/93: packages/excorporate: Mention appt features in documentation, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate e788f73 38/93: Advise icalendar--add-diary-entry conditionally, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate eb2430f 34/93: packages/excorporate: Bump version to 0.8.0, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate a8ba2d4 30/93: packages/excorporate: Add diary and appt integration, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 2e13256 49/93: excorporate-diary: Don't force diary-fancy-display, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 556433b 54/93: excorporate: Bump required package versions, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate ba927b9 52/93: packages/excorporate: Update HTTP debugging steps,
Stefan Monnier <=
- [elpa] externals/excorporate b37aecf 51/93: excorporate-diary: Fix percent signs in appt, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 00ef8e7 55/93: excorporate: Update HTTPS proxy and GSSAPI status in manual, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate fac0fee 56/93: packages/excorporate/excorporate.el: Add an acknowledgment, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 0080f33 62/93: Excorporate: Add item identifiers to Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate b228664 69/93: Excorporate: Support replying to meeting requests, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate cee32a6 65/93: Excorporate: Add support for synchronous operations, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 166b417 72/93: Excorporate: Add an organizer resolver function, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 936eb4a 61/93: Excorporate: Change identifier format in Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate d43e575 58/93: Excorporate: Add an item iteration macro, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 212c8bd 80/93: Excorporate: Rewrite exco-org functions for Org 9.1, Stefan Monnier, 2020/11/29