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: theming (was: Sorting of directories in dired) Date: Thu, 7 Jul 2005 20:11:15 +0100 Message-ID: <58FEE42A-E1AE-423C-B00F-A7A05E90C9AF@gmail.com> References: <42CC7021.5050606@student.lu.se> <42CCD07F.5010509@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120765943 32473 80.91.229.2 (7 Jul 2005 19:52:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2005 19:52:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 07 21:52:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DqcPe-00017Z-FR for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 21:51:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqcR1-0003n3-LR for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 15:53:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DqcM2-0001Au-Uv for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:48:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DqcM0-00019T-VH for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:48:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqcGy-0007rh-JF for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:43:00 -0400 Original-Received: from [64.233.184.206] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dqbsu-00081R-Fu for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:18:08 -0400 Original-Received: by wproxy.gmail.com with SMTP id 67so289280wri for ; Thu, 07 Jul 2005 12:11:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=rGmDt4abWEbwp+1nMoZs1kqRF34IHCR6M7YRsBpLJerUOk0EulFbDU/fFzBDp/pq/oxmyed6wYj0icpkcoJJRYzZDQ5YmEl2n0p1WDIMJ8/sZ2ylTfFPbBQup52iskZi3JvG20nSstrrpCnd3Epy2LCteyKIHXfNeHYOMPbJVGg= Original-Received: by 10.54.25.33 with SMTP id 33mr932983wry; Thu, 07 Jul 2005 12:11:23 -0700 (PDT) Original-Received: from ?129.215.174.81? ([129.215.174.81]) by mx.gmail.com with ESMTP id g2sm1549898wra.2005.07.07.12.11.22; Thu, 07 Jul 2005 12:11:23 -0700 (PDT) In-Reply-To: Original-To: emacs-devel@gnu.org X-Mailer: Apple Mail (2.730) 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:40583 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40583 On 7 Jul 2005, at 13:22, David Reitter wrote: > I have implemented the single frame behavior (it takes more than > OneonOne to do that), for example. As I've been asked to clarify this: We define a range of additional functions, such as one to delete a buffer when its window is deleted, and delete the frame with it if necessary (and appropriate), or to decide when to open a new window (instead of a brand-new frame). We also advise switch-to-buffer and pop-to-buffer. This code works on top of OneOnOne by Drew Adams. OneOnOne - to be exact: a subset of its functionality - has replaced an earlier (rather unsophisticated) implementation of frame-opening behavior in a very early Aquamacs version, because it is nicely structured and mature. Drew has done an awesome job in fixing things I wanted to see optimized so that we could integrate OneOnOne (including a selective version of the frame-fitting behavior provided by fit-frame.el) with other code. OneOnOne and a number of other packages that get used can be found here: http://www.emacswiki.org/cgi-bin/wiki/DrewsElispLibraries In this discussion, this should serve as an example that packages that change the UI often need to make extensive modifications - much more than tweaking a few existing customization variables.