all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: "Jan Djärv" <jan.h.d@swipnet.se>, emacs-devel@gnu.org
Subject: Re: Not a regression, but shuld go into emacs-24
Date: Mon, 02 Jun 2014 09:05:52 +0200	[thread overview]
Message-ID: <538C2250.1090805@gmx.at> (raw)
In-Reply-To: <538B6CC4.1060309@swipnet.se>

 > position is not needed, I removed it.  It is called portion in
 > Motif/Lesstif (xm_scroll_callback) also, thats where it originates.
 > x_send_scroll_bar_event itself calls it portion.  xaw_scroll_callback
 > calls it portion.  Has not caused any confusion what I know of.  Its a
 > tiny cosmetic thing.  Jan D.

I'm currently trying to set up horizontal scroll bars so please help me
clarify this issue.  The comment of x_set_toolkit_scroll_bar_thumb says

/* Set the thumb size and position of scroll bar BAR.  We are currently
    displaying PORTION out of a whole WHOLE, and our position POSITION.  */

That of x_send_scroll_bar_event says

/* Send a client message with message type Xatom_Scrollbar for a
    scroll action to the frame of WINDOW.  PART is a value identifying
    the part of the scroll bar that was clicked on.  PORTION is the
    amount to scroll of a whole of WHOLE.  */

So the term PORTION in x_send_scroll_bar_event seems semantically
equivalent to the term POSITION in x_set_toolkit_scroll_bar_thumb and
not to the term PORTION in x_set_toolkit_scroll_bar_thumb.  Is that
interpretation correct?

Thanks, martin



  reply	other threads:[~2014-06-02  7:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-01 10:43 Not a regression, but shuld go into emacs-24 Jan Djärv
2014-06-01 12:31 ` martin rudalics
2014-06-01 18:11   ` Jan Djärv
2014-06-02  7:05     ` martin rudalics [this message]
2014-06-02 15:50       ` Jan Djärv
2014-06-02 18:02         ` martin rudalics
2014-06-02 18:14           ` martin rudalics
2014-06-03  5:10           ` Jan Djärv
2014-06-03  7:23             ` martin rudalics
2014-06-03  7:47               ` Jan D.
2014-06-03  9:41                 ` martin rudalics
2014-06-03 10:13                   ` Jan D.
2014-06-03 12:40                     ` martin rudalics
2014-06-01 14:15 ` Stefan Monnier
2014-06-01 18:01   ` Jan Djärv

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=538C2250.1090805@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /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.