unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 20455@debbugs.gnu.org
Subject: bug#20455: elisp-completion-at-point not compatible replacement for lisp-completion-at-point
Date: Wed, 29 Apr 2015 11:50:08 -0400	[thread overview]
Message-ID: <vw1tj3exxr.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <5540BC5B.5080106@yandex.ru> (Dmitry Gutov's message of "Wed, 29 Apr 2015 14:11:23 +0300")

Dmitry Gutov wrote:

> Can we remove it? It has already been declared obsolete in a previous
> version.

Too soon IMO.
The trivial solution: make elisp-completion-at-point take an optional
arg that does nothing. Or don't make lisp-completion-at-point an alias
to it.

>> (Why doesn't the byte-compiler warn about this arglist mismatch?)
>
> It does here:
>
> In lisp-complete-symbol:
> lisp.el:754:17:Warning: lisp-completion-at-point called with 1 argument, but
>     accepts only 0
> lisp.el:754:17:Warning: `lisp-completion-at-point' is an obsolete
> function (as
>     of 25.1); use `elisp-completion-at-point' instead.

I filed a separate bug about that; but for the record, no such warning
when bootstrapping for me nor, for eg
http://hydra.nixos.org/build/21790217/log/raw





  reply	other threads:[~2015-04-29 15:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29  6:57 bug#20455: elisp-completion-at-point not compatible replacement for lisp-completion-at-point Glenn Morris
2015-04-29 11:11 ` Dmitry Gutov
2015-04-29 15:50   ` Glenn Morris [this message]
2015-04-29 21:17     ` Stefan Monnier
2015-11-30  3:29       ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vw1tj3exxr.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=20455@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).