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.
Aleksey Fedotov [Fri, 18 Dec 2015 18:43:16 +0000 (21:43 +0300)]
avy.el (avy-goto-line): fix for narrowed regions
When 'avy-goto-line' is called with numbered argument, it tries to mimic
behaviour of 'goto-line'. However, if some part of text is hidden by
narrowing, 'avy-goto-line' failed to account for that.
This patch temporarily disables narrowing, jumps on line and then
restores narrowing, just like 'goto-line' does.
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.
Noam Postavsky [Sun, 13 Dec 2015 05:14:44 +0000 (00:14 -0500)]
Improve test simulatulation of self-insert
* yasnippet-tests.el (yas-mock-insert): Use `ert-simulate-command' to
simulate n self-insert-commands.
(simple-mirror, mirror-with-transformation):
(primary-field-transformation, nested-placeholders-kill-superfield):
(nested-placeholders-use-subfield):
(mirrors-adjacent-to-fields-with-nested-mirrors):
(deep-nested-mirroring-issue-351, example-for-issue-271):
(string-match-with-subregexp-in-mirror-transformations): Call
`yas-mock-insert' directly instead of with `ert-simulate-command'.
Noam Postavsky [Tue, 8 Dec 2015 23:19:02 +0000 (18:19 -0500)]
Fix #587; set `this-command' on fallback.
`this-original-command' is supposed to be for the command that
we're *not* executing because of key remapping, therefore it doesn't
make sense to set it to the command we're about to execute.
* yasnippet.el (yas--fallback): Set `this-command'.
Oleh Krehel [Mon, 7 Dec 2015 13:54:16 +0000 (14:54 +0100)]
Customize extra chars for avy-goto-subword-1
* avy.el (avy-subword-extra-word-chars): New defcustom.
(avy-goto-subword-0): Modify the syntax table temporarily using
`avy-subword-extra-word-chars'.
Oleh Krehel [Mon, 7 Dec 2015 09:36:01 +0000 (10:36 +0100)]
avy.el (avy-all-windows-alt): New defcustom
* avy.el (avy-dowindows): Use `avy-all-windows-alt'.
(avy--regex-candidates):
(avy--read-candidates): Use `current-prefix-arg'. At some later point, it
could be passed as an argument instead.