"Yair Friedman (Jerusalem)" <[EMAIL PROTECTED]> writes:

> Eliran <[EMAIL PROTECTED]> writes:
> > On Sat, May 04, 2002 at 01:21:04PM +0300, Eliran wrote:
> >> Actually, I use M-x menu-bar-mode and 'Enter' and it disappears but
> >> I don't want to do it manually over and over..
> 
> ,----[ menu-bar-mode doc ]
> | With a numeric argument, if the argument is positive,
> | turn on menu bars; otherwise, turn off menu bars.
> `----
> So You need to:
> 
> (menu-bar-mode -1)
> 
> > and how do I set the scroller to the right side.
> >
> >
> (set-scroll-bar-mode 'right)
> 
> Tested on Emacs21.

This should work. Other ways include

1) Using set-specifier, e.g. try in you *scratch* buffer

   (set-specifier menubar-visible-p t)
   (set-specifier menubar-visible-p nil)

   [similarly with scrollbars - M-x apropos RET scroll.*bar RET
    should give you the right syntax]

2) Using X resources, e.g. in my ~/.Xdefaults I have [to get rid of
   scrollbars and toolbars - I keep menubars]

   ! disable the annoying toolbar - I don't use it anyway

   Emacs.topToolBarHeight:                 0
   Emacs.bottomToolBarHeight:              0
   Emacs.leftToolBarWidth:                 0
   Emacs.rightToolBarWidth:                0

   ! If you want to turn off scrollbars, or change the default pixel width
   ! of the scrollbars, do it like this (0 width means no scrollbars):
   ! 
   Emacs.scrollBarWidth: 0
   Emacs.verticalScrollBars: off
   Emacs.scrollBarHeight: 0
   Emacs.horizontalScrollBars: off
 
   [this is X-specific, of course].

-- 
Oleg Goldshmidt | [EMAIL PROTECTED] 
"We work by wit, and not by witchcraft,
 And wit depends on dilatory time..."

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to