* Is it possible to start emacs w/o a split frame ?
@ 2019-02-20 17:10 jonetsu
2019-02-20 17:34 ` tomas
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: jonetsu @ 2019-02-20 17:10 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
Subject line says it all. emacs starts with its frame split
horizontally in two as on the top is the file being opened while the
bottom part being about Gnu. Is it possible to start emacs with just
one frame, the file to edit ?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is it possible to start emacs w/o a split frame ?
2019-02-20 17:10 Is it possible to start emacs w/o a split frame ? jonetsu
@ 2019-02-20 17:34 ` tomas
2019-02-20 17:52 ` jonetsu
2019-02-20 17:44 ` Nick Dokos
2019-02-20 20:43 ` Emanuel Berg
2 siblings, 1 reply; 7+ messages in thread
From: tomas @ 2019-02-20 17:34 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
On Wed, Feb 20, 2019 at 12:10:53PM -0500, jonetsu wrote:
> Hello,
>
> Subject line says it all. emacs starts with its frame split
> horizontally in two as on the top is the file being opened while the
> bottom part being about Gnu. Is it possible to start emacs with just
> one frame, the file to edit ?
(setq inhibit-splash-screen t)
in your init file (~/.emacs.d/init.el or wherever it lives). You can
find out where yours is by querying the variable "user-init-file",
e.g. C-h v user-init-file
Cheers
-- tomás
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is it possible to start emacs w/o a split frame ?
2019-02-20 17:10 Is it possible to start emacs w/o a split frame ? jonetsu
2019-02-20 17:34 ` tomas
@ 2019-02-20 17:44 ` Nick Dokos
2019-02-20 17:55 ` jonetsu
2019-02-20 20:43 ` Emanuel Berg
2 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2019-02-20 17:44 UTC (permalink / raw)
To: help-gnu-emacs
jonetsu <jonetsu@teksavvy.com> writes:
> Subject line says it all. emacs starts with its frame split
> horizontally in two as on the top is the file being opened while the
> bottom part being about Gnu. Is it possible to start emacs with just
> one frame, the file to edit ?
C-h v inhibit-splash-screen RET
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is it possible to start emacs w/o a split frame ?
2019-02-20 17:34 ` tomas
@ 2019-02-20 17:52 ` jonetsu
2019-02-20 18:10 ` Jude DaShiell
0 siblings, 1 reply; 7+ messages in thread
From: jonetsu @ 2019-02-20 17:52 UTC (permalink / raw)
To: help-gnu-emacs
On Wed, 20 Feb 2019 18:34:00 +0100
<tomas@tuxteam.de> wrote:
> (setq inhibit-splash-screen t)
Thanks !
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is it possible to start emacs w/o a split frame ?
2019-02-20 17:44 ` Nick Dokos
@ 2019-02-20 17:55 ` jonetsu
0 siblings, 0 replies; 7+ messages in thread
From: jonetsu @ 2019-02-20 17:55 UTC (permalink / raw)
To: help-gnu-emacs
On Wed, 20 Feb 2019 12:44:00 -0500
Nick Dokos <ndokos@gmail.com> wrote:
> C-h v inhibit-splash-screen RET
Thanks also about the reminder !
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is it possible to start emacs w/o a split frame ?
2019-02-20 17:52 ` jonetsu
@ 2019-02-20 18:10 ` Jude DaShiell
0 siblings, 0 replies; 7+ messages in thread
From: Jude DaShiell @ 2019-02-20 18:10 UTC (permalink / raw)
To: jonetsu, help-gnu-emacs
On Wed, 20 Feb 2019, jonetsu wrote:
> Date: Wed, 20 Feb 2019 12:52:10
> From: jonetsu <jonetsu@teksavvy.com>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Is it possible to start emacs w/o a split frame ?
>
> On Wed, 20 Feb 2019 18:34:00 +0100
> <tomas@tuxteam.de> wrote:
>
> > (setq inhibit-splash-screen t)
>
> Thanks !
>
>
Script started on Wed 20 Feb 2019 01:08:38 PM EST
jude[~]$ cat .emacs
(require 'package)
(package-initialize)
(setq inhibit-splash-screen t)
;; Show keystrokes
(setq echo-keystrokes 0.02)
;; loose hourglass for text terminals without mouse
(setq display-hourglass nil)
(add-to-list 'package-archives '("marmalade" . "https://marmalade-repo.org/packages/"))
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
(require 'saveplace)
;; optional keyboard short-cut
(global-set-key "\C-xm" 'browse-url-at-point)
(setq fill-column 72)
(setq use-dialog-box nil)
(setq delete-old-versions t)
(add-hook 'message-mode-hook 'turn-on-orgtbl)
(setq org-table-use-standard-references t)
(setq-default display-line-numbers 'relative)
jude[~]$ emacs --version
GNU Emacs 25.3.1
Copyright (C) 2017 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
jude[~]$ emacs .emacs
^[[?25h^[[?8c^[[H^[[J^[[56d^[[K^[[?25h^[[?0c^[[39;49m
^[[?25h^[[?8c^[[H^[[J^[[55d^[[?25l^[[?1c^[[7m-UUU:----F1 ^[[0m^[[39;49m^[[27m^[[7m^[[1m*scratch* ^[[0m^[[39;49m^[[27m^[[7m All L1 (Lisp Interaction) ----------------------------------------------------------------------------------------------------------------------------------------------^[[0m^[[39;49m^[[27m
^[[A^[[2d^[[?25h^[[?0c^[[?25h^[[?8c^[[56d^[[?25l^[[?1cFor information about GNU Emacs and the GNU system, type C-h C-a.^[[K^[[H^[[7mFile Edit Options Buffers Tools Emacs-Lisp Help ^[[0m^[[39;49m^[[27m
^[[A
(^[[1m^[[36mrequire^[[0m^[[39;49m '^[[35mpackage^[[39;49m)^[[K
(package-initialize)^[[K
(^[[1m^[[36msetq^[[0m^[[39;49m inhibit-splash-screen t)^[[K
^[[33m;; Show keystrokes ^[[39;49m
^[[A
(^[[1m^[[36msetq^[[0m^[[39;49m echo-keystrokes 0.02)^[[K
^[[33m;; loose hourglass for text terminals without mouse ^[[39;49m
^[[A
(^[[1m^[[36msetq^[[0m^[[39;49m display-hourglass nil)^[[K
(add-to-list 'package-archives '(^[[32m"marmalade"^[[39;49m . ^[[32m"https://marmalade-repo.org/packages/"^[[39;49m))^[[K
(add-to-list 'package-archives '(^[[32m"melpa"^[[39;49m . ^[[32m"http://melpa.milkbox.net/packages/"^[[39;49m) t)^[[K
(^[[1m^[[36mrequire^[[0m^[[39;49m '^[[35msaveplace^[[39;49m)^[[K
^[[33m;; optional keyboard short-cut ^[[39;49m
^[[A
(global-set-key ^[[32m"\C-xm"^[[39;49m 'browse-url-at-point)^[[K
(^[[1m^[[36msetq^[[0m^[[39;49m fill-column 72)^[[K
(^[[1m^[[36msetq^[[0m^[[39;49m use-dialog-box nil)^[[K
(^[[1m^[[36msetq^[[0m^[[39;49m delete-old-versions t)^[[K
(add-hook 'message-mode-hook 'turn-on-orgtbl)^[[K
(^[[1m^[[36msetq^[[0m^[[39;49m org-table-use-standard-references t)^[[K
(^[[1m^[[36msetq-default^[[0m^[[39;49m display-line-numbers 'relative)^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[K
^[[7m-UU-:----F1 ^[[0m^[[39;49m^[[27m^[[7m^[[1m.emacs ^[[0m^[[39;49m^[[27m^[[7m All L1 (Emacs-Lisp) ----------------------------------------------------------------------------------------------------------------------------------------------------^[[0m^[[39;49m^[[27m
^[[A^[[2d^[[?25h^[[?0c^[[?25h^[[?8c^[[56d^[[K^[[2d^[[56d^[[?25l^[[?1cC-x^[[H
^[[?25h^[[?0c^[[?25h^[[?8c^[[56;4H^[[?25l^[[?1c-^[[H
^[[?25h^[[?0c^[[?25h^[[?8c^[[56;4H^[[?25l^[[?1c C-c^[[H
^[[?25h^[[?0c^[[?25h^[[?8c^[[56d^[[K^[[2d^[[56d^[[K^[[?25h^[[?0c^[[39;49mjude[~]$ exit
exit
Script done on Wed 20 Feb 2019 01:09:22 PM EST
--
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is it possible to start emacs w/o a split frame ?
2019-02-20 17:10 Is it possible to start emacs w/o a split frame ? jonetsu
2019-02-20 17:34 ` tomas
2019-02-20 17:44 ` Nick Dokos
@ 2019-02-20 20:43 ` Emanuel Berg
2 siblings, 0 replies; 7+ messages in thread
From: Emanuel Berg @ 2019-02-20 20:43 UTC (permalink / raw)
To: help-gnu-emacs
jonetsu wrote:
> Subject line says it all. emacs starts with
> its frame split horizontally in two as on the
> top is the file being opened while the bottom
> part being about Gnu. Is it possible to start
> emacs with just one frame, the file to edit ?
Of course you can make Emacs start in any way
you want!
*In general*, do it like this:
1) Start Emacs the regular way
2) Set Emacs up the way you want, and remember
the commands. Then put those commands in
your init files, as Elisp code.
*Specifically*, find out what options to set.
Those two methods can be combined to do exactly
what you want.
For example, I have:
;; no fanfare / init
(setq inhibit-startup-screen t)
(setq inhibit-startup-echo-area-message "incal")
(setq byte-compile-verbose nil)
;; scratch buffer
(setq initial-scratch-message nil)
(kill-buffer "*scratch*")
;; starting point
(call-interactively #'w3m)
(cd "~/")
N.B. Change "incal", of course.
--
underground experts united
http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-02-20 20:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-20 17:10 Is it possible to start emacs w/o a split frame ? jonetsu
2019-02-20 17:34 ` tomas
2019-02-20 17:52 ` jonetsu
2019-02-20 18:10 ` Jude DaShiell
2019-02-20 17:44 ` Nick Dokos
2019-02-20 17:55 ` jonetsu
2019-02-20 20:43 ` Emanuel Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).