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 [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.
Ken Manheimer [Mon, 12 Oct 2015 16:27:54 +0000 (12:27 -0400)]
Git grep using emacs grep, instead of broken vc-git-grep.
Google search first-hits this github gist wrapping of git grep with
emacs grep mode. I adjusted it a little to properly use '--no-pager'.
(vc-git-grep use of grep-find (or whatever) to dwim always does The
Wrong Thing, requiring finagling of the arguments and editing of the
command, before submitting it.)
Ken Manheimer [Fri, 19 Jun 2015 22:04:38 +0000 (18:04 -0400)]
Prepare to move pdbtrack.el aside, until I can recover the good version.
;;; CRAP. This was extracted from python.el, which lacks some crucial
;;; features of my original pdbtrack code. python-mode.el (available via
;;; marmalade, melpa) has a much more faithful version, including seeking
;;; an existing buffer for a function if the indicated file can't be found
;;; - crucial for doing remote debugging, eg via rpdb.
;;;
;;; I'm going to retire this code, for the moment, until I can recover
;;; pdbtrack (plus whatever improvements may have been developed) from
;;; python-mode.el.