info-gnu-emacs
[Top][All Lists]
Advanced

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

New GNU ELPA package: wrap-search - wrapped, non-incremental search


From: Sacha Chua
Subject: New GNU ELPA package: wrap-search - wrapped, non-incremental search
Date: Mon, 09 Oct 2023 15:19:59 -0400

    Summary: wrapped, non-incremental search
    Website: https://dataswamp.org/~incal/emacs-init/wrap-search.el
   Keywords: matching 
 Maintainer: Emanuel Berg <incal@dataswamp.org>
     Author: Emanuel Berg <incal@dataswamp.org>

The `wrap-search' package offers non-incremental search.
It shows hitss (hits and only hits) and search only starts
when one hits RET.

`wrap-search' searches forward by default, but it wraps
and continues up and until the search start position if
necessary. This is so one doesn't have to wonder if the
target is north or south in the buffer.

The philosophy is that `wrap-search' mostly shouldn't be
used for searching - that is possible as well, of course,
using the same command - rather, it is used to quickly
navigate a buffer.

To use the package without keyboard shortcuts isn't
recommended. Instead, do for example

  (global-set-key "\C-s" #'wrap-search)
  (global-set-key "\C-r" #'wrap-search-again)



reply via email to

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