From unknown Mon Jun 16 23:29:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8181 <8181@debbugs.gnu.org> To: bug#8181 <8181@debbugs.gnu.org> Subject: Status: 23.2; Dired on Windows 7 Reply-To: bug#8181 <8181@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:29:07 +0000 retitle 8181 23.2; Dired on Windows 7 reassign 8181 emacs submitter 8181 "Robert I. Eachus" severity 8181 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 18:06:53 2011 Received: (at submit) by debbugs.gnu.org; 5 Mar 2011 23:06:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw0Ym-0002hh-Op for submit@debbugs.gnu.org; Sat, 05 Mar 2011 18:06:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw0OD-0002Sr-Nn for submit@debbugs.gnu.org; Sat, 05 Mar 2011 17:55:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pw0O7-0003To-8Q for submit@debbugs.gnu.org; Sat, 05 Mar 2011 17:55:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RFC_ABUSE_POST, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:52881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pw0O6-0003Tk-Ro for submit@debbugs.gnu.org; Sat, 05 Mar 2011 17:55:51 -0500 Received: from [140.186.70.92] (port=51614 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pw0O5-0007KX-B3 for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 17:55:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pw0O3-0003TV-Er for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 17:55:48 -0500 Received: from qmta10.emeryville.ca.mail.comcast.net ([76.96.30.17]:57542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pw0O3-0003TP-59 for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 17:55:47 -0500 Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta10.emeryville.ca.mail.comcast.net with comcast id FakW1g0031Y3wxoAAavmSP; Sat, 05 Mar 2011 22:55:46 +0000 Received: from [127.0.0.1] ([98.216.6.222]) by omta15.emeryville.ca.mail.comcast.net with comcast id Fava1g0094nRKc28bavi2f; Sat, 05 Mar 2011 22:55:43 +0000 Message-ID: <4D72BF5D.20403@comcast.net> Date: Sat, 05 Mar 2011 17:55:25 -0500 From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 23.2; Dired on Windows 7 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 05 Mar 2011 18:06:51 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Choosing Open Directory from the File menu opens a standard (Windows 7) window that allows you to walk the directory tree, but there is no way to open a directory in dired mode that I can find. Cx d on the other hand opens an emacs buffer in dired mode. (Normal behavior) In GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 6.1.7600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p SPC o r SPC e SPC SPC Recent messages: Indentation variables are now local. Indentation setup for shell type sh scroll-bar-toolkit-scroll: End of buffer [10 times] Quit View mode: type C-h for help, h for commands, q to quit. byte-code: End of buffer For information about GNU Emacs and the GNU system, type C-h C-a. Quit byte-code: Beginning of buffer Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode goto-addr thingatpt view sgml-mode sh-script executable autoconf autoconf-mode conf-mode newcomment dired cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 19:08:32 2011 Received: (at 8181) by debbugs.gnu.org; 6 Mar 2011 00:08:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw1WS-00044u-4x for submit@debbugs.gnu.org; Sat, 05 Mar 2011 19:08:32 -0500 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw1WQ-00044h-0m for 8181@debbugs.gnu.org; Sat, 05 Mar 2011 19:08:30 -0500 Received: by eye13 with SMTP id 13so1119918eye.3 for <8181@debbugs.gnu.org>; Sat, 05 Mar 2011 16:08:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=njiWRMLGICoDB46Y1CZrAP6vBwUFw8ATjOAqMNCbGUc=; b=Innqcv9KWwYzEf4s2EUsRVt8u0w5omdKDoQ68ntoYOkLdp5Y7mcluiNJH87Qy2HnKd gM/hKxCOWAmVi8R2QBCbJmRbL5JvkX/JHaGBaSs+R+yFajYTVOWMJK3OkZqc2JorZObI hwIqqOE6h3DJcgGVDM6houjg7+AiuXgT8tv0k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=vaFNthgASvqIjM7C2g67KBfPpqxBnZO63qK2IKft/dqod1QcO5/2mSnL/B/eCg9GdJ 9tD3Vhu9TtIjQUJXjbAnTlHC3/7+tm5LErj7dd/6RedrF/aJRIT1x8ldCSDSecKQFafV zi31E2LhBACiWQYaFQIr9sQONYugZiJFL/v1A= Received: by 10.213.25.216 with SMTP id a24mr956563ebc.61.1299370104204; Sat, 05 Mar 2011 16:08:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.27.205 with HTTP; Sat, 5 Mar 2011 16:08:04 -0800 (PST) In-Reply-To: <4D72BF5D.20403@comcast.net> References: <4D72BF5D.20403@comcast.net> From: Lennart Borgman Date: Sun, 6 Mar 2011 01:08:04 +0100 Message-ID: Subject: Re: bug#8181: 23.2; Dired on Windows 7 To: "Robert I. Eachus" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) On Sat, Mar 5, 2011 at 11:55 PM, Robert I. Eachus wr= ote: > Choosing Open Directory from the File menu opens a standard (Windows 7) > window that allows you to walk the directory tree, but there is no way > to open a directory in dired mode that I can find. =C2=A0Cx d on the othe= r > hand opens an emacs buffer in dired mode. (Normal behavior) See `use-file-dialog'. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 19:40:52 2011 Received: (at 8181) by debbugs.gnu.org; 6 Mar 2011 00:40:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw21k-0004oy-J1 for submit@debbugs.gnu.org; Sat, 05 Mar 2011 19:40:52 -0500 Received: from qmta06.westchester.pa.mail.comcast.net ([76.96.62.56]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw21j-0004on-Db for 8181@debbugs.gnu.org; Sat, 05 Mar 2011 19:40:51 -0500 Received: from omta14.westchester.pa.mail.comcast.net ([76.96.62.60]) by qmta06.westchester.pa.mail.comcast.net with comcast id FcZF1g0051HzFnQ56cgn6C; Sun, 06 Mar 2011 00:40:47 +0000 Received: from [127.0.0.1] ([98.216.6.222]) by omta14.westchester.pa.mail.comcast.net with comcast id Fcgk1g01g4nRKc23acgmN9; Sun, 06 Mar 2011 00:40:46 +0000 Message-ID: <4D72D802.7080805@comcast.net> Date: Sat, 05 Mar 2011 19:40:34 -0500 From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Lennart Borgman Subject: Re: bug#8181: 23.2; Dired on Windows 7 References: <4D72BF5D.20403@comcast.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On 3/5/2011 7:08 PM, Lennart Borgman wrote: > On Sat, Mar 5, 2011 at 11:55 PM, Robert I. Eachus wrote: >> Choosing Open Directory from the File menu opens a standard (Windows 7) >> window that allows you to walk the directory tree, but there is no way >> to open a directory in dired mode that I can find. Cx d on the other >> hand opens an emacs buffer in dired mode. (Normal behavior) > See `use-file-dialog' Thanks for the quick answer, but I think you may be missing the point. First the File menu choice Open Directory, says that the keyboard equivalent is C-x d. But the two are completely different in behavior. Second, if you do use the menu option, there is no way to select a directory, even though you can navigate through them. I ran into this by accident, browsing through a large C source library. I used Cx d nine times (or a dozen) before I went to use the menu since I had a cup in my left hand. I then wanted to see if I would get a dired buffer when I selected a directory, but instead I found that there is either no way to select a directory, or the choice gets silently lost. It is not a big deal for me. Even if I am drinking something hot, I can type Cx d with my right hand. If nothing gets done I may submit a fix sometime when I am not in the process of digesting the source of a different application. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 19:43:04 2011 Received: (at 8181) by debbugs.gnu.org; 6 Mar 2011 00:43:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw23s-0004sE-2j for submit@debbugs.gnu.org; Sat, 05 Mar 2011 19:43:04 -0500 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw23p-0004rg-R9 for 8181@debbugs.gnu.org; Sat, 05 Mar 2011 19:43:02 -0500 Received: by eye13 with SMTP id 13so1124135eye.3 for <8181@debbugs.gnu.org>; Sat, 05 Mar 2011 16:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=P0+F3ba5z01TYIhZI7OL0sZA7lLLctWZwFUOX2JN/v0=; b=iVhRV8JhGuoedAy//e39SoCfmdiWw9M13N3zqtVR/EdXvih7wLuC1Ln3Kqh5LB+wjC 0Zvg6fJnm4yVdARHNI6i/bAiWxYWvS5kA9OGAkmC3iKqnhz3Xf+SPF4pw43gyoRckEWr l2RwJqZUFJprtdhTiL3K/7xvLngBh+QBAnoro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=C0iMsL+2d0r1fqe8cU7rARreykKSguP55oo0B1dDM7E02VkCaNY6/nVUVZAakpWuEl NfjqW1WEGkrPTSGfvnlsHk3cYDnM7wmYirfq9jO95pEIdH2D8sOat03CErkGfNaeYfL2 0zTIx9x1xGBRCDFf0EpWpu/jDNJ4yDIbxpgJI= Received: by 10.213.10.68 with SMTP id o4mr1474387ebo.74.1299372176179; Sat, 05 Mar 2011 16:42:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.27.205 with HTTP; Sat, 5 Mar 2011 16:42:36 -0800 (PST) In-Reply-To: <4D72D802.7080805@comcast.net> References: <4D72BF5D.20403@comcast.net> <4D72D802.7080805@comcast.net> From: Lennart Borgman Date: Sun, 6 Mar 2011 01:42:36 +0100 Message-ID: Subject: Re: bug#8181: 23.2; Dired on Windows 7 To: "Robert I. Eachus" Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) On Sun, Mar 6, 2011 at 1:40 AM, Robert I. Eachus wrote: > > Thanks for the quick answer, but I think you may be missing the point. Oh, sorry. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 22:31:11 2011 Received: (at 8181) by debbugs.gnu.org; 6 Mar 2011 03:31:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw4gZ-0000rs-I9 for submit@debbugs.gnu.org; Sat, 05 Mar 2011 22:31:11 -0500 Received: from mail-gy0-f172.google.com ([209.85.160.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw4gY-0000rh-P9 for 8181@debbugs.gnu.org; Sat, 05 Mar 2011 22:31:11 -0500 Received: by gyc15 with SMTP id 15so1438044gyc.3 for <8181@debbugs.gnu.org>; Sat, 05 Mar 2011 19:31:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=kyChwBBs4DXNfDAJKTI+p5cc9+iR0tFbJKKuKcHJCFY=; b=d6x+is6Yj9mXQTdq06AlUYFzeFK+7lFh9gtW83hUXah50MCJk+bvb/eKzBRA1fqBGI eh/mmEZewjmhQh4Vhu4BAly0AAhQWiRkIdu6cXU7kfTwcm8g4G7FmUYZ7vVg2q7Kk7KW vWjFelLC7XKtC+uMnu1BR8nvQ1aiZgXBVFbpc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=aN9cGxsj395/lBcpnMBGJrP9rxwrjj0YW2VEYhg9zZ0Aq3MpYoD/LQMsSUpAPqL/Us 75cHBUIULIhEh/s+7A5/cqRx7xMO9pg8R6P5Op4i7bRRNSvV+lPn9T3NoLGBMcf2elC0 oUhg89EuhnQsf2Uz+k8e6o4SHis7A1gq/B0XQ= Received: by 10.150.118.4 with SMTP id q4mr2620718ybc.407.1299382265148; Sat, 05 Mar 2011 19:31:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.35.6 with HTTP; Sat, 5 Mar 2011 19:30:25 -0800 (PST) In-Reply-To: <4D72D802.7080805@comcast.net> References: <4D72BF5D.20403@comcast.net> <4D72D802.7080805@comcast.net> From: Juanma Barranquero Date: Sun, 6 Mar 2011 04:30:25 +0100 Message-ID: Subject: Re: bug#8181: 23.2; Dired on Windows 7 To: "Robert I. Eachus" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 8181 Cc: Lennart Borgman , 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On Sun, Mar 6, 2011 at 01:40, Robert I. Eachus wrote= : > =C2=A0Second, if you do use the menu option, there is no way to select a > directory, even though you can navigate through them. Try doing File / OpenDirectory, then in the File Types combo below select All Files, then Directories again. The Name selection box will say "Current Directory", and you can now Open the current dir. If you're curious, this is implemented in file_dialog_callback (src/w32fns.c:5860). I'm not yet sure whether the fact that "Current Directory" is not initially shown is a bug or a limitation of the Windows dialog. Do you now whether it also happens on XP? =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 08:14:33 2011 Received: (at 8181) by debbugs.gnu.org; 6 Mar 2011 13:14:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwDn7-0007ZQ-NF for submit@debbugs.gnu.org; Sun, 06 Mar 2011 08:14:33 -0500 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwDn6-0007Z8-48 for 8181@debbugs.gnu.org; Sun, 06 Mar 2011 08:14:32 -0500 Received: by yxk30 with SMTP id 30so1484442yxk.3 for <8181@debbugs.gnu.org>; Sun, 06 Mar 2011 05:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=V0AwcRjFgQXB/kaeBspNZIdl7uPkg1hpb4T3faNgNDI=; b=o/nRleHEcp0Uk0/2HdZN6Yo1sZqZho30GL0KwcJATBRQNsAG+qyRQBxmV6uAgVWZ2H iqDjLsoy9xrXzguDe7d5IkFJ+oyaiWhvoPhw3MN83ObJw2COaLkwfnupMlT8p2k8BzSl XFC6/jHWLjCqEJTKSrUF8/2Bdur1lkjqIqGTw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ONL5XUt1yLCecJuBMKnYSxgOJGb7K+21uezNZs44uvN32kZpGfVM9B8HGBIGPhc+me l06oarSywX1pjKTmHYe1KvMbqbGPQN8oFPc5KzJWyFwSES915T1pmMbtNg5ipR/x+2kk RPJC9iVO+Vpdt2iKMPGU44griiSzfPHVu9qZw= MIME-Version: 1.0 Received: by 10.90.42.27 with SMTP id p27mr3382535agp.185.1299417266475; Sun, 06 Mar 2011 05:14:26 -0800 (PST) Received: by 10.90.57.30 with HTTP; Sun, 6 Mar 2011 05:14:26 -0800 (PST) In-Reply-To: <4D72BF5D.20403@comcast.net> References: <4D72BF5D.20403@comcast.net> Date: Sun, 6 Mar 2011 14:14:26 +0100 Message-ID: Subject: Re: bug#8181: 23.2; Dired on Windows 7 From: Dani Moncayo To: "Robert I. Eachus" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Sat, Mar 5, 2011 at 23:55, Robert I. Eachus wrote= : > Choosing Open Directory from the File menu opens a standard (Windows 7) > window that allows you to walk the directory tree, but there is no way > to open a directory in dired mode that I can find. =A0Cx d on the other > hand opens an emacs buffer in dired mode. (Normal behavior) > I tested this on Windows XP (2011-02-28 published binaries). The behavior seems to be this: You have to navigate through the directory tree until you are _inside_ the directory you want to open in dired. Then simply click "Open" (yes, even though there isn't anything selected). FWIW, this doesn't seems too clean to me. IMO, It would be more intuitive to be able to select the directory you want to open, and then click "Open". Regards, --=20 Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 09:17:13 2011 Received: (at 8181) by debbugs.gnu.org; 6 Mar 2011 14:17:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwEll-00015C-0H for submit@debbugs.gnu.org; Sun, 06 Mar 2011 09:17:13 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwElj-00014x-Mc for 8181@debbugs.gnu.org; Sun, 06 Mar 2011 09:17:12 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PwEle-00070u-5A; Sun, 06 Mar 2011 09:17:06 -0500 Date: Sun, 06 Mar 2011 09:17:06 -0500 Message-Id: From: Eli Zaretskii To: Dani Moncayo In-reply-to: (message from Dani Moncayo on Sun, 6 Mar 2011 14:14:26 +0100) Subject: Re: bug#8181: 23.2; Dired on Windows 7 References: <4D72BF5D.20403@comcast.net> X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 8181 Cc: rieachus@comcast.net, 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) > Date: Sun, 6 Mar 2011 14:14:26 +0100 > From: Dani Moncayo > Cc: 8181@debbugs.gnu.org > > I tested this on Windows XP (2011-02-28 published binaries). The > behavior seems to be this: You have to navigate through the directory > tree until you are _inside_ the directory you want to open in dired. > Then simply click "Open" (yes, even though there isn't anything > selected). Yes. > FWIW, this doesn't seems too clean to me. IMO, It would be more > intuitive to be able to select the directory you want to open, and > then click "Open". Tell this to Microsoft. AFAIK, this is a limitation of their file/directory selection dialog. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 11:17:38 2011 Received: (at submit) by debbugs.gnu.org; 6 Mar 2011 16:17:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwGeH-0004AZ-S6 for submit@debbugs.gnu.org; Sun, 06 Mar 2011 11:17:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwGSK-0003tG-Ny for submit@debbugs.gnu.org; Sun, 06 Mar 2011 11:05:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwGSE-0001WK-Kt for submit@debbugs.gnu.org; Sun, 06 Mar 2011 11:05:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:37109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwGSE-0001WD-IH for submit@debbugs.gnu.org; Sun, 06 Mar 2011 11:05:10 -0500 Received: from [140.186.70.92] (port=47390 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwGSD-0003pc-GU for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 11:05:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwGSC-0001Ve-Fu for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 11:05:09 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:33316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwGSC-0001VQ-81 for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 11:05:08 -0500 Received: by bwz17 with SMTP id 17so3745988bwz.0 for ; Sun, 06 Mar 2011 08:05:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=K0Jg2Xd5lbogT5sp7zw8CnLG/XhuNZEbc1/yJsQ/P4M=; b=NMAPoC7fCCtdTS0kayqb32NuTRxXJ0wBSNrMwAu4kI0tve3Sa8cFU9DWdNoBaaQ90P 6LL8Q+xXQ9yayZrBLQGKhhM91r6O4oa4sh02jtxTqICSmoqWYGJv2Y3M7SIPd95Raphg zuGvqCJPQhYnEFObUJOtqPdFLvCq4WwFgPu9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=CzGNSK0OnBc0v5WLbug6KNtz6V4uN3TFh+rZ15CNnD9nuNluT8npU6rS7d+Vh8jHJd sdPgwA9pTRoW4jLtplighsIwjhBTLDyjV6K07979gKHwQoLy2A5dbxuSzAlgqhFJULBl zZBcq2uGbGNk7af6GtdnT1c1m/voo0gL+gav4= Received: by 10.204.83.212 with SMTP id g20mr2526851bkl.55.1299427507129; Sun, 06 Mar 2011 08:05:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.14.212 with HTTP; Sun, 6 Mar 2011 08:04:47 -0800 (PST) From: Ben Key Date: Sun, 6 Mar 2011 10:04:47 -0600 Message-ID: Subject: bug#8181: 23.2; Dired on Windows 7 To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=0016e6da934bf94d76049dd28a2b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 06 Mar 2011 11:17:36 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --0016e6da934bf94d76049dd28a2b Content-Type: text/plain; charset=ISO-8859-1 Hello, I consider the fact that it is necessary to change the selected item in the "Files of Type" combo box to "All Files (*.*)" and back to "Directories" before you can successfully select a directory (at least on Windows 7) to be a bug. I am looking into this problem and will attempt to fix it. By the way, does anyone know why we do not use SHBrowseForFolder if only_dir_p is non nil instead of GetOpenFileName? In my opinion, SHBrowseForFolder provides a much cleaner interface for browsing for an existing folder name than GetOpenFileName. I know that the online version of the MSDN Library claims that Windows XP is required for SHBrowseForFolder but according to the MSDN Library that ships with Visual Studio 2005 the minimum supported operating system is Windows NT 4.0 and Windows 95. --0016e6da934bf94d76049dd28a2b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I consider the fact that it is necessary to = change the selected item in the "Files of Type" combo box to &quo= t;All Files (*.*)" and back to "Directories" before you can = successfully select a directory (at least on Windows 7) to be a bug.=A0 I a= m looking into this problem and will attempt to fix it.

