* default fullscreen mode
@ 2008-03-12 19:14 Geoffrey Smith
2008-03-13 13:53 ` Joel J. Adamson
0 siblings, 1 reply; 3+ messages in thread
From: Geoffrey Smith @ 2008-03-12 19:14 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I am using Emacs 22.1.1 on x86_64-suse-linux-gnu. I typically start Emacs using the "emacs" command on the command line. I would like Emacs to default to fullscreen mode each time I start a new session. I see that I could use the -fs option each time I start Emacs. Is there any way to make -fs the default? 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"?
Thank you.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: default fullscreen mode
2008-03-12 19:14 default fullscreen mode Geoffrey Smith
@ 2008-03-13 13:53 ` Joel J. Adamson
0 siblings, 0 replies; 3+ messages in thread
From: Joel J. Adamson @ 2008-03-13 13:53 UTC (permalink / raw)
To: Geoffrey Smith; +Cc: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: default fullscreen mode
[not found] <mailman.8808.1205370794.18990.help-gnu-emacs@gnu.org>
@ 2008-03-13 17:52 ` Wang xiangdong
0 siblings, 0 replies; 3+ messages in thread
From: Wang xiangdong @ 2008-03-13 17:52 UTC (permalink / raw)
To: help-gnu-emacs
alias emacs='emacs -fs'
Geoffrey Smith <gpsmith@uiuc.edu> writes:
> Hello,
>
> I am using Emacs 22.1.1 on x86_64-suse-linux-gnu. I typically start Emacs using the "emacs" command on the command line. I would like Emacs to default to fullscreen mode each time I start a new session. I see that I could use the -fs option each tim\x04e I start Emacs. Is there any way to make -fs the default? 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"?
>
> Thank you.
>
>
--
Every man is the master of his own fortune.
http://www.google.com
-- Wang xiangdong
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-13 17:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-12 19:14 default fullscreen mode Geoffrey Smith
2008-03-13 13:53 ` Joel J. Adamson
[not found] <mailman.8808.1205370794.18990.help-gnu-emacs@gnu.org>
2008-03-13 17:52 ` Wang xiangdong
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.