[Top][All Lists]

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

Whats the status of forward-thing ?

From: gnuist006
Subject: Whats the status of forward-thing ?
Date: Sun, 21 Oct 2007 21:53:42 -0000
User-agent: G2/1.0

With reference to the post 7 years ago, what is the status

forward-thing ?

What does it exactly do ?


From: address@hidden (Nils Klarlund)
Subject: forward-thing in thingatpt.el
Date: 2000/06/01
Message-ID: <address@hidden>#1/1
X-Deja-AN: 629922605
Sender: address@hidden
Approved: address@hidden
x-uunet-gateway: dfw7sosrv11.alter.net from bug-gnu-emacs to
gnu.emacs.bug; Thu, 1 Jun 2000 15:38:56 GMT
Newsgroups: gnu.emacs.bug

This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.6.1 (i386-*-nt5.0.2195)
 of Tue Feb 29 2000 on buffy
configured using `configure NT'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

forward-thing doesn't work with forward-op's that are lambda
expressions, change --->

(defun forward-thing (thing &optional n)
  "Move forward to the end of the next THING."
  (let ((forward-op (or (get thing 'forward-op)
                        (intern-soft (format "forward-%s" thing)))))
    (if (fboundp forward-op)
        (funcall forward-op (or n 1))
      (error "Can't determine how to move over a %s" thing))))

to --->

(defun forward-thing (THING &optional N)
  "Move forward to the end of the next THING."
  (let ((forward-op (or (get THING 'forward-op)
                        (intern-soft (format "forward-%s" THING)))))
    (if (indirect-function forward-op)
        (funcall forward-op (or N 1))

      (error "Can't determine how to move over %ss" THING))))


reply via email to

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