Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Work in progress: View and edit parts of multiple files in one buffer
Emacs Lisp Other
Branch: master

Merge pull request #4 from Fuco1/select-buffer-in-mrim

Add C-u prefix to `mf/save-original-buffers` to select the buffer
latest commit dddfe64b8e
@magnars authored
Failed to load latest commit information.
features Save original files when saving in multifile buffer.
util add .nosearch to directory with bundled library
.gitignore Switch to Carton for dependency management.
.gitmodules More testing harness
Carton Update twins in post-command-hook
Makefile Switch to Carton for dependency management.
README.md Save original files when saving in multifile buffer.
multifiles.el
run-travis-ci.sh Switch to Carton for dependency management.
watch-tests.watchr Switch to Carton for dependency management.
wishful-readme.md Update wishful readme

README.md

multifiles.el

An initial attempt at "multifiles" as defined here.

Setup

(require 'multifiles)

Usage

Bind a key to mf/mirror-region-in-multifile, let's say C-!. Now mark a part of the buffer and press it. A new *multifile* buffer pops up. Mark some other part of another file, and press C-! again. This is added to the *multifile*.

You can now edit the *multifile* buffer, and watch the original files change. Or you can edit the original files and watch the *multifile* buffer change.

Saving the *multifile* buffer will save all the original files.

Warning This API and functionality is highly volatile.

License

Copyright (C) 2011 Magnar Sveen

Author: Magnar Sveen magnars@gmail.com Keywords: multiple files

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Something went wrong with that request. Please try again.