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

learn more… | top users | synonyms

1
vote
1answer
82 views

Do I have to restart my server every time I clear my nginx log file?

On nginx: if I open the error log, select all (in emacs) and cut, save, php errors stop logging to that file completely. If I restart nginx, they begin logging again. If I delete the files ...
2
votes
3answers
208 views

How do I find this string?

I'm trying to match these file names with the find command: 4702011-10-21CR719557-R85262-ALPHA.jar 4702011-10-21CR719557-R85262-BETA.jar I'm reasonable familiar with Java-Perl regex syntax. ...
2
votes
3answers
2k views

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?
1
vote
4answers
692 views

How to set up “vi” shell environment as default

It could by silly question, but I can not find answer anywhere. So, I'd like to use vi (you know set -o vi can do the trick) as default in my shell instead of emacs, but I do not want to put it into ...
0
votes
1answer
119 views

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 ...
2
votes
3answers
290 views

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 ...
0
votes
2answers
691 views

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 ...
10
votes
3answers
3k views

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 ...
2
votes
2answers
3k views

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 ...
6
votes
6answers
581 views

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 ...
1
vote
4answers
809 views

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 ...
-1
votes
1answer
981 views

Emacs/tramp: sudo to root on localhost hangs after asking for password

Can't use the su method, since I don't really want to veer from the Ubuntu default too much. ssh is right out (for localhost? I ask you!). It shows a "Waiting for prompts from remote shell". And ...
1
vote
1answer
1k views

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: ...
1
vote
1answer
855 views

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 ...
1
vote
1answer
130 views

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 ...