Dear all,
I had recently posted a problem concerning Emacs23 in Fink Beginners.
Since no-one could find a solution (although at least one had the same
problem) I am forwarding the message to the Users list (I had unsubscribed
time ago because of too large amount of traffic, but now I'm back again).
Additional info if this might help:
1. I got the report that the same problem occurred on Debian Linux, too,
but the one who reported it to me couldn't remember how it had been
solved. Probably it was due to a library clash. This would explain why the
problem occurred after a library update upon fink update-all.
2. I tried to launch emacs without the .emacs file at all; the result was
the same as after removing the macro mentioned below: The buffer list
appeared, but was not updated after switching to another buffers. List all
buffers and switch to buffer still works. Furthermore, emacs22 works
without these problems (which I am since using as backup).
-- Forwarded message --
Date: Sun, 11 Apr 2010 19:28:22 +0200 (CEST)
From: Ingo Thies ith...@astro.uni-bonn.de
To: Fink Beginners Mailing List fink-beginn...@lists.sourceforge.net
Subject: [Fink-beginners] Emacs buffer list is dead
Dear all,
after a Fink update a few days ago I have noticed a strange behaviour of
Emacs(*). The list of buffers in the Buffers menu is always empty except
for *scratch*, *messages* and *warnings*. Opened files can still be
selected by List all buffers and by manual switching to a known buffer.
(*) GNU Emacs 23.1.1 (i386-apple-darwin9.8.0, GTK+ Version 2.16.6),
OS-X 10.5.8 Intel
After commenting-out the second last macro in my .emacs file
(Experimental script for inhibiting some nasty default-behaviour of
Emacs) and relaunch the buffer list re-appeared, but remains static (i.e.
always shows the initially active buffer on top, even if another is
subsequently selected).
Does anyone know this problem and a possible solution (except for a
complete re-installation of at least emacs...)?
Here is my .emacs file (it has not been changed for month, so it had
worked properly until a few days ago):
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(blink-cursor-mode nil)
'(bs-max-window-height 20)
'(column-number-mode t)
'(current-language-environment English)
'(delete-selection-mode t nil (delsel))
'(fortran-continuation-string )
'(global-font-lock-mode t nil (font-lock))
'(inhibit-default-init t)
'(inhibit-startup-buffer-menu t)
'(inhibit-startup-echo-area-message nil)
'(inhibit-startup-screen t)
'(initial-scratch-message nil)
'(mouse-wheel-mode t nil (mwheel))
'(pop-up-windows nil)
'(show-paren-mode t nil (paren))
'(track-eol t)
'(truncate-lines t)
'(use-file-dialog nil)
'(x-gtk-show-hidden-files t)
'(x-gtk-use-old-file-dialog t)
'(x-select-enable-clipboard t))
;; '(load .calc.el)
(add-hook 'calc-mode-hook
(function (lambda ()
(load ~/.calc.el
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background white :foreground
black :inverse-video nil :box nil :strike-through nil :overline nil
:underline nil :slant normal :weight normal :height 98 :width normal
:foundry bitstream :family Bitstream Vera Sans Mono)
(setq auto-mode-alist (append '(
(\\.sec$ . LaTeX-mode)
(\\.bib$ . indented-text-mode)
(\\.F90$ . f90-mode)
(\\.for$ . fortran-mode)
(\\.fortran$ . fortran-mode)
(\\.f$ . fortran-mode)
(\\.F$ . fortran-mode)
(\\.FOR$ . fortran-mode)
(\\.FORTRAN$ . fortran-mode)
(\\.f77 . fortran-mode)
(\\.F77 . fortran-mode)
(\\.vf$ . fortran-mode)
) auto-mode-alist))
(setq x-select-enable-clipboard t) ; as above
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)
;; inhibit split-screen on startup
(add-hook 'emacs-startup-hook 'delete-other-windows)
;;### Experimental script for inhibiting some nasty
;;### default-behaviour of Emacs
(defun my-dired-mouse-find-file-same-window (event)
(interactive e)
(let (window pos file)
(save-excursion
(setq window (posn-window (event-end event))