By the way, does anyone know why we do not use SHBrowseForFolder if onl= y_dir_p is non nil instead of GetOpenFileName?=A0 In my opinion,
SHBrowseForFolder provides a much cleaner interface for brows= ing for an existing folder name than GetOpenFileNam= e.=A0 I know that the online version of the MSDN Library claims that Window= s XP is required for SHBrowseForFolder but accordin= g to the MSDN Library that ships with Visual Studio 2005 the minimum suppor= ted operating system is Windows NT 4.0 and Windows 95.


--0016e6da934bf94d76049dd28a2b-- From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 15:29:35 2011 Received: (at 8181) by debbugs.gnu.org; 6 Mar 2011 20:29:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwKa7-000339-MH for submit@debbugs.gnu.org; Sun, 06 Mar 2011 15:29:35 -0500 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwKa5-00032v-Mb for 8181@debbugs.gnu.org; Sun, 06 Mar 2011 15:29:34 -0500 Received: by yxk30 with SMTP id 30so1581461yxk.3 for <8181@debbugs.gnu.org>; Sun, 06 Mar 2011 12:29:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=9e62jZm0TwEMhbU8G7MhJ8Q6Wl+WGr6cPXbNSxwGzu0=; b=PQpS34pgFHnXCLLm4Y5xukPGmTu0mKrUchcbocinlagdyKX2vtNInaaqR1Tigs1oHX 8dc0jErXWLQ900b+rySg9xs8Jf9WvvnopW39oSjSAdjZ5ILXA1N3e4fpL12UlpVPokq0 rvFeu82z7Z17l3vr6rkYviACKid5kmmE/Npxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=IVT/EE7V9RDN5tEoIXtPVTRHoKMSnucABcjp6YufxRy9EVYMJj4Oj3x2pFCsIUKaoq MqF0+dACWjqUOSkOn6ASAOmmHP9wg610voqSN/YxN7oapQx5Dztv++8L+Yvd3hs03ZCK +/a4M/gUDJaSRCHWBQF5neglT+zDgpVTbe7ug= Received: by 10.150.67.10 with SMTP id p10mr3546589yba.236.1299443368096; Sun, 06 Mar 2011 12:29:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.35.6 with HTTP; Sun, 6 Mar 2011 12:28:48 -0800 (PST) In-Reply-To: References: <4D72BF5D.20403@comcast.net> From: Juanma Barranquero Date: Sun, 6 Mar 2011 21:28:48 +0100 Message-ID: Subject: Re: bug#8181: 23.2; Dired on Windows 7 To: Ben Key Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On Sun, Mar 6, 2011 at 17:04, Ben Key wrote: > I consider the fact that it is necessary to change the selected item in t= he > "Files of Type" combo box to "All Files (*.*)" and back to "Directories" > before you can successfully select a directory (at least on Windows 7) to= be > a bug. It is definitely a bug, yes. Or perhaps two; I've been stepping through file_dialog_callback and I see two problems. One is the fact that the initial setting of FILE_NAME_TEXT_FIELD does not work. WM_NOTIFY is received with the appropriate arguments, and CommDlg_OpenSave_SetControlText (at w32fns.c:5875) is called, but it apparently has no effect. Perhaps some order-of-initialization issue that's changed (undocumentedly) on Windows 7? The other is that GetDlgItem (dialog, FILE_NAME_TEXT_FIELD) is returning always 0, so the EnableWindow calls are no-ops (in fact, that's easy to see because after setting the combo to "Directories", you can still edit the text field). I'm seeing these problems in Windows 7 SP1 64-bit, BTW. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 00:38:34 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 05:38:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwT9N-0008OW-UK for submit@debbugs.gnu.org; Mon, 07 Mar 2011 00:38:34 -0500 Received: from mail-yi0-f44.google.com ([209.85.218.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwT9K-0008OJ-QI for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 00:38:31 -0500 Received: by yic13 with SMTP id 13so1709020yic.3 for <8181@debbugs.gnu.org>; Sun, 06 Mar 2011 21:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=+qKLEmaXYVm5uSUKwPNBylfduqYSlgFVlRRh1LbsNJo=; b=Dphx4Qs0VA4/sWE28uWj2nJherjgUDB71NKpyaNWDDVHp35xjqoX0qFgjBXGKY5nB1 QQUReVWa/G25y004txvaha+h9hv9f+7zjtUF6hjlFc0vGHlLzURGeBUVIjqFAlHSxqml 5VNEjNCn3XR9nG8b/omzhZkcRLYIBmJbmmuBI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Fwa4/5j2pTNMAt3KptwmJlW8qbehFmNciqhZPmaDgIxtmplCxRCaJn6OjM636SODHP sErkm8A2LIofc7ks8Mjf00CAK+beoj9F4Biy5lNA6OWmplB0lrjtUN468v6+FLzek1/t ytk6tkehUWaalrOEzRBR5UaKjQPD5nbany0Ys= Received: by 10.150.52.11 with SMTP id z11mr3852698ybz.350.1299476305101; Sun, 06 Mar 2011 21:38:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.113.19 with HTTP; Sun, 6 Mar 2011 21:37:45 -0800 (PST) In-Reply-To: References: From: Juanma Barranquero Date: Mon, 7 Mar 2011 06:37:45 +0100 Message-ID: Subject: Re: Patch to fix bug#8181: 23.2; Dired on Windows 7 To: Ben Key Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On Mon, Mar 7, 2011 at 05:15, Ben Key wrote: > The attached patch fixes bug #8181: 23.2; Dired on Windows 7. Thanks. > The code that was attempting to set the text of the file name text field > when processing the CDN_INITDONE WM_NOTIFY message does not work.=C2=A0 T= his is > because the code that processes the lpstrFile member of the OPENFILENAME > structure to set the initial value of the window is called after the > CDN_INITDONE WM_NOTIFY message is processed.=C2=A0 The correct way to set= the > text of the file name text field to "Current Directory" is to set the > initial value of the lpstrFile member of the OPENFILENAME structure to > "Current Directory" in the only_dir_p case if it does not already have > another value. There's no need to duplicate the code in both branches of "if (STRINGP (default_filename))"; "Current Directory" is shorter than MAX_PATH, so there are no worries about buffer overflow. You can just add /* The code in file_dialog_callback that attempts to set the text of the file name edit window when handling the CDN_INITDONE WM_NOTIFY message does not work. Setting filename to "Current Directory" in the only_dir_p case here does work however. */ if (filename[0] =3D=3D 0 && ! NILP (only_dir_p)) strcpy (filename, "Current Directory"); afterwards. > The attempt to find the window handle of the file name text field failed,= at > least on Windows XP and Windows 7.=C2=A0 By using Microsoft Spy++ I was a= ble to > discover the correct way to obtain this Window handle.=C2=A0 I modified t= he code > in file_dialog_callback that initializes the edit_control using this > information. Having to go fishing for the window handles is hackish, but not your fault, but Microsoft's. Unless someone knows of a better way, that's what we're stuck with. > My solution was to set focus to the list box if the > file name text field is disabled during dialog box initialization.=C2=A0 = This > part could use a little more work. I don't see anything wrong with this. Here's your patch, slighty reworked to be more on line with current Emacs coding conventions (the "0 =3D=3D X" and "NULL =3D=3D X" styles are n= ot frequently used) and with a proposed ChangeLog entry (feel free to rewrite it, of course). =C2=A0 =C2=A0 Juanma 2011-03-07 Ben Key * w32fns.c (FILE_NAME_COMBO_BOX, FILE_NAME_LIST): Define. (file_dialog_callback): Fix locating the window handle of the File Name text field. After disabling it, set focus on the list control. (Fx_file_dialog): If only_dir_p is non-nil, set the text of the File Name text field to "Current Directory" if it does not already have another value. (Bug#8181) =3D=3D=3D modified file 'src/w32fns.c' --- src/w32fns.c 2011-02-16 18:39:46 +0000 +++ src/w32fns.c 2011-03-07 05:01:46 +0000 @@ -60,6 +60,8 @@ #include #include #define FILE_NAME_TEXT_FIELD edt1 +#define FILE_NAME_COMBO_BOX cmb13 +#define FILE_NAME_LIST lst1 #include "font.h" #include "w32font.h" @@ -5868,13 +5870,37 @@ { HWND dialog =3D GetParent (hwnd); HWND edit_control =3D GetDlgItem (dialog, FILE_NAME_TEXT_FIELD); - - /* Directories is in index 2. */ + HWND list =3D GetDlgItem (dialog, FILE_NAME_LIST); + + /* At least on Windows 7, the above attempt to get the window handle + to the File Name Text Field fails. The following code does the + job though. Note that this code is based on my examination of the + window hierarchy using Microsoft Spy++. bk */ + if (edit_control =3D=3D NULL) + { + HWND tmp =3D GetDlgItem (dialog, FILE_NAME_COMBO_BOX); + if (tmp) + { + tmp =3D GetWindow (tmp, GW_CHILD); + if (tmp) + edit_control =3D GetWindow (tmp, GW_CHILD); + } + } + + /* Directories is in index 2. */ if (notify->lpOFN->nFilterIndex =3D=3D 2) { CommDlg_OpenSave_SetControlText (dialog, FILE_NAME_TEXT_FIELD, "Current Directory"); EnableWindow (edit_control, FALSE); + /* Note that at least on Windows 7, the above call to EnableWindow + disables the window that would ordinarily have focus. If we + do not set focus to some other window here, focus will land in + no man's land and the user will be unable to tab through the + dialog box (pressing tab will only result in a beep). + Avoid that problem by setting focus to the list here. */ + if (CDN_INITDONE =3D=3D notify->hdr.code) + SetFocus (list); } else { @@ -5951,6 +5977,13 @@ else filename[0] =3D '\0'; + /* The code in file_dialog_callback that attempts to set the text + of the file name edit window when handling the CDN_INITDONE + WM_NOTIFY message does not work. Setting filename to "Current + Directory" in the only_dir_p case here does work however. */ + if (filename[0] =3D=3D 0 && ! NILP (only_dir_p)) + strcpy (filename, "Current Directory"); + { NEWOPENFILENAME new_file_details; BOOL file_opened =3D FALSE; From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 01:58:55 2011 Received: (at control) by debbugs.gnu.org; 7 Mar 2011 06:58:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwUP9-0001hi-4Q for submit@debbugs.gnu.org; Mon, 07 Mar 2011 01:58:55 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwUP7-0001hU-BL for control@debbugs.gnu.org; Mon, 07 Mar 2011 01:58:54 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PwUP2-0008TK-0M for control@debbugs.gnu.org; Mon, 07 Mar 2011 01:58:48 -0500 Date: Mon, 07 Mar 2011 01:58:48 -0500 Message-Id: Subject: control message for bug 8191 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) merge 8181 8191 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 09:19:32 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 14:19:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwbHX-0005H2-Vu for submit@debbugs.gnu.org; Mon, 07 Mar 2011 09:19:32 -0500 Received: from mail-gw0-f42.google.com ([74.125.83.42]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwbHW-0005Gp-R1 for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 09:19:31 -0500 Received: by gwj23 with SMTP id 23so3070381gwj.29 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 06:19:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=BREoAL+MmOViZX6UZ2LENidKUEGhDKQgIhkJF0eUhuw=; b=gAjrGDuf2aFYSfzgEb4OOZeuNTFqqNGbXnlo9PKnlWa7RZdx9ALGNBtRn36xQvFFhy sDPIu6Rl0YHwtma7Rj+caKf5jJA8eAFHgpQWntY0gGEPM32g00ytj9LcKmR79KSP5JGe vlt66Pqt64LN6Tq4DGNnm+yQfEC8MUL1tQQyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=G5QAxMOnNan609L7bWgM7qdcycNhQMKeFYkjiH6fxrVj697bB30wGZ/ESROEcCMdxE G6K5HHKsz6796TH7wnFcep7Qm5skddwabTUZ6DlhJgimv4pWxMswWK4rpQfvPvJOcma5 Jv4IUBdBS3PVNqj7LZqVSImOhexO7Ebh8uluo= Received: by 10.90.19.32 with SMTP id 32mr5003363ags.16.1299507565294; Mon, 07 Mar 2011 06:19:25 -0800 (PST) Received: from home.jasonrumney.net ([180.72.78.91]) by mx.google.com with ESMTPS id x31sm3885647ana.9.2011.03.07.06.19.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2011 06:19:24 -0800 (PST) Received: by home.jasonrumney.net (Postfix, from userid 1000) id 4EFD71C9A; Mon, 7 Mar 2011 22:19:13 +0800 (MYT) From: Jason Rumney To: Juanma Barranquero Subject: Re: bug#8181: 23.2; Dired on Windows 7 References: <4D72BF5D.20403@comcast.net> <4D72D802.7080805@comcast.net> Date: Mon, 07 Mar 2011 22:19:13 +0800 In-Reply-To: (Juanma Barranquero's message of "Sun, 6 Mar 2011 04:30:25 +0100") Message-ID: <87mxl7dndq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 8181 Cc: "Robert I. Eachus" , 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) Juanma Barranquero writes: > I'm not yet sure whether the fact that "Current Directory" is not > initially shown is a bug or a limitation of the Windows dialog. Do you > now whether it also happens on XP? Current Directory is initially shown for me on Windows XP SP3. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 09:29:19 2011 Received: (at submit) by debbugs.gnu.org; 7 Mar 2011 14:29:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwbR0-0005UN-8i for submit@debbugs.gnu.org; Mon, 07 Mar 2011 09:29:18 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwbQy-0005UA-5E for submit@debbugs.gnu.org; Mon, 07 Mar 2011 09:29:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwbQr-0004rF-BM for submit@debbugs.gnu.org; Mon, 07 Mar 2011 09:29:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:60948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwbQr-0004r8-7z for submit@debbugs.gnu.org; Mon, 07 Mar 2011 09:29:09 -0500 Received: from [140.186.70.92] (port=38149 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwbQq-0003Ks-9U for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 09:29:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwbQp-0004qZ-1i for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 09:29:07 -0500 Received: from mail-yi0-f41.google.com ([209.85.218.41]:41086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwbQo-0004qR-VJ for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 09:29:07 -0500 Received: by yib2 with SMTP id 2so2133169yib.0 for ; Mon, 07 Mar 2011 06:29:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=rXK1EslczsTOduAnOrOE/PLpolrG9n86/ATH44A7uOI=; b=HaJEg8s6DyQv+efnecUrbIpnn3ig95unqIFB8oeyV28IrvKA9RTfuM6L7YJDXxNm/w Bx37XbqWBh0WOGBS8p+ndrVP9WOVzQqZUN514ncZS3nYCEzlZ76pwmgcVcIehpOmiCPc rFlR2rIDhtV+mU1DJdtNxhVLVulE1RTTl8jPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=kknrwmuOFFLbOnb6u5lLi0LvC70eeADz4703LVnX8CDFYE+nEZlEILNN+vNdmi6Kfh pnW4daUE4s2kmkM1WJr+os5c++6F9m50g43NTQnxBL7IjCa70KfvS7wfQCfNu5Fz6cc+ nWNHJTW7yD6z7QV4GUxJP7mC8WEZ5QH9zotYs= Received: by 10.150.66.6 with SMTP id o6mr4465071yba.194.1299508125440; Mon, 07 Mar 2011 06:28:45 -0800 (PST) Received: from home.jasonrumney.net ([180.72.78.91]) by mx.google.com with ESMTPS id v35sm1744194yba.4.2011.03.07.06.28.42 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2011 06:28:44 -0800 (PST) Received: by home.jasonrumney.net (Postfix, from userid 1000) id 58C6E1C9A; Mon, 7 Mar 2011 22:28:38 +0800 (MYT) From: Jason Rumney To: Ben Key Subject: Re: bug#8181: 23.2; Dired on Windows 7 References: <4D72BF5D.20403@comcast.net> Date: Mon, 07 Mar 2011 22:28:37 +0800 In-Reply-To: (Ben Key's message of "Sun, 6 Mar 2011 10:04:47 -0600") Message-ID: <87ipvvdmy2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Ben Key writes: > Hello, > > I consider the fact that it is necessary to change the selected item > in the "Files of Type" combo box to "All Files (*.*)" and back to > "Directories" before you can successfully select a directory (at least > on Windows 7) to be a bug.=C2=A0 I am looking into this problem and will > attempt to fix it. Yes, if you have to do that on Windows 7, then something needs fixing. It isn't neccesary on Windows XP or earlier versions of Windows. > By the way, does anyone know why we do not use SHBrowseForFolder if > only_dir_p is non nil instead of GetOpenFileName? IIRC it had its own problems, such as not being able to open non-existing files (even if used only for directories, the standard file dialog at least allows you to create directories inside the dialog). It also seemed a bit clumsy and left behind from an earlier version of Windows, but things may have changed since the dialog support was first added. I'm not aware of any other programs that use it, so it doesn't have the benefit of being familiar to Windows users that the file dialog has (though the familiarity is lost when we start using it to select directories, which it was never designed to do). From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 09:31:51 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 14:31:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwbTS-0005Y8-RF for submit@debbugs.gnu.org; Mon, 07 Mar 2011 09:31:51 -0500 Received: from mail-gx0-f172.google.com ([209.85.161.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwbTR-0005Xw-0m for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 09:31:49 -0500 Received: by gxk5 with SMTP id 5so1872439gxk.3 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 06:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=f+h+Goox41E/8aqnHXNKJFtIAr3faO6lBQi7tDcNlOc=; b=NLSypJwXzkAQHflgttTnl2TTPULOsVihL5jM39RjYlqgE+RWkPT2JwRh3d9eqczd8B 168UNdRXQfvUs/o1qLd15Y0bunQ+z66zchJz25D1xr2MekIJgDOSROdyHA0RV537OpJu vv5OtVEpN91FU3iAcHw5d84fqV2Bc414KY4Og= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=CYXmxtFK7cr9sVxUkqgSFX9p3//1838kXr6dWqQvEls1HHIH0Q9wI79eKbdD1Q2KV5 hzm4ZPGLPYQ9VBL7k1HbFLajiHWIGTUq+xbzMp3n21VII0Gy3QivCgqML2l5PPm5z5Er 922A+s9cS71EjSLl9CKPMMUa9kYgRvt0NCO7c= Received: by 10.90.145.11 with SMTP id s11mr2988915agd.88.1299508303386; Mon, 07 Mar 2011 06:31:43 -0800 (PST) Received: from home.jasonrumney.net ([180.72.78.91]) by mx.google.com with ESMTPS id h50sm831098yhm.41.2011.03.07.06.31.40 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2011 06:31:42 -0800 (PST) Received: by home.jasonrumney.net (Postfix, from userid 1000) id CDFBE1C9A; Mon, 7 Mar 2011 22:31:36 +0800 (MYT) From: Jason Rumney To: Juanma Barranquero Subject: Re: bug#8181: 23.2; Dired on Windows 7 References: <4D72BF5D.20403@comcast.net> Date: Mon, 07 Mar 2011 22:31:36 +0800 In-Reply-To: (Juanma Barranquero's message of "Sun, 6 Mar 2011 21:28:48 +0100") Message-ID: <87ei6jdmt3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org, Ben Key X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) Juanma Barranquero writes: > One is the fact that the initial setting of FILE_NAME_TEXT_FIELD does > not work. WM_NOTIFY is received with the appropriate arguments, and > CommDlg_OpenSave_SetControlText (at w32fns.c:5875) is called, but it > apparently has no effect. Perhaps some order-of-initialization issue > that's changed (undocumentedly) on Windows 7? > > The other is that GetDlgItem (dialog, FILE_NAME_TEXT_FIELD) is > returning always 0, so the EnableWindow calls are no-ops (in fact, > that's easy to see because after setting the combo to "Directories", > you can still edit the text field). > > I'm seeing these problems in Windows 7 SP1 64-bit, BTW. Has Microsoft changed the names of these fields in Windows 7, or is it some new "security" feature getting in the way of changing this dialog programmatically? From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 10:57:15 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 15:57:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwco6-0007XX-SL for submit@debbugs.gnu.org; Mon, 07 Mar 2011 10:57:15 -0500 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwco5-0007XK-4r for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 10:57:13 -0500 Received: by bwz13 with SMTP id 13so3915708bwz.3 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 07:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=iOruNNGYkuKGcUito45lJnmVIPnvgSjKWclGjCk6Mw0=; b=XSY9a/Ma30qtYP3OgyAHyh7RfabL7e39dH4+cfnuuhB0EaLtWOpXa8/bl6sJpYuPEh tPct1ENdjtH/lDpKZQGvc+fmf7uAenaXPWHwu9IRNd9l2oI18+1ITcLDsph/rG2Hlx0+ VPmcRdxhVODAcxLgYeimntC29P2Bi4rv9bPI8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=eJI8kB4MwoXdwgoDfmw9mh04wf2F7vuRDPxjVjLLSjh4CWjOgE7ToTYscOKvV1OTQh wZ8HqOOXJu0OzxJObDoahb/VsmleKYNEASxHRH6nO0PpOnFUHimjdDoFmsHZ3Ldr90YR yC5hDMU0gdlurc64+ext7+EbA7ZgUB/qIqCN4= Received: by 10.204.233.14 with SMTP id jw14mr236384bkb.40.1299513427125; Mon, 07 Mar 2011 07:57:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.14.147 with HTTP; Mon, 7 Mar 2011 07:56:46 -0800 (PST) In-Reply-To: References: From: Ben Key Date: Mon, 7 Mar 2011 09:56:46 -0600 Message-ID: Subject: Re: Patch to fix bug#8181: 23.2; Dired on Windows 7 To: Juanma Barranquero Content-Type: multipart/alternative; boundary=485b3979da84346681049de68ce9 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.5 (----) --485b3979da84346681049de68ce9 Content-Type: text/plain; charset=ISO-8859-1 Hello, I have tested the updated patch by Juanma Barranquero and it works fine. I say we go with it. What is the next step to get this change committed? --485b3979da84346681049de68ce9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I have tested the updated patch by Juanma Ba= rranquero and it works fine.=A0 I say we go with it.=A0 What is the next st= ep to get this change committed?

