From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1849: marked as done (Windows 7 Taskbar Support) Date: Tue, 30 Jun 2009 16:05:07 +0000 Message-ID: References: <4A4A35DF.4040106@f2s.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1246377907-7186-0" X-Trace: ger.gmane.org 1246378839 10285 80.91.229.12 (30 Jun 2009 16:20:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2009 16:20:39 +0000 (UTC) To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 30 18:20:32 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from mail-forward2.uio.no ([129.240.10.71]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLg3v-0005Ir-Iv for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 18:20:03 +0200 Original-Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1MLg20-00010g-Qa for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 18:18:04 +0200 Original-Received: from mail-mx5.uio.no ([129.240.10.46]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1MLg20-00010d-PM for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 18:18:04 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx5.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MLg1q-00055C-Cm for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 18:18:04 +0200 Original-Received: from localhost ([127.0.0.1]:44794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLg1m-0004Av-3y for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 12:17:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLg1i-0004Ao-KV for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 12:17:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLg1d-0004A7-HN for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 12:17:46 -0400 Original-Received: from [199.232.76.173] (port=45138 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLg1d-0004A2-DP for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 12:17:41 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58317) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MLg1b-0001aa-QV for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 12:17:41 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5UGHOtD009790; Tue, 30 Jun 2009 09:17:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5UG57Gl007492; Tue, 30 Jun 2009 09:05:07 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1849 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: patch X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org X-UiO-Spam-info: not spam, SpamAssassin (score=-4.0, required=5.0, autolearn=disabled, RCVD_IN_DNSWL_MED=-4, uiobl=NO, uiouri=_URIID_) X-UiO-Scanned: 36A5F3391A8737DE0B7AF399492ED8B8B608F658 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -39 maxlevel 80 minaction 2 bait 0 mail/h: 11 total 102138 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.bugs:29109 Archived-At: This is a multi-part message in MIME format... ------------=_1246377907-7186-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 30 Jun 2009 23:57:19 +0800 with message-id <4A4A35DF.4040106@f2s.com> and subject line Re: bug#1849: emacs on Windows 7 has caused the Emacs bug report #1849, regarding Windows 7 Taskbar Support to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 1849: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1849 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1246377907-7186-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 10 Jan 2009 18:33:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0AIXfSe011964 for ; Sat, 10 Jan 2009 10:33:43 -0800 Received: from mx10.gnu.org ([199.232.76.166]:38278) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LLidF-0007nP-1u for emacs-pretest-bug@gnu.org; Sat, 10 Jan 2009 13:32:25 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LLieR-00065F-OG for emacs-pretest-bug@gnu.org; Sat, 10 Jan 2009 13:33:40 -0500 Received: from rv-out-0708.google.com ([209.85.198.248]:52604) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLieR-00064e-5Z for emacs-pretest-bug@gnu.org; Sat, 10 Jan 2009 13:33:39 -0500 Received: by rv-out-0708.google.com with SMTP id k29so11959882rvb.6 for ; Sat, 10 Jan 2009 10:33:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=jUPxBhTIgAGHREeh4vAkTrOCRyB29CE5F+ZQzytsuGU=; b=i2RV6IjfEOQz3OAYTqHOL16jFXUh9CkVaNZBMjIWNNyqKbux1X0v5LZQxqZHSw8mpw YUzj6pcCyYeew8QYsauBcJwZ03jfMHBKwg5hlN+gtFkONAwjZRH4iy5OzjvTVNxde99t 7z3/rFSIfeXR1j6BJ38FXyu/pALnY/ZQV+lmk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=r3swHzDBCrb5lgDm+yLd4gUF6TDLP0LGhp7UQm00Cesg4GqfFATHKgrI3Z0VuKcq5H oIQakpo5WIoj/Dho6vK7k6OQcRbFYXGhQ/UFDrTHXUBy7Jcl6nte15So6BUTSaxKUy5C OaYBtxj2awxjfY73Gs/yG/uZKTxU6IZw8Vb5c= Received: by 10.141.128.19 with SMTP id f19mr13476601rvn.9.1231612416882; Sat, 10 Jan 2009 10:33:36 -0800 (PST) Received: by 10.140.125.11 with HTTP; Sat, 10 Jan 2009 10:33:36 -0800 (PST) Message-ID: Date: Sat, 10 Jan 2009 12:33:36 -0600 From: "Michael Kleehammer" Sender: mkleehammer@gmail.com To: emacs-pretest-bug@gnu.org Subject: Windows 7 Taskbar Support MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: b35049c4740090f5 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) To work well with the upcoming Windows 7, the Windows version of emacs will need to start from emacs.exe without allocating the extra console window. This means it will need to be linked as a GUI program instead of a console program. In previous versions of Windows, the Quick Launch shortcuts were small icons that launched programs. The programs were then allocated a new button in the taskbar. Windows 7 consolidates these: the shortcuts are also the taskbar buttons. Similar to the Mac OS/X dock, when a program that has a shortcut is run, it is not allocated a new taskbar button - instead, the shortcut is highlighed differently. This obviously assumes that the program consists of a single main executable that the shortcut launches. Unfortunately, emacs on Windows is a console program which creates an unwanted "DOS" window. To run as a GUI, a special GUI launcher named runemacs.exe is used which hides the console window. To launch emacs, the user will need to pin runemacs.exe. When launched, it starts emacs.exe and immediately exits, causing two problems: (1) the shortcut does not stay highlighted to indicate the program is running and (2) a 2nd taskbar button is created for emacs.exe. If a user pins emacs.exe, it will always create an extra console window, so that is not an option either. The proper "fix" is to compile the Windows version of emacs.exe as a GUI program, not a console program, which is a very simple change. It would eliminate the ability to run emacs on Windows in a console window, however. First, this is probably acceptable to 99% of users. In fact, I don't know of anyone that runs emacs on Windows in a console, but I'm sure someone does. (Remember, there is no SSH or the like; we're talking Windows here ;) If needed, the makefile could be updated to build either or both. I think it would be simple to compile the program as a GUI program but have the -nw flag allocate a console when needed. ------------=_1246377907-7186-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1849-done) by emacsbugs.donarmstrong.com; 30 Jun 2009 15:58:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5UFvtR8005831 for <1849-done@emacsbugs.donarmstrong.com>; Tue, 30 Jun 2009 08:57:56 -0700 Received: by wf-out-1314.google.com with SMTP id 28so85368wfa.13 for <1849-done@emacsbugs.donarmstrong.com>; Tue, 30 Jun 2009 08:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=MuvnO8VjUM5dBe23bcfbuSEyrX7I7bRa6tU6eNiXnIw=; b=P9Tkv1Sors/Cqq4IFPXUBepwypJQnq+LpJoF9NCnQpe5/WRdvNf81mLwlc1Jac7DsI QLClfb7Js/mGPC9vbe/ld8DjwnnUdMqEbbaQMAIJLJEYXW21BwS331mvZ4z+teC14Pq/ bfpOvFjbJrocXQh/El9I9eWfa4snH/mU2RvDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vC+HmupLiC4nXthxgMIteBESWoCF1zWQIg6Z10IJnAW58QjxZ9rt8tvFg6O9TC3XOZ tJrBvKfvvCjkIti3yewD7SxqlyVJuxWvkl515DN4a7vjcm+5fCrOUhQqBtxjDcHNO2TM fqeKeRqVuUNswrf7iCK9Z1p9F0+4rYbqWWh1w= Received: by 10.142.47.13 with SMTP id u13mr540789wfu.270.1246377475250; Tue, 30 Jun 2009 08:57:55 -0700 (PDT) Received: from ?192.168.249.26? ([118.101.237.115]) by mx.google.com with ESMTPS id 32sm554235wfc.14.2009.06.30.08.57.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Jun 2009 08:57:54 -0700 (PDT) Sender: Jason Rumney Message-ID: <4A4A35DF.4040106@f2s.com> Date: Tue, 30 Jun 2009 23:57:19 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: 1849-done@emacsbugs.donarmstrong.com CC: Ben Straub Subject: Re: bug#1849: emacs on Windows 7 References: <678df55a0905300747i2a706232mc2dbde05d04e37bb@mail.gmail.com> <4A222B76.5080902@f2s.com> In-Reply-To: <4A222B76.5080902@f2s.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Jason Rumney wrote: > Ben Straub wrote: >> I've submitted a patch to emacs-devel >> (http://lists.gnu.org/archive/html/emacs-devel/2009-05/msg00461.html), >> though I wasn't aware this bug existed then. >> > > Thanks, we'll probably install it as soon as the 23.1 branch is cut. A similar patch is now installed. ------------=_1246377907-7186-0--