all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gnuist006@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Whats the status of forward-thing ?
Date: Sun, 21 Oct 2007 21:58:49 -0000	[thread overview]
Message-ID: <1193003929.035789.271820@i13g2000prf.googlegroups.com> (raw)

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

forward-thing ?

What does it exactly do ?

gnuist

From: klarl...@research.att.com (Nils Klarlund)
Subject: forward-thing in thingatpt.el
Date: 2000/06/01
Message-ID: <200006011538.LAA13391@alliance.research.att.com>#1/1
X-Deja-AN: 629922605
Sender: bug-gnu-emacs-requ...@mail.gnu.org
Approved: bug-gnu-emacs-requ...@mail.gnu.org
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))))

/Nils

             reply	other threads:[~2007-10-21 21:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-21 21:58 gnuist006 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-10-21 22:10 Whats the status of forward-thing ? gnuist006
2007-10-21 22:10 gnuist006
2007-10-21 22:05 gnuist006
2007-10-21 21:59 gnuist006
2007-10-21 21:53 gnuist006
2007-10-21 21:53 gnuist006

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1193003929.035789.271820@i13g2000prf.googlegroups.com \
    --to=gnuist006@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.