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

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

Re: emacs + maximum window size / maximum frame size + default home dir


From: rkv
Subject: Re: emacs + maximum window size / maximum frame size + default home dir
Date: Thu, 7 Apr 2011 22:32:29 -0700 (PDT)

and also this for maximzed window

(defun toggle-fullscreen ()
  (interactive)
  (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
                         '(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
  (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
                         '(2 "_NET_WM_STATE_MAXIMIZED_HORZ" 0))
)
(toggle-fullscreen)


rkv wrote:
> 
> I got the solution .. 
> 
> below is the statements i added to .emacs in my home dir which worked for
> me..
> 
> 
> (custom-set-variables
>   ;; custom-set-variables was added by Custom.
>   ;; If you edit it by hand, you could mess it up, so be careful.
>   ;; Your init file should contain only one such instance.
>   ;; If there is more than one, they won't work right.
>  '(inhibit-startup-screen nil)
>  '(initial-buffer-choice "~/projects/DHMMarvell/Software/SW"))
> (custom-set-faces
>   ;; custom-set-faces was added by Custom.
>   ;; If you edit it by hand, you could mess it up, so be careful.
>   ;; Your init file should contain only one such instance.
>   ;; If there is more than one, they won't work right.
>  )
> 
> 
> 
> 
> rkv wrote:
>> 
>> Hello all,
>> 
>> i would like to set the maximum window size by default in my emacs init
>> file .
>> 
>> As of now from X windows when ever i open i have to do the alt+space+X to
>> maximize the window.
>> 
>> And also i would like to put my defualt dir from the home dir to some
>> other path in the .init file .
>> 
>> As of now it is the /home/<user>/ dir where again i have to navigate or
>> give whole path in c-x c-f .
>> 
>> if any body can help it would save lot of time for me.
>> 
>> regards
>> rkv
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/emacs-%2B-maximum-window-size---maximum-frame-size-%2B-default-home-dir-tp31348766p31348811.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




reply via email to

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