Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-09-2009, 02:14 AM   #1
Registered: Oct 2004
Location: Cheshire, England
Distribution: Debian Stable
Posts: 269

Rep: Reputation: 39
emacs just beeps at startup screen

I've installed Intrepid and used Synaptic to install emacs22-gtk, the problem is when I boot Emacs the initail screen is 'frozen', if I press a key it just beeps at me and if I click on the screen it displays a letter!

I can kill the buffer and it then drops me into the normal screen which seems to work fine.

My .emacs file (I copied from someone else) :-

(setq default-frame-alist (append (list
'(width . 120) ; Width set to 81 characters
'(height . 65)) ; Height set to 60 lines
default-frame-alist)) (fmakunbound 'c-mode)
(makunbound 'c-mode-map)
(fmakunbound 'c++-mode)
(makunbound 'c++-mode-map)
(makunbound 'c-style-alist)

(autoload 'c++-mode "cc-mode" "C++ Editing Mode" t)

(set-face-background 'region "green") ; Set region background color
(set-background-color "black") ; Set emacs bg color
(global-font-lock-mode 1)
(setq font-lock-maximum-decoration t)

; Make Emacs use "newline-and-indent" when you hit the Enter key so
; that you don't need to keep using TAB to align yourself when coding.
(global-set-key "\C-m" 'newline-and-indent)

(global-set-key [f1] 'copy-region-as-kill) ; copy
(global-set-key [f2] 'kill-region) ; Cut
(global-set-key [f3] 'yank) ; Paste

(global-set-key [f5] 'compile)
(global-set-key [f6] 'buffer-menu)
(global-set-key [f7] 'dired-other-window)

(global-set-key [f12] 'shell)

(require 'paren) (show-paren-mode t)

(global-set-key [f8] 'auto-fill-mode)

(load "cc-mode")
(require 'cc-mode)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a tip from screen (and maybe emacs) gurus kloss Linux - General 2 09-26-2006 12:05 PM
my emacs startup is slow yumener Linux - Software 0 04-17-2006 04:58 AM
Emacs, slow startup Slackware 12 07-20-2005 12:49 AM
Beeps during Startup bluefire114 Linux - Laptop and Netbook 2 01-25-2005 02:27 AM
'Screen' ignores bash/emacs prefs! Why? stutterbug Red Hat 0 01-20-2005 06:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration