I think this is a good idea -- it is really not very much work to add a
specifier like this.
Hrvoje Niksic wrote:
"Kirill M. Katsnelson" <kkm(a)kis.ru> writes:
> (defcustom scrollbars-visible-p ;; added for the options menu - dverna
> (> (specifier-instance scrollbar-width) 0)
> "Whether the scrollbars are globally visible. This variable can be
> customized through the options menu."
> :group 'display
> :type 'boolean
> ;; This is really a hack: there should be a real specifier for this, in
> ;; order to turn on/off the scrollbars without altering their size.
> :set '(lambda (var val)
> (if val
> (progn
> (set-specifier scrollbar-width 15)
> (set-specifier scrollbar-height 15))
> (set-specifier scrollbar-width 0)
> (set-specifier scrollbar-height 0))
> (setq scrollbars-visible-p val))
> )
BURN THIS! BURN THIS! BURN THIS!
(sorry, Didier! please don't take this personally, but this defcustom
simply cannot be allowed to stay. it must be implemented correctly or
not at all.)
> But the ideal solution is a separate specifier for scrollbar
> visibility, as the comment suggests. I remeber that Hrvoje said that
> in last October, but perhaps it was not the first time this' been
> said... :)
>
> Btw, this specifier will not break any backward
> compatibility. Phasing out a convention that zero size toolbar is no
> toolbar may then take some time but is very harmless.
With Steve's permission, I could try to implement it for 21.0...
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
A radioactive cat has eighteen half-lives.
--
This message composed using voice recognition software and foot pedals.
(No keyboards were harmed while composing this message.)