all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7782: 24.0.50; 24.0.50: set-scroll-bar-mode missing under non-GUI environments
@ 2011-01-04  8:21 Tim Cross
  2011-01-10 22:58 ` Glenn Morris
  0 siblings, 1 reply; 10+ messages in thread
From: Tim Cross @ 2011-01-04  8:21 UTC (permalink / raw)
  To: 7782


According to the documentation for scroll-bar-mode, the way to
set/change scroll-bar settings from within elisp code is to use the
set-scroll-bar-mode function. However, this function is only defined
when run under graphic capable environments, such as X, but not in other
environments such as the Linux console. 

This means that if you don't want your elisp or .emacs to raise an
error, you also need to wrap calls to this function inside something
like (when display-graphic-p ...). This is not required for other
display related functions that depend on an environment requiring
support for graphics i.e. tool-bar-mode. 

For consistency and to help reduce environment related bugs, I would
like to request a feature enhancement whereby set-scroll-bar-mode is
defined in all environmennts, even if it is just a stub / do nothing
operation in environments that do not support scroll bars. 

thanks,

Tim

In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
 of 2011-01-04 on puma
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
configured using `configure  '--prefix=/usr/local''






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

end of thread, other threads:[~2022-01-22 14:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04  8:21 bug#7782: 24.0.50; 24.0.50: set-scroll-bar-mode missing under non-GUI environments Tim Cross
2011-01-10 22:58 ` Glenn Morris
2011-01-10 23:45   ` Stefan Monnier
2011-01-13  9:45     ` David De La Harpe Golden
2011-01-13 12:20       ` Eli Zaretskii
2021-12-04 20:29     ` Lars Ingebrigtsen
2021-12-29  3:05       ` Stefan Kangas
2021-12-29 14:49         ` Lars Ingebrigtsen
2022-01-22 14:26           ` Lars Ingebrigtsen
2011-01-15 23:31   ` Tim Cross

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.