Ken Manheimer [Mon, 4 Jan 2016 16:57:36 +0000 (11:57 -0500)]
multishell - V. 0. Change "multishell:" to "multishell-", use everywhere.
For ELPA conformance.
I'm also changing the version number to 0 to defer initial release. I
discovered a big, user-exposed change I want to make, and need to iron
it out before anyone gets used to the previous format.
* packages/debbugs/debbugs.el: Update copyright years.
(debbugs-soap-invoke-async): Activate `soap-invoke-async'.
(debbugs-get-status): Use `accept-process-output' rather than `sit-for'.
Ken Manheimer [Sat, 2 Jan 2016 22:19:16 +0000 (17:19 -0500)]
multishell - new package
Author: Ken Manheimer <ken dot manheimer at gmail...>
Version: 1.0.0
Maintainer: Ken Manheimer <ken dot manheimer at gmail...>
Created: 1999 -- first public availability
Keywords: processes
URL: https://github.com/kenmanheimer/EmacsUtils
Commentary:
Easily use and manage multiple shell buffers, including remote shells.
Fundamentally, multishell is the function `multishell:pop-to-shell - like
pop-to-buffer - plus a keybinding. Together, they enable you to:
* Get to the input point from wherever you are in a shell buffer,
* ... or to a shell buffer if you're not currently in one.
* Use universal arguments to launch and choose among alternate shell buffers,
* ... and select which is default.
* Prepend a path to a new shell name to launch a shell in that directory,
* ... and use a path with Emacs tramp syntax to launch a remote shell.
Customize-group `multishell` to select and activate a keybinding and set
various behaviors.
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.
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.
Oleh Krehel [Fri, 4 Dec 2015 07:30:17 +0000 (08:30 +0100)]
swiper.el (swiper--update-input-ivy): Add a work-around for "M-j"
When `ivy-yank-word' is called, don't move to the line of the current
candidate. We're already there anyway. And not moving helps when there
are multiple occurrences of the current input on the current line.
Stefan Monnier [Mon, 30 Nov 2015 18:31:14 +0000 (13:31 -0500)]
* packages/seq: Don't define it as a :core package
Revert the removal of packages/seq/seq.el since it's different from
the one in lisp/emacs-lisp.
* .gitignore: Remove packages/seq.
* externals-list: Remove "seq" entry.
Stefan Monnier [Mon, 30 Nov 2015 15:20:46 +0000 (10:20 -0500)]
* packages/sm-c-mode: Add imenu/which-func/add-log support
(sm-c--comment-regexp): New var.
(sm-c--defun-regexp): New var, extracted from sm-c-font-lock-keywords.
Also recognize macro definitions.
(sm-c-font-lock-keywords): Use it.
(sm-c--def-regexp): New var.
(sm-c-mode): Use it for add-log and imenu.
Stefan Monnier [Mon, 30 Nov 2015 13:50:12 +0000 (08:50 -0500)]
* admin/archive-contents.el: Make :core handling optional
(archive--sync-emacs-repo): Drop support for $EMACS_CLONE_REFERENCE and
don't auto-use ../emacs/master if present.
(archive--insert-repolinks): Mark arg as unused.
(archive--metadata): Remove unused var `pv'.
Oleh Krehel [Sun, 29 Nov 2015 16:01:35 +0000 (17:01 +0100)]
Fix due to visual-line-mode weirdness
* swiper.el (swiper--candidates): Under a specific random condition,
(line-move 1) from the beginning of line doesn't move to the beginning
of the next visual line.
This change fixes it, but will result in an even slower startup when
`visual-line-mode' is active.
Oleh Krehel [Sun, 29 Nov 2015 10:15:17 +0000 (11:15 +0100)]
Fix ivy-resume issue caused by the recursive calls change
* ivy.el (ivy-read): recursive-ivy-last is only set if there's an active
minibuffer window. If this check isn't made, it causes the previous
`ivy-last' to be reset after the current one, so `ivy-resume' would
resume not the last command.
Oleh Krehel [Sun, 29 Nov 2015 10:13:45 +0000 (11:13 +0100)]
Fix the preselect for (swiper "one") again
* ivy.el (ivy--reset-state): Take into account :preselect being integer.
This means that it's void once the candidates are filtered over
:initial-input.
Thomas Fitzsimmons [Fri, 27 Nov 2015 06:27:00 +0000 (01:27 -0500)]
Make externals directory removal safer
* admin/archive-contents.el (archive--find-non-trivial-file): New
function.
(archive--cleanup-packages): Check result of
archive--find-non-trivial-file before deleting untracked package.