emacs-devel
[Top][All Lists]
Advanced

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

Re: with-output-to-temp-buffer [Re: reverting CJK input methods]


From: Richard Stallman
Subject: Re: with-output-to-temp-buffer [Re: reverting CJK input methods]
Date: Thu, 06 May 2004 07:48:57 -0400

    fails because the function temp_output_buffer_setup calls
    Ferase_buffer and it signals the error "Text is read-only".

    Should we bind inhibit-read-only to t while calling
    Ferase_buffer,

That is the right fix.

                   or modify Ferase_buffer itself so that it
    doesn't signal the above error?

This would be incorrect.

As a general principle: don't make a general facility less natural or
harder to describe, in order to solve a problem that occurs with a
specific use of that facility.  Instead, fix the specific use.
Only change the general facility if there's a reason to think
it would be better, as a general facility, with the change.





reply via email to

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