From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: florian@fsavigny.de (Florian v. Savigny) Newsgroups: gmane.emacs.help Subject: Diagnosing a curious minibuffer problem (proliferating, weird initial contents) Date: Tue, 20 Jan 2015 18:05:04 +0100 Message-ID: <87r3uptmbj.fsf@bertrandrussell.Speedport_W_723V_1_36_000> NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1421773524 29400 80.91.229.3 (20 Jan 2015 17:05:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2015 17:05:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 18:05:24 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YDcF1-000403-PY for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2015 18:05:23 +0100 Original-Received: from localhost ([::1]:44714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDcF0-00047q-JJ for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2015 12:05:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDcEp-000463-A8 for help-gnu-emacs@gnu.org; Tue, 20 Jan 2015 12:05:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDcEl-0000mY-0U for help-gnu-emacs@gnu.org; Tue, 20 Jan 2015 12:05:11 -0500 Original-Received: from srv4.ns-domain-hosting.de ([178.63.89.203]:56051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDcEk-0000hl-RK for help-gnu-emacs@gnu.org; Tue, 20 Jan 2015 12:05:06 -0500 X-No-Relay: not in my network Original-Received: from bertrandrussell.Speedport_W_723V_1_36_000 (p4FECD829.dip0.t-ipconnect.de [79.236.216.41]) by srv4.ns-domain-hosting.de (Postfix) with ESMTPSA id 352411863F3 for ; Tue, 20 Jan 2015 18:05:06 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.89.203 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102175 Archived-At: Dear wizards, I need some assistance on how to pinpoint, diagnose and/or reproduce a problem with minibuffer initial contents. I tend to think that I caused this problem myself, but since I have deactivated (i.e. moved to a file that is not loaded) the function which I would most consider suspicious, I am at a loss. The symptoms are as follows: - When I start Emacs, and for a good deal of activity, everything is normal. - After a while (and I cannot specify it more exactly; the moment when it starts seems unpredictable), commands which use completing-read (even M-x, but also functions which I have written myself) start to have inappropriate stuff as initial content. As far as I can remember, this inappropriate stuff is all file names. - If this goes on longer, more inappropriate stuff is appended to the initial content, i.e. after a while, e.g. M-x offers you a long string of concatenated file names. You can either choose to delete this long monster, or you can get rid of it by typing M-p, which gives you shorter minibuffer contents. - and so on (the monster gets longer and longer) [speculation] To me, this looks as if functions which use completing-read consult some variable to decide what to use as INITIAL-INPUT, and I have somehow managed to systematically clutter this variable. This is a bit weird, though, because they usually offer just completion, no intial contents. And it's just one possibility anyway. [/speculation] I have no idea how to get to the root of the problem. I cannot edebug completing-read, in any case. (That is what I would try otherwise, anyway.) Can anybody give me any advice on how to pinpoint, isolate, reproduce, provoke this problem? I would be awfully grateful, because my "Emacs system" is complex and I need to run it every day. Thank you so much! Best regards, Florian --=20 Florian von Savigny Melanchthonstr. 41 33615 Bielefeld