[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nedit-discuss
Subject:    Re: Bug when using exit() in a macro
From:       Nathaniel Gray <n8gray () caltech ! edu>
Date:       2004-07-27 18:50:10
Message-ID: C9A1F3F6-DFFD-11D8-A767-000A95984F4E () caltech ! edu
[Download RAW message or body]

On Jul 27, 2004, at 12:09 AM, Tim Hubberstey wrote:

> A while ago, I complained about NEdit exiting while a macro was in
> progress if Ctrl-Q was pressed. To get around this, it was recommended
> that I create a macro that calls the exit() action routine and bind it
> to Ctrl-Q, which I did. This is an acceptable (but not ideal)
> workaround.
>
> ------- from .nedit:
> nedit.macroCommands: \
>   Exit:Ctrl+Q::: {\n\
>   exit()\n\
> }\n\
> -------
>
> However, there is a problem with this. When I open a new window (using
> File->New or from a macro) and then type Ctrl-Q *in the new window*, I
> get a dialog saying "Editing: file1 and Untitled. Exit NEdit?" If I
> click on "Exit", NEdit then hangs and, even worse, steals focus from 
> all
> other X windows so I can't even access an xterm window to kill it. This
> happens on both Linux and Cygwin.
>
> If I do the Ctrl-Q from the first window instead of the second, all is
> well.

Tim, can you create a bug entry for this on sourceforge?

Thanks,
-n8

--
 >>>-- Nathaniel Gray -- Caltech Computer Science ------>
 >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->

-- 
NEdit Discuss mailing list - Discuss@nedit.org
http://www.nedit.org/mailman/listinfo/discuss
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic