[S] [PATCH] Fix broken -unmapped.

Vin Shelton acs
Thu Nov 2 10:59:40 EST 2006


Hi Malcolm,

On 10/20/06, Malcolm Purvis <malcolmp at xemacs.org> wrote:
> SUPERSEDES m2u07e5ncc.fsf at silver.local
>
> [I've discovered that I posted this patch ages ago but never committed it.]
> Way back in April Giacomo Boffi reported that -unmapped was broken in 21.5.
> This fixes it so once again no frame appears.
>
> The problem was that the updated version of display-splash-screen called
> pop-to-buffer, which mapped the frame.  pop-to-buffer is moved to the
> interactive function xemacs-splash-buffer instead.
>
> lisp/ChangeLog addition:
>
> 2006-10-20  Malcolm Purvis  <malcolmp at xemacs.org>
>
>        * startup.el (display-splash-screen):  No longer bring buffer the
>        front.  Fixes problems with -unmapped.
>        * startup.el (xemacs-splash-buffer): Pop splash buffer to the
>        front here instead.


Unfortunately, this patch broke starting a cygwin XEmacs started from
a cmd window.  Here's how to reproduce the problem from Windows:

1. Build and install a cygwin version of XEmacs.  In this example,
we'll assume it gets installed to /usr/local/bin/xemacs
2. bring up cmd (not a cygwin shell)
3. in that cmd window, type the following
          run /usr/local/bin/xemacs
4. the XEmacs window will not appear on the screen or on the taskbar.
If you start gnuserv in your startup file, you can use gnuclient to
pop up a window.

Reverting your patch fixes this problem.

Do you have a Windows environment to test in?  If you need help
testing a possible solution, I'm happy to provide my assistance.

  - Vin

-- 
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506



More information about the XEmacs-Beta mailing list