[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NS port horizontal scroll-bars

From: Alan Third
Subject: Re: NS port horizontal scroll-bars
Date: Mon, 25 Apr 2016 21:34:20 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

On Sun, Apr 24, 2016 at 07:28:58PM +0200, Anders Lindgren wrote:
> I think you simply haven't mapped the horizontal events to anything.
> ns-win.el contains the following:
> (global-set-key [vertical-scroll-bar down-mouse-1]
> 'ns-handle-scroll-bar-event)
> (global-unset-key [vertical-scroll-bar mouse-1])
> (global-unset-key [vertical-scroll-bar drag-mouse-1])

Yup, that's it exactly!

Now I just need to work out how to turn the values I get into columns
that I can scroll the screen to.

Is there a function that returns the width of the longest visible
line, or the width of the buffer with truncated lines? I can't find
anything like that.
Alan Third

reply via email to

[Prev in Thread] Current Thread [Next in Thread]