From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: Frame ordering Date: Fri, 11 Jun 2010 09:55:17 -0400 Message-ID: <597D28BE-ABE3-4FFF-84B1-1FBF9931293C@gmail.com> References: <8F18E079-3351-4398-B76B-6CF9169ACE9E@gmail.com> <4C123889.5060801@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1276264606 18991 80.91.229.12 (11 Jun 2010 13:56:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Jun 2010 13:56:46 +0000 (UTC) Cc: Emacs-Devel devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 11 15:56:45 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ON4iW-0004KJ-DX for ged-emacs-devel@m.gmane.org; Fri, 11 Jun 2010 15:56:41 +0200 Original-Received: from localhost ([127.0.0.1]:43381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ON4iQ-0007v2-8x for ged-emacs-devel@m.gmane.org; Fri, 11 Jun 2010 09:56:10 -0400 Original-Received: from [140.186.70.92] (port=39045 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ON4iH-0007r8-WC for emacs-devel@gnu.org; Fri, 11 Jun 2010 09:56:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ON4hf-0006Pb-6m for emacs-devel@gnu.org; Fri, 11 Jun 2010 09:55:24 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:49427) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ON4hf-0006PU-4Y for emacs-devel@gnu.org; Fri, 11 Jun 2010 09:55:23 -0400 Original-Received: by yxs7 with SMTP id 7so308158yxs.0 for ; Fri, 11 Jun 2010 06:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=l5wJTMRhLwQvj6MHPMzjg6s1n1KAV2NzMI26m03f+MY=; b=RskfzjF8i92bJeap/L+MJx/0A9wafia8d5BlhqTZJfXKJjhwC/Af988pioZukn7tdg SKosawYJfmrztObSC/Snnx1yfhE3Efnk/mwSRqyvptkX6xu05MD06OFn19AlmaaYTJip whi/BEqLnJjWjZTxSmY5nFd/e8LCDoCSDQh5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=LTNrmDfEQ/NME/Gi5gMxHO2vwGZri21biaFAUSzQro6cnT/WWTt1yKCqKk9Ksdb8qL 5txUWr0RJOHJq0Z20UjQp0h8qF1O+5Wb//5bK+sLsa/yvGKdxhCIaJ7rsd/zv7FSde9D m0dCLIttIRHrJ++459XQPWfCHH0nStTWiWYVs= Original-Received: by 10.151.87.12 with SMTP id p12mr3144382ybl.174.1276264521413; Fri, 11 Jun 2010 06:55:21 -0700 (PDT) Original-Received: from dhcp-0098461292-2d-a0.client.fas.harvard.edu (dhcp-0098461292-2d-a0.client.fas.harvard.edu [140.247.228.243]) by mx.google.com with ESMTPS id p37sm10192378ybk.14.2010.06.11.06.55.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Jun 2010 06:55:20 -0700 (PDT) In-Reply-To: <4C123889.5060801@gmx.at> X-Mailer: Apple Mail (2.1078) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125736 Archived-At: On Jun 11, 2010, at 9:22 AM, martin rudalics wrote: > > So, I've experimented with simply moving the frame to the end of = Vframe_list in do_switch_frame: >=20 > 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. (Of course, one should restrict it to cases where users select the frame = (or create one), rather than temporary selection of the frame through a = program.) > > Vframe_list =3D nconc2 (Vframe_list, tem); >=20 > What is tem and what is its cdr? Ah sorry, I forgot to show this. Here's what I meant. if (XINT (Flength (Vframe_list)) > 1) { Vframe_list =3D Fdelete (frame, Vframe_list); Vframe_list =3D 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.