Emacs: xah-get-thing.el

By Xah Lee. Date: . Last updated: .

xah-get-thing.el is a emacs lisp utility for grabbing text under cursor.



The package gives you the several functions to get the boundary of current word, line, glyph, text block (paragraph), filepath, url, etc, or text selection if there is active region.

This package is similar to emacs builtin thing-at-point package thingatpt.el. [see ELisp: thing-at-point]

The differences are:

Can Return a Cons Pair or Vector

Emacs Lisp, Get Thing at Point