emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/agitate 565d7dbf0c 7/7: Mention ability to integrate wi


From: ELPA Syncer
Subject: [elpa] externals/agitate 565d7dbf0c 7/7: Mention ability to integrate with Embark package
Date: Tue, 18 Oct 2022 20:57:18 -0400 (EDT)

branch: externals/agitate
commit 565d7dbf0c7367f3a56d46078f5eda2611e3301f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Mention ability to integrate with Embark package
---
 README.org | 15 ++++++++++++---
 agitate.el | 21 ++++++++++++++++++---
 2 files changed, 30 insertions(+), 6 deletions(-)

diff --git a/README.org b/README.org
index 808f865713..24ffafd8d3 100644
--- a/README.org
+++ b/README.org
@@ -179,7 +179,12 @@ displays the log-edit buffer.
 
 #+findex: agitate-vc-git-find-revision
 + Function ~agitate-vc-git-find-revision~ :: Find revision of current
-  file, visiting it in a buffer.  Prompt with completion for the revision.
+  file, visiting it in a buffer.  Prompt with completion for the
+  revision.  The number of revisions in the log is controlled by the
+  user option ~agitate-log-limit~.  Pro tip: if you are using the
+  =embark= package, you can produce a snapshot of the minibuffer
+  prompt.  Then use the resulting buffer to browse through the file's
+  history.
 
 #+findex: agitate-vc-git-show
 #+vindex: agitate-log-limit
@@ -187,12 +192,16 @@ displays the log-edit buffer.
   =git-show(1)= on it. With optional =CURRENT-FILE= as prefix
   argument, limit the commits to those pertaining to the current file.
   The number of revisions in the log is controlled by the user option
-  ~agitate-log-limit~.
+  ~agitate-log-limit~.  Pro tip: if you are using the =embark=
+  package, you can produce a snapshot of the minibuffer prompt.  Then
+  use the resulting buffer to browse through the available commits.
 
 #+findex: agitate-vc-git-show-tag
 + Function ~agitate-vc-git-show-tag~ :: Run =git-show(1)= on Git
   =TAG=.  When called interactively, prompt for TAG using minibuffer
-  completion.
+  completion.  Pro tip: if you are using the =embark= package, you can
+  produce a snapshot of the minibuffer prompt.  Then use the resulting
+  buffer to browse through the available tags.
 
 #+findex: agitate-vc-git-format-patch-single
 + Function ~agitate-vc-git-format-patch-single~ :: Format patch for a
diff --git a/agitate.el b/agitate.el
index 3521d9218e..08158e36c3 100644
--- a/agitate.el
+++ b/agitate.el
@@ -388,7 +388,14 @@ option `agitate-log-limit'."
 ;;;###autoload
 (defun agitate-vc-git-find-revision ()
   "Find revision of current file, visiting it in a buffer.
-Prompt with completion for the revision."
+Prompt with completion for the revision.
+
+The number of revisions in the log is controlled by the user
+option `agitate-log-limit'.
+
+Pro tip: if you are using the `embark' package, you can produce a
+snapshot of the minibuffer prompt.  Then use the resulting buffer
+to browse through the file's history."
   (declare (interactive-only t))
   (interactive)
   (when-let* ((fileset (vc-deduce-fileset))
@@ -405,7 +412,11 @@ With optional CURRENT-FILE as prefix argument, limit the 
commits
 to those pertaining to the current file.
 
 The number of revisions in the log is controlled by the user
-option `agitate-log-limit'."
+option `agitate-log-limit'.
+
+Pro tip: if you are using the `embark' package, you can produce a
+snapshot of the minibuffer prompt.  Then use the resulting buffer
+to browse through the available commits."
   (declare (interactive-only t))
   (interactive "P")
   (when-let ((file (caadr (vc-deduce-fileset))))
@@ -441,7 +452,11 @@ option `agitate-log-limit'."
 (defun agitate-vc-git-show-tag (tag)
   "Run `git-show(1)' on Git TAG.
 When called interactively, prompt for TAG using minibuffer
-completion."
+completion.
+
+Pro tip: if you are using the `embark' package, you can produce a
+snapshot of the minibuffer prompt.  Then use the resulting buffer
+to browse through the available tags."
   (interactive (list (agitate--vc-git-tag-prompt)))
   (let* ((buf "*agitate-vc-git-show*")
          (inhibit-read-only t))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]