unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs 24.0.94.1 slow to load on OS X
@ 2012-03-03 17:36 jreeseue
  2012-03-03 18:31 ` Christopher Schmidt
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: jreeseue @ 2012-03-03 17:36 UTC (permalink / raw)
  To: Help-gnu-emacs


Hello, I am running OS X 10.7.3 with Emacs 24.0.94.1 and am experiencing a
fairly long time for emacs to load. My .emacs file looks like

(push "/usr/local/Cellar/emacs/HEAD/share/emacs/24.0.94/lisp" load-path)


(add-hook 'c-mode-hook 'turn-on-font-lock)
(show-paren-mode)
(setq make-backup-files nil) ;; do not make backup files
;;keyboard navigation
(define-key global-map (kbd "RET") 'newline-and-indent)
(global-set-key "\C-n"(lambda () (interactive) (next-line 5)))
(global-set-key "\C-p" (lambda () (interactive) (next-line -5)))
(global-set-key "\C-u" (lambda () (interactive) (next-line -1)))
(global-set-key "\C-o" (lambda () (interactive) (next-line 1)))

(setq auto-mode-alist (cons '("\\.tex$" . latex-mode) auto-mode-alist))

(setq tex-mode-hook
      '(lambda ()(auto-fill-mode 1)))

(defun count-words-region (start end)
  (interactive "r")
  (save-excursion
    (let ((n 0))
      (goto-char start)
      (while (< (point) end)
	(if (forward-word 1)
	    (setq n (1+ n))))
      (message "Region has %d words" n)
      n)))

; hooks for text & latex modes
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(add-hook (and 'tex-mode-hook 'text-mode-hook) 'flyspell-mode t

Additionally, occasionally when emacs opens a file the formatting is
completely different and some commands don't operate properly. I took this
.emacs file from my previous machine which was running emacs 23 and am
wondering if there is anything in here that could be causing these issues.
Thanks.
-- 
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33435127.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-03-05 22:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 17:36 Emacs 24.0.94.1 slow to load on OS X jreeseue
2012-03-03 18:31 ` Christopher Schmidt
2012-03-03 19:41   ` jreeseue
2012-03-03 19:33 ` Peter Dyballa
2012-03-03 19:42 ` Peter Dyballa
2012-03-03 19:46   ` jreeseue
2012-03-03 21:18     ` Peter Dyballa
2012-03-03 21:27       ` jreeseue
2012-03-03 21:52         ` Peter Dyballa
2012-03-03 22:19           ` jreeseue
2012-03-03 23:29             ` Peter Dyballa
2012-03-04 15:42               ` jreeseue
2012-03-05 16:08                 ` jreeseue
2012-03-05 18:54                   ` Peter Dyballa
2012-03-05 21:04                     ` jreeseue
2012-03-05 21:48                       ` Peter Dyballa
2012-03-05 22:03                         ` jreeseue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).