unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14162: 24.3.50; regression: warning of obsolete function for `mouse-choose-completion'
@ 2013-04-08 23:03 Drew Adams
  2014-02-08 12:39 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2013-04-08 23:03 UTC (permalink / raw)
  To: 14162

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@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'
 






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#14162: 24.3.50; regression: warning of obsolete function for `mouse-choose-completion'
  2013-04-08 23:03 bug#14162: 24.3.50; regression: warning of obsolete function for `mouse-choose-completion' Drew Adams
@ 2014-02-08 12:39 ` Lars Ingebrigtsen
  2014-02-10 23:38   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-08 12:39 UTC (permalink / raw)
  To: Drew Adams; +Cc: 14162

"Drew Adams" <drew.adams@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/





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#14162: 24.3.50; regression: warning of obsolete function for `mouse-choose-completion'
  2014-02-08 12:39 ` Lars Ingebrigtsen
@ 2014-02-10 23:38   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2014-02-10 23:38 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 14162

> > 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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-10 23:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 23:03 bug#14162: 24.3.50; regression: warning of obsolete function for `mouse-choose-completion' Drew Adams
2014-02-08 12:39 ` Lars Ingebrigtsen
2014-02-10 23:38   ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).