all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Horizontal Scrollbars
@ 2024-05-07 23:59 Heime
  2024-05-08  2:33 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Heime @ 2024-05-07 23:59 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


Does emacs have the possibility to show horizontal scrollbars like
one gets for vertical scrolling ?



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-07 23:59 Horizontal Scrollbars Heime
@ 2024-05-08  2:33 ` Eli Zaretskii
  2024-05-08  2:52   ` Heime
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-05-08  2:33 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Tue, 07 May 2024 23:59:02 +0000
> From: Heime <heimeborgia@protonmail.com>
> 
> 
> Does emacs have the possibility to show horizontal scrollbars like
> one gets for vertical scrolling ? 

M-x horizontal-scroll-bar-mode RET



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-08  2:33 ` Eli Zaretskii
@ 2024-05-08  2:52   ` Heime
  2024-05-08 11:11     ` Pierre Rouleau
  0 siblings, 1 reply; 12+ messages in thread
From: Heime @ 2024-05-08  2:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs






Sent with Proton Mail secure email.

On Wednesday, May 8th, 2024 at 2:33 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Tue, 07 May 2024 23:59:02 +0000
> > From: Heime heimeborgia@protonmail.com
> > 
> > Does emacs have the possibility to show horizontal scrollbars like
> > one gets for vertical scrolling ?
> 
> 
> M-x horizontal-scroll-bar-mode RET

Fantastic



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-08  2:52   ` Heime
@ 2024-05-08 11:11     ` Pierre Rouleau
  2024-05-09 20:15       ` Heime
  0 siblings, 1 reply; 12+ messages in thread
From: Pierre Rouleau @ 2024-05-08 11:11 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

>
> On Wednesday, May 8th, 2024 at 2:33 PM, Eli Zaretskii <eliz@gnu.org>
> wrote:
>
> > M-x horizontal-scroll-bar-mode RET
>
> Eli , one reason some people may not be aware of that mode might be
because it is not mentioned  in the Emacs manual Horizontal Scrolling
section  (
https://www.gnu.org/software/emacs/manual/html_node/emacs/Horizontal-Scrolling.html
).

The manual describes the "internal horizontal scrolling" (for lack of
better description)  that occurs in graphics mode and terminal mode but not
one based on horizontal scroll bar and does not mention
`horizontal-scroll-bar-mode'.

-- 
/Pierre


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-08 11:11     ` Pierre Rouleau
@ 2024-05-09 20:15       ` Heime
  2024-05-10  5:50         ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Heime @ 2024-05-09 20:15 UTC (permalink / raw)
  To: Pierre Rouleau; +Cc: Eli Zaretskii, help-gnu-emacs

 horizontal-scroll-bar-mode handles the horizontal scroll-bar globally.  But I have
forgotten how to handle the horizontal scroll-bar per window.  Or is it per frame ? 


On Wednesday, May 8th, 2024 at 11:11 PM, Pierre Rouleau <prouleau001@gmail.com> wrote:

> > On Wednesday, May 8th, 2024 at 2:33 PM, Eli Zaretskii eliz@gnu.org
> > wrote:
> > 
> > > M-x horizontal-scroll-bar-mode RET
> > 
> > Eli , one reason some people may not be aware of that mode might be
> 
> because it is not mentioned in the Emacs manual Horizontal Scrolling
> section (
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Horizontal-Scrolling.html
> ).
> 
> The manual describes the "internal horizontal scrolling" (for lack of
> better description) that occurs in graphics mode and terminal mode but not
> one based on horizontal scroll bar and does not mention
> `horizontal-scroll-bar-mode'.
> 
> --
> /Pierre



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-09 20:15       ` Heime
@ 2024-05-10  5:50         ` Eli Zaretskii
  2024-05-10 10:02           ` Heime
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-05-10  5:50 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Thu, 09 May 2024 20:15:23 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
> 
>  horizontal-scroll-bar-mode handles the horizontal scroll-bar globally.  But I have
> forgotten how to handle the horizontal scroll-bar per window.  Or is it per frame ? 

The answers are in the manual:

     To toggle the use of horizontal scroll bars, type ‘M-x
  horizontal-scroll-bar-mode’.  This command applies to all frames,
  including frames yet to be created.  To toggle horizontal scroll bars
  for just the selected frame, use the command ‘M-x
  toggle-horizontal-scroll-bar’.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-10  5:50         ` Eli Zaretskii
