Stéphane Payrard <[EMAIL PROTECTED]> writes:

> On Fri, Oct 01, 2004 at 06:09:37PM +0200, Jerome Quelin wrote:
>> Hi,
>> 
>> I tried the pir-mode provided in the editor/ subdir. And when opening a
>> .imc file (I've associated .pir with pir-mode + font-lock-mode), I
>> cannot type spaces or carriage returns:
>> 
>> (24) (warning/warning) Error caught in `font-lock-pre-idle-hook':
>> (invalid-regexp Invalid syntax designator)
>> 
>> And the minibuffer tells me:
>> Symbol's function definition is void: line-beginning-position
>> 
>> I'm using xemacs 21.4.14
>> 
>> Is the pir-mode.el file complete? Or am I encountering a bug in
>> it?
>
> This function is defined in emacs:
>
>   line-beginning-position is a built-in function.
>   (line-beginning-position &optional N)
>
>   Return the character position of the first character on the current line.
>   With argument N not nil or 1, move forward N - 1 lines first.
>   If scan reaches end of buffer, return that position.
>
>   The scan does not cross a field boundary unless doing so would move
>   beyond there to a different line; if N is nil or 1, and scan starts at a
>   field boundary, the scan stops as soon as it starts.  To ignore field
>   boundaries bind `inhibit-field-text-motion' to t.
>
>   This function does not move point.
>
> switch to emacs. :)

Or patch pir-mode.el, your choice.

Reply via email to