]> git.eshelyaron.com Git - dict.git/commit
ADDED: New command sweeprolog-insert-term-with-holes
authorEshel Yaron <me@eshelyaron.com>
Thu, 22 Dec 2022 14:51:47 +0000 (16:51 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 25 Dec 2022 17:16:42 +0000 (19:16 +0200)
commit833734f461d589b50589bafc1170958d7d074bb4
treea602b835f85c3679cb7558b304d0255531497de0
parent65b43c00d065639d53c6fbff63727d0b98cfb940
ADDED: New command sweeprolog-insert-term-with-holes

* sweep.pl (sweep_format_term/2, sweep_current_functors/2): new
predicates.
* sweeprolog.el (sweeprolog-read-functor-history): new variable,
history list for...
(sweeprolog-read-functor): new function.
(sweeprolog-forward-hole-repeat-mode): rename to...
(sweeprolog-forward-hole-repeat-map): corrected name for keymap.
(sweeprolog-analyze-end-font-lock): don't rely on
sweeprolog--next-hole to move point.
(sweeprolog-at-hole-p, sweeprolog-beginning-of-hole)
(sweeprolog-end-of-hole): new functions, used by...
(sweeprolog--previous-hole, sweeprolog--next-hole): revise.
(sweeprolog--precedence-at-point): new function, used by...
(sweeprolog-insert-term-with-holes): new command.
(sweeprolog-mode-map): bind it to C-c C-m
* sweeprolog-tests: test it.
* README.org ("Filling Holes"): move to top and rename to...
("Holes"): document sweeprolog-insert-term-with-holes.
README.org
sweep.pl
sweeprolog-tests.el
sweeprolog.el