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: Eli Zaretskii
Subject: Re: On removing sequence_number from window structure
Date: Fri, 08 Feb 2013 11:55:12 +0200

> From: Juri Linkov <address@hidden>
> Date: Fri, 08 Feb 2013 10:17:30 +0200
> Cc: emacs-devel <address@hidden>
> 
> > It's much simpler to think of windows in terms of sequence numbers
> > than in terms of pointers.
> 
> Are window sequence numbers necessary from the user's point of view?

They are no more necessary than the pointer to the window object we
are showing now instead of the sequence.

> 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.

That'd be a nuisance.  Emacs already has several features whose sole
purpose is to aid in debugging; I don't see why we should break that
tradition in this particular case.



reply via email to

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