A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/phillord/m-buffer-el below:

phillord/m-buffer-el: List Oriented Buffer Operations for Emacs

This package provides a set of list-orientated functions for operating over the contents of Emacs buffers. Functions are generally purish: i.e. they may change the state of one buffer by side-effect, but should not affect point, current buffer, match data or so forth. Generally, markers are preferred over point locations so that it is possible, for example, to search for regexp matches and then replace them all without the early replacement invalidating the location of the later ones.

m-buffer is now documented at http://phillord.github.io/m-buffer-el/ or live in Emacs with Lentic Server.

The code is now in active use. APIs are open to change, but I am not intending to.

Version 0.14 did not support Emacs-24, which unintentionally broke assess.el which needs to work on these platforms. Emacs-24 is now supported again.

Contributions are welcome. However, I would like to keep the option of hosting m-buffer.el on ELPA, therefore, contributors should have Copyright Assignment papers with the FSF.

Support Emacs-24 again

New function added m-buffer-match-multi

New function added m-buffer-at-string

New funtion added: m-buffer-partition-by-marker

This release mostly includes considerably improved documentation.

There is one change which is half-way between a breaking change and a bug fix. Previously, in the m-buffer-match-* functions "match" arguments could take any keyword argument and these would over-ride any arguments already set. This means that a call such as:

(m-buffer-match-page (current-buffer) :regexp "this")

would behave the same as:

(m-buffer-match (current-buffer) :regexp "this")

rather than matching pages. Alternatively, this call:

(m-buffer-match-line
   (current-buffer)
   :post-match (lambda () t))

never terminates. Both of these now throw an error instead.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4