Subject: bug#16185: 24.3.50; C-o in Dired mode sometimes displays file in same window

From: Richard Stallman <[email-masked]>
Date: Wed, 18 Dec 2013 09:47:38 -0500

Sometimes the C-o command in Dired mode, which is supposed to display
the current line's file in the other window, instead displays it in
the same window, replacing the Dired buffer.

I can't reproduce this starting from scratch, but it seems to
be associated with something strange about the buffer visiting
that file.

* It happens for certain files only.

* When it is happening for a certain file, it happens
  for that file reproducibly.

* Killing that file's buffer makes the problem stop happening
  for that file.

* The problem did not occur in a build made from source files
  downloaded on Nov 21 at 14:20 or so.

In GNU Emacs 24.3.50.18 (mips64el-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2013-12-14 on chiefs-gnewsense
Bzr revision: 115526 [email-masked]
System Description:	gNewSense GNU/Linux 3.0 (parkes)

Configured using:
 `configure 'CFLAGS=-g -O0''

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Dired by date

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  gpm-mouse-mode: t
  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
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
C-p ESC f ESC f SPC t h e r e SPC i s SPC s ESC DEL 
a SPC p o s s i b i l i t y SPC t h a t ESC q C-n C-a 
ESC d d e a t h ESC f ESC f ESC f ESC d C-e SPC m DEL 
i m m u n e RET s y s t e m s SPC d o n ' t SPC g e 
t SPC t r a i n e d SPC t o SPC d e a l SPC w i t h 
SPC t h e m . C-p C-a ESC d k i l l i n g ESC f ESC 
f ESC f C-o SPC l e a d ESC f SPC t o SPC p r o l DEL 
ESC DEL t h e SPC s p r e a d SPC o f SPC a s t h m 
a ESC d ESC d ESC q C-n ESC b ESC b ESC b C-k a s SPC 
t h e y SPC s h o u l d SPC b e . RET C-c C-c d x C-x 
b o u t g TAB RET g C-u C-p C-p C-o C-n C-o C-n C-o 
C-n C-o C-n C-o C-n C-n C-o C-n C-o C-n C-o C-n C-o 
C-n C-o C-n C-o C-n C-o C-n C-o C-n C-o C-x b RET C-o 
C-x b RET C-n C-p C-o C-x b RET C-o C-x b RET C-n C-o 
C-p C-o C-x k RET C-o C-p C-o C-n C-o C-n C-o ESC x 
r e p o r t SPC e m q c s SPC DEL DEL DEL a c s SPC 
b u g RET

Recent messages:
Expunging deleted messages...done
Wrote /home/rms/foo.html
Scanning for dabbrevs...done
Expansion found in 'RMAIL'
Auto-saving...done
Sending...
Wrote /home/rms/outgoing/out-20
Sending...done
No following nondeleted message
Expunging deleted messages...done

Load-path shadows:
/home/rms/emacs-bzr/trunk/lisp/leim/quail/lao hides /home/rms/emacs-bzr/trunk/lisp/language/lao
/home/rms/emacs-bzr/trunk/lisp/leim/quail/georgian hides /home/rms/emacs-bzr/trunk/lisp/language/georgian
/home/rms/emacs-bzr/trunk/lisp/leim/quail/thai hides /home/rms/emacs-bzr/trunk/lisp/language/thai
/home/rms/emacs-bzr/trunk/lisp/leim/quail/ethiopic hides /home/rms/emacs-bzr/trunk/lisp/language/ethiopic
/home/rms/emacs-bzr/trunk/lisp/leim/quail/japanese hides /home/rms/emacs-bzr/trunk/lisp/language/japanese
/home/rms/emacs-bzr/trunk/lisp/leim/quail/cyrillic hides /home/rms/emacs-bzr/trunk/lisp/language/cyrillic
/home/rms/emacs-bzr/trunk/lisp/leim/quail/indian hides /home/rms/emacs-bzr/trunk/lisp/language/indian
/home/rms/emacs-bzr/trunk/lisp/leim/quail/hebrew hides /home/rms/emacs-bzr/trunk/lisp/language/hebrew
/home/rms/emacs-bzr/trunk/lisp/leim/quail/greek hides /home/rms/emacs-bzr/trunk/lisp/language/greek
/home/rms/emacs-bzr/trunk/lisp/leim/quail/czech hides /home/rms/emacs-bzr/trunk/lisp/language/czech
/home/rms/emacs-bzr/trunk/lisp/leim/quail/slovak hides /home/rms/emacs-bzr/trunk/lisp/language/slovak
/home/rms/emacs-bzr/trunk/lisp/leim/quail/tibetan hides /home/rms/emacs-bzr/trunk/lisp/language/tibetan

Features:
(novice view wid-edit etags log-edit diff-mode org-element org-rmail
org-mhe org-irc org-info org-gnus org-docview doc-view image-mode
cl-loaddefs cl-lib org-bibtex bibtex org-bbdb org-w3m org org-macro
org-footnote org-pcomplete org-list org-faces org-entities noutline
outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob
ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs ispell ffap thingatpt url-parse auth-source eieio
byte-opt bytecomp byte-compile cconv eieio-core password-cache
url-vars parse-time vc-cvs jka-compr gnus-util mailcap cal-move
cal-menu calendar cal-loaddefs dired-aux mule-util quail rmailout
sgml-mode dabbrev rmailsum pp compare-w add-log log-view easy-mmode
pcvs-util vc vc-dispatcher vc-bzr find-func mail-extr shadow emacsbug
help-mode misearch multi-isearch epa-mail epa derived epg epg-config
shell pcomplete grep compile comint ansi-color ring mailalias qp
rmailmm message sendmail format-spec rfc822 mml easymenu mml-sec
mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader
mail-parse rfc2231 dired t-mouse package rmailedit rmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date paren
cus-start cus-load advice help-fns 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)
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.