unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 11715@debbugs.gnu.org
Subject: bug#11715: 24.1; Error in post-command-hook: wrong-number-of-arguments - read-file-internal
Date: Sat, 23 Jun 2012 10:04:35 -0400	[thread overview]
Message-ID: <jwvsjdmruwl.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E79A8B118CA84FCFB471561EEE8051DD@us.oracle.com> (Drew Adams's message of "Sat, 23 Jun 2012 06:39:32 -0700")

> I checked all of this code before filing the bug report, and checked it again
> just now.  Any idea?

No, I don't see it.

> What would construct a function of no args that is essentially
> `read-file-name-internal' and put it on `post-command-hook'

As I said, it is *not* put on post-command-hook: it is run by
Icomplete's post-command-hook, so the error could be because that
function was put in minibuffer-completion-table or
minibuffer-completion-predicate (and hence called by
icomplete-completions), or even on icomplete-post-command-hook.
Can you check some of those variables?
If you can find a way to trigger the problem with
M-: (run-hooks 'icomplete-post-command-hook) RET then we could debug it
a bit more easily (e.g. get a backtrace, use edebug, ...).


        Stefan





  reply	other threads:[~2012-06-23 14:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15 15:36 bug#11715: 24.1; Error in post-command-hook: wrong-number-of-arguments - read-file-internal Drew Adams
2012-06-23  4:30 ` Stefan Monnier
2012-06-23 13:39   ` Drew Adams
2012-06-23 14:04     ` Stefan Monnier [this message]
2012-06-23 14:50       ` Drew Adams
2012-06-24  3:54         ` bug#11715: 24.1; Error in post-command-hook: wrong-number-of-arguments -read-file-internal Drew Adams

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=jwvsjdmruwl.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=11715@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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).