From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: cl-defgeneric vs random funcall in project.el Date: Wed, 29 Jul 2015 03:16:52 +0300 Message-ID: <55B81B74.5080507@yandex.ru> References: <86oaiwa57v.fsf@stephe-leake.org> <55B79B3F.1060200@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438129043 8203 80.91.229.3 (29 Jul 2015 00:17:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2015 00:17:23 +0000 (UTC) Cc: Stephen Leake , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 29 02:17:17 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZKF3d-0004xo-BZ for ged-emacs-devel@m.gmane.org; Wed, 29 Jul 2015 02:17:17 +0200 Original-Received: from localhost ([::1]:32893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKF3c-0001WZ-2f for ged-emacs-devel@m.gmane.org; Tue, 28 Jul 2015 20:17:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKF3R-0001WT-Az for emacs-devel@gnu.org; Tue, 28 Jul 2015 20:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKF3I-0007Fb-N6 for emacs-devel@gnu.org; Tue, 28 Jul 2015 20:17:05 -0400 Original-Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:33825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKF3I-0007Ev-FV for emacs-devel@gnu.org; Tue, 28 Jul 2015 20:16:56 -0400 Original-Received: by wibud3 with SMTP id ud3so200259412wib.1 for ; Tue, 28 Jul 2015 17:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=ZxHo4vefDQk+nNnhqfDXhkg3+KBsQ5j8v7pcu0tijhs=; b=zFHnRn/48fbfx8rq0sCk+FFZurlki5K2Wr7GkBG7kNKvQDbI17yzEaraWxwZLHAWmC hlM2BluRkk1Y9MQjiiFKeVP+7Rdqw7DypMeJ57VAUfZ8dRpCvviwietGbUaW/l0jhGne o5zFY/DwhmPuF46Sz1KEvZVrWDeLwxiPOXWhG3WvGh8h5vq3zFPLeHyCCQOy/wnGiNBU RQIoLe/6TOAFFYk8TeVoX1tknL1UdTbPCfUUVydyjQEqCf6DeyqGsVIjesE8YRiCz4jl r3ima4sOeJnNqCeP0DG0RuX/ykxWjeO7/uLcWyWQKrO2OsRADYNmpicX3I5fwQYVbzVp mpKg== X-Received: by 10.194.142.209 with SMTP id ry17mr75709744wjb.5.1438129015840; Tue, 28 Jul 2015 17:16:55 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id l13sm35659883wjr.18.2015.07.28.17.16.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 17:16:55 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188148 Archived-At: On 07/29/2015 02:57 AM, Stefan Monnier wrote: > FWIW, this sucks because this method won't be used in modes derived from > emacs-lisp-mode. If we *really* wanted to use the same mechanism, though, I think implementing &context (derived-p emacs-lisp-mode) is not impossible. > The priority of &context is lower than the first argument. > The priority between different &context can't be relied upon. Thanks.