GNU ELPA - do-at-point

do-at-point Atom Feed

Description
Generic context-sensitive action dispatcher.
Latest
do-at-point-0.1.2.tar (.sig), 2024-Jun-26, 60.0 KiB
Maintainer
Philip Kaludercic <~pkal/public-inbox@lists.sr.ht>
Website
https://git.sr.ht/~pkal/do-at-point
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

The command `do-at-point' is a generalised `find-file-at-point',
both in the sense that it can understand more than just files, and
do more than just open a file.  Depending on the "thing" at point,
different "actions" can be dispatched, e.g. opening a url using
`browse-url' or occurring a symbol at point.

The entry point of this package is `do-at-point'.  Bind it to a
convenient key:

  (global-set-key (kbd "C-'") #'do-at-point)

Most of the behaviour is controlled via the user option
`do-at-point-actions' and `do-at-point-user-actions'.  A mode may
use `do-at-point-local-actions' to add additional things and/or
actions.

Inspired by Embark and `isearch-forward-thing-at-point'.

Old versions

do-at-point-0.1.1.tar.lz2024-Mar-3116.2 KiB
do-at-point-0.1.0.tar.lz2023-Aug-2616.0 KiB

News

Version 0.1.2

- New general actions: "delete-region" and "yank-and-swap".

- New hook `do-at-point-mode-hook'.

- New minor mode `do-at-point-persist-mode', bound to M-<return> by
  default.  If enabled, it disables the disactivation of selections
  after an action.  To enable it by default, evaluate

    (add-hook 'do-at-point-hook #'do-at-point-persist-mode)

- Allow customising the quick-confirm key (by Visuwesh).