all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: static declaration inside `window_scroll_pixel_based' in window.c
Date: Wed, 08 Mar 2006 21:04:11 -0500	[thread overview]
Message-ID: <87r75c5q78.fsf@stupidchicken.com> (raw)
In-Reply-To: <200603090049.k290nQK23320@raven.dms.auburn.edu> (Luc Teirlinck's message of "Wed, 8 Mar 2006 18:49:26 -0600 (CST)")

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

>>From my earlier message:
>
>    Anyway, if the above quote from `(elisp)Writing Emacs Primitives' does
>    apply here, the problem would be easy to fix with the following patch,
>    which I can install if desired.
>
> No, I responded too quickly.  The patch is incorrect, since it always
> re-initializes preserve_y to -1 at the start of `window_scroll_pixel_based',
> defeating its static-ness. 

You can simply initialize it in syms_of_window.

  reply	other threads:[~2006-03-09  2:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09  0:49 static declaration inside `window_scroll_pixel_based' in window.c Luc Teirlinck
2006-03-09  2:04 ` Chong Yidong [this message]
2006-03-09  2:11   ` Luc Teirlinck
2006-03-09  2:40     ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2006-03-09  0:27 Luc Teirlinck
2006-03-11 15:46 ` 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=87r75c5q78.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@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.