all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adrian Robert <adrian.b.robert@gmail.com>
To: Ken Raeburn <raeburn@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: a little feedback on Cocoa Emacs.app
Date: Mon, 4 Aug 2008 08:50:37 -0400	[thread overview]
Message-ID: <2616537B-2ECE-4C20-B707-3C802DC4C10D@gmail.com> (raw)
In-Reply-To: <9F4D1718-BBB2-489C-8124-35189C98775E@gnu.org>


On Aug 4, 2008, at 6:15 AM, Ken Raeburn wrote:

> On Jul 27, 2008, at 22:34, Adrian Robert wrote:
>> On Jul 27, 2008, at 12:45 PM, Ken Raeburn wrote:
>>>
>>>>> 4) under Spaces, I found it kind of annoying not to have a
>>>>> "new window" option in the dock menu
>>>> ...
> (back in the country now, and with just a few cycles to spare...)
>
> I haven't yet waded through enough of the menu handling code to  
> figure out if it's easy to make it dynamic and updated from lisp,  
> but I threw together code to add a fixed one-element menu, not  
> conditionalized on which flavor of NS support is used.

When you say "one-element", you mean it adds the one element to the  
existing standard dock menu provided by the system, or it replaces  
it?  I'd prefer adding..

If it adds (or we can get the patch into that form) I'd be inclined to  
accept it now, because it is only altering an existing (Cocoa- 
generated) menu.  Adding a dynamic lisp-based menu would be a new  
feature and I'd have that wait.



>>>>> Actually, in my experience, the close button or equivalent on  
>>>>> the last Emacs window causes Emacs to quit, in X, Carbon, and  
>>>>> Windows versions; the Cocoa version is behaving differently by  
>>>>> ignoring it.
>>
>> This must have changed.. it used to do nothing and say "attempted  
>> to delete last or sole visible frame" or something like that.  On  
>> the other hand, I can't find any code in the NS port that seems to  
>> pertain to this, so I'm not sure where the special behavior is  
>> coming from.  Hmm..
>
> Using the keyboard commands to delete a frame get that result;  
> clicking on buttons with the mouse can make the application go away.

This sounds like a bug.  Shouldn't it have the same behavior  
regardless of whether close from mouse or keyboard?



> I've also noticed another odd thing in the UI (in my unpatched build  
> from around July 22nd or 24th, as well as my new executable):
>
> "Quit" from the dock menu gets me a prompt asking if I want to  
> quit.  Many (most?) Mac apps don't ask, at least if I don't have  
> unsaved work.
...
>
> Once that dialog comes up, it and the menu bar seem to be the only  
> things that respond to input.  The buttons in the dialog blink if I  
> click on them.  The menu bar menus come up, and go away when I  
> select something.  But I can't type into the buffer windows, and the  
> process doesn't go away, even if I confirm in the dialog a bunch of  
> times or select "Exit Emacs" from the File menu.  The dialog will go  
> away if I select another application and then switch back to Emacs,  
> but it doesn't seem to help me regain control.

You've stumbled onto another FOR-RELEASE item:

** finish handle terminate request (user logout)

I'd definitely appreciate help on this one because it ought to be  
simple but I seem to be unable to get it working.. take a look at  
[EmacsApp -applicationShouldTerminate:] in nsterm.m...






  parent reply	other threads:[~2008-08-04 12:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-26  2:11 a little feedback on Cocoa Emacs.app Ken Raeburn
2008-07-27  2:29 ` Adrian Robert
2008-07-27  2:56   ` Stefan Monnier
2008-07-27 16:45   ` Ken Raeburn
2008-07-28  2:34     ` Adrian Robert
2008-08-04 10:15       ` Ken Raeburn
2008-08-04 12:42         ` mituharu
2008-08-04 13:08           ` Adrian Robert
2008-08-04 12:50         ` Adrian Robert [this message]
2008-08-04 16:56           ` Ken Raeburn
2008-08-04 17:04             ` Dan Nicolaescu
2008-08-04 17:23               ` Justin Bogner
2008-08-04 17:27                 ` Dan Nicolaescu
2008-08-04 19:28               ` Ken Raeburn
2008-08-04 21:53                 ` Dan Nicolaescu
2008-08-04 23:43             ` Adrian Robert
2008-08-05  3:05               ` Adrian Robert
2008-08-05  4:01                 ` Ken Raeburn
2008-08-05 16:17                   ` Adrian Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2616537B-2ECE-4C20-B707-3C802DC4C10D@gmail.com \
    --to=adrian.b.robert@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=raeburn@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.