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: Juri Linkov
Subject: Re: On removing sequence_number from window structure
Date: Sat, 09 Feb 2013 02:30:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

>> you can add something like this for debugging purposes:
>>
>> (set-window-parameter nil 'window-number (incf global-window-counter))
>>
>> to a hook run during window creation.
>
> No, since the parameter would not be used as the printed representation

Can't you then use the new window parameter for the modeline like below
instead of hacking on the internal representation:

   (concat            ; WINDOW
    "   #" (format "%s" (window-parameter (selected-window) 'window-number)))



reply via email to

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