From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: "fall-through" generic function args plus &context Date: Thu, 29 Dec 2016 11:04:45 -0800 Message-ID: <878tqyo8tu.fsf@ericabrahamsen.net> References: <87r34u8m55.fsf@ericabrahamsen.net> <87d1gexq6v.fsf@ericabrahamsen.net> <87y3z1z3pg.fsf@ericabrahamsen.net> <8760m3a2lu.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1483079545 7755 195.159.176.226 (30 Dec 2016 06:32:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2016 06:32:25 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 30 07:32:22 2016 Return-path: Envelope-to: geh-help-gnu-emacs@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 1cMqjj-0001Go-6M for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Dec 2016 07:32:19 +0100 Original-Received: from localhost ([::1]:38581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMqjo-0004aa-3u for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Dec 2016 01:32:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMg0t-0007SD-1E for help-gnu-emacs@gnu.org; Thu, 29 Dec 2016 14:05:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMg0q-00028J-FC for help-gnu-emacs@gnu.org; Thu, 29 Dec 2016 14:05:19 -0500 Original-Received: from [195.159.176.226] (port=40328 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cMg0q-000277-95 for help-gnu-emacs@gnu.org; Thu, 29 Dec 2016 14:05:16 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cMg0h-0003Do-4d for help-gnu-emacs@gnu.org; Thu, 29 Dec 2016 20:05:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:wN1wjitBHhTRaVYA+cMwabUH1gg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-Mailman-Approved-At: Fri, 30 Dec 2016 01:31:17 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:112021 Archived-At: Stefan Monnier writes: >> Perhaps fundamental-mode should work, but I intuitively tried (&context >> (major-mode nil)) and (&context (major-mode t)). > > By "should" I meant that it's a bug that neither works. Right, I got that. I'll open a bug report. >> Also, so far as I can tell, the correct function signature for the >> defgeneric should be (&context (major-mode t)), is that correct? >> At least, that didn't raise any errors. > > cl-defgeneric doesn't actually pay attention to the signature you provide. Heartbreaking! Thanks, Eric