From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 24 15:28:29 2015 Received: (at submit) by debbugs.gnu.org; 24 Apr 2015 19:28:29 +0000 Received: from localhost ([127.0.0.1]:38994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YljH2-0004Hu-L9 for submit@debbugs.gnu.org; Fri, 24 Apr 2015 15:28:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51762) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YljH0-0004Hh-8v for submit@debbugs.gnu.org; Fri, 24 Apr 2015 15:28:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YljGt-0006Oj-Ix for submit@debbugs.gnu.org; Fri, 24 Apr 2015 15:28:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YljGt-0006Od-GA for submit@debbugs.gnu.org; Fri, 24 Apr 2015 15:28:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YljGs-0001sA-Ga for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:28:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YljGp-0006O4-Ad for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:28:18 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:33386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YljGp-0006Np-40 for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:28:15 -0400 Received: by wiax7 with SMTP id x7so41757465wia.0 for ; Fri, 24 Apr 2015 12:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=onAlOyyqle1OpNCFZB1kz4gSHHwwS/0E+mamPzQAiO4=; b=eUqeYVo2WL9RgShOnef7iAPXtmSqDVcVa4ZHW15A+LJMhAx5vGGDMN6xoPEnrHqJSh U6DUl4kzk8pAPSAsdHIQHlX3Hq2xWQdgJXrUHRQHQKs5bZVxBcOKqxZ6lx+clLd4LMjY ZRdwlax86NXjdRpTtnQWHyIavM8bY1z/BOXZ3QME9R4+FzDfbHIOb6qeE+bS4hZhIoqg fNv/+vYtVHVgfG3BaN7pzt5lWkEJxyvsmgNvuo7B28h6Ooj2CQnEc2wUrfZTAyBYezmI Vp8ObByjQ/vFNWBHz+dy4gkKBRHxsyb2cichVkvZ61Z7jNT3RsBp6UVLWjEVMiCUKa7N IkIg== X-Received: by 10.194.77.44 with SMTP id p12mr18858308wjw.1.1429903693974; Fri, 24 Apr 2015 12:28:13 -0700 (PDT) Received: from localhost (dhcp-077-251-128-242.chello.nl. [77.251.128.242]) by mx.google.com with ESMTPSA id g5sm18126455wjr.19.2015.04.24.12.28.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2015 12:28:13 -0700 (PDT) From: Vitalie Spinu To: bug-gnu-emacs@gnu.org Subject: 25.0.50; eieio methods with optional arguments now fail Date: Fri, 24 Apr 2015 21:28:12 +0200 Message-ID: <87d22tpbqr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hi. First declare: (defclass cc-A () ((a :initform "foo"))) (defgeneric xx (&optional a b)) (defmethod xx () (message "default")) And eval (xx). It works as expected. Now add (defmethod xx ((obj cc-A) &optional b) (message "called on cc-A object")) and eval (xx) again. It throws (wrong-number-of-arguments (1 . &rest) 0). It used to work in emacs 24. Thanks, Vitalie In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2015-04-13 on galago Repository revision: 30bcb238c3a53f777c2a4952f51a68df6272cff4 Windowing system distributor `The X.Org Foundation', version 11.0.11600000 System Description: Ubuntu 14.10 Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_DK.UTF-8 locale-coding-system: utf-8-unix From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 24 15:40:10 2015 Received: (at control) by debbugs.gnu.org; 24 Apr 2015 19:40:11 +0000 Received: from localhost ([127.0.0.1]:38999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YljSL-000633-Qo for submit@debbugs.gnu.org; Fri, 24 Apr 2015 15:40:10 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:53743 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YljSF-00062n-ID for control@debbugs.gnu.org; Fri, 24 Apr 2015 15:40:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YljSE-0001dZ-Hd for control@debbugs.gnu.org; Fri, 24 Apr 2015 15:40:02 -0400 Date: Fri, 24 Apr 2015 15:40:02 -0400 Message-Id: Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 19759 by 20420 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 24 16:42:04 2015 Received: (at 20420) by debbugs.gnu.org; 24 Apr 2015 20:42:04 +0000 Received: from localhost ([127.0.0.1]:39008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlkQF-0000Sy-JP for submit@debbugs.gnu.org; Fri, 24 Apr 2015 16:42:03 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:42604) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlkQC-0000SZ-Rn for 20420@debbugs.gnu.org; Fri, 24 Apr 2015 16:42:01 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t3OKfxVN005425; Fri, 24 Apr 2015 16:41:59 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 09DFDAE113; Fri, 24 Apr 2015 16:42:01 -0400 (EDT) From: Stefan Monnier To: Vitalie Spinu Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail Message-ID: References: <87d22tpbqr.fsf@gmail.com> Date: Fri, 24 Apr 2015 16:42:01 -0400 In-Reply-To: <87d22tpbqr.fsf@gmail.com> (Vitalie Spinu's message of "Fri, 24 Apr 2015 21:28:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5286=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5286> : inlines <2793> : streams <1427983> : uri <1914962> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > (defgeneric xx (&optional a b)) > (defmethod xx () > (message "default")) Hmmm... I think this really only worked by accident and wasn't explicitly supported by Emacs-24's doc. And adding support for such degenerate methods might not be straightforward in eieio-compat.el, so I'm wondering where you've seen such use, to see how important it is to provide that level of backward compatibility. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 24 19:35:27 2015 Received: (at 20420) by debbugs.gnu.org; 24 Apr 2015 23:35:27 +0000 Received: from localhost ([127.0.0.1]:39060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yln82-0004RT-Vi for submit@debbugs.gnu.org; Fri, 24 Apr 2015 19:35:27 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:36322) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yln80-0004RH-Q2 for 20420@debbugs.gnu.org; Fri, 24 Apr 2015 19:35:25 -0400 Received: by wizk4 with SMTP id k4so38542148wiz.1 for <20420@debbugs.gnu.org>; Fri, 24 Apr 2015 16:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=76kHzm5ZqIWVrqjRkN07bg5ebumQk4w2jthJs+tw0mk=; b=w1h8Vssv6CX+LlWt5ODE7fMrLkZq2XDXWmHgCMMetmuiOOZAxSMvKeKhO2FY/xUSgm aWSob2oB1vMDeHyMM7OTe6M/re28esia0zE9ukfTBv3UhTJBmSWhJAWVZ0GPYY5DhRqS fHONiZ8rqh3BRuYa/DWRLTqrZW5lOW/urh6Wom/nO9gRqsb2a7mN7isPQ60uJlWrX/Yv 6rnShlo+CIZ+t+GC43WgTTuMhbvIvZyIlF4w+F+clhEY3cX5OK820knuQ0pRQZsWUwPT RBzZft8/dcCZ6E6vjxUTnEhkIAVkgdaMrloz3oaHn7Mrsw2YfQzYvcgbJet19gk/pFbS aM3g== X-Received: by 10.180.208.42 with SMTP id mb10mr621924wic.80.1429918519041; Fri, 24 Apr 2015 16:35:19 -0700 (PDT) Received: from localhost (dhcp-077-251-128-242.chello.nl. [77.251.128.242]) by mx.google.com with ESMTPSA id y7sm4752005wjw.16.2015.04.24.16.35.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2015 16:35:18 -0700 (PDT) From: Vitalie Spinu To: Stefan Monnier Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail References: <87d22tpbqr.fsf@gmail.com> Date: Sat, 25 Apr 2015 01:35:17 +0200 In-Reply-To: (Stefan Monnier's message of "Fri, 24 Apr 2015 16:42:01 -0400") Message-ID: <878udhp0ay.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>> Stefan Monnier on Fri, 24 Apr 2015 16:42:01 -0400 wrote: >> (defgeneric xx (&optional a b)) >> (defmethod xx () >> (message "default")) > Hmmm... I think this really only worked by accident and wasn't > explicitly supported by Emacs-24's doc. And adding support for such > degenerate methods might not be straightforward in eieio-compat.el, so > I'm wondering where you've seen such use, to see how important it is to > provide that level of backward compatibility. I was using function xx that, when called with no arguments, dispatched methods with the same name on a local object in the current buffer. I think this pattern is very general. Especially now with the new cl-defmethod which supports (eql ...) dispatch. A common pattern would be to dispatch a method on major-mode or other local variable by simply defining the dispatcher with the same name and no arguments. In this sense it's a partial generalization of the mode-local.el. As we are on this topic how about allowing for implicit dispatch on the arbitrary context? I mean something along the following lines: (defun eq-major-mode (mode) (eq mode major-mode)) (defgeneric foo ((implicit eq-major-mode) arg1 arg2) ...) (defmethod foo ('emacs-lisp-mode arg1 arg2) ...) The `foo` then should be called only as (foo arg1 arg2) and the dispatch is done implicitly by (eq 'emacs-lisp-mode major-mode). A shortcut for a common user case might look like: (defgeneric foo ((eql major-mode) arg1 arg2) ...) to mean (defgeneric foo ((implicit (lambda (obj) (eql major-mode))) arg1 arg2) ...) This pattern would be a powerful generalization of mode-local.el and would essentially obsolete classic emacs dispatch mechanism as in (setq-local indent-line-function xxx-mode-indent-line). Vitalie From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 25 10:41:44 2015 Received: (at 20420) by debbugs.gnu.org; 25 Apr 2015 14:41:44 +0000 Received: from localhost ([127.0.0.1]:39901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ym1H5-0003CO-S3 for submit@debbugs.gnu.org; Sat, 25 Apr 2015 10:41:44 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:47510) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ym1H3-0003CG-Hy for 20420@debbugs.gnu.org; Sat, 25 Apr 2015 10:41:41 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t3PEfeJ0018997; Sat, 25 Apr 2015 10:41:40 -0400 Received: by pastel.home (Postfix, from userid 20848) id 3895C250C; Sat, 25 Apr 2015 10:41:40 -0400 (EDT) From: Stefan Monnier To: Vitalie Spinu Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail Message-ID: References: <87d22tpbqr.fsf@gmail.com> <878udhp0ay.fsf@gmail.com> Date: Sat, 25 Apr 2015 10:41:40 -0400 In-Reply-To: <878udhp0ay.fsf@gmail.com> (Vitalie Spinu's message of "Sat, 25 Apr 2015 01:35:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5287=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5287> : inlines <2795> : streams <1428395> : uri <1915543> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) >> Hmmm... I think this really only worked by accident and wasn't >> explicitly supported by Emacs-24's doc. And adding support for such >> degenerate methods might not be straightforward in eieio-compat.el, so >> I'm wondering where you've seen such use, to see how important it is to >> provide that level of backward compatibility. > I was using function xx that, when called with no arguments, dispatched > methods with the same name on a local object in the current buffer. That tells me *how* you used it, not *where*. > As we are on this topic how about allowing for implicit dispatch on the > arbitrary context? I mean something along the following lines: Quoting from cl-generic.el: ;; TODO: [...] ;; - A way to dispatch on the context (e.g. the major-mode, some global ;; variable, you name it). [...] ;;; Just for kicks: dispatch on major-mode ;; ;; Here's how you'd use it: ;; (cl-defmethod foo ((x (major-mode text-mode)) y z) ...) ;; And then ;; (foo 'major-mode toto titi) ;; ;; FIXME: Better would be to do that via dispatch on an "implicit argument". ;; E.g. (cl-defmethod foo (y z &context (major-mode text-mode)) ...) IOW, patch welcome. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 25 14:25:49 2015 Received: (at 20420) by debbugs.gnu.org; 25 Apr 2015 18:25:49 +0000 Received: from localhost ([127.0.0.1]:39960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ym4lw-0008RT-NF for submit@debbugs.gnu.org; Sat, 25 Apr 2015 14:25:49 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:34833) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ym4lu-0008RH-Lw for 20420@debbugs.gnu.org; Sat, 25 Apr 2015 14:25:47 -0400 Received: by widdi4 with SMTP id di4so56324756wid.0 for <20420@debbugs.gnu.org>; Sat, 25 Apr 2015 11:25:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Ys1MLVsdpSABSzZMaA/IPX/xpY8AXG+YdIYxF7pPcP0=; b=0vp5Lz/xlDM8WOZV7JdN3MkhOC5K4dxkuSbZKYvEOZHaIjdx4fdIYYnFuSlNLb8I5n UUJGY3ygFtAuJtnJX6TC1g1PIjmp2L7ydaRc93PCno0jIS1bMyOVo1KXPCZ8ffDaNfJd YKzvI/Ojv4/rHoJGcUQMmFR4drpmnJMxdFzqQy3xBBnSpiSywTg7uHId+8ZVG7Hz/WJ0 Gyeo1cH8aAkYh3gLKfYhtR0Q4CqfLSgLZCVZPml98zrP7IhkF3LK6dr3FfXy/XTTxMfN dz95al0azSVyagNI84Z0d7FB8KipMh1pw6zSj1OhO13CgAPJ6Ht5ozjJ84zekJw47Qlk UTkw== X-Received: by 10.194.206.66 with SMTP id lm2mr7969883wjc.79.1429986341134; Sat, 25 Apr 2015 11:25:41 -0700 (PDT) Received: from localhost (dhcp-077-251-128-242.chello.nl. [77.251.128.242]) by mx.google.com with ESMTPSA id z12sm22012254wjw.39.2015.04.25.11.25.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Apr 2015 11:25:39 -0700 (PDT) From: Vitalie Spinu To: Stefan Monnier Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail References: <87d22tpbqr.fsf@gmail.com> <878udhp0ay.fsf@gmail.com> Date: Sat, 25 Apr 2015 20:25:39 +0200 In-Reply-To: (Stefan Monnier's message of "Sat, 25 Apr 2015 10:41:40 -0400") Message-ID: <87sibonjz0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>> Stefan Monnier on Sat, 25 Apr 2015 10:41:40 -0400 wrote: > That tells me *how* you used it, not *where*. I was using it in polymode package for a generic indentation functionality: https://github.com/vspinu/polymode/blob/master/polymode-methods.el#L530 >> As we are on this topic how about allowing for implicit dispatch on the >> arbitrary context? I mean something along the following lines: > Quoting from cl-generic.el: > ;; TODO: > [...] > ;; - A way to dispatch on the context (e.g. the major-mode, some global > ;; variable, you name it). > [...] > ;;; Just for kicks: dispatch on major-mode > ;; > ;; Here's how you'd use it: > ;; (cl-defmethod foo ((x (major-mode text-mode)) y z) ...) > ;; And then > ;; (foo 'major-mode toto titi) > ;; > ;; FIXME: Better would be to do that via dispatch on an "implicit argument". > ;; E.g. (cl-defmethod foo (y z &context (major-mode text-mode)) ...) Aha. Cool! I will have a look. Is there a more elaborate documentation somewhere? Particularly I don't see "specializer" and "generalizer" being properly defined anywhere. Vitalie From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 26 00:02:56 2015 Received: (at 20420) by debbugs.gnu.org; 26 Apr 2015 04:02:56 +0000 Received: from localhost ([127.0.0.1]:40081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmDmR-0005Df-Da for submit@debbugs.gnu.org; Sun, 26 Apr 2015 00:02:55 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:42036) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmDmP-0005DV-47 for 20420@debbugs.gnu.org; Sun, 26 Apr 2015 00:02:54 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t3Q42pKj008773; Sun, 26 Apr 2015 00:02:51 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6C8AA2CD4; Sun, 26 Apr 2015 00:02:51 -0400 (EDT) From: Stefan Monnier To: Vitalie Spinu Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail Message-ID: References: <87d22tpbqr.fsf@gmail.com> <878udhp0ay.fsf@gmail.com> <87sibonjz0.fsf@gmail.com> Date: Sun, 26 Apr 2015 00:02:51 -0400 In-Reply-To: <87sibonjz0.fsf@gmail.com> (Vitalie Spinu's message of "Sat, 25 Apr 2015 20:25:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5287=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5287> : inlines <2795> : streams <1428701> : uri <1915886> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) >> That tells me *how* you used it, not *where*. > I was using it in polymode package for a generic indentation > functionality: > https://github.com/vspinu/polymode/blob/master/polymode-methods.el#L530 [ After figuring out that the code now doesn't do that any more and seeing the old code which does do the "nasty" empty-args defmethod. ] I see, thanks. At least the "workaround" did not require more code, and is marginally more efficient to boot. Looking more closely at the way this was handled in the older EIEIO code, the semantics are pretty ugly, so it the fact that it worked is clearly an accident, and reproducing that exact semantics would be difficult. > Aha. Cool! I will have a look. Is there a more elaborate documentation > somewhere? No, it's more a wishlist item: add support for formal pseudo-arguments of the form "&context ( )". > Particularly I don't see "specializer" and "generalizer" > being properly defined anywhere. "Specializer" is used commonly in CLOS to refer to the "thing" that can be either a class type or (eql ). "Generalizer" is not standard and refers to a thing that takes a value (the actual argument) and finds its corresponding specializers (i.e. its type(s)). I took the term from an article that extended CLOS method-matching. cl-generic.el does not directly implement that article, but it's fairly similar. This said, adding support for &context shouldn't need to do very much with specializers and generalizers (more specifically, shouldn't require defining new specializers or generalizers). Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 26 08:00:54 2015 Received: (at 20420) by debbugs.gnu.org; 26 Apr 2015 12:00:54 +0000 Received: from localhost ([127.0.0.1]:40193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmLEx-0003nO-76 for submit@debbugs.gnu.org; Sun, 26 Apr 2015 08:00:53 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:35770) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmLEt-0003n7-Es for 20420@debbugs.gnu.org; Sun, 26 Apr 2015 08:00:48 -0400 Received: by wgyo15 with SMTP id o15so90407609wgy.2 for <20420@debbugs.gnu.org>; Sun, 26 Apr 2015 05:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=KDKfi95yGRNtRMZKGjWwlLNhBu5Ze4G2Alsgz6PWnvI=; b=CaSd29F20lNN8dkoFPVA2I8+kgVWCnnCiwn8ww04f/flIqqpbvubH101/2frjwzTAs LepuX1Dc31aj7+VwrMeHiu4mKqbqy8KtLEbwMrEDP17yfjjNoNRfH6WdNapwaFYM4Ee0 iQS44zA6dtHs6rn8h8iyM1IZlyGN+53AnceJsqXQv5Gi/plaDy2nO9DaNTGDLjJ2kVYH C5KhIY+JnM2d0ALgq3fPCc+td2MKn/lUgTBmUl6w80ktyO6y47difiVmtc/82x5Qzcwg jrJX6sdlUxI+qjMmzvysdNG8HP1rYWz/T1HwzO4tDxxTIT8BlSeJmbpq9JnIVFWwAxdE 3UeA== X-Received: by 10.180.74.37 with SMTP id q5mr12265484wiv.59.1430049641470; Sun, 26 Apr 2015 05:00:41 -0700 (PDT) Received: from localhost (dhcp-077-251-128-242.chello.nl. [77.251.128.242]) by mx.google.com with ESMTPSA id l1sm7063175wiy.20.2015.04.26.05.00.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Apr 2015 05:00:40 -0700 (PDT) From: Vitalie Spinu To: Stefan Monnier Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail References: <87d22tpbqr.fsf@gmail.com> <878udhp0ay.fsf@gmail.com> <87sibonjz0.fsf@gmail.com> Date: Sun, 26 Apr 2015 14:00:39 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 26 Apr 2015 00:02:51 -0400") Message-ID: <87vbgjm74o.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>> Stefan Monnier on Sun, 26 Apr 2015 00:02:51 -0400 wrote: >>> That tells me *how* you used it, not *where*. >> I was using it in polymode package for a generic indentation >> functionality: >> https://github.com/vspinu/polymode/blob/master/polymode-methods.el#L530 > [ After figuring out that the code now doesn't do that any more and > seeing the old code which does do the "nasty" empty-args defmethod. ] Sorry about that. I wasn't expected you will be interested in so much detail. I would have been more elaborate. >> Aha. Cool! I will have a look. Is there a more elaborate documentation >> somewhere? > No, it's more a wishlist item: add support for formal pseudo-arguments > of the form "&context ( )". >> Particularly I don't see "specializer" and "generalizer" >> being properly defined anywhere. > "Specializer" is used commonly in CLOS to refer to the "thing" that can > be either a class type or (eql ). "Generalizer" is not standard > and refers to a thing that takes a value (the actual argument) and finds > its corresponding specializers (i.e. its type(s)). I took the term from > an article that extended CLOS method-matching. cl-generic.el does not > directly implement that article, but it's fairly similar. This sounds like a more involved version of what Clojure does with multimethods (also implemented in emacs multi.el package [1]) When Clojure's generic is defined you supply a dispatch function that takes all actual arguments and returns an object (commonly a symbol). The returned object is then used directly for dispatch. If I understand correctly the dispatch function is like your generalizer. Vitalie [1] https://github.com/kurisuwhyte/emacs-multi Better documented at https://github.com/vspinu/emacs-multi From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 00:43:28 2015 Received: (at 20420) by debbugs.gnu.org; 27 Apr 2015 04:43:28 +0000 Received: from localhost ([127.0.0.1]:40764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmatD-0006q1-UW for submit@debbugs.gnu.org; Mon, 27 Apr 2015 00:43:28 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:53546) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmatC-0006pp-02 for 20420@debbugs.gnu.org; Mon, 27 Apr 2015 00:43:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnEFAGvvdVRMCqjW/2dsb2JhbAA3gVOfQYIugQiBdQEBBAFWIwULCzQSFBgNJIgTohGLdg0KGj0JAwODPgMKCQcCg1QEo2OEWA X-IPAS-Result: AnEFAGvvdVRMCqjW/2dsb2JhbAA3gVOfQYIugQiBdQEBBAFWIwULCzQSFBgNJIgTohGLdg0KGj0JAwODPgMKCQcCg1QEo2OEWA X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="117510389" Received: from 76-10-168-214.dsl.teksavvy.com (HELO ceviche.home) ([76.10.168.214]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Apr 2015 00:43:20 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 4E49F6610A; Mon, 27 Apr 2015 00:43:20 -0400 (EDT) From: Stefan Monnier To: Vitalie Spinu Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail Message-ID: References: <87d22tpbqr.fsf@gmail.com> <878udhp0ay.fsf@gmail.com> <87sibonjz0.fsf@gmail.com> <87vbgjm74o.fsf@gmail.com> Date: Mon, 27 Apr 2015 00:43:20 -0400 In-Reply-To: <87vbgjm74o.fsf@gmail.com> (Vitalie Spinu's message of "Sun, 26 Apr 2015 14:00:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > This sounds like a more involved version of what Clojure does with > multimethods (also implemented in emacs multi.el package [1]) I didn't know about Clojure's defmulti. It's simple and elegant, I like it. > If I understand correctly the dispatch function is like > your generalizer. Somewhat, yes. It's a bit more complex than that because in CLOS (and even more so in cl-generic) the code to compute the dispatch value depends on the actual methods defined, so cl-generic's "generalizers" are objects which describe which code to use depending on which methods are defined, and the actual value on which we dispatch is in general not quite the same as the "premise" (i.e. the "specializer"), so the generalizer also provides code to compute the specializer from the dispatch value. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 00:19:19 2015 Received: (at 20420) by debbugs.gnu.org; 12 May 2015 04:19:19 +0000 Received: from localhost ([127.0.0.1]:41432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys1f4-0005wr-NY for submit@debbugs.gnu.org; Tue, 12 May 2015 00:19:19 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:32382) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys1f1-0005wd-Tt for 20420@debbugs.gnu.org; Tue, 12 May 2015 00:19:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnEFAGvvdVRFpYts/2dsb2JhbAA3gVOfQYIugQiBdQEBBAFWIwULCzQSFBgNJIgTohGMZAkBAgECgz4DCgkHAoNUBKNjhFg X-IPAS-Result: AnEFAGvvdVRFpYts/2dsb2JhbAA3gVOfQYIugQiBdQEBBAFWIwULCzQSFBgNJIgTohGMZAkBAgECgz4DCgkHAoNUBKNjhFg X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="119271778" Received: from 69-165-139-108.dsl.teksavvy.com (HELO pastel.home) ([69.165.139.108]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 May 2015 00:19:09 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6D87F24D1; Tue, 12 May 2015 00:19:09 -0400 (EDT) From: Stefan Monnier To: Vitalie Spinu Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail Message-ID: References: <87d22tpbqr.fsf@gmail.com> <878udhp0ay.fsf@gmail.com> <87sibonjz0.fsf@gmail.com> Date: Tue, 12 May 2015 00:19:09 -0400 In-Reply-To: (Stefan Monnier's message of "Sun, 26 Apr 2015 00:02:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > No, it's more a wishlist item: add support for formal pseudo-arguments > of the form "&context ( )". It's now implemented. We should now remove gui-method and use that instead. And as you mentioned, it probably (at least partly) obsoletes define-overloadable-function/define-mode-local-override. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 10:23:38 2015 Received: (at 20420) by debbugs.gnu.org; 12 May 2015 14:23:38 +0000 Received: from localhost ([127.0.0.1]:42501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsB5t-0007Ng-GN for submit@debbugs.gnu.org; Tue, 12 May 2015 10:23:37 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:33906) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsB5r-0007NR-Ee for 20420@debbugs.gnu.org; Tue, 12 May 2015 10:23:36 -0400 Received: by wicmc15 with SMTP id mc15so55492224wic.1 for <20420@debbugs.gnu.org>; Tue, 12 May 2015 07:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=reFi2fHvePNP6D9BaWCik1UGBYosQ78MSjLFp6/1yfM=; b=rtI6qbqm6oSyNecBMefIBRJQahmqAgxKlk7O86zKrfc7C5uA2MubB8+KvzcELOXJUz dzG5h5vGNV5rmKTSdVOW+AetoIAqsOGeQrv+eI/wo7VQ70IWpjxIjeeH1tDwoaLDtgkC 2j0AdV3ttaIu9bt5vQBzLJTQkmjPfMmbJDq+5ElRNWUG8SXwULe3afTt7VFWZ1njnhsn mzxWP2xPgh4leb/DucqhbYYJigjM93cAWBWd4muFJu24qNg7FWotWYk6J5KOE1+P6T9i EajDba9LdoujfXMsRT5AiLsZ5t7F7QAp9IV+FisAAMq8I2SZsYy22aMfCh2gAKto4Q4q PauQ== X-Received: by 10.180.87.105 with SMTP id w9mr28539886wiz.32.1431440609890; Tue, 12 May 2015 07:23:29 -0700 (PDT) Received: from localhost (dhcp-077-251-128-242.chello.nl. [77.251.128.242]) by mx.google.com with ESMTPSA id l3sm3114933wiv.18.2015.05.12.07.23.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2015 07:23:28 -0700 (PDT) From: Vitalie Spinu To: Stefan Monnier Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail References: <87d22tpbqr.fsf@gmail.com> <878udhp0ay.fsf@gmail.com> <87sibonjz0.fsf@gmail.com> Date: Tue, 12 May 2015 16:23:28 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 12 May 2015 00:19:09 -0400") Message-ID: <87wq0dswm7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Awesome! Your TODO still says: ;; - A way to dispatch on the context (e.g. the major-mode, some global ;; variable, you name it). >>> Stefan Monnier on Tue, 12 May 2015 00:19:09 -0400 wrote: >> No, it's more a wishlist item: add support for formal pseudo-arguments >> of the form "&context ( )". > It's now implemented. > We should now remove gui-method and use that instead. > And as you mentioned, it probably (at least partly) obsoletes > define-overloadable-function/define-mode-local-override. > Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 18:57:34 2016 Received: (at control) by debbugs.gnu.org; 14 May 2016 22:57:34 +0000 Received: from localhost ([127.0.0.1]:51853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1iV3-00025z-Q2 for submit@debbugs.gnu.org; Sat, 14 May 2016 18:57:33 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:37652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1iV1-00025h-Tt for control@debbugs.gnu.org; Sat, 14 May 2016 18:57:32 -0400 Received: by mail-wm0-f53.google.com with SMTP id a17so81750196wme.0 for ; Sat, 14 May 2016 15:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:message-id:to:from:subject; bh=YMJB1YcGz24Ju7Jy4Yj/OMZdGl9Vg/1MsbrdV+OBqb0=; b=MIanG0wBZ2bJmFy/Bmid6UNlnHLED0jsiA+Y0+SXpArYH+5nHD7/Fhf8kmAHiNuJDC i0+WEIVyNe/a46Q4bxFPe04+jSlwY75lA1rukoR1/lll5+J8o/9qsr2LYhUnMNOGdntR D4+8pnACq5xALzMf4wwZ5vijmoQYSD58DtPknEey8CawzRVaDKbMDYDkx/ZMCsJhkYFW /AKplfVRycpt1YfzEP4UOUyZgz1/BYmbLQn26dEdwoSYB+G6kPCyXyORYZlVVToS7vZ7 4V4QFjWKV+vp1x3UJdW7+pfoorZJ1zo/eX8I54Qf6jIfVqJvh8ftZ427AT4uzPLTiRks +ozQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:message-id:to:from:subject; bh=YMJB1YcGz24Ju7Jy4Yj/OMZdGl9Vg/1MsbrdV+OBqb0=; b=a4uULgyjXqXbehLmBmVGx4K7cmd6ieQGb+0/Qy4FJiLZo6nyVmmesBzqZ6S+iievBl rvQuNLl7qkExAeVJc2tv7oJK0l1jdqkqEkk/yZYxgEs/0mI1mAiahVe/z5RBoNm2cE3C 0iis9+fRetJsuoLKCtJCjx1KsYmgXdqG4GceM1ALsBcf1A4H/UnbxWGYAGXvU6ZYQfUD 3gHO+Od0cUz5M/qXC+OuUMVurOluD4ozkBQLm0hBb+6IdZ7xoShVrQaDwgua6Dmui2BN JLBYg5JP1ESEjUrmr6p3Qe8vL5LNupwaFauCWzbZSP/l41CYaF6X09Hfcv3tFiZC14L5 Fn3w== X-Gm-Message-State: AOPr4FXovGa8pJu24+MLS0o5MQ2QvQn7JUMyduUtvIwzs53/iamUKP6U8dZveefDCZOtCg== X-Received: by 10.194.115.230 with SMTP id jr6mr22484900wjb.125.1463266646391; Sat, 14 May 2016 15:57:26 -0700 (PDT) Received: from axl ([185.105.175.24]) by smtp.gmail.com with ESMTPSA id u6sm10382567wmd.21.2016.05.14.15.57.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 May 2016 15:57:25 -0700 (PDT) Date: Sun, 15 May 2016 01:57:24 +0300 Message-Id: <86shxkw8mj.fsf@yandex.ru> To: control@debbugs.gnu.org From: Dmitry Gutov Subject: control message for bug #19759 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) unblock 19759 by 20420 From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 19:01:35 2016 Received: (at 20420) by debbugs.gnu.org; 14 May 2016 23:01:35 +0000 Received: from localhost ([127.0.0.1]:51865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1iYx-0003TH-GQ for submit@debbugs.gnu.org; Sat, 14 May 2016 19:01:35 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:38859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1iYw-0003Ow-31 for 20420@debbugs.gnu.org; Sat, 14 May 2016 19:01:34 -0400 Received: by mail-wm0-f46.google.com with SMTP id g17so81799154wme.1 for <20420@debbugs.gnu.org>; Sat, 14 May 2016 16:01:33 -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-transfer-encoding; bh=rrXSWQk9+/NodKLto1w+MChbF15l6uLGiMptcNwiEvg=; b=zP9FW0SVK9MDL7JRONvEtE5vsRXPP5vZRf7p7/OGmuy2fTz/57PXedcRSjfAwWFdFz DukI181+xypRlpDeeJCmfbSpjdc6D5FZi7Ey0bbSgQhraxT3Aqpo0lqU9a05bqh5dNXo Xo5L2A/5RJyUT8+831l15OLlMcE9jj8Kl1xv7Eysv7xrpxSF3jMmcNObvwvP7Oq43OJY oR3EzkTkikaL1kT95rS4bVLlfXTTaPmhv5/U98UPPqJchBqw+jRcAO8KNns2DzX4n/uF M8PtI86UF1et+7UOuaopgZQjyUhIaY+6fX28Qg8r9iSlhmkwV5l3BqgpcfTgwO8AkQ5/ rNaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=rrXSWQk9+/NodKLto1w+MChbF15l6uLGiMptcNwiEvg=; b=kyAAbabehDsaE1hsuZiHBwB6yWZP0NxC9zAAZe3fBpwIs6sZdQVklXcmyhVwvL8Kkl i4R5I99efFMPfGIZFLddQLR5Rhk3u1zEwz17nsigUbo2BsxNjEmK8MyMrz7r1MXYUe2u C+7iUus44BTNcPv1nHUFYGyyfnfZddPDva9GhTi0KePauM5DOwYcC4nnXKB3DW01tIAv 3O1wpHUa1seCJ5Tg8ZRZgJBmUa0M1Qy1sJswEXGzDJN7PTUZZOGQOeH+DyHhuWEHK/No Dhid0MatBMl9clviE2nF288JmM6yLHbhHkL4SfAaPIdJbbkiDVLTkWyYa3k+LN3hFryI DDSg== X-Gm-Message-State: AOPr4FWkGcGR7Qa/+Ml2G6F7jLHmp1F6W7vVBcLsiI19BXPPTlb3GbqmS1CeUqjSC+6fKA== X-Received: by 10.28.91.17 with SMTP id p17mr9790312wmb.86.1463266888576; Sat, 14 May 2016 16:01:28 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id u4sm25746018wjz.4.2016.05.14.16.01.27 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 May 2016 16:01:28 -0700 (PDT) Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail To: Vitalie Spinu , Stefan Monnier References: <87d22tpbqr.fsf@gmail.com> <878udhp0ay.fsf@gmail.com> <87sibonjz0.fsf@gmail.com> <87wq0dswm7.fsf@gmail.com> From: Dmitry Gutov Message-ID: Date: Sun, 15 May 2016 02:01:26 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1 MIME-Version: 1.0 In-Reply-To: <87wq0dswm7.fsf@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 20420 Cc: 20420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Hi Vitalie, On 05/12/2015 05:23 PM, Vitalie Spinu wrote: > > Awesome! > > Your TODO still says: > > ;; - A way to dispatch on the context (e.g. the major-mode, some global > ;; variable, you name it). Not anymore, since 62f4ed477ebcbe56087bb1df96340530c84b33a9. Is there something left to fix in this bug? If not, please close it. From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 21:54:29 2016 Received: (at 20420-done) by debbugs.gnu.org; 15 May 2016 01:54:29 +0000 Received: from localhost ([127.0.0.1]:51893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1lGG-00013R-QE for submit@debbugs.gnu.org; Sat, 14 May 2016 21:54:29 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:35425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1lGE-00013J-S9 for 20420-done@debbugs.gnu.org; Sat, 14 May 2016 21:54:28 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u4F1sOcN016211; Sat, 14 May 2016 21:54:25 -0400 Received: by ceviche.home (Postfix, from userid 20848) id D206866287; Sat, 14 May 2016 21:55:16 -0400 (EDT) From: Stefan Monnier To: 20420-done@debbugs.gnu.org Subject: Re: bug#20420: 25.0.50; eieio methods with optional arguments now fail Message-ID: References: <87d22tpbqr.fsf@gmail.com> <878udhp0ay.fsf@gmail.com> <87sibonjz0.fsf@gmail.com> <87wq0dswm7.fsf@gmail.com> Date: Sat, 14 May 2016 21:55:16 -0400 In-Reply-To: (Dmitry Gutov's message of "Sun, 15 May 2016 02:01:26 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV5672=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5672> : inlines <4801> : streams <1635516> : uri <2209907> X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 20420-done Cc: Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) > Is there something left to fix in this bug? If not, please close it. Done, thanks, Stefan From unknown Mon Aug 11 12:54:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 12 Jun 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator