From: Glauber Alex Dias Prado <smade4@gmail.com>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: full screen problems
Date: Sat, 18 Dec 2010 02:11:49 -0200 [thread overview]
Message-ID: <8762urg1oa.fsf@gmail.com> (raw)
In-Reply-To: <m1wrn6ix90.fsf@ip1-201.halifax.rwth-aachen.de> (Andrea Crotti's message of "Sat, 18 Dec 2010 22:31:23 +0100")
Andrea Crotti <andrea.crotti.0@gmail.com> writes:
> I use the following to enable full screen mode
>
> (defun full (&optional f)
> (interactive)
> (if
> mac
> ;; included in emacs 23.2
> (ns-toggle-fullscreen)
> (set-frame-parameter f 'fullscreen
> (if (frame-parameter f 'fullscreen) nil 'fullboth))))
>
> ;; this toogle the fullscreen for every new frame (window) created
> (add-hook 'after-make-frame-functions 'full)
>
> on "GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29)
> of 2010-05-09 on linc"
>
> Now there are two problems:
> 1. I just want to enable it not toggle, but that function only support
> toggling apparently, and I don't see a variable to check if I'm
> already in full screen
>
> 2. 'full called from the hook doesn't work well, since the minibuffer
> goes out of the screen, somehow everything is "pushed" down
>
>
> Trying with "emacs -Q" very strangely the hook doesn't work at all, but
> if I call 'full manually it works correctly...
> Any suggestions?
> Thanks,
> Andrea
you could try maxframe.el:
http://www.emacswiki.org/emacs/FullScreen#toc9
very usefull for font resizing when maximized
next prev parent reply other threads:[~2010-12-18 4:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-18 21:31 full screen problems Andrea Crotti
2010-12-18 4:11 ` Glauber Alex Dias Prado [this message]
2010-12-20 13:05 ` Andrea Crotti
[not found] ` <mailman.7.1292736657.4786.help-gnu-emacs@gnu.org>
2010-12-19 6:25 ` Pascal J. Bourguignon
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=8762urg1oa.fsf@gmail.com \
--to=smade4@gmail.com \
--cc=andrea.crotti.0@gmail.com \
--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.