emacs-devel
[Top][All Lists]
Advanced

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

Re: On removing sequence_number from window structure


From: martin rudalics
Subject: Re: On removing sequence_number from window structure
Date: Sat, 02 Feb 2013 18:50:57 +0100

> Why? The only reason I can imagine is age tracking (e.g. the window with
> smaller sequence number is always created before the window with the larger
> one); is that so important? Are there other reasons?

In my modeline I display windows as

                             (concat            ; WINDOW
                              (replace-regexp-in-string
                               ">" ""
                               (replace-regexp-in-string
                                " on.+" ""
                                (replace-regexp-in-string
                                 "#<window " "#" (format "   %s" 
(selected-window)))))

because so far I was too lazy to write a Fwindow_number function.  When
debugging, windows are usually young, and I normally have to look at two
digits at most.  For me a thing like #<frame *scratch* 0369A690> isn't
readable and hardly something I could memoize while debugging.

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]