all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <brianjiang@gdnt.com.cn>
To: <emacs-devel@gnu.org>
Subject: Regarding proc x_make_frame_visible in w32term.c
Date: Tue, 3 Jun 2008 23:18:46 +0800	[thread overview]
Message-ID: <E8406C8B43BCEF4C9D71563A41E7E23FA8DC25@RND-MX01.rnd.gdnt.local> (raw)

[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]

I use Emacs mostly in Windows XP. I found one behavior is quite
annoying when I am using emacsclient to open a file.  e.g., the emacs
frame is maximized and then I iconify it into the taskbar, if at this
time I open a file using emacsclient, the emacs frame is restored
to its normal size (not maximized any more). I want to keep the frame
maximized. Many people was bothered by this behavior as I know.
 
Although I have some tricks to change this behavior by hacking elisp,
I would still like to seek the possibility to change it gracefully. 
 
I check the codes and find the following codes related to it:
 
w32term.c, proc x_make_frame_visible
/*      my_show_window (f, FRAME_W32_WINDOW (f), f->async_iconified ?
SW_RESTORE : SW_SHOW);  */
      my_show_window (f, FRAME_W32_WINDOW (f), SW_SHOWNORMAL);
 
The line commented is exactly what I want. I wonder why it is
commented out and replaced by "SW_SHOWNORMAL" one. Any consideration for
it? Can we change it back? I cannot find any description about it in
the change log.

 
 

[-- Attachment #2: Type: text/html, Size: 2051 bytes --]

             reply	other threads:[~2008-06-03 15:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03 15:18 brianjiang [this message]
2008-06-09 23:49 ` Regarding proc x_make_frame_visible in w32term.c Jason Rumney

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=E8406C8B43BCEF4C9D71563A41E7E23FA8DC25@RND-MX01.rnd.gdnt.local \
    --to=brianjiang@gdnt.com.cn \
    --cc=emacs-devel@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.