[Top][All Lists]

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

Re: insert-file-contents and format-decode

From: Richard Stallman
Subject: Re: insert-file-contents and format-decode
Date: Wed, 27 Jun 2007 19:43:00 -0400

    We have a plan for dealing with functions called by `format-decode'.  We
    do not have a plan yet for dealing with `after-insert-file-functions'.
    Shall we treat functions there the same way we treat functions called by

If it's good for one, it's probably good for the other.  Consistency
between the two features is also good.

Do you see any reason NOT to do so?

    When I insert the contents of a file with `visit-flag' nil the buffer
    should be reasonably narrowed to work only on the inserted text as in
    `decode-coding-inserted-region'.  Currently, neither `format-alist' nor
    `after-insert-file-functions' handling provides such a service.  The
    functions there are supposed to do the narrowing themselves.

Perhaps it would be convenient to narrow around the call to
the `after-insert-file-functions'.  This would not contradict the
established calling convention.

If we want to narrow around format conversion functions, the place
to do that is inside format.el.

reply via email to

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