From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: NeXTStep port preferences Date: Sun, 20 Jul 2008 18:53:49 +0200 Message-ID: References: <8966189D-F430-4224-80BA-FA3653642C01@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216572873 12309 80.91.229.12 (20 Jul 2008 16:54:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jul 2008 16:54:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 20 18:55:19 2008 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.50) id 1KKcBo-0000pj-2V for ged-emacs-devel@m.gmane.org; Sun, 20 Jul 2008 18:55:16 +0200 Original-Received: from localhost ([127.0.0.1]:49331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKcAv-0005uw-5N for ged-emacs-devel@m.gmane.org; Sun, 20 Jul 2008 12:54:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKcAq-0005uh-IZ for emacs-devel@gnu.org; Sun, 20 Jul 2008 12:54:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKcAh-0005tz-7v for emacs-devel@gnu.org; Sun, 20 Jul 2008 12:54:16 -0400 Original-Received: from [199.232.76.173] (port=47838 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKcAh-0005ts-2U for emacs-devel@gnu.org; Sun, 20 Jul 2008 12:54:07 -0400 Original-Received: from [193.99.153.100] (port=2614 helo=blei.turtle-trading.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KKcAg-0004B5-N3 for emacs-devel@gnu.org; Sun, 20 Jul 2008 12:54:07 -0400 Original-Received: from sueton.benny.turtle-trading.net (sueton.benny.turtle-trading.net [193.99.153.25]) by blei.turtle-trading.net (8.12.10/8.12.10) with ESMTP id m6KGN268009314; Sun, 20 Jul 2008 18:23:03 +0200 Original-Received: by sueton.benny.turtle-trading.net (Postfix, from userid 501) id 7AC3E1A113E0; Sun, 20 Jul 2008 18:53:50 +0200 (CEST) In-Reply-To: (Adrian Robert's message of "Sun\, 20 Jul 2008 15\:05\:59 +0000 \(UTC\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (darwin) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:101019 Archived-At: Hi Adrian, First-off, thanks for putting energy and time into this. Adrian Robert writes: > Some users differ. There are many use cases calling for frequent > font and/or modifier key changes. We'd need a poll to get better > data. Right. BTW, re modifiers, at least with a German keyboard, having Opt as Meta by default is not a good idea. I need that modifier to insert important characters like ~ @ \ [ ] { }, so it's not really free. > 'geometry' is split into Width, Height, Top, Left entries. If > changing this to geometry and possibly using an X11-compatible > string would be better, a patch is welcome. I see. For Emacs users coming from other platforms, I think it would be better to mimic the X resources approach here. > Benjamin Riefenstahl turtle-trading.net> writes: >> - The font setting mechanism doesn't work unless an Emacs frame is >> selected. This used to be documented in the readme, but it is >> still a bug. > > Another long-standing TODO fallen victim to more urgent tasks. Help > is welcome. I had a look at this, but I failed so far to make much progress, because I don't know enough about NextStep/Cocoa. >> - The callbacks that the Cocoa dialogs call are not protected in a >> catch block. If they run into an error, Emacs aborts without a >> visible error message. > > I've never had a bug report on this, but if it's an easy fix we > should do it. I just checked my facts. Emacs runs into an abort when ns-save-preferences throws an error. Ns-respond-to-change-font, the callback for the font panel, seems to be ok. I noticed the problem when I was changing the code and introduced my own bugs in ns-save-preference, but than you never know what errors might occur in real life. >> It is not easy to be maintained anywhere. As you notice, it is >> broken even now, and only part of that is bit-rot. > > This is a bit harsh. Maybe. > It has been part of Emacs.app for years and has had few problems. Just above we are talking about at least two long-standing bugs that I noticed in just a bit of trying it out and fixing a simple bug (BTW you might want to look at that, it's at , with patch). > Also you are the first person to mention anything negative about the > appearance. On the other hand there have been many positive > comments from users. Sorry, that may just be my personal impression. Ignoring aesthetics, the one usability thing that I noticed was that I would have liked to see which default font is currently selected before opening the font panel. >> > Otherwise, at least in this case, there's no real reason not to >> > just use the X11 version on OS X >> >> [...] missing features (e.g. does DnD work from Finder to Emacs?). > > It would be far easier to add these features to Apple's X11 impl > than to port and maintain a separate interface to GNU Emacs. It would? I didn't know it was even possible to do this kind of thing using documented interfaces. benny