From unknown Fri Sep 05 09:10:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1374: 23.0.60; directory-files unexpectedly non-nil Reply-To: Markus Triska , 1374@debbugs.gnu.org Resent-From: Markus Triska Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 19 Nov 2008 04:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1374 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122706727919912 (code B ref -1); Wed, 19 Nov 2008 04:10:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Nov 2008 04:01:19 +0000 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 mAJ41GTn019905 for ; Tue, 18 Nov 2008 20:01:17 -0800 Received: from mx10.gnu.org ([199.232.76.166]:35633) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L2eFX-0005zG-MN for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 23:01:07 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L2eFd-0001aT-BU for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 23:01:15 -0500 Received: from mail.gmx.net ([213.165.64.20]:41319) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L2eFc-0001aJ-QB for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 23:01:13 -0500 Received: (qmail invoked by alias); 19 Nov 2008 04:01:10 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp003) with SMTP; 19 Nov 2008 05:01:10 +0100 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1/9UjoYnQn9jsl6R8uvOnTGhlCi981SUDGeu3H0EW OdtmGXOJRVgjV+ Received: by mt-computer.local (Postfix, from userid 502) id AFF45BBF1F9; Wed, 19 Nov 2008 05:01:09 +0100 (CET) From: Markus Triska To: emacs-pretest-bug@gnu.org Message-Id: <20081119040109.AFF45BBF1F9@mt-computer.local> Date: Wed, 19 Nov 2008 05:01:09 +0100 (CET) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Let ~/tmp be initially empty, and create these 7 files in it via: for i in 0085-ottosson.ps.gz 0091-lindgren.ps.gz \ 0104-pettersson-carlsson.ps.gz 0108-carlsson.ps.gz \ 0118-lindgren.ps.gz 1076.pdf apl_slides.pdf; do touch $i; done As expected, (directory-files "~/tmp" nil "nonexistent") then yields "nil". However, after I evaluate (in emacs -Q) the forms: (defun my-log (start end old) (write-region (point-min) (point-min) "/tmp/my-log-file.tmp" t 'silent)) (add-hook 'after-change-functions 'my-log) the new result of (directory-files "~/tmp" nil "nonexistent") is unexpectedly: ("apl_slides.pdf") using OSX. In Ubuntu Intrepid, the new result is, again unexpectedly: ("1076.pdf") In GNU Emacs 23.0.60.2 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9) of 2008-11-05 on mt-computer.local Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 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: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t From unknown Fri Sep 05 09:10:30 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Markus Triska Subject: bug#1374 closed by Chong Yidong (Re: 23.0.60; directory-files unexpectedly non-nil) Message-ID: References: <87d4g44x27.fsf@cyd.mit.edu> <20081119040109.AFF45BBF1F9@mt-computer.local> X-Emacs-PR-Message: they-closed 1374 X-Emacs-PR-Package: emacs Reply-To: 1374@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1228612205-23672-1" This is a multi-part message in MIME format... ------------=_1228612205-23672-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1374: 23.0.60; directory-files unexpectedly non-nil It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 1374: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1374 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1228612205-23672-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Sat Dec 6 17:02:23 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1374-done) by emacsbugs.donarmstrong.com; 7 Dec 2008 01:02:24 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB712L6K021653 for <1374-done@emacsbugs.donarmstrong.com>; Sat, 6 Dec 2008 17:02:22 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 4C04457E1D1; Sat, 6 Dec 2008 20:02:24 -0500 (EST) From: Chong Yidong To: Markus Triska Cc: 1374-done@debbugs.gnu.org Subject: Re: 23.0.60; directory-files unexpectedly non-nil Date: Sat, 06 Dec 2008 20:02:24 -0500 Message-ID: <87d4g44x27.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This bug arose because the after-change-functions were triggered in the code conversion work buffer, whereas directory-files assumed that decoding a file name does not run arbitrary elisp code (otherwise, a compiled regexp gets corrupted). I've changed it so that inhibit-modification-hooks is disabled in the code conversion buffer. Thanks for the bug report. ------------=_1228612205-23672-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From triska@gmx.at Tue Nov 18 20:01:19 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Nov 2008 04:01:19 +0000 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 mAJ41GTn019905 for ; Tue, 18 Nov 2008 20:01:17 -0800 Received: from mx10.gnu.org ([199.232.76.166]:35633) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L2eFX-0005zG-MN for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 23:01:07 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L2eFd-0001aT-BU for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 23:01:15 -0500 Received: from mail.gmx.net ([213.165.64.20]:41319) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L2eFc-0001aJ-QB for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 23:01:13 -0500 Received: (qmail invoked by alias); 19 Nov 2008 04:01:10 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp003) with SMTP; 19 Nov 2008 05:01:10 +0100 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1/9UjoYnQn9jsl6R8uvOnTGhlCi981SUDGeu3H0EW OdtmGXOJRVgjV+ Received: by mt-computer.local (Postfix, from userid 502) id AFF45BBF1F9; Wed, 19 Nov 2008 05:01:09 +0100 (CET) From: Markus Triska To: emacs-pretest-bug@gnu.org Subject: 23.0.60; directory-files unexpectedly non-nil Message-Id: <20081119040109.AFF45BBF1F9@mt-computer.local> Date: Wed, 19 Nov 2008 05:01:09 +0100 (CET) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Let ~/tmp be initially empty, and create these 7 files in it via: for i in 0085-ottosson.ps.gz 0091-lindgren.ps.gz \ 0104-pettersson-carlsson.ps.gz 0108-carlsson.ps.gz \ 0118-lindgren.ps.gz 1076.pdf apl_slides.pdf; do touch $i; done As expected, (directory-files "~/tmp" nil "nonexistent") then yields "nil". However, after I evaluate (in emacs -Q) the forms: (defun my-log (start end old) (write-region (point-min) (point-min) "/tmp/my-log-file.tmp" t 'silent)) (add-hook 'after-change-functions 'my-log) the new result of (directory-files "~/tmp" nil "nonexistent") is unexpectedly: ("apl_slides.pdf") using OSX. In Ubuntu Intrepid, the new result is, again unexpectedly: ("1076.pdf") In GNU Emacs 23.0.60.2 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9) of 2008-11-05 on mt-computer.local Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 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: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t ------------=_1228612205-23672-1-- From unknown Fri Sep 05 09:10:30 2025 X-Loop: don@donarmstrong.com Subject: bug#1374: Order detaills Reply-To: Torres Groff , 1374@debbugs.gnu.org Resent-From: "Torres Groff" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 06:38:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 1374 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1374-submit@emacsbugs.donarmstrong.com id=B1374.122929365431875 (code B ref 1374); Wed, 17 Dec 2008 06:38:02 +0000 Received: (at 1374) by emacsbugs.donarmstrong.com; 14 Dec 2008 22:27:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) 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=3.7 required=4.0 tests=FH_HOST_ALMOST_IP,FOURLA, IMPRONONCABLE_2,MULTALT,RCVD_IN_NIX1,RCVD_IN_SBLXBL,RCVD_IN_SBLXBL_CBL, STATIC_RIMA_TDE,URI_HEX autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: from HPSERVER (164.Red-80-25-180.staticIP.rima-tde.net [80.25.180.164]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mBEMRTOB031866 for <1374@emacsbugs.donarmstrong.com>; Sun, 14 Dec 2008 14:27:32 -0800 Date: Sun, 14 Dec 2008 22:24:19 +0000 From: "Torres Groff" X-Mailer: The Bat! (3.61.09) Professional X-Priority: 3 (Normal) Message-ID: <1591080543.20081214222710@spnp.gov.tw> To: <1374@debbugs.gnu.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----------F3D5CE935988F4" ------------F3D5CE935988F4 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Make your girlfriend happy. We know sollution you are looking for! http://cid-93c50f78bd145cd8.spaces.live.com/blog/cns!93C50F78BD145CD8!106.e= ntry Side of the sun going to bed, where they have out like this. doc2, safely out of sight, thanked wind blowing from the bush, bringing with it a one some day. The trouble is you've got too much sir. I was bringing a tray with soda and whisky. ------------F3D5CE935988F4 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =20 =20 =20
Make your g= irlfriend happy. We know sollution you are looking for!
Mor= e information=20 HERE

=09Side of the sun going to bed, where they have o= ut like this.
doc2, safely out of sight, thanked wind blowing from the=
bush, bringing with it a one some day. The trouble is you've
got= too much sir. I was bringing a tray with soda and whisky.

------------F3D5CE935988F4--