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

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

[elpa] externals/pulsar 3fc8831c96 1/2: Document how to use Pulsar with


From: ELPA Syncer
Subject: [elpa] externals/pulsar 3fc8831c96 1/2: Document how to use Pulsar with next-error
Date: Fri, 5 Aug 2022 23:57:47 -0400 (EDT)

branch: externals/pulsar
commit 3fc8831c96b4e62894d16d3de3920ba5a14908de
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Document how to use Pulsar with next-error
---
 README.org | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/README.org b/README.org
index 316ab5c76b..c5d9ccefcc 100644
--- a/README.org
+++ b/README.org
@@ -244,6 +244,22 @@ Remember to read the doc string of each of these variables.
   (define-key map (kbd "C-c h h") #'pulsar-highlight-line))
 #+end_src
 
+** Use pulsar with next-error
+:PROPERTIES:
+:CUSTOM_ID: h:0b055c04-fefe-4355-9951-a74689c8d1e5
+:END:
+
+By default, the =n= and =p= keys in Emacs' compilation buffers (e.g. the
+results of a ~grep~ search) produce a highlight for the locus of the
+given match.  Due to how the code is implemented, we cannot use Pulsar's
+standard mechanism to trigger a pulse after the match is highlighted.
+Instead, the user must add this to their configuration in lieu of a
+Pulsar-level solution that "just works":
+
+#+begin_src emacs-lisp
+(add-hook 'next-error-hook #'pulsar-pulse-line)
+#+end_src
+
 * Integration with other packages
 :PROPERTIES:
 :CUSTOM_ID: h:b884f2ac-82f3-48c0-bee5-6709d6647b1d



reply via email to

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