Subject: bug#26178: 23.4; replace-string doesn't do it all

From: Bart Nielsen <[email-masked]>
Date: Sun, 19 Mar 2017 19:06:12 -0400

In GNU Emacs 23.4.1 (x86_64-apple-darwin14.0.0, X toolkit, Xaw3d scroll bars)
of 2014-11-11 on monet-laptop.home
Windowing system distributor `The X.Org Foundation', version 11.0.11804000
configured using `configure  '--with-jpeg=no' '--with-gif=no' '--with-tiff=no''

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_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Calculator

Minor modes in effect:
  display-time-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
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-f . e m a c s <return> <escape> > <escape> v <escape> 
> M-v <escape> > C-y C-x C-s <escape> x e v a ; SPC 
<backspace> l SPC c u SPC SPC SPC <return> C-a C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-o <down-mouse-5> 
<mouse-5> <double-down-mouse-5> <double-mouse-5> <triple-down-mouse-5> 
<triple-mouse-5> <triple-down-mouse-5> <triple-mouse-5> 
<triple-down-mouse-5> <triple-mouse-5> <down-mouse-4> 
<mouse-4> <double-down-mouse-4> <double-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<down-mouse-1> <mouse-1> SPC [ SPC r e <backspace> 
<backspace> <backspace> r e m o v e SPC s t a n d a 
d SPC <backspace> <backspace> r d SPC d e v i a t i 
o n ] C-a C-x 1 C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-p C-e SPC C-p C-e SPC [ g e t SPC 
s t a n d a r d SPC d e v i a t i o n <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
v i a t i o n ] C-a <escape> > <escape> x e v a l SPC 
c SPC SPC <return> <escape> x c a l c <return> <help-echo> 
( <backspace> 1 C-g ' <help-echo> 1 SPC + / - SPC 2 
<return> <return> <return> <escape> x c a l c SPC r 
e m SPC s SPC <return> C-p d t <escape> x c a l c SPC 
g e t SPC SPC <backspace> s SPC SPC <return> <escape> 
> d t <help-echo> <help-echo> <escape> x r e p o r 
t SPC e m a c s SPC b SPC <return>

Recent messages:
Mark set
Loading /Users/monet/src/elisp/journal.el (source)...done
Loading /Users/monet/.emacs.d/calc.el (source)...done
Welcome to the GNU Emacs Calculator!  Press `?' or `h' for help, `q' to quit
Quit
Making completion list...
Working...
Making completion list...
Working...
Mark set

Load-path shadows:
/usr/local/share/emacs/site-lisp/ess-site hides /usr/local/share/emacs/site-lisp/ess/ess-site

Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug calc-yank calc-mode help-mode view
calc-forms calc-aent calccomp calc-incom calc-ext calc-misc calc-menu
easymenu calc calc-loaddefs calc-macs edmacro kmacro time tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mldrag 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 loaddefs button minibuffer faces
cus-face files text-properties overlay md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote
make-network-process x-toolkit x multi-tty emacs)

replace-string and replace-regexp don't always do everything --- they
often exit before all of the requested changes are made.