help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default fullscreen mode


From: Joel J. Adamson
Subject: Re: default fullscreen mode
Date: Thu, 13 Mar 2008 09:53:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Geoffrey Smith <gpsmith@uiuc.edu> writes:

> Is there any way to make -fs the default? 

There are several ways:

Here's my toggle-fullscreen function (from Emacswiki):

;Full screen toggle
;courtesy of http://www.emacswiki.org/cgi-bin/wiki/FullScreen
(defun toggle-fullscreen ()
  "Toggle between fullscreen and partial screen display on X11;
courtesy of http://www.emacswiki.org/cgi-bin/wiki/FullScreen";
  (interactive)
  (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
                         '(2 "_NET_WM_STATE_FULLSCREEN" 0)))

Put that in your .emacs and call it at the end.                         

> Alternatively, is there any way to reassign the "emacs -fs" command so
> that all I have to type in is "emacs" instead of "emacs -fs"?

Use a shell alias

alias emacs='emacs -fs'

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]