* bug#17279: 24.4.50; dired buffer slightly scrambled @ 2014-04-17 0:42 Ushnish Basu 2014-04-17 5:35 ` Eli Zaretskii 0 siblings, 1 reply; 7+ messages in thread From: Ushnish Basu @ 2014-04-17 0:42 UTC (permalink / raw) To: 17279 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: <help-echo> <f3> s s <tab> c l i <tab> z h <tab> <return> g g g g <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> g g g <help-echo> R p m l . z i p <return> g g <up> <down> g g <up> C-x k <return> <f3> <up> <C-backspace> <C-backspace> <C-backspace> <return> g <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> g g g g g <return> g g g s s s <up> <up> <up> g M-x b u g <tab> <tab> <C-backspace> <C-backspace> C-g C-g g g g M-x r e p o r <tab> <return> 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)) ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#17279: 24.4.50; dired buffer slightly scrambled 2014-04-17 0:42 bug#17279: 24.4.50; dired buffer slightly scrambled Ushnish Basu @ 2014-04-17 5:35 ` Eli Zaretskii 2014-04-17 5:41 ` Ushnish Basu 0 siblings, 1 reply; 7+ messages in thread From: Eli Zaretskii @ 2014-04-17 5:35 UTC (permalink / raw) To: Ushnish Basu; +Cc: 17279 > Date: Wed, 16 Apr 2014 17:42:24 -0700 > From: Ushnish Basu <ubasu@cal.berkeley.edu> > > > 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? ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#17279: 24.4.50; dired buffer slightly scrambled 2014-04-17 5:35 ` Eli Zaretskii @ 2014-04-17 5:41 ` Ushnish Basu 2014-04-17 5:49 ` Eli Zaretskii 0 siblings, 1 reply; 7+ messages in thread From: Ushnish Basu @ 2014-04-17 5:41 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 17279 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 <ubasu@cal.berkeley.edu> >> >> >> 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? > ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#17279: 24.4.50; dired buffer slightly scrambled 2014-04-17 5:41 ` Ushnish Basu @ 2014-04-17 5:49 ` Eli Zaretskii 2014-04-17 7:32 ` Eli Zaretskii 0 siblings, 1 reply; 7+ messages in thread From: Eli Zaretskii @ 2014-04-17 5:49 UTC (permalink / raw) To: Ushnish Basu; +Cc: 17279 > Date: Wed, 16 Apr 2014 22:41:14 -0700 > From: Ushnish Basu <ubasu@cal.berkeley.edu> > CC: 17279@debbugs.gnu.org > > Yes, it does - thanks for the tip. Then I guess it's another duplicate of 17269. ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#17279: 24.4.50; dired buffer slightly scrambled 2014-04-17 5:49 ` Eli Zaretskii @ 2014-04-17 7:32 ` Eli Zaretskii 2014-04-17 16:49 ` Ushnish Basu 0 siblings, 1 reply; 7+ messages in thread From: Eli Zaretskii @ 2014-04-17 7:32 UTC (permalink / raw) To: ubasu; +Cc: 17279 > Date: Thu, 17 Apr 2014 08:49:25 +0300 > From: Eli Zaretskii <eliz@gnu.org> > Cc: 17279@debbugs.gnu.org > > > Date: Wed, 16 Apr 2014 22:41:14 -0700 > > From: Ushnish Basu <ubasu@cal.berkeley.edu> > > 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' ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#17279: 24.4.50; dired buffer slightly scrambled 2014-04-17 7:32 ` Eli Zaretskii @ 2014-04-17 16:49 ` Ushnish Basu 2014-04-17 17:40 ` Eli Zaretskii 0 siblings, 1 reply; 7+ messages in thread From: Ushnish Basu @ 2014-04-17 16:49 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 17279 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#17279: 24.4.50; dired buffer slightly scrambled 2014-04-17 16:49 ` Ushnish Basu @ 2014-04-17 17:40 ` Eli Zaretskii 0 siblings, 0 replies; 7+ messages in thread From: Eli Zaretskii @ 2014-04-17 17:40 UTC (permalink / raw) To: Ushnish Basu; +Cc: 17279-done > Date: Thu, 17 Apr 2014 09:49:31 -0700 > From: Ushnish Basu <ubasu@cal.berkeley.edu> > 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-04-17 17:40 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-04-17 0:42 bug#17279: 24.4.50; dired buffer slightly scrambled Ushnish Basu 2014-04-17 5:35 ` Eli Zaretskii 2014-04-17 5:41 ` Ushnish Basu 2014-04-17 5:49 ` Eli Zaretskii 2014-04-17 7:32 ` Eli Zaretskii 2014-04-17 16:49 ` Ushnish Basu 2014-04-17 17:40 ` Eli Zaretskii
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.