Re: TUTORIAL and scroll bar

From:

David Kastrup

Subject:

Re: TUTORIAL and scroll bar

Date:

Wed, 09 Aug 2006 08:55:50 +0200

User-agent:

Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:
>> From: Richard Stallman <address@hidden>
>> Date: Tue, 08 Aug 2006 19:39:44 -0400
>>
>> The tutorial says the scroll bar is on the left.
>> Is that true (by default) on all systems?
>
> No. frame.c initializes the default scroll bar position as follows:
>
> DEFVAR_LISP ("default-frame-scroll-bars", &Vdefault_frame_scroll_bars,
> doc: /* Default position of scroll bars on this
> window-system. */);
> #ifdef HAVE_WINDOW_SYSTEM
> #if defined(HAVE_NTGUI) || defined(MAC_OS)
> /* MS-Windows has scroll bars on the right by default. */
> Vdefault_frame_scroll_bars = Qright;
> #else
> Vdefault_frame_scroll_bars = Qleft;
> #endif
> #else
> Vdefault_frame_scroll_bars = Qnil;
> #endif
>
> I guess this is done to be consistent with the defaults of the
> respective window-system.
I find this strange: after all, the usual setting for almost all
applications (including those on X) is on the right, so the case for
Windows does not seem to be different here.
One exception seems to be xdvi, but that seems to be the only one.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum