[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

emacs-20.3



Hi,
   I am having a bit of a problem with emacs ... I cannot get it to
'set-fill-column ' .. Each time I 'M-x set-fill-column ' it does not allow
me a space to specify the colum width. If I try using 'cntrl-f ' it
returns the same error message 'set-fill-column requires an argument'

	Please does anyone know what I am doing wrong? .... I am attaching
a copy of my .emacs just in case there is something amiss there 


	Regards

--
Jonathan Lawson 
Thermal Processes Unit 
Department of Applied Energy and Optical Diagnostics 
School of Mechanical Engineering, 
Cranfield  University, 
Cranfield, Bedford. UK.  
email j.lawson@cranfield.ac.uk


					'They came forth from unholy darknesses ...
					 and were driven back by the rage of Angels'
(defun linux-c-mode ()
  "C mode with adjusted defaults for use with the Linux kernel."
  (interactive)
  (c-mode)
  (c-set-style "K&R")
  (setq c-basic-offset 8))

(setq auto-mode-alist (cons '("/usr/src/linux.*/.*\\.[ch]$" . linux-c-mode)
			    auto-mode-alist))
(setq auto-mode-alist (cons '(".*\\.[ch]$" . linux-c-mode)
			    auto-mode-alist))

(require 'paren)

(condition-case ()
    (quietly-read-abbrev-file)
  (file-error nil))

(add-hook 'XXX-mode-hook
	  (function
	   (lambda ()
	     (setq abbrev-mode t))))

(set-fill-column 133)
(add-hook 'text-mode-hook 'turn-on-auto-fill)


(transient-mark-mode t)

(setq-default auto-fill-hook 'do-auto-fill)

(setq visible-bell t)


(setq font-lock-maximum-decoration t)
(global-font-lock-mode t)












Reply to: