m-buffer

https://github.com/phillord/m-buffer-el.git

git clone 'git://github.com/phillord/m-buffer-el.git'
6

m-buffer.el

[Build Status](https://travis-ci.org/Build Statusphillord/m-buffer-el)

Introduction

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 with Lentic Server.

Status

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

Contributions

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.

Change Log

0.11

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.

Breaking Changes

0.10

Bug Fixes

0.9

Bug Fixes

Breaking Changes

0.8

Breaking Changes

0.7

0.6

0.5

Breaking Changes

0.4

New Functions

0.3

0.2

New Functions

Name changes

Matchers

Build and Test