GNU bug report logs - #14162
24.3.50; regression: warning of obsolete function for `mouse-choose-completion'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 8 Apr 2013 23:07:01 UTC

Severity: important

Merged with 17302

Found in versions 24.3.50, 24.3.90

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14162 in the body.
You can then email your comments to 14162 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#14162; Package emacs. (Mon, 08 Apr 2013 23:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 08 Apr 2013 23:07:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.3.50; regression: warning of obsolete function for
	`mouse-choose-completion'
Date: Mon, 8 Apr 2013 16:03:03 -0700
This does not happen in Emacs 24.3.  The problem was introduced after
that, apparently.
 
emacs -Q
 
M-x customize-face mode-line TAB TAB
 
In *Completions*, click mouse-2 on a candidate.
 
You get the message:
 
`mouse-choose-completion' is an obsolete command (as of 23.2); use
`choose-completion' instead.
 
Emacs -Q should not, itself, be giving us stuff it needs to warn us
about.
 
In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2013-04-02 on ODIEONE
Bzr revision: 112212 cyd <at> gnu.org-20130402033331-sqegwhqh7u1o0ars
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14162; Package emacs. (Sat, 08 Feb 2014 12:41:01 GMT) Full text and rfc822 format available.

Message #8 received at 14162 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 14162 <at> debbugs.gnu.org
Subject: Re: bug#14162: 24.3.50; regression: warning of obsolete function for
 `mouse-choose-completion'
Date: Sat, 08 Feb 2014 04:39:21 -0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> This does not happen in Emacs 24.3.  The problem was introduced after
> that, apparently.
>
> emacs -Q
>
> M-x customize-face mode-line TAB TAB
>
> In *Completions*, click mouse-2 on a candidate.
>
> You get the message:
>
> `mouse-choose-completion' is an obsolete command (as of 23.2); use
> `choose-completion' instead.
>
> Emacs -Q should not, itself, be giving us stuff it needs to warn us
> about.

Yeah, that should be unnecessary.

I'm not familiar with that code, though.  Is it safe to just replace all
relevant `mouse-choose-completion' entries in the list below?

-*- mode: grep; default-directory: "~/src/emacs/trunk/lisp/" -*-
Grep started at Sat Feb  8 04:37:49

grep -nH -e mouse-choose-completion `find . -name '*.el'`
./simple.el:6824:    (define-key map [mouse-2] 'mouse-choose-completion)
./simple.el:7074:Use \\<completion-list-mode-map>\\[mouse-choose-completion] to select one\
./simple.el:7133:		     "Click \\[mouse-choose-completion] on a completion to select it.\n")))
./comint.el:3324:		 (eq (key-binding key) 'mouse-choose-completion)))
./comint.el:3325:	  ;; If the user does mouse-choose-completion with the mouse,
./mouse.el:1697:  'mouse-choose-completion 'choose-completion "23.2")
./filecache.el:646:(define-obsolete-function-alias 'file-cache-mouse-choose-completion
./term.el:4140:		 (eq (key-binding key) 'mouse-choose-completion)))
./term.el:4141:	  ;; If the user does mouse-choose-completion with the mouse,
./progmodes/idlwave.el:7139:  "Replace `choose-completion' and `mouse-choose-completion' in OLD-MAP."
./progmodes/idlwave.el:7162:  "Replace `choose-completion' and `mouse-choose-completion' in OLD-MAP."
./progmodes/idlwave.el:7167:     'mouse-choose-completion 'idlwave-mouse-choose-completion new-map)
./progmodes/idlwave.el:7176:(defun idlwave-mouse-choose-completion (&rest args)
./progmodes/idlwave.el:7179:  (apply 'idlwave-choose 'mouse-choose-completion args))
./international/quail.el:300:    (define-key map [mouse-2] 'quail-mouse-choose-completion)
./international/quail.el:2262:(defun quail-mouse-choose-completion (event)
./international/quail.el:2265:  ;; `mouse-choose-completion' except that we:

Grep finished (matches found) at Sat Feb  8 04:37:49


-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14162; Package emacs. (Mon, 10 Feb 2014 23:39:02 GMT) Full text and rfc822 format available.

Message #11 received at 14162 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 14162 <at> debbugs.gnu.org
Subject: RE: bug#14162: 24.3.50; regression: warning of obsolete function for
 `mouse-choose-completion'
Date: Mon, 10 Feb 2014 15:38:30 -0800 (PST)
> > Emacs -Q should not, itself, be giving us stuff it needs to warn
> > us about.
> 
> Yeah, that should be unnecessary.
> 
> I'm not familiar with that code, though.  Is it safe to just replace
> all relevant `mouse-choose-completion' entries in the list below?

Yes, I think so, but please wait for Stefan or someone else to confirm.




Severity set to 'important' from 'minor' Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 20 Apr 2014 16:27:01 GMT) Full text and rfc822 format available.

Merged 14162 17302. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 20 Apr 2014 16:27:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 22 May 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.