[Top][All Lists]

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

Re: line-beginning-position/line-end-position undefined

From: Kurt Hornik
Subject: Re: line-beginning-position/line-end-position undefined
Date: Tue, 25 Mar 2008 12:15:55 +0100

>>>>> ATKINSON Lee writes:

> Kurt,
>   While editing an octave dot-m file i get "Symbol's function definition
> is void: line-beginning-position" whenever I attempt to put a space in a
> comment line or insert an assignment, etc.
> I am using XEmacs 21.4.19\586-pc-win32
> I feel comfortable editing emacs or XEmacs dot-el (lisp) files and
> believe there may be several variables that are undefined. The above
> should probably be aliased to point-at-bol/point-at-eol or something
> like that.
> Do you already have a known fix?
> Thanks for your Help!
> ________________________________________ 
> Lee Atkinson 

> Software Engineer 
>   FTTU - OLT Software         
>   Alcatel-Lucent      
> 2301 Sugar Bush Road, Raleigh, NC 27612 
> Office 2A018 / 919-850-5186 
> E-mail:    lee.atkinson@alcatel-lucent.com
> <mailto:lee.atkinson@alcatel-lucent.com> 
I see that ESS has

;; XEmacs <= 21.4.15 needs this
(if (not (fboundp 'line-beginning-position))
    (defalias 'line-beginning-position 'point-at-bol))

so this should do the job.  Or, maybe upgrade to a more recent version
of XEmacs :-)

Don't this this is a bug report for GNU Emacs, though ...


reply via email to

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