all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Frames: selectively enabling GUI
Date: Thu, 16 Aug 2007 21:33:52 +0200	[thread overview]
Message-ID: <87mywrw9y7.fsf@baldur.tsdh.de> (raw)
In-Reply-To: 874pizfjuh.fsf@W0053328.mgh.harvard.edu

jadamson@partners.org (Joel J. Adamson) writes:

Hi Joel,

> I just don't know where to go from make-variable-frame-local --- can I
> even make a mode frame-local?  What's the relationship between a mode
> and a variable?

Most of the time a variable indicates if a mode is active, but in
general setting the variable won't toggle the mode.

> Has anyone found a way to do this already?

`M-x apropos RET scroll-bar RET' pointed me to

,----[ C-h f toggle-scroll-bar RET ]
| toggle-scroll-bar is an interactive compiled Lisp function in
| `scroll-bar.el'.
| (toggle-scroll-bar ARG)
| 
| Toggle whether or not the selected frame has vertical scroll bars.
| With arg, turn vertical scroll bars on if and only if arg is positive.
| The variable `scroll-bar-mode' controls which side the scroll bars are
| on when they are turned on; if it is nil, they go on the left.
`----

That's exactly what you're looking for. :-)

Bye,
Tassilo
-- 
My work on  free software is motivated by  an idealistic goal: spreading
freedom and  cooperation. I want  to encourage free software  to spread,
replacing proprietary  software that forbids cooperation,  and thus make
our society better. (Richard M. Stallman)

  reply	other threads:[~2007-08-16 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-16 17:52 Frames: selectively enabling GUI Joel J. Adamson
2007-08-16 19:33 ` Tassilo Horn [this message]
2007-08-16 20:15 ` Daniel Jensen
2007-08-16 21:30   ` Frames: selectively enabling GUI [SOLVED!] Joel J. Adamson
2007-08-17  7:19 ` Frames: selectively enabling GUI Emilio Lopes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mywrw9y7.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.