From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 18 03:47:56 2011 Received: (at submit) by debbugs.gnu.org; 18 Feb 2011 08:47:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqM0J-0005HV-Ph for submit@debbugs.gnu.org; Fri, 18 Feb 2011 03:47:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqM0H-0005HK-P4 for submit@debbugs.gnu.org; Fri, 18 Feb 2011 03:47:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqM0C-00050A-8I for submit@debbugs.gnu.org; Fri, 18 Feb 2011 03:47:49 -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, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:44827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqM0C-0004zw-2j for submit@debbugs.gnu.org; Fri, 18 Feb 2011 03:47:48 -0500 Received: from [140.186.70.92] (port=41400 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqM0A-0001Qs-FG for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 03:47:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqM09-0004yF-2s for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 03:47:46 -0500 Received: from caiajhbdccah.dreamhost.com ([208.97.132.207]:55079 helo=homiemail-a61.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqM08-0004xW-SG for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 03:47:45 -0500 Received: from homiemail-a61.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTP id 2465257806C for ; Fri, 18 Feb 2011 00:47:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=l8dyPvtnJRD3+HbR+wIBgPoPMLgbRAlO1oXwdyKbaI86/vxACzoMPQakFDZM lsAzmjUc/SkB+O4oBTz+vTRALRzzpDb5QqRCnA54tyW6M1CsqCWVdZ9ZndGrQXRh FR8rJlTQdZ7FvO171X0En1HpvClLMSCZJEr8CsQ0q8574JU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=g6GM3Qc80JUA4ApCxI/R7m79xJM=; b=NU+TPyhiGFtu4lOT on6OvOghn5/dvnwsThu1HzY4sewuzBO62FVp158LYZYOKEnthcYmv3UVp/RpIw6l X6qxTYktKbG9NGXdcHfRw8A8XsRq2WH8+R2irww467TR/VXpj+VY5pRpTqkMH8Ec CvTbyKVz3fxYvPLlk3wUOVeM+68= Received: from jidanni.org (218-163-2-97.dynamic.hinet.net [218.163.2.97]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTPSA id C00E4578069 for ; Fri, 18 Feb 2011 00:47:42 -0800 (PST) From: jidanni@jidanni.org To: bug-gnu-emacs@gnu.org Subject: dired-do-chmod but when forgot to give an argument Date: Fri, 18 Feb 2011 16:47:39 +0800 Message-ID: <87fwrliv9w.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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.4 (-----) X-Debbugs-Envelope-To: submit 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.4 (-----) M runs the command dired-do-chmod, which is an interactive compiled Lisp function in `dired-aux.el'. However, if you forget to give it a mode, and just type RET, before long your dired will look like drwxr-xr-x 3 jidanni 4096 Feb 18 16:44 . drwxr-xr-x 94 jidanni 12288 Feb 18 15:06 .. -rwxr-xr-x 1 jidanni 635 Jan 21 20:01 Email_Addresses.pl -rw-r--r-- 1 jidanni 1287 Feb 18 16:39 Makefile b -rw-r--r-- 1 jidanni 2750 Nov 27 2009 b3 drwxr-xr-x 2 jidanni 4096 Jul 22 2010 dropping j -rw-r--r-- 1 jidanni 1190 Nov 27 2009 jj -rw-r--r-- 1 jidanni 5084 Nov 27 2009 nam u -rw-r--r-- 1 jidanni 9540 Feb 18 16:44 u.htm with the first letter of the file appearing before the line. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 27 14:53:36 2011 Received: (at 8073) by debbugs.gnu.org; 27 Feb 2011 19:53: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 1PtmgS-0007o2-C4 for submit@debbugs.gnu.org; Sun, 27 Feb 2011 14:53:36 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PtmgO-0007nh-8n for 8073@debbugs.gnu.org; Sun, 27 Feb 2011 14:53:34 -0500 Received: (qmail invoked by alias); 27 Feb 2011 19:53:25 -0000 Received: from i59F5652B.versanet.de (EHLO escher.home) [89.245.101.43] by mail.gmx.net (mp038) with SMTP; 27 Feb 2011 20:53:25 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/pxKkb2HrpELwijDQfULLoeN7lBi1nXNmF5KAnTO YbRPuNedAkiXPp Received: by escher.home (Postfix, from userid 1000) id 1BBA762892; Sun, 27 Feb 2011 20:53:22 +0100 (CET) From: Stephen Berman To: jidanni@jidanni.org, kennedywildwood@yahoo.com Subject: Re: bug#8073 and bug#8131 References: <87fwrliv9w.fsf@jidanni.org> Date: Sun, 27 Feb 2011 20:53:22 +0100 In-Reply-To: <87fwrliv9w.fsf@jidanni.org> (jidanni@jidanni.org's message of "Fri, 18 Feb 2011 16:47:39 +0800") Message-ID: <87wrklb6fh.fsf@escher.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 8073 Cc: 8073@debbugs.gnu.org, 8131@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: -2.9 (--) On Fri, 18 Feb 2011 16:47:39 +0800 jidanni@jidanni.org wrote: > M runs the command dired-do-chmod, which is an interactive compiled > Lisp function in `dired-aux.el'. > > However, if you forget to give it a mode, and just type RET, before long > your dired will look like > > drwxr-xr-x 3 jidanni 4096 Feb 18 16:44 . > drwxr-xr-x 94 jidanni 12288 Feb 18 15:06 .. > -rwxr-xr-x 1 jidanni 635 Jan 21 20:01 Email_Addresses.pl > -rw-r--r-- 1 jidanni 1287 Feb 18 16:39 Makefile > b -rw-r--r-- 1 jidanni 2750 Nov 27 2009 b3 > drwxr-xr-x 2 jidanni 4096 Jul 22 2010 dropping > j -rw-r--r-- 1 jidanni 1190 Nov 27 2009 jj > -rw-r--r-- 1 jidanni 5084 Nov 27 2009 nam > u -rw-r--r-- 1 jidanni 9540 Feb 18 16:44 u.htm > > with the first letter of the file appearing before the line. On Sun, 27 Feb 2011 00:08:13 -0800 (PST) John Peters wrote: > Dear Friends: > > Recent breakage in dired-do-redisplay, manifests in Fedora 13 and Mac OS > X. File or dir line acquires an unexpected mark which appears to be the name's first letter. > > Failure recipe: (Fedora 13, Emacs bzr-103433) > > emacs -Q --eval='(progn (write-file (make-temp-file "FOO"))(require > (quote dired)) (dired-jump) (dired-do-redisplay))' > > will apply "F" mark to the file line. I believe both of these bugs are due to this change: 2010-11-09 Glenn Morris [...] * dired-aux.el (dired-kill-line, dired-do-kill-lines) (dired-update-file-line, dired-add-entry, dired-remove-entry) (dired-relist-entry): [...] Replace yet more uses of end-of-line etc with line-end-position, etc. Here is a fix: *** /data/steve/bzr/emacs/trunk/lisp/dired-aux.el 2011-02-23 15:11:01.000000000 +0100 --- /data/steve/bzr/emacs/quickfixes/lisp/dired-aux.el 2011-02-27 20:45:45.000000000 +0100 *************** *** 1025,1033 **** ;; Keeps any marks that may be present in column one (doing this ;; here is faster than with dired-add-entry's optional arg). ;; Does not update other dired buffers. Use dired-relist-entry for that. ! (let ((char (following-char)) ! (opoint (line-beginning-position)) ! (buffer-read-only)) (delete-region opoint (progn (forward-line 1) (point))) (if file (progn --- 1025,1033 ---- ;; Keeps any marks that may be present in column one (doing this ;; here is faster than with dired-add-entry's optional arg). ;; Does not update other dired buffers. Use dired-relist-entry for that. ! (let* ((opoint (line-beginning-position)) ! (char (char-after opoint)) ! (buffer-read-only)) (delete-region opoint (progn (forward-line 1) (point))) (if file (progn Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 27 20:38:49 2011 Received: (at control) by debbugs.gnu.org; 28 Feb 2011 01:38:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pts4W-0000n4-Vg for submit@debbugs.gnu.org; Sun, 27 Feb 2011 20:38:49 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pts4U-0000mr-GP for control@debbugs.gnu.org; Sun, 27 Feb 2011 20:38:46 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Pts4P-0006MQ-Ga for control@debbugs.gnu.org; Sun, 27 Feb 2011 20:38:41 -0500 Date: Sun, 27 Feb 2011 20:38:41 -0500 Message-Id: Subject: control message for bug 8073 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 (------) forcemerge 8131 8073 From unknown Mon Jun 16 23:47:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Mar 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