* Re: full screen problems
2010-12-18 21:31 full screen problems Andrea Crotti
@ 2010-12-18 4:11 ` Glauber Alex Dias Prado
2010-12-20 13:05 ` Andrea Crotti
[not found] ` <mailman.7.1292736657.4786.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 4+ messages in thread
From: Glauber Alex Dias Prado @ 2010-12-18 4:11 UTC (permalink / raw)
To: Andrea Crotti; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* full screen problems
@ 2010-12-18 21:31 Andrea Crotti
2010-12-18 4:11 ` Glauber Alex Dias Prado
[not found] ` <mailman.7.1292736657.4786.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Andrea Crotti @ 2010-12-18 21:31 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: full screen problems
[not found] ` <mailman.7.1292736657.4786.help-gnu-emacs@gnu.org>
@ 2010-12-19 6:25 ` Pascal J. Bourguignon
0 siblings, 0 replies; 4+ messages in thread
From: Pascal J. Bourguignon @ 2010-12-19 6:25 UTC (permalink / raw)
To: help-gnu-emacs
Glauber Alex Dias Prado <smade4@gmail.com> writes:
> you could try maxframe.el:
> http://www.emacswiki.org/emacs/FullScreen#toc9
>
> very usefull for font resizing when maximized
I should mention that I updated my own full-frame command to add a 1/3
horizontal splitting, since for 1920x1080 screens, it's better than 1/2.
http://git.informatimago.com/viewgit/index.php?a=viewblob&p=public/emacs&h=0bbe15dd1bca0dc82062f21058c77c5fc7c457e7&hb=e57067965e5def38d5fa18dab0aa75cff3d049b9&f=pjb-emacs.el
http://www.informatimago.com/develop/emacs/index.html
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: full screen problems
2010-12-18 4:11 ` Glauber Alex Dias Prado
@ 2010-12-20 13:05 ` Andrea Crotti
0 siblings, 0 replies; 4+ messages in thread
From: Andrea Crotti @ 2010-12-20 13:05 UTC (permalink / raw)
To: help-gnu-emacs
Glauber Alex Dias Prado <smade4@gmail.com> writes:
> you could try maxframe.el:
> http://www.emacswiki.org/emacs/FullScreen#toc9
>
> very usefull for font resizing when maximized
I tried the maxframe from
https://github.com/rmm5t/maxframe.el
and actually on OSX the minibuffer gets way too big, and adding the hook
suggested on that page doesn't work as expected.
The frame is not maximized after creation...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-20 13:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-18 21:31 full screen problems Andrea Crotti
2010-12-18 4:11 ` Glauber Alex Dias Prado
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
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.