From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Byte-compiler warnings for todo-mode.el Date: Mon, 06 Aug 2018 11:56:43 -0400 Message-ID: References: <87zhy0fs69.fsf@gmx.net> <8736vrop69.fsf@gmx.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533570898 4449 195.159.176.226 (6 Aug 2018 15:54:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 15:54:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 17:54:53 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmhqO-00013S-S9 for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 17:54:52 +0200 Original-Received: from localhost ([::1]:34788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhsV-0004nW-AC for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 11:57:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhsP-0004nR-2g for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:56:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmhsL-0001JW-3e for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:56:57 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:57144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhsK-0001JF-Uu for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:56:53 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w76FuiDS030423; Mon, 6 Aug 2018 11:56:45 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 93E48AE0E4; Mon, 6 Aug 2018 11:56:43 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Mon, 06 Aug 2018 11:32:28 -0400") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6345=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6345> : inlines <6800> : streams <1794726> : uri <2684877> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228231 Archived-At: >> ...starting emacs -Q with the above code and my ~/.emacs.d/todo/ >> directory, typing `F f' in todo-mode prompts for a filtered items file >> and repeating M-n brings up all and only the names of my filtered items >> files in the minibuffer, i.e., all and only the elements of sfnlist. > > No, M-n gives you the elements of falist. Try M-p BTW, what this also means is that you shouldn't pre-populate sfnlist with the elements of falist. Instead, call it todo--something-history, make it a global variable, and don't touch it yourself at all. Stefan