--485b3979da84346681049de68ce9-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 11:20:22 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 16:20:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwdAT-00084i-6n for submit@debbugs.gnu.org; Mon, 07 Mar 2011 11:20:21 -0500 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwdAQ-00084N-Rq for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 11:20:19 -0500 Received: by bwz13 with SMTP id 13so3933419bwz.3 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 08:20:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=GNiOs1tNrrn+TR1wOq4RGbvR17wmm1U4vguxhU8mio4=; b=pc4bw0V3D5FX8ZMu4vyyhGkj0IXlISjbRm7AYQzPy/grQM60evPHLHpQo8F52xg3aK zZb3d7m/kd+If2Ob6SYHQ4sB+nMAiUKCVxDD1BeXFpQgFQqnEHmNaqjJ2lMHfRLtPPxi 7VmPPfp/pyO9/Ho2pBLqu1LlIPJbE6IdfMKVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=GxWCj73b2bAv8X4ND4kyVu5hrcdxmJ3x3e+6+aZw8DHrXGrYptUkCAuF5YuxaF5G9c sfjmad2p2IKBhyUfMSidLjsR9DuKDcsSg+YYLmYeWebhWh5p2XBCAJzfSfh0AK5C7XjA J6eknIxro6R3oOWgQKS8V6o3H4RBpopEmmIE8= Received: by 10.204.22.194 with SMTP id o2mr2061681bkb.67.1299514812416; Mon, 07 Mar 2011 08:20:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.14.147 with HTTP; Mon, 7 Mar 2011 08:19:19 -0800 (PST) In-Reply-To: <87ei6jdmt3.fsf@gnu.org> References: <4D72BF5D.20403@comcast.net> <87ei6jdmt3.fsf@gnu.org> From: Ben Key Date: Mon, 7 Mar 2011 10:19:19 -0600 Message-ID: Subject: Re: bug#8181: 23.2; Dired on Windows 7 To: Jason Rumney Content-Type: multipart/alternative; boundary=00032555a4aac64163049de6dee1 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: 8181 Cc: Juanma Barranquero , 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) --00032555a4aac64163049de6dee1 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Mar 7, 2011 at 8:31 AM, Jason Rumney wrote: > > Has Microsoft changed the names of these fields in Windows 7, or is it > some new "security" feature getting in the way of changing this dialog > programmatically? > Hello, Note that a patch to fix the issue has already been submitted by my and improved upon by Juanma Barranquero. See the messages < http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-03/msg00270.html> and for more details. The cause of the problem that prevented Emacs from being able to set the initial value of the file name text field was a result of the fact that the code that processes the lpstrFile member of the OPENFILENAME structure to set the initial value of the window is now called after the CDN_INITDONE WM_NOTIFY message is processed. Since lpstrFile was set to an empty string, this caused the text to be removed from the window after it was set. The fix for that was to set lpstrFile to "Current Directory" in the only_dir_p case. The cause of the problem that caused Emacs to be unable to disable the edit window was simply a change in the window hierarchy of the File Open dialog box since the bad old Windows 95 days. The patches resolve both issues. Note that only the latest patch by Juanma Barranquero should be committed. --00032555a4aac64163049de6dee1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Mar 7, 2011 at 8:31 AM, Jason Rumney <jasonr@gnu.org>= wrote:

