Questions tagged [terminal-emacs]

Emacs can run entirely inside of a TTY terminal, by using the `-nw` flag at startup, or by compiling emacs with the `--without-x` flag.

259 questions
48
votes
4 answers

Restart emacs from within emacs

I restart my emacs a lot. All I want to do is create a function that kills the current emacs, only to spawn a new one in it's stead. Ideally, this would also work in a TTY.
PythonNut
  • 10,243
  • 2
  • 29
  • 75
41
votes
6 answers

Problems with keybindings when using terminal

I have the following line in init.el: (global-set-key [(control \;)] 'comment-region) It works very well in GUI window, but if emacs is invoked with the -nw option then C-; doesn't comment region, only inserts ; character. M-x comment-region RET…
23
votes
2 answers

How to use the menu bar in terminal emacs?

I am using emacs on the remote server, and I have no idea how to click on options in the menu bar across the top in this context. Here is a screen capture: For example, I want to click some options under "File" in the menu bar (on the top), how…
lllllllllllll
  • 579
  • 1
  • 4
  • 14
23
votes
2 answers

What was Emacs like back in the 80s?

I've looked all around for footage of ancient Emacs distributions, but to no avail. The source code for Emacs 16.56 from July 15, 1985 is available on Github, but under no circumstances could I manage to build it. The original Stallman Emacs paper…
Daniel
  • 3,563
  • 16
  • 41
22
votes
3 answers

emacs on terminal does not recognise option as alt-key on mac

I am on a mac and I am running emacs 24.4.1, but I have the same problem also with 22.1.1. When I open mac on a terminal on the remote host, it does not recognise option key (alt) like the meta key. I have modified the .emacs in the following…
simona
  • 403
  • 2
  • 4
  • 7
19
votes
1 answer

Different theme for -nw (terminal)

I am running emacs (24.5.1) on Mac osx and using the solarized theme. For the gui version, the theme works well. If I run the application with the -nw flag: /Applications/Emacs.app/Contents/MacOS/Emacs -nw the colors for the theme get all wonky. I…
djh
  • 325
  • 1
  • 2
  • 7
15
votes
3 answers

Shift+Up isn't recognized by Emacs in a terminal

Very often I use Shift+Up/Down to select a region in Emacs. It works fine in GUI mode, but when emacs is invoked with -nw option I can select lines only with Shift+Down. The Shift+Up doesn't work, I get this error message in the minibuffer: