From unknown Sun Jun 22 00:53:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17279: 24.4.50; dired buffer slightly scrambled Resent-From: Ushnish Basu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Apr 2014 00:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17279@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.139769537627658 (code B ref -1); Thu, 17 Apr 2014 00:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Apr 2014 00:42:56 +0000 Received: from localhost ([127.0.0.1]:50051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaaPn-0007C2-V0 for submit@debbugs.gnu.org; Wed, 16 Apr 2014 20:42:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57576) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaaPj-0007Bn-II for submit@debbugs.gnu.org; Wed, 16 Apr 2014 20:42:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaaPY-0006Gc-4o for submit@debbugs.gnu.org; Wed, 16 Apr 2014 20:42:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaaPY-0006GX-1a for submit@debbugs.gnu.org; Wed, 16 Apr 2014 20:42:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaaPS-0006zp-9B for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 20:42:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaaPM-0006FD-MB for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 20:42:34 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:34157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaaPM-0006Ei-Dy for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 20:42:28 -0400 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 4B73721082 for ; Wed, 16 Apr 2014 20:42:25 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 16 Apr 2014 20:42:25 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:content-type:content-transfer-encoding; s=smtpout; bh=J Hc6V21nR8j+gTntSv5UTFYZiS4=; b=aqSmfrE0ppZMrrsC+8qOwQY+KebXqoX3u DHjv/hEca4XDKvUff4LYm1l/8GPvCaiMJugwF/n8+9Y9mrJKKuo3nSCPSidrBpTz KRFQhAgoVmaK4I0NqRgOkO8QBK/cA2cwzfR9zkYhCXi21jXvH5pe+KLq6RCWss7I t/xw1Tvr5M= X-Sasl-enc: NJkYyTt98pQUjN3SQTCpkZDkfslfP8PLisx2Rk9RdLBi 1397695344 Received: from [172.17.16.46] (unknown [63.192.140.4]) by mail.messagingengine.com (Postfix) with ESMTPA id D5602C00003 for ; Wed, 16 Apr 2014 20:42:24 -0400 (EDT) Message-ID: <534F2370.4000604@cal.berkeley.edu> Date: Wed, 16 Apr 2014 17:42:24 -0700 From: Ushnish Basu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I just updated from the trunk, and I noticed that the dired buffer output is slightly scrambled, as follows... Normally the dired buffer has the text: "total used in directory xxxxx available xxxxx" Now the output is "total used in directory xxxxx" dired listing line 1 ... dired listing last line "available xxxxx" In GNU Emacs 24.4.50.3 (x86_64-suse-linux-gnu, GTK+ Version 3.10.4) of 2014-04-16 on plato Repository revision: 116983 eggert@cs.ucla.edu-20140416194346-6t8crumggyrq5vz1 Windowing system distributor `The X.Org Foundation', version 11.0.11403901 System Description: openSUSE 13.1 (Bottle) (x86_64) Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix Major mode: Dired by date Minor modes in effect: magit-auto-revert-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t show-paren-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t Recent input: s s c l i z h g g g g g g g R p m l . z i p g g g g C-x k g g g g g g g g g s s s g M-x b u g C-g C-g g g g M-x r e p o r Recent messages: Loading delsel...done Loading paren...done For information about GNU Emacs and the GNU system, type C-x C-h C-a. Cannot move to same file: /home/ubasu/ssi/clients/zhe/pml.zip Making completion list... Quit [2 times] Load-path shadows: /home/ubasu/elisp/gnuplot hides /usr/local/share/emacs/site-lisp/gnuplot /home/ubasu/elisp/gnuplot-gui hides /usr/local/share/emacs/site-lisp/gnuplot-gui Features: (shadow sort mail-extr warnings emacsbug sendmail dired-aux magit-svn magit-key-mode magit view help-mode grep epa derived epg epg-config autorevert filenotify git-rebase-mode thingatpt git-commit-mode server which-func imenu zencoding-mode php-mode speedbar sb-image ezimage dframe etags flymake compile cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs psvn wid-edit cl cl-loaddefs cl-lib log-edit message dired rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log diff-mode easy-mmode tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color ring format-spec advice help-fns jka-compr paren delsel cus-start cus-load info easymenu package time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 210363 19821) (symbols 48 31947 0) (miscs 40 114 326) (strings 32 54179 13804) (string-bytes 1 1567914) (vectors 16 24398) (vector-slots 8 557708 7606) (floats 8 116 245) (intervals 56 502 278) (buffers 960 18) (heap 1024 46542 1151)) From unknown Sun Jun 22 00:53:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17279: 24.4.50; dired buffer slightly scrambled Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Apr 2014 05:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ushnish Basu Cc: 17279@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 17279-submit@debbugs.gnu.org id=B17279.139771290126261 (code B ref 17279); Thu, 17 Apr 2014 05:35:02 +0000 Received: (at 17279) by debbugs.gnu.org; 17 Apr 2014 05:35:01 +0000 Received: from localhost ([127.0.0.1]:50140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaeyS-0006pT-3b for submit@debbugs.gnu.org; Thu, 17 Apr 2014 01:35:00 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:65487) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaeyN-0006p3-Ei for 17279@debbugs.gnu.org; Thu, 17 Apr 2014 01:34:56 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N4500H00U3JMJ00@a-mtaout20.012.net.il> for 17279@debbugs.gnu.org; Thu, 17 Apr 2014 08:34:48 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4500HZQU60KE10@a-mtaout20.012.net.il>; Thu, 17 Apr 2014 08:34:48 +0300 (IDT) Date: Thu, 17 Apr 2014 08:35:00 +0300 From: Eli Zaretskii In-reply-to: <534F2370.4000604@cal.berkeley.edu> X-012-Sender: halo1@inter.net.il Message-id: <837g6ojz7f.fsf@gnu.org> References: <534F2370.4000604@cal.berkeley.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Wed, 16 Apr 2014 17:42:24 -0700 > From: Ushnish Basu > > > I just updated from the trunk, and I noticed that the dired buffer > output is slightly scrambled, as follows... > > Normally the dired buffer has the text: > > "total used in directory xxxxx available xxxxx" > > Now the output is > > "total used in directory xxxxx" > dired listing line 1 > ... > dired listing last line "available xxxxx" I cannot reproduce this. However, if you do this: (setq-default cache-long-scans nil) before invoking Dired, does the problem go away? From unknown Sun Jun 22 00:53:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17279: 24.4.50; dired buffer slightly scrambled Resent-From: Ushnish Basu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Apr 2014 05:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 17279@debbugs.gnu.org Received: via spool by 17279-submit@debbugs.gnu.org id=B17279.139771335027058 (code B ref 17279); Thu, 17 Apr 2014 05:43:02 +0000 Received: (at 17279) by debbugs.gnu.org; 17 Apr 2014 05:42:30 +0000 Received: from localhost ([127.0.0.1]:50144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Waf5h-00072H-FP for submit@debbugs.gnu.org; Thu, 17 Apr 2014 01:42:29 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:35565) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Waf5b-000722-5A for 17279@debbugs.gnu.org; Thu, 17 Apr 2014 01:42:27 -0400 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 67426210A0; Thu, 17 Apr 2014 01:42:22 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 17 Apr 2014 01:42:22 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=XHa1D6fsFzTCuORNR/zKbw wUDDw=; b=jHfHIB7YCIP6lsr4Onw6orNrhQjhNRbcY1FHDr3P6USjZlYsL3mT0+ FFLWeoOrus+k9R+Z/JD8J4DirvlNXNGkWrfkg8mSUpwvPgjV81RfKNkvUsOmONRO LzG/QcMN94PE9v1Gx4puhC/MdMWjQ4pRIs+PasA+GUM3R9fvfSNu8= X-Sasl-enc: NgQa5Jcyayi6PFgx1W8mzfyVGyusH09HZP/iqjhUVbto 1397713342 Received: from [192.168.1.64] (unknown [99.110.52.131]) by mail.messagingengine.com (Postfix) with ESMTPA id CB9FD68011B; Thu, 17 Apr 2014 01:42:21 -0400 (EDT) Message-ID: <534F697A.60509@cal.berkeley.edu> Date: Wed, 16 Apr 2014 22:41:14 -0700 From: Ushnish Basu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Thunderbird/27.0 MIME-Version: 1.0 References: <534F2370.4000604@cal.berkeley.edu> <837g6ojz7f.fsf@gnu.org> In-Reply-To: <837g6ojz7f.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Yes, it does - thanks for the tip. Ushnish On 04/16/2014 10:35 PM, Eli Zaretskii wrote: >> Date: Wed, 16 Apr 2014 17:42:24 -0700 >> From: Ushnish Basu >> >> >> I just updated from the trunk, and I noticed that the dired buffer >> output is slightly scrambled, as follows... >> >> Normally the dired buffer has the text: >> >> "total used in directory xxxxx available xxxxx" >> >> Now the output is >> >> "total used in directory xxxxx" >> dired listing line 1 >> ... >> dired listing last line "available xxxxx" > > I cannot reproduce this. However, if you do this: > > (setq-default cache-long-scans nil) > > before invoking Dired, does the problem go away? > From unknown Sun Jun 22 00:53:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17279: 24.4.50; dired buffer slightly scrambled Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Apr 2014 05:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ushnish Basu Cc: 17279@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 17279-submit@debbugs.gnu.org id=B17279.139771376627831 (code B ref 17279); Thu, 17 Apr 2014 05:50:01 +0000 Received: (at 17279) by debbugs.gnu.org; 17 Apr 2014 05:49:26 +0000 Received: from localhost ([127.0.0.1]:50150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WafCO-0007En-Uc for submit@debbugs.gnu.org; Thu, 17 Apr 2014 01:49:25 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:35257) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WafCM-0007ES-3Z for 17279@debbugs.gnu.org; Thu, 17 Apr 2014 01:49:23 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N4500H00UISOA00@a-mtaout20.012.net.il> for 17279@debbugs.gnu.org; Thu, 17 Apr 2014 08:49:15 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4500HI3UU0DR70@a-mtaout20.012.net.il>; Thu, 17 Apr 2014 08:49:12 +0300 (IDT) Date: Thu, 17 Apr 2014 08:49:25 +0300 From: Eli Zaretskii In-reply-to: <534F697A.60509@cal.berkeley.edu> X-012-Sender: halo1@inter.net.il Message-id: <8361m8jyje.fsf@gnu.org> References: <534F2370.4000604@cal.berkeley.edu> <837g6ojz7f.fsf@gnu.org> <534F697A.60509@cal.berkeley.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Wed, 16 Apr 2014 22:41:14 -0700 > From: Ushnish Basu > CC: 17279@debbugs.gnu.org > > Yes, it does - thanks for the tip. Then I guess it's another duplicate of 17269. From unknown Sun Jun 22 00:53:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17279: 24.4.50; dired buffer slightly scrambled Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Apr 2014 07:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ubasu@cal.berkeley.edu Cc: 17279@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 17279-submit@debbugs.gnu.org id=B17279.13977199516377 (code B ref 17279); Thu, 17 Apr 2014 07:33:01 +0000 Received: (at 17279) by debbugs.gnu.org; 17 Apr 2014 07:32:31 +0000 Received: from localhost ([127.0.0.1]:50226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wago9-0001el-HD for submit@debbugs.gnu.org; Thu, 17 Apr 2014 03:32:30 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:41916) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wago2-0001eR-Sc for 17279@debbugs.gnu.org; Thu, 17 Apr 2014 03:32:24 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N4500100ZH9RQ00@a-mtaout22.012.net.il> for 17279@debbugs.gnu.org; Thu, 17 Apr 2014 10:32:16 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N45001PBZLS2LB0@a-mtaout22.012.net.il>; Thu, 17 Apr 2014 10:32:16 +0300 (IDT) Date: Thu, 17 Apr 2014 10:32:28 +0300 From: Eli Zaretskii In-reply-to: <8361m8jyje.fsf@gnu.org> X-012-Sender: halo1@inter.net.il Message-id: <83zjjkif77.fsf@gnu.org> References: <534F2370.4000604@cal.berkeley.edu> <837g6ojz7f.fsf@gnu.org> <534F697A.60509@cal.berkeley.edu> <8361m8jyje.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Thu, 17 Apr 2014 08:49:25 +0300 > From: Eli Zaretskii > Cc: 17279@debbugs.gnu.org > > > Date: Wed, 16 Apr 2014 22:41:14 -0700 > > From: Ushnish Basu > > CC: 17279@debbugs.gnu.org > > > > Yes, it does - thanks for the tip. > > Then I guess it's another duplicate of 17269. Please try the patch below, which I've just committed to the emacs-24 branch: === modified file 'src/insdel.c' --- src/insdel.c 2014-04-14 15:32:27 +0000 +++ src/insdel.c 2014-04-17 07:24:40 +0000 @@ -1857,14 +1857,9 @@ invalidate_buffer_caches (struct buffer need to consider the caches of their base buffer. */ if (buf->base_buffer) buf = buf->base_buffer; - if (buf->newline_cache) - invalidate_region_cache (buf, - buf->newline_cache, - start - BUF_BEG (buf), BUF_Z (buf) - end); - if (buf->width_run_cache) - invalidate_region_cache (buf, - buf->width_run_cache, - start - BUF_BEG (buf), BUF_Z (buf) - end); + /* The bidi_paragraph_cache must be invalidated first, because doing + so might need to use the newline_cache (via find_newline_no_quit, + see below). */ if (buf->bidi_paragraph_cache) { if (start != end @@ -1888,13 +1883,20 @@ invalidate_buffer_caches (struct buffer &start_byte); set_buffer_internal (old); } - if (line_beg > BUF_BEG (buf)) - start = line_beg - 1; + start = line_beg - (line_beg > BUF_BEG (buf)); } invalidate_region_cache (buf, buf->bidi_paragraph_cache, start - BUF_BEG (buf), BUF_Z (buf) - end); } + if (buf->newline_cache) + invalidate_region_cache (buf, + buf->newline_cache, + start - BUF_BEG (buf), BUF_Z (buf) - end); + if (buf->width_run_cache) + invalidate_region_cache (buf, + buf->width_run_cache, + start - BUF_BEG (buf), BUF_Z (buf) - end); } /* These macros work with an argument named `preserve_ptr' From unknown Sun Jun 22 00:53:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17279: 24.4.50; dired buffer slightly scrambled Resent-From: Ushnish Basu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Apr 2014 16:50:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 17279@debbugs.gnu.org Received: via spool by 17279-submit@debbugs.gnu.org id=B17279.13977533767094 (code B ref 17279); Thu, 17 Apr 2014 16:50:05 +0000 Received: (at 17279) by debbugs.gnu.org; 17 Apr 2014 16:49:36 +0000 Received: from localhost ([127.0.0.1]:50858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WapVI-0001qM-AV for submit@debbugs.gnu.org; Thu, 17 Apr 2014 12:49:36 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:42554) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WapVF-0001qB-Bn for 17279@debbugs.gnu.org; Thu, 17 Apr 2014 12:49:34 -0400 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 8F30E20687 for <17279@debbugs.gnu.org>; Thu, 17 Apr 2014 12:49:32 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 17 Apr 2014 12:49:32 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=y481w1JyS+yw6wJTkyNwI2 slWRI=; b=L2U+6wp92bRMX34y8pFSUF+A+BO1WBSJqHgFW9HJ8bd8LLNCfwI1qE 61KgLqR2TBEFnoJ/MV2h946tFKmHzFwOON9iudbGPVUb9WoIls5I5FX0wpn5id2I 3GlDTcV0OjX/0Y6EvViPVB5qqyO3cQoLukRtLeJe1pOVRzi6lTUn0= X-Sasl-enc: hcMEHIsA2bSzvMJf3oFb5cPuVjC3J55upfTL0Hsy/Qjl 1397753372 Received: from [172.17.16.46] (unknown [63.192.140.4]) by mail.messagingengine.com (Postfix) with ESMTPA id 31F92C00003; Thu, 17 Apr 2014 12:49:32 -0400 (EDT) Message-ID: <5350061B.1070604@cal.berkeley.edu> Date: Thu, 17 Apr 2014 09:49:31 -0700 From: Ushnish Basu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 References: <534F2370.4000604@cal.berkeley.edu> <837g6ojz7f.fsf@gnu.org> <534F697A.60509@cal.berkeley.edu> <8361m8jyje.fsf@gnu.org> <83zjjkif77.fsf@gnu.org> In-Reply-To: <83zjjkif77.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 04/17/2014 12:32 AM, Eli Zaretskii wrote: > > Please try the patch below, which I've just committed to the emacs-24 > branch: > Thanks, that seems to have fixed it. Ushnish From unknown Sun Jun 22 00:53:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ushnish Basu Subject: bug#17279: closed (Re: bug#17279: 24.4.50; dired buffer slightly scrambled) Message-ID: References: <834n1rj1m9.fsf@gnu.org> <534F2370.4000604@cal.berkeley.edu> X-Gnu-PR-Message: they-closed 17279 X-Gnu-PR-Package: emacs Reply-To: 17279@debbugs.gnu.org Date: Thu, 17 Apr 2014 17:41:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1397756462-12712-1" This is a multi-part message in MIME format... ------------=_1397756462-12712-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #17279: 24.4.50; dired buffer slightly scrambled which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 17279@debbugs.gnu.org. --=20 17279: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17279 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1397756462-12712-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 17279-done) by debbugs.gnu.org; 17 Apr 2014 17:40:28 +0000 Received: from localhost ([127.0.0.1]:50891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaqIV-0003Hr-9Y for submit@debbugs.gnu.org; Thu, 17 Apr 2014 13:40:27 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:37830) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaqIR-0003Ha-VC for 17279-done@debbugs.gnu.org; Thu, 17 Apr 2014 13:40:25 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N4600D00R2ZAL00@mtaout24.012.net.il> for 17279-done@debbugs.gnu.org; Thu, 17 Apr 2014 20:38:28 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N46008KQRO33470@mtaout24.012.net.il>; Thu, 17 Apr 2014 20:38:28 +0300 (IDT) Date: Thu, 17 Apr 2014 20:40:30 +0300 From: Eli Zaretskii Subject: Re: bug#17279: 24.4.50; dired buffer slightly scrambled In-reply-to: <5350061B.1070604@cal.berkeley.edu> X-012-Sender: halo1@inter.net.il To: Ushnish Basu Message-id: <834n1rj1m9.fsf@gnu.org> References: <534F2370.4000604@cal.berkeley.edu> <837g6ojz7f.fsf@gnu.org> <534F697A.60509@cal.berkeley.edu> <8361m8jyje.fsf@gnu.org> <83zjjkif77.fsf@gnu.org> <5350061B.1070604@cal.berkeley.edu> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17279-done Cc: 17279-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Thu, 17 Apr 2014 09:49:31 -0700 > From: Ushnish Basu > CC: 17279@debbugs.gnu.org > > > On 04/17/2014 12:32 AM, Eli Zaretskii wrote: > > > > Please try the patch below, which I've just committed to the emacs-24 > > branch: > > > > Thanks, that seems to have fixed it. Great, closing. ------------=_1397756462-12712-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Apr 2014 00:42:56 +0000 Received: from localhost ([127.0.0.1]:50051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaaPn-0007C2-V0 for submit@debbugs.gnu.org; Wed, 16 Apr 2014 20:42:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57576) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaaPj-0007Bn-II for submit@debbugs.gnu.org; Wed, 16 Apr 2014 20:42:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaaPY-0006Gc-4o for submit@debbugs.gnu.org; Wed, 16 Apr 2014 20:42:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaaPY-0006GX-1a for submit@debbugs.gnu.org; Wed, 16 Apr 2014 20:42:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaaPS-0006zp-9B for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 20:42:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaaPM-0006FD-MB for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 20:42:34 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:34157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaaPM-0006Ei-Dy for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 20:42:28 -0400 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 4B73721082 for ; Wed, 16 Apr 2014 20:42:25 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 16 Apr 2014 20:42:25 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:content-type:content-transfer-encoding; s=smtpout; bh=J Hc6V21nR8j+gTntSv5UTFYZiS4=; b=aqSmfrE0ppZMrrsC+8qOwQY+KebXqoX3u DHjv/hEca4XDKvUff4LYm1l/8GPvCaiMJugwF/n8+9Y9mrJKKuo3nSCPSidrBpTz KRFQhAgoVmaK4I0NqRgOkO8QBK/cA2cwzfR9zkYhCXi21jXvH5pe+KLq6RCWss7I t/xw1Tvr5M= X-Sasl-enc: NJkYyTt98pQUjN3SQTCpkZDkfslfP8PLisx2Rk9RdLBi 1397695344 Received: from [172.17.16.46] (unknown [63.192.140.4]) by mail.messagingengine.com (Postfix) with ESMTPA id D5602C00003 for ; Wed, 16 Apr 2014 20:42:24 -0400 (EDT) Message-ID: <534F2370.4000604@cal.berkeley.edu> Date: Wed, 16 Apr 2014 17:42:24 -0700 From: Ushnish Basu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.4.50; dired buffer slightly scrambled Content-Type: text/plain; charset=ISO-8859-1 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: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I just updated from the trunk, and I noticed that the dired buffer output is slightly scrambled, as follows... Normally the dired buffer has the text: "total used in directory xxxxx available xxxxx" Now the output is "total used in directory xxxxx" dired listing line 1 ... dired listing last line "available xxxxx" In GNU Emacs 24.4.50.3 (x86_64-suse-linux-gnu, GTK+ Version 3.10.4) of 2014-04-16 on plato Repository revision: 116983 eggert@cs.ucla.edu-20140416194346-6t8crumggyrq5vz1 Windowing system distributor `The X.Org Foundation', version 11.0.11403901 System Description: openSUSE 13.1 (Bottle) (x86_64) Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix Major mode: Dired by date Minor modes in effect: magit-auto-revert-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t show-paren-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t Recent input: s s c l i z h g g g g g g g R p m l . z i p g g g g C-x k g g g g g g g g g s s s g M-x b u g C-g C-g g g g M-x r e p o r Recent messages: Loading delsel...done Loading paren...done For information about GNU Emacs and the GNU system, type C-x C-h C-a. Cannot move to same file: /home/ubasu/ssi/clients/zhe/pml.zip Making completion list... Quit [2 times] Load-path shadows: /home/ubasu/elisp/gnuplot hides /usr/local/share/emacs/site-lisp/gnuplot /home/ubasu/elisp/gnuplot-gui hides /usr/local/share/emacs/site-lisp/gnuplot-gui Features: (shadow sort mail-extr warnings emacsbug sendmail dired-aux magit-svn magit-key-mode magit view help-mode grep epa derived epg epg-config autorevert filenotify git-rebase-mode thingatpt git-commit-mode server which-func imenu zencoding-mode php-mode speedbar sb-image ezimage dframe etags flymake compile cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs psvn wid-edit cl cl-loaddefs cl-lib log-edit message dired rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log diff-mode easy-mmode tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color ring format-spec advice help-fns jka-compr paren delsel cus-start cus-load info easymenu package time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 210363 19821) (symbols 48 31947 0) (miscs 40 114 326) (strings 32 54179 13804) (string-bytes 1 1567914) (vectors 16 24398) (vector-slots 8 557708 7606) (floats 8 116 245) (intervals 56 502 278) (buffers 960 18) (heap 1024 46542 1151)) ------------=_1397756462-12712-1--