From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pierre Lorenzon Newsgroups: gmane.emacs.help Subject: cl-generic Date: Tue, 21 Apr 2015 18:27:44 +0200 (CEST) Message-ID: <20150421.182744.1911112331073662223.devel@pollock-nageoire.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1429634223 27613 80.91.229.3 (21 Apr 2015 16:37:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2015 16:37:03 +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 Apr 21 18:36:49 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 1YkbAF-0006TM-3m for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 18:36:47 +0200 Original-Received: from localhost ([::1]:59591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkbAE-0002n7-Gd for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 12:36:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkbA4-0002mp-JR for help-gnu-emacs@gnu.org; Tue, 21 Apr 2015 12:36:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkbA0-0001TP-Il for help-gnu-emacs@gnu.org; Tue, 21 Apr 2015 12:36:36 -0400 Original-Received: from smtp10.smtpout.orange.fr ([80.12.242.132]:34277 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkbA0-0001TI-Bl for help-gnu-emacs@gnu.org; Tue, 21 Apr 2015 12:36:32 -0400 Original-Received: from localhost ([86.212.13.243]) by mwinf5d19 with ME id JgcV1q00f5EeZqE03gcWuN; Tue, 21 Apr 2015 18:36:30 +0200 X-ME-Helo: localhost X-ME-Date: Tue, 21 Apr 2015 18:36:30 +0200 X-ME-IP: 86.212.13.243 X-Mailer: Mew version 6.5 on Emacs 25.0.50 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.12.242.132 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:103912 Archived-At: Hi, I recently downloaded the last git emacs version. With prior versions I used the eieio-defmethod (or eieio--defmethod) function to create method for a given eieio class. But now even if there are aliases the suitable method is cl-defmethod. With the old functions I was able to give a byte compile form as method body but it does not seem to be possibl with cl-defmethod. One might always define a method : (cl-defmethod mymethod .... and then execute (byte-compile 'mymethod) but I wonder if doing that the method body is really byte compiled. So what to do if method body will be much more time consuming if not byte compiled ? Regards Pierre