unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: gnuist006@gmail.com
To: bug-gnu-emacs@gnu.org
Subject: Whats the status of forward-thing ?
Date: Sun, 21 Oct 2007 22:10:44 -0000	[thread overview]
Message-ID: <1193004644.614345.317590__47813.281560275$1193029135$gmane$org@v29g2000prd.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 22:10 UTC|newest]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='1193004644.614345.317590__47813.281560275$1193029135$gmane$org@v29g2000prd.googlegroups.com' \
    --to=gnuist006@gmail.com \
    --cc=bug-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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).