Michael Albinus [Sat, 2 Jan 2016 16:36:54 +0000 (17:36 +0100)]
Move asynchronous calls in debbugs to SOAP function level.
* packages/debbugs/debbugs-gnu.el (top): Don't require `async'.
(debbugs-gnu-default-hits-per-page): Remove.
(debbugs-gnu-show-reports): Do not call `debbugs-get-status'
asynchronously anymore.
* packages/debbugs/debbugs.el (soap-invoke-async, async-start)
(async-get): Declare.
(debbugs-max-hits-per-request): New defconst.
(debbugs-soap-invoke-async-object): New defvar.
(debbugs-soap-invoke-async): New defun.
(debbugs-get-status): Use them.
Ken Manheimer [Fri, 1 Jan 2016 17:07:25 +0000 (12:07 -0500)]
poptoshell - cleanup lapsed remote connections before restarting them
Woo hoo! This seems to be vastly improving the resurrection of lapsed
connections, preventing the frequent (and uncatchable) "byte-code: Args
out of range: ..." errors. So far, completely.
Ken Manheimer [Fri, 1 Jan 2016 17:07:25 +0000 (12:07 -0500)]
poptoshell - cleanup lapsed remote connections before restarting them
Woo hoo! This seems to be vastly improving the resurrection of lapsed
connections, preventing the frequent (and uncatchable) "byte-code: Args
out of range: ..." errors. So far, completely.
Michael[tm] Smith [Wed, 30 Dec 2015 23:51:52 +0000 (08:51 +0900)]
Add CSP syntax checking for <meta> & HTTP header
Adds datatype/microsyntax-checking of the "content" attribute of the
<meta http-equiv=content-security-policy content="..."> element, along with
such checking of the value of the Content-Security-Policy HTTP header.
Michael Albinus [Mon, 28 Dec 2015 10:28:59 +0000 (11:28 +0100)]
debbugs code cleanup
* packages/debbugs/debbugs-gnu.el (subr-x): Require package.
(diff-hunk-file-names): Autoload function.
(top): Declare missing external variables. Move them up.
(debbugs-gnu-display-status, debbugs-gnu-usertags): Switching to
the buffer seems prettier than popping to the buffer.
(debbugs-gnu-usertags): Quote `highlight'.
(debbugs-gnu-change-checkin): Use `cl-subseq'.
Michael Albinus [Sun, 27 Dec 2015 15:24:47 +0000 (16:24 +0100)]
Retrieve debbugs data in several chunks, sequentially
* packages/debbugs/debbugs-gnu.el (top): Do not require widgets
and wid-edit. Remove debbugs-gnu-widgets, debbugs-gnu-widget-map
and debbugs-gnu-current-widget.
(debbugs-gnu-default-hits-per-page): Make it a defconst, value is 500.
(debbugs-gnu-current-suppress): New defvar.
(debbugs-gnu, debbugs-gnu-print-entry, debbugs-gnu-rescan)
(debbugs-gnu-toggle-suppress, debbugs-gnu-current-query):
Remove widget code.
(debbugs-gnu-show-reports): Remove widget code. Retrieve bug data
in chunks of 500.
(debbugs-gnu-print-entry, debbugs-gnu-usertags): Use `highlight'
as mouse-face.
Michael Albinus [Sun, 27 Dec 2015 11:17:57 +0000 (12:17 +0100)]
debbugs code cleanup
* packages/debbugs/debbugs-gnu.el (debbugs-gnu-archived): Move down.
(debbugs-read-emacs-bug-with-gnus): New defun, extracted from
`debbugs-gnu-select-report'.
(debbugs-gnu-select-report): Use it.
Lars Ingebrigtsen [Thu, 24 Dec 2015 21:39:24 +0000 (22:39 +0100)]
Increase the default number of hits
* debbugs-gnu.el (debbugs-gnu-default-hits-per-page): Increase the
default number of hits, because it doesn't make much sense to look
at partial bug lists when doing triage.
Ken Manheimer [Thu, 24 Dec 2015 19:25:25 +0000 (14:25 -0500)]
poptoshell: Initial stab at workaround for tramp "Args out of range"
More than occasionally, tramp fails to reconnect to shells that were
disconnected gracelessly, with "byte-code: Args out of range:
...". Using tramp-cleanup-this-connection then retrying often works, so
let's do that.
It's hard to test this easily, so I'm checking in a preliminary version
to tweak incrementally.
Ken Manheimer [Thu, 24 Dec 2015 19:25:25 +0000 (14:25 -0500)]
poptoshell: Initial stab at workaround for tramp "Args out of range"
More than occasionally, tramp fails to reconnect to shells that were
disconnected gracelessly, with "byte-code: Args out of range:
...". Using tramp-cleanup-this-connection then retrying often works, so
let's do that.
It's hard to test this easily, so I'm checking in a preliminary version
to tweak incrementally.
Ken Manheimer [Mon, 14 Dec 2015 16:56:22 +0000 (11:56 -0500)]
Remove docstring info about persisting names across sessions.
The functionality is still there, but incomplete. Will complete in a
branch, and want to avoid disruption of people who use the incomplete
functionality, once the completed version is merged.
Ken Manheimer [Mon, 14 Dec 2015 07:54:27 +0000 (02:54 -0500)]
Persist shell-buffer name/path history!
Need to manually configure savehist - see instructions.
This is simplest implementation, and a little dicey:
* First time in session that you try to use prior session's settings,
you just get the path, not the name
* I could make an additional map between names used and paths,
* and that may be necessary, since it will be unapparent whether or
not the paths for the names have established.
* There's no way to remove entries, besides editing the history file
* Would like to implement `Meta-e' "edit current entry",
* where changing the entry is preserved
* and deleting the line then concluding removes the entry completely
* carriage return ends edit mode.