The Computer Oracle

Ubuntu: Keep emacs in the terminal

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Civilization

--

Chapters
00:00 Ubuntu: Keep Emacs In The Terminal
00:20 Accepted Answer Score 47
00:39 Answer 2 Score 6
00:52 Answer 3 Score 4
01:36 Thank you

--

Full question
https://superuser.com/questions/203298/u...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#ubuntu #emacs

#avk47



ACCEPTED ANSWER

Score 47


Start it with:

emacs -nw

If you're using bash you can set an alias by adding to your ~/.bashrc:

alias emacs='emacs -nw'



ANSWER 2

Score 6


What about installing the no X window system version:

apt-get install emacs-snapshot-nox



ANSWER 3

Score 4


There's another solution to "make emacs open files quickly" - just start emacs with

emacs -f server-start

and then open every file with

emacsclient -n <file>

If you have emacs client running - this command opens text file in a moment!

To make this solution more usable you can

  1. make emacs server starting at start-up
  2. put alias ec='emacsclient -n' in ~/.bashrc
  3. If you use Krusader - you can set there emacsclient -n as a default notepad - so it opens a file with F4.