all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org, rms@gnu.org, Paul Pogonyshev <pogonyshev@gmx.net>
Subject: Re: simple patch for `etags.el'
Date: Wed, 22 Sep 2004 14:09:00 +0200	[thread overview]
Message-ID: <x5fz5afqub.fsf@lola.goethe.zz> (raw)
In-Reply-To: <m3oejyle3c.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Wed, 22 Sep 2004 13:47:51 +0200")

storm@cua.dk (Kim F. Storm) writes:

> Paul Pogonyshev <pogonyshev@gmx.net> writes:
>
>> Actually, my patch did just this:
>>
>> 	(when (and (reached-next-percentage)
>> 		   (enough-time-has-passed))
>>
>
> I was thinking about
>
>   (when (reached-next-percentage)
>     (setq next-percentage (1+ next-percentage))  ; or similar
>     (when (enougn-time-has-passed)
>       (message ...)))

I don't see the difference.  In either case, enough-time-has-passed is
only examined once the next percentage value has been reached (which
can be more than just (1+ next-percentage) anyway).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2004-09-22 12:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-20 18:50 simple patch for `etags.el' Paul Pogonyshev
2004-09-21  1:25 ` Paul Pogonyshev
     [not found]   ` <200409210006.24183.pogonyshev@gmx.net>
2004-09-21  2:08     ` Paul Pogonyshev
2004-09-22  7:11   ` Richard Stallman
2004-09-23  0:30     ` Paul Pogonyshev
2004-09-23 16:45       ` Richard Stallman
2004-09-24  3:21         ` Paul Pogonyshev
2004-09-21 18:31 ` Richard Stallman
2004-09-22  0:04   ` Paul Pogonyshev
2004-09-22  8:08     ` Kim F. Storm
2004-09-22 14:04       ` Paul Pogonyshev
2004-09-22 11:47         ` Kim F. Storm
2004-09-22 12:09           ` David Kastrup [this message]
2004-09-22 20:22           ` Paul Pogonyshev
2004-09-23  9:30             ` Richard Stallman

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=x5fz5afqub.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=pogonyshev@gmx.net \
    --cc=rms@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.