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: Fri, 08 Feb 2013 10:59:56 +0100

> Are window sequence numbers necessary from the user's point of view?

No.

> For frames simple sequence numbers are necessary on terminals
> where creating new frames increments the frame number starting from 1
> to give frame names like "F1", "F2", "F3" displayed on the modeline.
> It's important for the users to know which frame is current by number.
> Is the same true for windows?
>
> For frames these sequence numbers are included in frame names.
> Should windows have names that could include sequence numbers
> like "W1", "W2", "W3"?

I suppose that (1) the gaps in such numbers due to internal windows and
(2) the fact that windows hidden within saved window configurations use
up numbers but are not visible anywhere, would be only disorienting.

> Please address these questions as a user since as a developer
> 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
of the value of a function that returns a window.

martin



reply via email to

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