emacs-devel
[Top][All Lists]
Advanced

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

Re: Frame ordering


From: martin rudalics
Subject: Re: Frame ordering
Date: Fri, 11 Jun 2010 19:13:09 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

>> Why do you want to do this in do_switch_frame?
>
> I thought that would be a good place where to record the selection of a 
different frame.

I'd write a simple function to reorder frames, make it callable from
Lisp, and test it from there first.

> Ah sorry, I forgot to show this.  Here's what I meant.
>
>   if (XINT (Flength (Vframe_list)) > 1)
>     {
>       Vframe_list = Fdelete (frame, Vframe_list);

I'd use Fdelq here.

>       Vframe_list = nconc2 (Vframe_list, Fcons (frame, Qnil));
>     }
>
> and something equivalent like Fnreverse (Fcons (frame, Fnreverse 
(Vframe_list)))  does the same and I'd like to understand why.

martin



reply via email to

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