Has Microsoft changed the names of these fields in Windows 7, or is i= t
some new "security" feature getting in the way of changing this d= ialog
programmatically?

Hello,

Note that a patch to = fix the issue has already been submitted by my and improved upon by Juanma = Barranquero.=A0 See the messages <http://lists.gnu.org/archive/ht= ml/bug-gnu-emacs/2011-03/msg00270.html>=A0 and <http://lis= ts.gnu.org/archive/html/bug-gnu-emacs/2011-03/msg00269.html> for mor= e details.

The cause of the problem that prevented Emacs from being able to set th= e initial value of the
file name text field was a r= esult of the fact that the code that processes the = lpstrFile member of the=20 OPENFILENAME structure to set the initial value of the window is now called= =20 after the CDN_INITDONE WM_NOTIFY message is process= ed.=A0 Since lpstrFile was set to an empty string, = this caused the text to be removed from the window after it was set.=A0 The= fix for that was to set lpstrFile to "Current= Directory" in the only_dir_p case.

The cause of the problem that caused Emacs to be unable to disable the = edit window was simply a change in the window hierarchy of the File Open di= alog box since the bad old Windows 95 days.

The patches resolve both= issues.=A0 Note that only the latest patch by
Juan= ma Barranquero should be committed.

--00032555a4aac64163049de6dee1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 13:07:02 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 18:07:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pweph-0001yh-K9 for submit@debbugs.gnu.org; Mon, 07 Mar 2011 13:07:01 -0500 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwepf-0001yV-R1 for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 13:07:00 -0500 Received: by qwh6 with SMTP id 6so3270456qwh.3 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 10:06:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=P19g/aBDPUInqCTQP/twRuvZdH0RMx3Hw3VwBnfZ9Z0=; b=VuQb2hwEXgoN2lCQXn7FBeSGrvQFVfpIpxOG92MwAMhCBUDb7atElqiYsVTNSaKMap GMDAvM9pgnbI3hpAdq1aJPLdi+axPhvMXJF2q++LU/ODZZ32HDrnpglpCAU7mc+NY0Zw M45xpolfjvfqkPQOnBNU6mD3upduRI8i81Xhs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=o6qiEhrzI8tpH9vyP+VGTJDqkXxgBqm0FRsT2Y2qhccXqUCpK29w+v9jX2QboYOdQ4 ngJHiX7kO3qNutvQfzrmSFDqmWa+ESFMdMKcSNWJNyAIWPyMj7jAGVUe/fby5SA618Nc nE1l/sXhX/3YfKXOgKkiM7dHuqLJ/X7M9dpwE= Received: by 10.224.127.67 with SMTP id f3mr1479005qas.180.1299521214162; Mon, 07 Mar 2011 10:06:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.74.212 with HTTP; Mon, 7 Mar 2011 10:06:14 -0800 (PST) In-Reply-To: References: From: Juanma Barranquero Date: Mon, 7 Mar 2011 19:06:14 +0100 Message-ID: Subject: Re: Patch to fix bug#8181: 23.2; Dired on Windows 7 To: Ben Key Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) > I have tested the updated patch by Juanma Barranquero and it works fine.= =C2=A0 I > say we go with it.=C2=A0 What is the next step to get this change committ= ed? If we have your papers on file, it's just a matter of committing it. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 13:10:29 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 18:10:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwet2-00023d-Vj for submit@debbugs.gnu.org; Mon, 07 Mar 2011 13:10:29 -0500 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwesr-00023G-1r for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 13:10:27 -0500 Received: by qwh6 with SMTP id 6so3272781qwh.3 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 10:10:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=Lx45wj7LszMaKZarSEoOh5svz4A8iVCYgrAzS6zX8z0=; b=iInCRusIVt8xrVfNOwm8uZuScoCZD5t2XS8wIicf5+4DrVO7WBF8Hx7AhNFXGxUyfr CBra381qS0cTYEdUQgyVXxpcAscy4SlxcHXJT0UvS6uik49QPD6PhAen1sezy/KzzfX6 EIN2EerThbmXrqhpa7J/KUghOeh3GO/77PVtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=SVdC1kcMWf7H66V9RzZNQMroY1UCu88PQmwKaYufnPjCX50mjCiKQy3DpDlcJM1nNw nb1caD0O/SEYyyitqU1yQ4TyE1wRwAgSsW/gVUHFOKESp8XeJUD/iNFbqjGJsFFFE0OY kQLCmRDz9J1X443WV4z0RduOrrwpsg1/fC8EA= Received: by 10.229.29.129 with SMTP id q1mr3108807qcc.295.1299521411135; Mon, 07 Mar 2011 10:10:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.74.212 with HTTP; Mon, 7 Mar 2011 10:09:31 -0800 (PST) In-Reply-To: <87ei6jdmt3.fsf@gnu.org> References: <4D72BF5D.20403@comcast.net> <87ei6jdmt3.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 7 Mar 2011 19:09:31 +0100 Message-ID: Subject: Re: bug#8181: 23.2; Dired on Windows 7 To: Jason Rumney Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org, Ben Key X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On Mon, Mar 7, 2011 at 15:31, Jason Rumney wrote: > Has Microsoft changed the names of these fields in Windows 7, or is it > some new "security" feature getting in the way of changing this dialog > programmatically? The names haven't changed, but something has. I'm inclined to believe the "security" idea :-( =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 14:55:21 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 19:55:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwgWW-0004bw-Tw for submit@debbugs.gnu.org; Mon, 07 Mar 2011 14:55:21 -0500 Received: from mail-gy0-f172.google.com ([209.85.160.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwgWV-0004bm-KP for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 14:55:20 -0500 Received: by gyc15 with SMTP id 15so2020885gyc.3 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 11:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=cF3SOudRawXK0o7bGwwUbXKVAr4b2TYQa2rcWEazLNU=; b=lYZMJYUXzRGhsYLzQxgXl8ido8IIFNabYVIsp9pt/vJC0oPHT/q1eCgvDtsqalF6VR EDs5VYzQY76EUE+WkbA6dcehR17+pTb63FttBUfQGwsC6DENlqvYTs0mNxFIMotLLOe0 tM0eGUxh7elQj0RIvvSdFKBJuPov/Ficfif9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=sPwisu3hKlx2MW1N0rMG/uBXzisx5FRY9l3duZeSub8/3xttR4aK8k5M2lowHOuiAe g58jJMSfdZBZOzcgUtMrOUAStsbwWdceUtLUI8GfFjob8SCWQY+06hfGUy6eEKhF3rs/ 2myjF+yt4M/m2IJFJ2cqbzbq/eEXH9vo3j2lA= Received: by 10.150.67.10 with SMTP id p10mr4912202yba.236.1299527714085; Mon, 07 Mar 2011 11:55:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.113.19 with HTTP; Mon, 7 Mar 2011 11:54:33 -0800 (PST) In-Reply-To: References: From: Juanma Barranquero Date: Mon, 7 Mar 2011 20:54:33 +0100 Message-ID: Subject: Re: bug#8181: Patch to fix bug#8181: 23.2; Dired on Windows 7 To: Ben Key Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 8181 Cc: Chong Yidong , 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) > If we have your papers on file, it's just a matter of committing it. We already have non-trivial changes by you (from Nov 2002), so I suppose it is OK. Chong, if it is OK to install this change, what about porting it to 23.3? It's an usability issue, and affects just the Windows port (so not much of a regression risk). Were you planning on making another pretest because of the cc-cmds.el change? =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 15:16:28 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 20:16:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwgqx-00055r-Pd for submit@debbugs.gnu.org; Mon, 07 Mar 2011 15:16:27 -0500 Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwgqw-00055g-2f for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 15:16:26 -0500 Received: from furball (dhcp128036014164.central.yale.edu [128.36.14.164]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p27KGJKm014703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 7 Mar 2011 15:16:19 -0500 Received: by furball (Postfix, from userid 1000) id B0B8B1604BC; Mon, 7 Mar 2011 15:16:19 -0500 (EST) From: Chong Yidong To: Juanma Barranquero Subject: Re: bug#8181: Patch to fix bug#8181: 23.2; Dired on Windows 7 References: Date: Mon, 07 Mar 2011 15:16:19 -0500 In-Reply-To: (Juanma Barranquero's message of "Mon, 7 Mar 2011 20:54:33 +0100") Message-ID: <87d3m2n0to.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org, Ben Key X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Juanma Barranquero writes: > Chong, if it is OK to install this change, what about porting it to > 23.3? It's an usability issue, and affects just the Windows port (so > not much of a regression risk). Were you planning on making another > pretest because of the cc-cmds.el change? I am planning on making another rc, but this change doesn't look small and self-contained enough to squeeze through. Let's just leave it for Emacs 24, please. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 15:24:54 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 20:24:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwgz8-0005Gz-Ga for submit@debbugs.gnu.org; Mon, 07 Mar 2011 15:24:54 -0500 Received: from mail-yi0-f44.google.com ([209.85.218.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwgz6-0005Go-Ng for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 15:24:53 -0500 Received: by yic13 with SMTP id 13so1988631yic.3 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 12:24:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=1ecSuFCFdl27GSjmTHufm+WXm1tWhrvhHBazNZgmG3I=; b=NAjuSYw+F5KMr5gVa/cD8IxOTD/k8UO8/n3jjDa/X4JxrE/FKERWJ46sXQfO0uzpDt mT3LXd4voDv50mw43rvgX+yQPOyckYalD/fl39/CYeGl7lWTKXwALQrOq6Z1o6lJuMDg xx+B4OfF1rPj1UhZyV9ryy9ZUXScP+gojmba0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=neLmsnXH3C3QPrAZFY/QaGjsANpkRZZ8GzNLrkSQY9Apv6LJGIe2tQ8x67zEPwK/j0 JeCvW9bBQdjFrA0CIQiw9ITRSPCKWNKK47/9OakQBoBYJNmXxvAt+doefMWLWCTBuosm h1gbPUBL8Ux71Bb+WMFxF3JCyCWruwi9ajyM4= Received: by 10.147.165.3 with SMTP id s3mr2818844yao.6.1299529487077; Mon, 07 Mar 2011 12:24:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.113.19 with HTTP; Mon, 7 Mar 2011 12:24:07 -0800 (PST) In-Reply-To: <87d3m2n0to.fsf@stupidchicken.com> References: <87d3m2n0to.fsf@stupidchicken.com> From: Juanma Barranquero Date: Mon, 7 Mar 2011 21:24:07 +0100 Message-ID: Subject: Re: bug#8181: Patch to fix bug#8181: 23.2; Dired on Windows 7 To: Chong Yidong Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org, Ben Key X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On Mon, Mar 7, 2011 at 21:16, Chong Yidong wrote: > I am planning on making another rc, but this change doesn't look small > and self-contained enough to squeeze through. =C2=A0Let's just leave it f= or > Emacs 24, please. OK. Can you please confirm that Ben has signed papers, so I can commit this change to the trunk? Thanks, =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 15:59:37 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 20:59:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwhWj-00062a-0Z for submit@debbugs.gnu.org; Mon, 07 Mar 2011 15:59:37 -0500 Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwhWg-00062L-M6 for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 15:59:35 -0500 Received: from furball (dhcp128036014164.central.yale.edu [128.36.14.164]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p27KxSRh007932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 7 Mar 2011 15:59:29 -0500 Received: by furball (Postfix, from userid 1000) id E93DA1604BC; Mon, 7 Mar 2011 15:59:29 -0500 (EST) From: Chong Yidong To: Juanma Barranquero Subject: Re: bug#8181: Patch to fix bug#8181: 23.2; Dired on Windows 7 References: <87d3m2n0to.fsf@stupidchicken.com> Date: Mon, 07 Mar 2011 15:59:29 -0500 In-Reply-To: (Juanma Barranquero's message of "Mon, 7 Mar 2011 21:24:07 +0100") Message-ID: <87r5ai8x5a.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org, Ben Key X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Juanma Barranquero writes: > On Mon, Mar 7, 2011 at 21:16, Chong Yidong wrote: > >> I am planning on making another rc, but this change doesn't look small >> and self-contained enough to squeeze through. =C2=A0Let's just leave it = for >> Emacs 24, please. > > OK. Can you please confirm that Ben has signed papers, so I can commit > this change to the trunk? Yes, I see him now, listed under Benjamin E. Key. Could you do me a favor and also remove the (tiny change) tag to the previous ChangeLog entry under his name? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 16:18:05 2011 Received: (at 8181-done) by debbugs.gnu.org; 7 Mar 2011 21:18:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwhoa-0006Rp-IL for submit@debbugs.gnu.org; Mon, 07 Mar 2011 16:18:04 -0500 Received: from mail-gy0-f172.google.com ([209.85.160.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwhoZ-0006RM-4v for 8181-done@debbugs.gnu.org; Mon, 07 Mar 2011 16:18:03 -0500 Received: by gyc15 with SMTP id 15so2048080gyc.3 for <8181-done@debbugs.gnu.org>; Mon, 07 Mar 2011 13:17:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=hvRB9+Gz4+3ph/6jcURPTQt+T3EHzAzJSIlyldbD66I=; b=uYHuOVjdaaMn5k2Q3yUD5VO3nzLZRPpDiuP3ciTjEgch0NolH8dOtuBuPc6E3MJpDc VZhip7a6cU+ulsQkQ6dAt/vZRZZEPhgYjA5DgNHpds4d73HFsyLXUtvoRCdvEcHb4Lzh YXE7Lev1mAozzoHr3JVhOyj+lIMIE22BxawTw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=LhFAgOTfSuJrCnMUJQ6aamrloV0bgMDv4C0Sz9zDjobX/F1cl8soyOEKAJ0PzTyDCc Gl8qJu/VCV6pyzTzBVfmLAcWSgm1hypx1jVs5mb0NjYI263tKEXsSAodr1djxrJWkZVV WwT+JI4NaLRY9vrjYyjAbP9q2wmZey+pV3OL8= Received: by 10.150.67.10 with SMTP id p10mr5016367yba.236.1299532677172; Mon, 07 Mar 2011 13:17:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.113.19 with HTTP; Mon, 7 Mar 2011 13:17:17 -0800 (PST) In-Reply-To: <87r5ai8x5a.fsf@stupidchicken.com> References: <87d3m2n0to.fsf@stupidchicken.com> <87r5ai8x5a.fsf@stupidchicken.com> From: Juanma Barranquero Date: Mon, 7 Mar 2011 22:17:17 +0100 Message-ID: Subject: Re: bug#8181: Patch to fix bug#8181: 23.2; Dired on Windows 7 To: Chong Yidong Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 8181-done Cc: 8181-done@debbugs.gnu.org, Ben Key X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On Mon, Mar 7, 2011 at 21:59, Chong Yidong wrote: > Yes, I see him now, listed under Benjamin E. Key. OK, committed. > Could you do me a favor and also remove the (tiny change) tag to the > previous ChangeLog entry under his name? =C2=A0Thanks. Done. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 18:04:35 2011 Received: (at 8181) by debbugs.gnu.org; 7 Mar 2011 23:04:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwjTe-0000Ms-Ad for submit@debbugs.gnu.org; Mon, 07 Mar 2011 18:04:34 -0500 Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwjTc-0000Mg-Sj for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 18:04:33 -0500 Received: by ywi6 with SMTP id 6so2035279ywi.3 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 15:04:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=xk728b4cG2oo4lEty1KovTenGHOeWPM4q0ADiaxyOPQ=; b=RB25nG+YDY8xR0h1yje6oOKTIBtq1ZB7ZxAxxkJ4jZP4bLzaFcNIiA7Ni9kZ081T2k 2ygp3TtcC37pF9bOpxRZMC+L0F6O1WZjkNLkigllvANBSTH8hg2aMTEVgLgyXxz9+BhH /ae34KkuGe0wd/ja2peeMY3/evL2xplAjX3VY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=QzeXg3f1NmqWqoS3krJFt4DnQBrYsyo2oXZu/lYMBNWymEtb18K6DnCCj/xzMusTbQ 3ndDiM8GtfUz8lcYeqlRRby2CqAXf/pJ5hUAW2bVB65Ouz7zV0LMOPT4i1zxwyLHZtey V58WltFNYMyHlEGTDon7gIfLnhviKL5MZ0fHU= Received: by 10.146.114.26 with SMTP id m26mr6357337yac.30.1299539067260; Mon, 07 Mar 2011 15:04:27 -0800 (PST) Received: from home.jasonrumney.net ([120.139.91.133]) by mx.google.com with ESMTPS id 69sm60963yhl.4.2011.03.07.15.04.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2011 15:04:25 -0800 (PST) Received: by home.jasonrumney.net (Postfix, from userid 1000) id B64B31CA1; Tue, 8 Mar 2011 07:04:07 +0800 (MYT) From: Jason Rumney To: Juanma Barranquero Subject: Re: bug#8181: 23.2; Dired on Windows 7 References: <4D72BF5D.20403@comcast.net> <87ei6jdmt3.fsf@gnu.org> Date: Tue, 08 Mar 2011 07:04:07 +0800 In-Reply-To: (Juanma Barranquero's message of "Mon, 7 Mar 2011 19:09:31 +0100") Message-ID: <87y64qcz2w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org, Ben Key X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) Juanma Barranquero writes: > On Mon, Mar 7, 2011 at 15:31, Jason Rumney wrote: > >> Has Microsoft changed the names of these fields in Windows 7, or is it >> some new "security" feature getting in the way of changing this dialog >> programmatically? > > The names haven't changed, but something has. I'm inclined to believe > the "security" idea :-( After looking at the patch, it seems it is the name (and type) of the filename field that has changed afterall. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 20:58:38 2011 Received: (at 8181) by debbugs.gnu.org; 8 Mar 2011 01:58:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwmC5-0004D9-LJ for submit@debbugs.gnu.org; Mon, 07 Mar 2011 20:58:38 -0500 Received: from qmta07.emeryville.ca.mail.comcast.net ([76.96.30.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwmC2-0004Cv-SF for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 20:58:35 -0500 Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta07.emeryville.ca.mail.comcast.net with comcast id GRyE1g0051smiN4A7RyVfx; Tue, 08 Mar 2011 01:58:29 +0000 Received: from [127.0.0.1] ([98.216.6.222]) by omta20.emeryville.ca.mail.comcast.net with comcast id GRyQ1g0014nRKc28gRyTCj; Tue, 08 Mar 2011 01:58:27 +0000 Message-ID: <4D758D34.5010006@comcast.net> Date: Mon, 07 Mar 2011 20:58:12 -0500 From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: 8181@debbugs.gnu.org Subject: Re: bug#8181: closed (Re: bug#8181: Patch to fix bug#8181: 23.2; Dired on Windows 7) References: <4D72BF5D.20403@comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 8181 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On 3/7/2011 4:19 PM, GNU bug Tracking System wrote: > Your bug report > > #8181: 23.2; Dired on Windows 7 > > which was filed against the emacs package, has been closed. Good and fast work by all. But I still have my original question. Why is the behavior different from Cx d which it lists as an equivalent? I can see that having access to a Windows dialog box can be useful for things like recently visited directories, so the ability to access the Microsoft dialog boxes is nice. I had assumed that Visit New File... gave the same result as C-x C-f, and Open File.., with no keyboard equivalent went through the the Windows menuing system. It wasn't until now that I found out they were the same. (I started in computing well before terminals with displays and windowing systems were common, and I have been using Emacs for over 30 years. So by the time I conclude I want to open a file or directory, I'm typing its name in the minibuffer. (Unless, apparently, I have a hot cup of tea in my left hand. ;-) From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 21:24:59 2011 Received: (at 8181) by debbugs.gnu.org; 8 Mar 2011 02:24:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwmba-0004nH-QE for submit@debbugs.gnu.org; Mon, 07 Mar 2011 21:24:59 -0500 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwmbX-0004n3-V2 for 8181@debbugs.gnu.org; Mon, 07 Mar 2011 21:24:57 -0500 Received: by yxk30 with SMTP id 30so2085490yxk.3 for <8181@debbugs.gnu.org>; Mon, 07 Mar 2011 18:24:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=7S3ziytCclAjay4iQTAgg+/kdHEn18d5cPf1P+aoj8M=; b=ImHVVMLuBbo3i9/Tu9omP1tQJUwmG5Q6p+K81SbkC4pqQ3SSl2CFpfpY/A8B+CNarB Yb3BV06GXt0TvUDcjJX7B2a1vjLdoLlF8Zbzs3UAe5WAS9eu/DtmC5aog0SdildEGi1l hM/LI8yn/R0t366qb9MjNTaQlTU9K334YQZPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=nwk4ihMYZnNrfOBon3D2LZjefK2IdISqozDxcG+HdefSJ+rg3PWc37Eg0Sxvf+pz1t eVJpZ4nEDs2NwlxlMb5Gwnwz0qC/ZJvQf1LtoJ6ehCl6j3gPcdqy12dTyvD6pQpVWGu5 H0OM1+ZcemtjJLc8sbJk2lgW6X+nD6lKbzzdE= Received: by 10.236.120.45 with SMTP id o33mr120407yhh.53.1299551090330; Mon, 07 Mar 2011 18:24:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.113.19 with HTTP; Mon, 7 Mar 2011 18:24:10 -0800 (PST) In-Reply-To: <4D758D34.5010006@comcast.net> References: <4D72BF5D.20403@comcast.net> <4D758D34.5010006@comcast.net> From: Juanma Barranquero Date: Tue, 8 Mar 2011 03:24:10 +0100 Message-ID: Subject: Re: bug#8181: closed (Re: bug#8181: Patch to fix bug#8181: 23.2; Dired on Windows 7) To: "Robert I. Eachus" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 8181 Cc: 8181@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On Tue, Mar 8, 2011 at 02:58, Robert I. Eachus wrote= : > But I still have my original question. =C2=A0Why is > the behavior different from Cx d which it lists as an equivalent? Because, apparently, most users prefer a GUI file dialog when using the mouse, but a keyboard interface when invoking find-file or dired from the keyboard. If you don't like the default, just customize `use-dialog-box' and `use-file-dialog'. =C2=A0 =C2=A0 Juanma From unknown Mon Jun 16 23:29:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Apr 2011 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri May 27 14:44:08 2011 Received: (at control) by debbugs.gnu.org; 27 May 2011 18:44:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QQ212-0006DF-G1 for submit@debbugs.gnu.org; Fri, 27 May 2011 14:44:08 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QQ210-0006Ca-B9 for control@debbugs.gnu.org; Fri, 27 May 2011 14:44:07 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LLV00G00AFDDC00@a-mtaout21.012.net.il> for control@debbugs.gnu.org; Fri, 27 May 2011 21:44:00 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.221.158]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LLV00GDNAPA5C90@a-mtaout21.012.net.il> for control@debbugs.gnu.org; Fri, 27 May 2011 21:44:00 +0300 (IDT) Date: Fri, 27 May 2011 21:44:03 +0300 From: Eli Zaretskii Subject: 8741 X-012-Sender: halo1@inter.net.il To: control@debbugs.gnu.org Message-id: <83wrhcasr0.fsf@gnu.org> X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) unarchive 8181 forcemerge 8181 8741 From unknown Mon Jun 16 23:29:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 25 Jun 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator