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: Frame ordering Date: Fri, 11 Jun 2010 08:29:23 -0400 Message-ID: <8F18E079-3351-4398-B76B-6CF9169ACE9E@gmail.com> References: 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 1276260368 3335 80.91.229.12 (11 Jun 2010 12:46:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Jun 2010 12:46:08 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 11 14:46:05 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 1ON3cV-0004G9-TI for ged-emacs-devel@m.gmane.org; Fri, 11 Jun 2010 14:46:00 +0200 Original-Received: from localhost ([127.0.0.1]:55303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ON3cV-0006YX-Cq for ged-emacs-devel@m.gmane.org; Fri, 11 Jun 2010 08:45:59 -0400 Original-Received: from [140.186.70.92] (port=40258 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ON3b1-0005IK-UJ for emacs-devel@gnu.org; Fri, 11 Jun 2010 08:44:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ON3MU-0002KE-D4 for emacs-devel@gnu.org; Fri, 11 Jun 2010 08:29:30 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:49998) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ON3MU-0002K6-8c for emacs-devel@gnu.org; Fri, 11 Jun 2010 08:29:26 -0400 Original-Received: by yxs7 with SMTP id 7so259974yxs.0 for ; Fri, 11 Jun 2010 05:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:references:to:message-id :mime-version:x-mailer; bh=w00YsD71BZJqWwjTynIjyR1+79z9u5sRn7ob+CEGwyU=; b=Z4y8XliutziGh0RWVvp5w83cdLPa91VtXsrD4075hpZ4+naXzh877cIiPRi0A3GJz2 agHV5z9wUrCi93Xo34SIgZ3mdAEhLoiSNFz3D7scClbGuIiYKh6ehzP6Z1VB5cfMeeUq Ht6mgVx90s0pFKM4gmhqVzqyUfuSOcZqUHkA0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:references :to:message-id:mime-version:x-mailer; b=AQdntZCJb41Ltr04ooSw6088f8VlJaYAKOPZzTAjovj7MsdY5AmbnbUByaeNkXEF08 0AlN+iZPFOMpeEvgrbdAmKRMeIH1TzdMJUd4LlraLhsRRKBVww3TwZuAsI2hVX9B29J6 FAdb8S8n1OXVam7RUCHns2RFSBD9DmwYlCDL8= Original-Received: by 10.229.227.5 with SMTP id iy5mr1103415qcb.183.1276259365635; Fri, 11 Jun 2010 05:29:25 -0700 (PDT) Original-Received: from [192.168.1.16] (pool-74-104-46-109.bstnma.east.verizon.net [74.104.46.109]) by mx.google.com with ESMTPS id bv23sm7342825qcb.7.2010.06.11.05.29.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Jun 2010 05:29:25 -0700 (PDT) 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:125728 Archived-At: Currently, frames seem to be selected in order of their creation; = deleting a frame does not select the previously created frame, but the = frame that was created before it. Many users (e.g., see below) find = this annoying, and so do I. So, I've experimented with simply moving the frame to the end of = Vframe_list in do_switch_frame: if (XINT (Flength (Vframe_list)) > 1) { Vframe_list =3D Fdelete (frame, Vframe_list); Vframe_list =3D nconc2 (Vframe_list, tem); } However, this results in hangs in redisplay or in outright crashes, = depending on the variant of the above (sometimes in garbage collection). = What am I doing wrong? Begin forwarded message: > From: Konrad Podczeck >=20 > I start Aquamacs, then, via "Open Recent", I open a file, say one.tex, = and then another file, say second.tex. Then, via "Menu>Window", I make = the frame with one.tex again the active one. Then I invoke "occur" to = get a new frame containing an occur buffer. Now if I close the occur = buffer, suddenly the frame with second.tex becomes active, which is not = the frame from which I called "occur". Similar effects with latex output = buffers.