[Top][All Lists]

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

Re: Several serious problems

From: Richard Stallman
Subject: Re: Several serious problems
Date: Tue, 23 Jul 2002 21:25:39 -0600 (MDT)

    Do you mean a command something like this?

    (defun check-coding-system-region (from to coding-system &optional max-num)
      "Check if the text after point is encodable by the specified coding 
    When called from a program, takes three arguments:
    CODING-SYSTEM, FROM, and TO.  START and END are buffer positions.
    Value is a list of positions of characters that are not encodable by
    Optional 4th argument MAX-NUM, if non-nil, limits the length of
    returned list.  By default, there's no limit."

This could do the internals of the job.  To be useful, it needs a user

How about if you modify it to make overlays to highlight those characters
instead of returning a list saying where they are?

reply via email to

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