Questions tagged [emacs]

GNU Emacs is an extensible, customizable text editor written primarily in Emacs Lisp.

GNU Emacs is an extensible, customizable text editor. Begun in the mid-1970s as TECO, it was re-written using C and Emacs Lisp to provide portability and an extendable interface. It continues to be actively developed today.

Emacs provides context-sensitive editing modes with syntax coloring, is self documenting, has full Unicode support and extensions to do most anything. Die-hard Emacs users do most everything from within Emacs: write, compile, run and debug code; read/compose email; browse the web; do project planning etc.

Useful Links

Wisdom from the stack

16 questions
16
votes
4 answers

How to check if Emacs is in GUI mode (and execute `tool-bar-mode` only then)?

I have this line in my .emacs file: (tool-bar-mode 0) because I hate the toolbars in my GUI emacs (/Applications/Emacs.app/Contents/MacOS/Emacs). But when I start up my other, text-based emacs in the terminal (/opt/local/bin/emacs) it complains…
user9474
  • 2,368
  • 2
  • 24
  • 26
6
votes
6 answers

emacs for sys admins

Are you a sys admin that uses emacs? What tools/plugins do you find essential? In my organization the programmers tend to use emacs whereas the sys admins gravitate towards vim. Since we have 4:1 programmers:sys admins, the global emacs config has…
mbac32768
  • 848
  • 1
  • 7
  • 13
5
votes
1 answer

Problem with Ctrl tab keybinding in Emacs in gnome-terminal

I want to be able to flip back and forwards between two buffers in Emacs in the same way I can flip between tabs in some other editors. The following Ctrl + TAB key binding works nicely in XEmacs: (defun buffer-shimmy () "Back to the previous…
Tom
  • 4,157
  • 11
  • 41
  • 52
3
votes
2 answers

How to set PATH variable on Mac OS so that even non-terminal apps see it?

I need to add a directory to my PATH variable on Mac OS. I added it in .bash_profile and .profile, and that works for the terminal. But Emacs (http://emacsformacosx.com) still does not use the new PATH variable. (I'm trying to run latex from emacs,…
user9474
  • 2,368
  • 2
  • 24
  • 26
3
votes
5 answers

What is the best way to run emacs under Windows?

I tried using the GNU Emacs download, unzipped it and then clicked on emacs.exe, but got some obscure error. Then I tried Cygwin emacs, but when I press ctrl x ctrl c to quit emacs it thinks I pressed ctrl x ctrl "g"!!! I checked all the key…
yazz.com
  • 6,743
  • 14
  • 37
  • 38
2
votes
3 answers

Where is the yum repository for emacs 23 for CentOS 5.5?

I want to update my emacs on CentOS 5.5 to 23 but I can't find any rpms or yum repos that have it?
user35861
2
votes
3 answers

Building Emacs.app (OS X) – make bootstrap or not?

BACKGROUND: I've downloaded Emacs from Github's Emacs mirror (commit f92c4be63204ed0bd914). Using Mac OS X 10.6.4, I'm now about to compile and install Emacs.app. MY QUESTION: The nextstep/INSTALLATION doc states nothing about make boostrap.…
Henrik
  • 167
  • 1
  • 1
  • 7
1
vote
1 answer

Why does Tramp hang when sending Perl scripts to the remote host?

I know that this is not directly programming related, but I'm stumped, and since Emacs is my main programming tool... I am trying to set up Tramp to connect to my testing host. I'm invoking it either using /ssh:host:.bashrc or /scp:host:.bashrc but…
Chris R
  • 523
  • 1
  • 5
  • 20
1
vote
1 answer

Unable to have a Vim-like keybinding in Emacs

I want to replace the command for moving between windows in Emacs to Ctrl-t The command in pseudo-code (global-set-key "\C-moveBetweenWindows" 'C-t) How can you remap the command for moving between windows in Emacs?
1
vote
0 answers

ssh directly into a specific node on a cluster, without first ssh into login node?

I usually log on to a cluster, start a slurm interactive job, then I am able to ssh into specific running nodes. My questions is, is it generally possible to ssh into a specific node from my local machine, without first ssh-ing into a login node? I…
georg
  • 111
  • 2
0
votes
1 answer

Installing emacs on debian stable stretch

I have a user who needs emacs (emacs-x11, preferred) on Debian stable. I found the following https://www.emacswiki.org/emacs/EmacsSnapshotAndDebian which mentions to "packages built directly from Emacs git master here: http://emacs.ganneff.de/" -…
0
votes
1 answer

Shorten Emacs timeout of ~/.emacs read

My ~/.emacs start-up file is stored in my AFS home directory. Often when I login to a linux machine I will forget to renew my AFS credentials before attempting to edit a local (non-AFS) file with Emacs. When this happens Emacs will attempt to load…
user35042
  • 2,601
  • 10
  • 32
  • 57
0
votes
2 answers

Unable to understand a stty option for Emacs in OS/X

Steve recommends to run the following code before you start your Emacs stty erase ^\? I get after running it stty: illegal option -- Backups usage: stty [-a|-e|-g] [-f file] [options] Steve's blog post Note that the ^\? - - dorks the Delete key…
0
votes
2 answers

Vim: How can I :cd to an sftp directory?

I'm currently an emacs user, but thought I would come back and take another look at Vim for fun. My client machine is Ubuntu, and I frequently work on other ubuntu servers within my network, emacs and tramp is really nice in this regard, I can just…
ChrisInCambo
  • 1,691
  • 3
  • 15
  • 12
0
votes
0 answers

emacs on Vmware Esxi

how can I install a static version of emacs (without GUI) on Vmware Esxi ? In the same spirit that this question shows how to install rsync !
MichaelC
  • 341
  • 2
  • 4
1
2