@ 2024-05-10 10:02           ` Heime
  2024-05-10 10:07             ` Heime
  2024-05-10 10:40             ` Eli Zaretskii
  0 siblings, 2 replies; 12+ messages in thread
From: Heime @ 2024-05-10 10:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs






Sent with Proton Mail secure email.

On Friday, May 10th, 2024 at 5:50 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Thu, 09 May 2024 20:15:23 +0000
> > From: Heime heimeborgia@protonmail.com
> > Cc: Eli Zaretskii eliz@gnu.org, help-gnu-emacs@gnu.org
> > 
> > horizontal-scroll-bar-mode handles the horizontal scroll-bar globally. But I have
> > forgotten how to handle the horizontal scroll-bar per window. Or is it per frame ?
> 
> 
> The answers are in the manual:
> 
> To toggle the use of horizontal scroll bars, type ‘M-x
> horizontal-scroll-bar-mode’. This command applies to all frames,
> including frames yet to be created. To toggle horizontal scroll bars
> for just the selected frame, use the command ‘M-x
> toggle-horizontal-scroll-bar’.

Yes per-frame but not per-window.  I have no idea whether vertical scrollbar
is also per-frame.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-10 10:02           ` Heime
@ 2024-05-10 10:07             ` Heime
  2024-05-10 10:40             ` Eli Zaretskii
  1 sibling, 0 replies; 12+ messages in thread
From: Heime @ 2024-05-10 10:07 UTC (permalink / raw)
  To: Heime; +Cc: Eli Zaretskii, help-gnu-emacs






Sent with Proton Mail secure email.

On Friday, May 10th, 2024 at 10:02 PM, Heime <heimeborgia@protonmail.com> wrote:

> 
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> 
> On Friday, May 10th, 2024 at 5:50 PM, Eli Zaretskii eliz@gnu.org wrote:
> 
> > > Date: Thu, 09 May 2024 20:15:23 +0000
> > > From: Heime heimeborgia@protonmail.com
> > > Cc: Eli Zaretskii eliz@gnu.org, help-gnu-emacs@gnu.org
> > > 
> > > horizontal-scroll-bar-mode handles the horizontal scroll-bar globally. But I have
> > > forgotten how to handle the horizontal scroll-bar per window. Or is it per frame ?
> > 
> > The answers are in the manual:
> > 
> > To toggle the use of horizontal scroll bars, type ‘M-x
> > horizontal-scroll-bar-mode’. This command applies to all frames,
> > including frames yet to be created. To toggle horizontal scroll bars
> > for just the selected frame, use the command ‘M-x
> > toggle-horizontal-scroll-bar’.
> 
> 
> Yes per-frame but not per-window. I have no idea whether vertical scrollbar
> is also per-frame.

What would be the commands to scroll vertically per-window and per-buffer ?

C-h f toggle-horizontal-scroll-bar 

gives

"With ARG, turn vertical scroll bars on if and only if ARG is positive."

The use of the word "vertical" is wrong.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-10 10:02           ` Heime
  2024-05-10 10:07             ` Heime
@ 2024-05-10 10:40             ` Eli Zaretskii
  2024-05-10 11:25               ` Heime
  1 sibling, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-05-10 10:40 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Fri, 10 May 2024 10:02:14 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> > > horizontal-scroll-bar-mode handles the horizontal scroll-bar globally. But I have
> > > forgotten how to handle the horizontal scroll-bar per window. Or is it per frame ?
> > 
> > 
> > The answers are in the manual:
> > 
> > To toggle the use of horizontal scroll bars, type ‘M-x
> > horizontal-scroll-bar-mode’. This command applies to all frames,
> > including frames yet to be created. To toggle horizontal scroll bars
> > for just the selected frame, use the command ‘M-x
> > toggle-horizontal-scroll-bar’.
> 
> Yes per-frame but not per-window.  I have no idea whether vertical scrollbar
> is also per-frame. 

The answer is again in the manual:

     To toggle the use of vertical scroll bars, type ‘M-x
  scroll-bar-mode’.  This command applies to all frames, including frames
  yet to be created.  To toggle vertical scroll bars for just the selected
  frame, use the command ‘M-x toggle-scroll-bar’.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-10 10:40             ` Eli Zaretskii
@ 2024-05-10 11:25               ` Heime
  2024-05-10 15:07                 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Heime @ 2024-05-10 11:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs






Sent with Proton Mail secure email.

On Friday, May 10th, 2024 at 10:40 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Fri, 10 May 2024 10:02:14 +0000
> > From: Heime heimeborgia@protonmail.com
> > Cc: help-gnu-emacs@gnu.org
> > 
> > > > horizontal-scroll-bar-mode handles the horizontal scroll-bar globally. But I have
> > > > forgotten how to handle the horizontal scroll-bar per window. Or is it per frame ?
> > > 
> > > The answers are in the manual:
> > > 
> > > To toggle the use of horizontal scroll bars, type ‘M-x
> > > horizontal-scroll-bar-mode’. This command applies to all frames,
> > > including frames yet to be created. To toggle horizontal scroll bars
> > > for just the selected frame, use the command ‘M-x
> > > toggle-horizontal-scroll-bar’.
> > 
> > Yes per-frame but not per-window. I have no idea whether vertical scrollbar
> > is also per-frame.
> 
> 
> The answer is again in the manual:
> 
> To toggle the use of vertical scroll bars, type ‘M-x
> scroll-bar-mode’. This command applies to all frames, including frames
> yet to be created. To toggle vertical scroll bars for just the selected
> frame, use the command ‘M-x toggle-scroll-bar’.

If this activates vertical scroll bar of a window, how does one deactivate it ?

(set-window-scroll-bars (selected-window) nil 'right)




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-10 11:25               ` Heime
@ 2024-05-10 15:07                 ` Eli Zaretskii
  2024-05-10 15:11                   ` Heime
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-05-10 15:07 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Fri, 10 May 2024 11:25:38 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> If this activates vertical scroll bar of a window, how does one deactivate it ?
> 
> (set-window-scroll-bars (selected-window) nil 'right)

Please read the ELisp manual, where this function is described.  The
answers are all there.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Horizontal Scrollbars
  2024-05-10 15:07                 ` Eli Zaretskii
@ 2024-05-10 15:11                   ` Heime
  0 siblings, 0 replies; 12+ messages in thread
From: Heime @ 2024-05-10 15:11 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs






Sent with Proton Mail secure email.

On Saturday, May 11th, 2024 at 3:07 AM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Fri, 10 May 2024 11:25:38 +0000
> > From: Heime heimeborgia@protonmail.com
> > Cc: help-gnu-emacs@gnu.org
> > 
> > If this activates vertical scroll bar of a window, how does one deactivate it ?
> > 
> > (set-window-scroll-bars (selected-window) nil 'right)
> 
> 
> Please read the ELisp manual, where this function is described. The
> answers are all there.

After playing with for some time, I am able to use it properly.  
Many thanks Eli.



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-05-10 15:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07 23:59 Horizontal Scrollbars Heime
2024-05-08  2:33 ` Eli Zaretskii
2024-05-08  2:52   ` Heime
2024-05-08 11:11     ` Pierre Rouleau
2024-05-09 20:15       ` Heime
2024-05-10  5:50         ` Eli Zaretskii
2024-05-10 10:02           ` Heime
2024-05-10 10:07             ` Heime
2024-05-10 10:40             ` Eli Zaretskii
2024-05-10 11:25               ` Heime
2024-05-10 15:07                 ` Eli Zaretskii
2024-05-10 15:11                   ` Heime

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.