emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find-file-noselect needs save-match-data


From: Richard Stallman
Subject: Re: find-file-noselect needs save-match-data
Date: Fri, 15 Jun 2007 18:45:09 -0400

    > I think that the file-manipulation functions that seem clean and
    > abstract ought to call `save-match-data'.

    find-file-noselect is a huge function which runs major modes, looks for
    file-local variables, looks for other buffers already visiting the file,
    checks the buffer if it is still uptodate w.r.t the file, ...

So what?

    It's nowhere near "clean and abstract".

Viewed from outside, it might seem clean and abstract:
a function you can call to do a very clear job with a simple
description (even though its implementation is complex).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]