* startup issue @ 2010-08-11 19:01 Mitul Saha 2010-08-11 22:16 ` Erik Iverson ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: Mitul Saha @ 2010-08-11 19:01 UTC (permalink / raw) To: help-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 277 bytes --] Hello, When I start emacs with a file, the window is automatically split horizontally into two from the beginning. How do I remove this setting (that is, no initial splitting by default)? I am using GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0). Thanks, Mitul [-- Attachment #2: Type: text/html, Size: 317 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: startup issue 2010-08-11 19:01 startup issue Mitul Saha @ 2010-08-11 22:16 ` Erik Iverson 2010-08-11 22:22 ` Mitul Saha [not found] ` <mailman.4.1281565360.17272.help-gnu-emacs@gnu.org> 2010-08-12 2:21 ` Bob Proulx [not found] ` <mailman.4.1281579706.22719.help-gnu-emacs@gnu.org> 2 siblings, 2 replies; 8+ messages in thread From: Erik Iverson @ 2010-08-11 22:16 UTC (permalink / raw) To: Mitul Saha; +Cc: help-gnu-emacs Please give more information, what are the contents of the two windows? Do you have an emacs init file (.emacs) ? Mitul Saha wrote: > Hello, > > When I start emacs with a file, the window is automatically split > horizontally into two > from the beginning. How do I remove this setting (that is, no initial > splitting by default)? > > I am using GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0). > > Thanks, > Mitul > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: startup issue 2010-08-11 22:16 ` Erik Iverson @ 2010-08-11 22:22 ` Mitul Saha 2010-08-11 23:23 ` Erik Iverson [not found] ` <mailman.4.1281565360.17272.help-gnu-emacs@gnu.org> 1 sibling, 1 reply; 8+ messages in thread From: Mitul Saha @ 2010-08-11 22:22 UTC (permalink / raw) To: Erik Iverson; +Cc: help-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 1382 bytes --] Thanks Erik. From my Ubuntu OS, When i start like: "emacs file.txt &", in the first window i see the contents of the file "file.txt". In the second split window, below the first, I see Information about "GNU Emacs". Like: "Welcome to GNU Emacs...". Here are the contents of the ~/.emacs file: (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. ) (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. ) Let me know if you have more questions. Thanks! Mitul On Wed, Aug 11, 2010 at 5:16 PM, Erik Iverson <eriki@ccbr.umn.edu> wrote: > Please give more information, what are the contents of the two windows? > Do you have an emacs init file (.emacs) ? > > > Mitul Saha wrote: > >> Hello, >> >> When I start emacs with a file, the window is automatically split >> horizontally into two >> from the beginning. How do I remove this setting (that is, no initial >> splitting by default)? >> >> I am using GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0). >> >> Thanks, >> Mitul >> >> >> [-- Attachment #2: Type: text/html, Size: 1986 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: startup issue 2010-08-11 22:22 ` Mitul Saha @ 2010-08-11 23:23 ` Erik Iverson 2010-08-12 0:13 ` Mitul Saha 0 siblings, 1 reply; 8+ messages in thread From: Erik Iverson @ 2010-08-11 23:23 UTC (permalink / raw) To: Mitul Saha; +Cc: help-gnu-emacs On 08/11/2010 05:22 PM, Mitul Saha wrote: > Thanks Erik. > > From my Ubuntu OS, When i start like: "emacs file.txt &", > in the first window i see the contents of the file "file.txt". > In the second split window, below the first, I see Information about > "GNU Emacs". > Like: "Welcome to GNU Emacs...". > > Here are the contents of the ~/.emacs file: > (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. > ) > (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. > ) > Try adding (setq inhibit-startup-screen t) to your .emacs. Or, start emacs with the --no-splash option. > Mitul Saha wrote: > > Hello, > > When I start emacs with a file, the window is automatically > split horizontally into two > from the beginning. How do I remove this setting (that is, no > initial splitting by default)? > > I am using GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version > 2.20.0). > > Thanks, > Mitul > > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: startup issue 2010-08-11 23:23 ` Erik Iverson @ 2010-08-12 0:13 ` Mitul Saha 0 siblings, 0 replies; 8+ messages in thread From: Mitul Saha @ 2010-08-12 0:13 UTC (permalink / raw) To: Erik Iverson; +Cc: help-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 1554 bytes --] Thanks a lot Erik! That worked! Mitul On Wed, Aug 11, 2010 at 6:23 PM, Erik Iverson <eriki@ccbr.umn.edu> wrote: > On 08/11/2010 05:22 PM, Mitul Saha wrote: > >> Thanks Erik. >> >> From my Ubuntu OS, When i start like: "emacs file.txt &", >> in the first window i see the contents of the file "file.txt". >> In the second split window, below the first, I see Information about >> "GNU Emacs". >> Like: "Welcome to GNU Emacs...". >> >> Here are the contents of the ~/.emacs file: >> (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. >> ) >> (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. >> ) >> >> > Try adding > > (setq inhibit-startup-screen t) > > to your .emacs. > > Or, start emacs with the --no-splash option. > > > Mitul Saha wrote: >> >> Hello, >> >> When I start emacs with a file, the window is automatically >> split horizontally into two >> from the beginning. How do I remove this setting (that is, no >> initial splitting by default)? >> >> I am using GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version >> 2.20.0). >> >> Thanks, >> Mitul >> >> >> >> > [-- Attachment #2: Type: text/html, Size: 2363 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.4.1281565360.17272.help-gnu-emacs@gnu.org>]
* Re: startup issue [not found] ` <mailman.4.1281565360.17272.help-gnu-emacs@gnu.org> @ 2010-08-12 0:01 ` Peter Axon 0 siblings, 0 replies; 8+ messages in thread From: Peter Axon @ 2010-08-12 0:01 UTC (permalink / raw) To: help-gnu-emacs Mitul Saha <mitul.saha@gmail.com> writes: > Thanks Erik. > > From my Ubuntu OS, When i start like: "emacs file.txt &", > in the first window i see the contents of the file "file.txt". > In the second split window, below the first, I see Information about "GNU > Emacs". > Like: "Welcome to GNU Emacs...". I think it could be this emacs splash screen that is the cause. Try adding the following line to your ~/.emacs and restarting emacs. ;; don't show splash screen (setq inhibit-splash-screen t) -- Peter ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: startup issue 2010-08-11 19:01 startup issue Mitul Saha 2010-08-11 22:16 ` Erik Iverson @ 2010-08-12 2:21 ` Bob Proulx [not found] ` <mailman.4.1281579706.22719.help-gnu-emacs@gnu.org> 2 siblings, 0 replies; 8+ messages in thread From: Bob Proulx @ 2010-08-12 2:21 UTC (permalink / raw) To: Mitul Saha; +Cc: help-gnu-emacs Mitul Saha wrote: > When I start emacs with a file, the window is automatically split > horizontally into two from the beginning. How do I remove this > setting (that is, no initial splitting by default)? To prevent this I have the following in my .emacs file. (if (>= emacs-major-version 22) (setq inhibit-startup-screen t)) If someone on the list has a solution that only does that if there are files on the command line that would be preferable to me. Bob ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.4.1281579706.22719.help-gnu-emacs@gnu.org>]
* Re: startup issue [not found] ` <mailman.4.1281579706.22719.help-gnu-emacs@gnu.org> @ 2010-08-12 20:52 ` Will Parsons 0 siblings, 0 replies; 8+ messages in thread From: Will Parsons @ 2010-08-12 20:52 UTC (permalink / raw) To: help-gnu-emacs Bob Proulx wrote: > Mitul Saha wrote: >> When I start emacs with a file, the window is automatically split >> horizontally into two from the beginning. How do I remove this >> setting (that is, no initial splitting by default)? > > To prevent this I have the following in my .emacs file. > > (if (>= emacs-major-version 22) > (setq inhibit-startup-screen t)) > > If someone on the list has a solution that only does that if there are > files on the command line that would be preferable to me. I have: (when (> (length command-line-args) 1) (setq inhibit-splash-screen t)) -- Will ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-08-12 20:52 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-08-11 19:01 startup issue Mitul Saha 2010-08-11 22:16 ` Erik Iverson 2010-08-11 22:22 ` Mitul Saha 2010-08-11 23:23 ` Erik Iverson 2010-08-12 0:13 ` Mitul Saha [not found] ` <mailman.4.1281565360.17272.help-gnu-emacs@gnu.org> 2010-08-12 0:01 ` Peter Axon 2010-08-12 2:21 ` Bob Proulx [not found] ` <mailman.4.1281579706.22719.help-gnu-emacs@gnu.org> 2010-08-12 20:52 ` Will Parsons
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.