Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The new emacs23 gives me

("Window width 0 too small (after splitting)"))

whenever I load ECB or tabbar. Seems to be introduces after updating from Kubuntu intrepid to jaunty. Any hint how to solve this?

share|improve this question

closed as too localized by voretaq7 Aug 25 '12 at 2:49

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

It's a known bug apparently... Until a fix is released, the easiest solution would be to run emacs21.

If you're willing to patch & recompile, I also found a potential patch here, although I can't confirm if it works or not.

-----------------------
diff -c /tmp/sr-speedbar.el\~ /tmp/sr-speedbar.el                                    
--- /tmp/sr-speedbar.el~   2008-11-06 07:57:08.000000000 -0800                                    
+++ /tmp/sr-speedbar.el    2008-11-06 07:59:21.000000000 -0800                                    
@@ -270,16 +270,17 @@
   (interactive)                                                                                              
   (let ((current-window (selected-window)))                                                                  
     (if (and sr-speedbar-window                                                                              
-           speedbar-buffer                                                                                    
-           (window-live-p sr-speedbar-window) ;when `sr-speedbar-window' visible                              
-           (buffer-live-p speedbar-buffer))   ;and contain `speedbar-buffer'                                  
-       (sr-speedbar-select-window)                                                                            
-      (if (> (current-window-take-width) 1) ;if width of `sr-speedbar-window' is a valid value                
-         (setq sr-speedbar-width (current-window-take-width))) ;remember it make next restore same width      
-      (bury-buffer)                                                                                          
-      (if (and current-window                                                                                
-              (window-live-p current-window))                                                                
-        (select-window current-window)))))                                                                    
+            speedbar-buffer                                                                                  
+            (window-live-p sr-speedbar-window) ;when `sr-speedbar-window' visible                            
+            (buffer-live-p speedbar-buffer))   ;and contain `speedbar-buffer'                                
+       (progn                                                                                                
+         (sr-speedbar-select-window)                                                                          
+         (if (> (current-window-take-width) 1) ;if width of `sr-speedbar-window' is a valid value            
+             (setq sr-speedbar-width (current-window-take-width))) ;remember it make next restore same width  
+         (bury-buffer)                                                                                        
+         (if (and current-window                                                                              
+                  (window-live-p current-window))                                                            
+             (select-window current-window))))))
share|improve this answer
    
If I use LANG=C instead of "de", emacs works as expected. Is your bugfix related to that? –  Willi Richert Jul 8 '09 at 9:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.