Subject: 24.3.90; Selecting completion candidate with a mouse displays warning about obsolete command
From: Eli Zaretskii <[email-masked]>
To: [email-masked]
Date: Sun, 20 Apr 2014 18:55:23 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Steps to reproduce:

 emacs -Q
 C-x C-f
 TAB TAB

Now click mouse-1 or mouse-2 on a directory in the list of completion
candidates -- you get a warning message:

  `mouse-choose-completion' is an obsolete command (as of 23.2); use `choose-completion' instead.

But if you choose a file, not a directory, you get no warning, although
the same command is invoked.

The same warning is displayed if you type "C-x d" instead of "C-x C-f"
to begin the recipe.

In GNU Emacs 24.3.90.33 (i686-pc-mingw32)
 of 2014-04-20 on HOME-C4E4A596F7
Repository revision: 116986 [email-masked]
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --prefix=/d/usr --enable-checking=yes,glyphs 'CFLAGS=-O0
 -gdwarf-2 -g3''

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1255

Major mode: Dired by name

Minor modes in effect:
  tooltip-mode: t
  electric-indent-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
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-f <tab> <tab> <help-echo> <down-mouse-2> <mouse-1> 
<return> M-x r e p o r t - e m a c s - b u <tab> <
return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
`mouse-choose-completion' is an obsolete command (as of 23.2); use `choose-completion' instead.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
help-fns mail-prsvr mail-utils dired help-mode easymenu time-date
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars 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
w32notify w32 multi-tty emacs)

Memory information:
((conses 8 80682 7044)
 (symbols 32 17878 0)
 (miscs 32 40 128)
 (strings 16 12234 4398)
 (string-bytes 1 308518)
 (vectors 8 10055)
 (vector-slots 4 380421 3352)
 (floats 8 58 230)
 (intervals 28 525 81)
 (buffers 508 13))