Subject: 24.3.50; ido-display-buffer ignores the prefix argument

From: Xue Fuqiao <[email-masked]>
Date: Fri, 19 Jul 2013 13:01:45 +0800

To reproduce:
1. emacs -Q
2. C-x b foo ⏎ ;; create a new buffer
3. C-x 4 C-o ⏎ ;; foo & *scratch*
4. C-x 4 C-o foo ⏎ ;; nothing changed, right.
5. C-u C-x 4 C-o foo ⏎ ;; foo & foo
6. C-x 4 C-o ⏎ ;; back
7. M-x ido-mode ⏎ ;; enable Ido
8. C-u C-x 4 C-o f ⏎ ;; ido-display-buffer

I expected the same result as step 5 here, but it seems that
ido-display-buffer just ignored the prefix argument.

I have seen the Ido Customize Group, and searched by debbugs-gnu-search,
but found nothing related.

In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39)
 of 2013-07-13 on xfq.local
Bzr revision: 113405 [email-masked]
Configured using:
 `configure --with-ns --enable-checking'

Major mode: Lisp Interaction

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

Recent input:
<escape> x r e - e m - b u <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort nadvice gnus-util mail-extr emacsbug message format-spec
rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel ns-win 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 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 ns multi-tty emacs)

--
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/