From debbugs-submit-bounces@debbugs.gnu.org Fri May 31 05:29:43 2013 Received: (at submit) by debbugs.gnu.org; 31 May 2013 09:29:43 +0000 Received: from localhost ([127.0.0.1]:43896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UiLeY-0002BG-CN for submit@debbugs.gnu.org; Fri, 31 May 2013 05:29:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45918) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UiLeW-0002Aj-R2 for submit@debbugs.gnu.org; Fri, 31 May 2013 05:29:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UiLcu-0002TB-6s for submit@debbugs.gnu.org; Fri, 31 May 2013 05:28:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiLcu-0002Su-3o for submit@debbugs.gnu.org; Fri, 31 May 2013 05:28:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiLcs-0007d5-FP for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 05:28:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UiLcr-0002MW-Bz for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 05:27:58 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:51126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiLcr-0002KC-2R for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 05:27:57 -0400 Received: from [192.168.178.21] (brln-4d0c2a7d.pool.mediaWays.net [77.12.42.125]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LzWX0-1UMxC73r0s-014bm7; Fri, 31 May 2013 11:27:54 +0200 Message-ID: <51A86DC6.7050508@easy-emacs.de> Date: Fri, 31 May 2013 11:30:46 +0200 From: =?ISO-8859-15?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: abbrev edits - delay when saving Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:l55Ge/hDzdEKXdW35AlTtlPeXlme3gUDMuZI5NPfafu l4XT1x/AMu8n8n7CTY+hcN8okPCAJoZvo+Mpv+ZuCAZzjGeWfA lvtY7+xpZmwy3oajLWZY4ktiHRqo9Es41Im+IkUlo3HVXxt/Kf QQlp/jAIzkNrA4mpmBUSff0l0XhUKUDYyY07OLsFenWqTpjC2H zEzykZ4jnObSIX6yHyAjKxCJJY68c0qtXY/46+c0khlLg8R0F0 3tNsInx/A9B0untIQTxp1/JQEp1DwshQY7rpmtPBTZzGBXS5ih yKg+qb+JolRkxvI7+RkIH5ul7bwVxDC7KNKjaJgX6FzNQU4y3c sQ6HR1d2ZxQR84yGPHM5k6/fuSKoZqVMNyz9f0Htm X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] 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: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) With more than thousand abbrevs in Emacs Lisp mode, saving it after edits causes a delay of several seconds where Emacs looks blocked. Thanks all, Andreas GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05 From debbugs-submit-bounces@debbugs.gnu.org Fri May 31 23:03:22 2013 Received: (at 14518) by debbugs.gnu.org; 1 Jun 2013 03:03:22 +0000 Received: from localhost ([127.0.0.1]:45549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uic6E-0006nF-7o for submit@debbugs.gnu.org; Fri, 31 May 2013 23:03:22 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:54296) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uic6C-0006mx-Ep for 14518@debbugs.gnu.org; Fri, 31 May 2013 23:03:21 -0400 Received: by mail-pd0-f178.google.com with SMTP id w11so3074682pde.23 for <14518@debbugs.gnu.org>; Fri, 31 May 2013 20:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=jP3G4pg8MQAWKv+n5RIAyhjC7vr/0Zy8WR7JztgwssU=; b=qYoieQJyfh7dV2F6Cg8kP/prPQLxiNf21ZH8QT19HrvdQTFqr2xKQTSXe5ka338+FT lSgV6nxenKuemNXCP/jTDjHE/zQJaqfd4ceyB+J+Hwb3IXWWUJHBTABsZjmTNeq3y7Mc uQzm5iBnOXpkZCX6HnLTGyXD0vmiQCcRWH0tMahGH5DsSG6fz/sD49ys7N1We3vYhjo0 3Cv+UzScdU4aWypglYPE6Utvo+d46xwhs/psta9FgrrEorzIu8aRtudHiobRHqii+YbI W3kfayW8yChKnhNgGosZqAiW3h2EuYg8Q4xfQnSaOsN1cuTyzNEiGHS2D5UTKaQAkxnP vCRQ== X-Received: by 10.66.197.165 with SMTP id iv5mr16465156pac.67.1370055695932; Fri, 31 May 2013 20:01:35 -0700 (PDT) Received: from Zeuss-MacBook.local ([119.161.133.157]) by mx.google.com with ESMTPSA id q8sm43644494pan.12.2013.05.31.20.01.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 31 May 2013 20:01:35 -0700 (PDT) From: Leo Liu To: Andreas =?iso-8859-1?Q?R=F6hler?= Subject: Re: bug#14518: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= Date: Sat, 01 Jun 2013 11:01:30 +0800 In-Reply-To: <51A86DC6.7050508@easy-emacs.de> ("Andreas \=\?iso-8859-1\?Q\?R\?\= \=\?iso-8859-1\?Q\?\=F6hler\=22's\?\= message of "Fri, 31 May 2013 11:30:46 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14518 Cc: 14518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On 2013-05-31 17:30 +0800, Andreas R=F6hler wrote: > With more than thousand abbrevs in Emacs Lisp mode, saving it after > edits causes a delay of several seconds where Emacs looks blocked. > > Thanks all, > > Andreas > > GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05 Would be nice to have the data to test out the slowdown. At the minimal maybe give the result from elp-instrument-package. Leo From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 01 01:51:45 2013 Received: (at 14518) by debbugs.gnu.org; 1 Jun 2013 05:51:45 +0000 Received: from localhost ([127.0.0.1]:45660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UiejA-0007eo-B4 for submit@debbugs.gnu.org; Sat, 01 Jun 2013 01:51:45 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:50203) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uiej6-0007dw-VC for 14518@debbugs.gnu.org; Sat, 01 Jun 2013 01:51:42 -0400 Received: from [192.168.178.21] (brln-4db9ab74.pool.mediaWays.net [77.185.171.116]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MOCMW-1UoB0v44PM-005V6b; Sat, 01 Jun 2013 07:49:54 +0200 Message-ID: <51A98C2A.6040808@easy-emacs.de> Date: Sat, 01 Jun 2013 07:52:42 +0200 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Leo Liu Subject: Re: bug#14518: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:olybyK84jBJxUu2HFzDjKBKM3ekwWOQhH7t/LlrubpT GBkbzb21deJNqxlmgnes9VTUG710WDJAcIcp7+sHrnmQXmUy+f rgzLhuBaKBZk6WkHA++tm6BqgACrnaRG1X0aOYXynCgg/uT2xg +eZuSd3g8Ec87cto6CrwrAV8AHQFhmhKKfF7fByyrZRv6RszVk uCq1EHw8vMfEEyXLC+7QHBoZd+v1OeScWvGQUqgcExcbO5JvMG MMuLg1BN3uu4WLVRzzVXLPhRyyq6CdT6z/meQTwxVhx556A13z OaOj0OwHMTekofDrRVKJ0GcZzbID66SjHhJysFARFE7wO6YlTV JbfwpHIWMoxyJOzaoYfCaHw9sudL4S0ly9+6rx55a X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14518 Cc: 14518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Am 01.06.2013 05:01, schrieb Leo Liu: > On 2013-05-31 17:30 +0800, Andreas Röhler wrote: >> With more than thousand abbrevs in Emacs Lisp mode, saving it after >> edits causes a delay of several seconds where Emacs looks blocked. >> >> Thanks all, >> >> Andreas >> >> GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05 > > Would be nice to have the data to test out the slowdown. At the minimal > maybe give the result from elp-instrument-package. > > Leo > Hi Leo, I'll look for that, thanks taking care. Also the size of abbrev-file might be of interest, it's above 600Kb. Last time looked into, Emacs would re-compose all abbrev-tables, thus the slow. Solution might be a kind of abbrev-edits-change watch, which would re-calculate only the table(s) which need this. Cheers, Andreas From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 05 06:10:51 2013 Received: (at 14518) by debbugs.gnu.org; 5 Jun 2013 10:10:51 +0000 Received: from localhost ([127.0.0.1]:51807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkAg6-0000aC-Nq for submit@debbugs.gnu.org; Wed, 05 Jun 2013 06:10:51 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:60468) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkAg3-0000ZL-Vj for 14518@debbugs.gnu.org; Wed, 05 Jun 2013 06:10:49 -0400 Received: from [192.168.178.21] (brln-4db9fd2b.pool.mediaWays.net [77.185.253.43]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MT86g-1UrPut2L0Y-00SBRn; Wed, 05 Jun 2013 12:08:37 +0200 Message-ID: <51AF0ED4.6090104@easy-emacs.de> Date: Wed, 05 Jun 2013 12:11:32 +0200 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Leo Liu Subject: Re: bug#14518: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:kzmpd0WQUXMk2mJH8yFv6dXgzc1SZL6dwtwwH0V/aTd f0KKOkLzTLo9UDKh13Ekyg8iLGpnOTQB0VQo0jGkR1zjAyQcvv XwzHLlCZbsKqXW2hjkX/8Gqh13P8SfgZNBImn+4PP9pvFl5TnM HzeKsXx6YPWWCYrRdntGtX/SXrEB/cCZic1Lw3P4JB/IdX8RjP LwiqrxG+f8ehVYyPA5ZCIsRs51m+uW1elrc9Pl8rLaoSAIcjOK uPAtkmEkf1WU0FfN4lI7SUf652Aqh5XcghE3O+uYtUrOoOLD4x WImMTlj+MdxjB7wM2PJJ5kIAnPqLccEBIma87yLNuqIeemQHWF N7rYnza7H1QLKiyOhC1CSejDYLx7t3tGHDlLwZHpK X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14518 Cc: 14518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Am 01.06.2013 05:01, schrieb Leo Liu: > On 2013-05-31 17:30 +0800, Andreas Röhler wrote: >> With more than thousand abbrevs in Emacs Lisp mode, saving it after >> edits causes a delay of several seconds where Emacs looks blocked. >> >> Thanks all, >> >> Andreas >> >> GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05 > > Would be nice to have the data to test out the slowdown. At the minimal > maybe give the result from elp-instrument-package. > > Leo > elp-instrument-package is an interactive autoloaded Lisp function in `elp.el'. (elp-instrument-package PREFIX) Instrument for profiling, all functions which start with PREFIX. For example, to instrument all ELP functions, do the following: M-x elp-instrument-package RET elp- RET ;;;;;;; No idea how to use this WRT abbrev-mode :( From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 05 09:14:54 2013 Received: (at 14518) by debbugs.gnu.org; 5 Jun 2013 13:14:54 +0000 Received: from localhost ([127.0.0.1]:52132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkDYE-0004Jp-3w for submit@debbugs.gnu.org; Wed, 05 Jun 2013 09:14:54 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:28510) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkDYC-0004JZ-RN for 14518@debbugs.gnu.org; Wed, 05 Jun 2013 09:14:53 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpYtM/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av4EABK/CFFFpYtM/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="15685645" Received: from 69-165-139-76.dsl.teksavvy.com (HELO pastel.home) ([69.165.139.76]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 Jun 2013 09:12:38 -0400 Received: by pastel.home (Postfix, from userid 20848) id 2CE7A678B2; Wed, 5 Jun 2013 09:12:43 -0400 (EDT) From: Stefan Monnier To: Andreas =?iso-8859-1?Q?R=F6hler?= Subject: Re: bug#14518: abbrev edits - delay when saving Message-ID: References: <51A86DC6.7050508@easy-emacs.de> <51AF0ED4.6090104@easy-emacs.de> Date: Wed, 05 Jun 2013 09:12:43 -0400 In-Reply-To: <51AF0ED4.6090104@easy-emacs.de> ("Andreas =?iso-8859-1?Q?R?= =?iso-8859-1?Q?=F6hler=22's?= message of "Wed, 05 Jun 2013 12:11:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 14518 Cc: 14518@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >>> With more than thousand abbrevs in Emacs Lisp mode, saving it after >>> edits causes a delay of several seconds where Emacs looks blocked. >> Would be nice to have the data to test out the slowdown. At the minimal >> maybe give the result from elp-instrument-package. Or M-x profiler-start RET ... M-x profiler-report RET which is a bit easier to use. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 05 13:04:09 2013 Received: (at 14518) by debbugs.gnu.org; 5 Jun 2013 17:04:09 +0000 Received: from localhost ([127.0.0.1]:52758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkH85-0005ox-BI for submit@debbugs.gnu.org; Wed, 05 Jun 2013 13:04:09 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:57769 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkH83-0005ok-78 for 14518@debbugs.gnu.org; Wed, 05 Jun 2013 13:04:07 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UkH61-0006Nb-T8; Wed, 05 Jun 2013 13:02:02 -0400 From: Glenn Morris To: 14518@debbugs.gnu.org Subject: Re: bug#14518: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> <51AF0ED4.6090104@easy-emacs.de> X-Spook: White Water fissionable rail gun Europol eavesdropping X-Ran: fc:[X4UWH9*nM3Cku.,8kO-?Ulw[Zh59n@}v+KoZ"Nd#LY= X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 05 Jun 2013 13:02:01 -0400 In-Reply-To: (Stefan Monnier's message of "Wed, 05 Jun 2013 09:12:43 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 14518 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) What is the point of having 1000+ abbrevs? How can you possibly remember them? From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 05 13:19:23 2013 Received: (at submit) by debbugs.gnu.org; 5 Jun 2013 17:19:23 +0000 Received: from localhost ([127.0.0.1]:52767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkHMo-0006Rt-KY for submit@debbugs.gnu.org; Wed, 05 Jun 2013 13:19:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36810) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkHMm-0006Rb-FG for submit@debbugs.gnu.org; Wed, 05 Jun 2013 13:19:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkHKf-0004Oe-HN for submit@debbugs.gnu.org; Wed, 05 Jun 2013 13:17:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.0 required=5.0 tests=BAYES_20, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkHKf-0004OX-D3 for submit@debbugs.gnu.org; Wed, 05 Jun 2013 13:17:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkHKe-0007rC-3c for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 13:17:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkHKc-0004Nx-Q4 for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 13:17:08 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:56718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkHKc-0004M8-GR for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 13:17:06 -0400 Received: from [192.168.178.21] (brln-4db9fd2b.pool.mediaWays.net [77.185.253.43]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MdjxY-1V2u8y0fym-00PsuA; Wed, 05 Jun 2013 19:17:04 +0200 Message-ID: <51AF7343.3090003@easy-emacs.de> Date: Wed, 05 Jun 2013 19:20:03 +0200 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Re: bug#14518: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> <51AF0ED4.6090104@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:rO2czogPUoegBet9ilEFmrFgMFpWPGvbPEIMPuyp/1D H3sAkKpXsWyFVv9VnSdLwlFH2oWcjZzxoVwWeZN53/xOb1z4UA 5BlkgRe3AE5MGHtXEPvjROwATeXdIBgVQbNbVLnoAatuaRxuWD dh2QcZ4vZblqQvzGlD582j5ggFVUMimSkAXr0KJ14uDMin1vm9 0XI1lRYcgekRXr6gIWZn4TH8dDaL1wFKDCVyLu1T8gm2U93axM 3yWpJ+gQMRbftgT0CAgaNzXrnOKg+Jpj7eINnbUqRT9l74tIqG TzgnLdUMyb5UqqmEGTzaYJlM+VPDNNMZQrLDoTJ2E4Mc6pFGlC rfxAULCxnHqBOX4mfR1jJ1ovEKuHu5sHWlKomj4El X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] 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: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Am 05.06.2013 19:02, schrieb Glenn Morris: > > What is the point of having 1000+ abbrevs? > How can you possibly remember them? > > > > Often beginning of words composes the abbrev, or it's stored in an other mnemonic way, for example ("pbos" "(py-beginning-of-statement)" nil 36) ("pbosp" "(py-beginning-of-statement-p)" nil 2) ("pbs" "(py-backward-statement)" nil 2) ("pc" "(purecopy" nil 1) ("pcb" "(py-close-base" nil 1) ("pcf" "py-complete-function" nil 3) ("pci" "(py-compute-indentation)" nil 17) ("pcioo" "(py-compute-indentation orig origline closing line inside repeat)" nil 1) ("pcl" "(py-count-lines)" nil 8) ("pclo" "(< (py-count-lines) origline)" nil 1) ("pco" "(py-compute-indentation orig origline closing line inside repeat)" nil 2) ("pcoo" "(eq (py-count-lines) origline)" nil 1) ("pcs" "(py-choose-shell)" nil 4) ("pdc" "(py-beginning-of-def-or-class)" nil 0) Some abbrevs are never used, as the last one here - in exchange many terms have more than one abbrev. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 06 21:43:02 2013 Received: (at 14518) by debbugs.gnu.org; 7 Jun 2013 01:43:03 +0000 Received: from localhost ([127.0.0.1]:55461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uklhm-0003L0-QJ for submit@debbugs.gnu.org; Thu, 06 Jun 2013 21:43:02 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40105 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uklhl-0003Kc-7E for 14518@debbugs.gnu.org; Thu, 06 Jun 2013 21:43:01 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Uklhm-000461-BO; Thu, 06 Jun 2013 21:43:02 -0400 From: Glenn Morris To: 14518@debbugs.gnu.org Subject: Re: bug#14518: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> <51AF0ED4.6090104@easy-emacs.de> X-Spook: Glock Delta Force ISEC Croatian Vince Foster pink noise S X-Ran: y28#aK^QM? (Glenn Morris's message of "Wed, 05 Jun 2013 13:02:01 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 14518 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) ;; 1352 abbrevs (dotimes (i 2) (dotimes (j 26) (dotimes (k 26) (define-abbrev emacs-lisp-mode-abbrev-table (concat (char-to-string (+ 97 i)) (char-to-string (+ 97 j)) (char-to-string (+ 97 k))) "who cares")))) M-x write-abbrev-file ; takes no measurable time for me From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 07 01:35:42 2013 Received: (at submit) by debbugs.gnu.org; 7 Jun 2013 05:35:42 +0000 Received: from localhost ([127.0.0.1]:55703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkpKv-0004IS-55 for submit@debbugs.gnu.org; Fri, 07 Jun 2013 01:35:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59968) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkpKs-0004Hi-Ba for submit@debbugs.gnu.org; Fri, 07 Jun 2013 01:35:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkpKn-0008SS-JU for submit@debbugs.gnu.org; Fri, 07 Jun 2013 01:35:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkpKn-0008SO-Gv for submit@debbugs.gnu.org; Fri, 07 Jun 2013 01:35:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkpKm-0004ZK-K3 for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2013 01:35:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkpKk-0008Rr-4p for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2013 01:35:32 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:61568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkpKj-0008Rh-Ra for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2013 01:35:30 -0400 Received: from [192.168.178.21] (brln-4dbc41ba.pool.mediaWays.net [77.188.65.186]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0M2YnR-1UU7rO1nvx-00sBXv; Fri, 07 Jun 2013 07:35:27 +0200 Message-ID: <51B171CF.8010505@easy-emacs.de> Date: Fri, 07 Jun 2013 07:38:23 +0200 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Re: bug#14518: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> <51AF0ED4.6090104@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:xNs33HwQiBla6UwwohM054OjNwohY8sWrfbAu18rlbi WlbaXNEffuxYG4vKju0S+yXTqqKBsjZ36RnRM+6k2EzAqHNShA /nmYesIOrvrSFrVPUU6MlyDOn5Kt+BYVPAkX2uCjbmV4Ft4vSE Gx1ukhcVYKbC7K1e7hj8hkZcxzASNQfwJ985dwYvlXNDnjzyNh jnVt/hL/8Kz8UI2lBbuT+iIrmjuVGKEbwN3F0W8iO9oVfi53RU qFsSDfJNpCGHGfQeVde0+lJxLQL2rBS9KABk0/E6+Qp54VL7D4 81ODGx04xJi9YrjwZQpFHH+dkHMuLkLidkqVKP16wuv7CL3mah K6WGC4wci6VCKguCCsNnjVZCeYKqrdHulVLpbNpTr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] 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: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Am 07.06.2013 03:43, schrieb Glenn Morris: > > ;; 1352 abbrevs > (dotimes (i 2) > (dotimes (j 26) > (dotimes (k 26) > (define-abbrev emacs-lisp-mode-abbrev-table > (concat (char-to-string (+ 97 i)) > (char-to-string (+ 97 j)) > (char-to-string (+ 97 k))) > "who cares")))) > > M-x write-abbrev-file ; takes no measurable time for me > > > > Going to EOB in abbrev file, line number shows "17870". Maybe that makes a diff? BTW some modes seem to copy abbrev-table. Smarter inheritance seems feasible. Which should also affect write-times. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 07 03:13:59 2013 Received: (at 14518) by debbugs.gnu.org; 7 Jun 2013 07:13:59 +0000 Received: from localhost ([127.0.0.1]:55786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ukqs1-0008SE-8y for submit@debbugs.gnu.org; Fri, 07 Jun 2013 03:13:58 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47937 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ukqrx-0008Ry-DT for 14518@debbugs.gnu.org; Fri, 07 Jun 2013 03:13:55 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ukqrx-0005ep-K0; Fri, 07 Jun 2013 03:13:53 -0400 From: Glenn Morris To: 14518@debbugs.gnu.org Subject: Re: bug#14518: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> <51AF0ED4.6090104@easy-emacs.de> <51B171CF.8010505@easy-emacs.de> X-Spook: IMF eternity server diwn Peking Firefly airframe X-Ran: Q&zV9]XNCP2S..HQ4vRMM;InypG@im;,v_R67&:L4@b2.^@wmac@I\9vG*vV;M~r{/M\rZ X-Hue: magenta X-Attribution: GM Date: Fri, 07 Jun 2013 03:13:53 -0400 In-Reply-To: <51B171CF.8010505@easy-emacs.de> ("Andreas =?utf-8?Q?R=C3=B6h?= =?utf-8?Q?ler=22's?= message of "Fri, 07 Jun 2013 07:38:23 +0200") Message-ID: <0o1u8emlzi.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 14518 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) Andreas R=C3=B6hler wrote: > BTW some modes seem to copy abbrev-table. Smarter inheritance seems > feasible. I have no idea what that means, but suspect your problems are specific to your own idiosyncratic usage. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 07 03:39:11 2013 Received: (at submit) by debbugs.gnu.org; 7 Jun 2013 07:39:11 +0000 Received: from localhost ([127.0.0.1]:55823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkrGP-00018Y-TF for submit@debbugs.gnu.org; Fri, 07 Jun 2013 03:39:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55394) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkrGM-000186-Po for submit@debbugs.gnu.org; Fri, 07 Jun 2013 03:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkrGH-0004Di-Vl for submit@debbugs.gnu.org; Fri, 07 Jun 2013 03:39:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkrGH-0004De-TL for submit@debbugs.gnu.org; Fri, 07 Jun 2013 03:39:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkrGH-00024i-1T for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2013 03:39:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkrGG-0004DR-9q for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2013 03:39:00 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:62988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkrGF-0004DE-W3 for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2013 03:39:00 -0400 Received: from [192.168.178.21] (brln-4dbc41ba.pool.mediaWays.net [77.188.65.186]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0Mccy4-1V2Wfa2KbA-00IM6B; Fri, 07 Jun 2013 09:38:58 +0200 Message-ID: <51B18EC7.9040007@easy-emacs.de> Date: Fri, 07 Jun 2013 09:41:59 +0200 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Re: bug#14518: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> <51AF0ED4.6090104@easy-emacs.de> <51B171CF.8010505@easy-emacs.de> <0o1u8emlzi.fsf@fencepost.gnu.org> In-Reply-To: <0o1u8emlzi.fsf@fencepost.gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:BEeTuVSvWOmEw02b4qxxPsbEROsPi2YRFXLhJqfnJIp 0+DA9C9ZmkJBTQq6H9FLsFZkGKmgsrZyxgFTri22apLG19Xr2U Pu95ZxFoU4Dmw1I+6x4QiDdXJJ9KZHVQ/3V9q9+KyEYkmtgQ+c h+zXwCGZU6Pi9hPtC8/fAnK6H66N1XJsXAonwoPbUs6ggV4CcM zQn+Kzq3py1oeZqebLCVlGVIG/nkBOY97nnpQZhehgsdoROGql PGyUqiyumernzmQPGQRQvU0C6Lni9kiE0/d9Gu+26iCYu9r9Vg ghXflSYmuksSNFliekn/mPIJU5tD3dVqXFD7/wAOiWwhX2F0lZ H5hjLpKmQNG+gX0tg1ejoLZ6S6W0LpftKT5Bn+jt8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] 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: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Am 07.06.2013 09:13, schrieb Glenn Morris: > Andreas Röhler wrote: > >> BTW some modes seem to copy abbrev-table. Smarter inheritance seems >> feasible. > > I have no idea what that means, When a table inherits abbrevs, it must not copy abbrevs, but read them in parents table. but suspect your problems are specific > to your own idiosyncratic usage. > > > > From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 19:58:18 2014 Received: (at control) by debbugs.gnu.org; 6 Feb 2014 00:58:18 +0000 Received: from localhost ([127.0.0.1]:51628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBDIH-0007Ek-FH for submit@debbugs.gnu.org; Wed, 05 Feb 2014 19:58:17 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:60345) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBDIE-0007EX-52 for control@debbugs.gnu.org; Wed, 05 Feb 2014 19:58:14 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBDHz-000826-Mt for control@debbugs.gnu.org; Thu, 06 Feb 2014 01:58:00 +0100 Date: Wed, 05 Feb 2014 16:56:57 -0800 Message-Id: <87ob2lxdly.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #14518 X-MailScanner-ID: 1WBDHz-000826-Mt X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392253080.87257@X9vgkDuObxWd+/GrYfGsUQ X-Spam-Status: No X-Spam-Score: 0.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: 0.0 (/) tags 14518 - moreinfo From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 03:21:15 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 07:21:15 +0000 Received: from localhost ([127.0.0.1]:38829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKh91-0005kg-4a for submit@debbugs.gnu.org; Wed, 06 Jul 2016 03:21:15 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:65050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKh8y-0005kT-LX for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 03:21:13 -0400 Received: from [192.168.178.35] ([77.12.18.241]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LiCmZ-1bhKZm2wK3-00nOFe; Wed, 06 Jul 2016 09:21:05 +0200 Subject: Re: C and Emacs Lisp code parts To: emacs-devel@gnu.org, 14518@debbugs.gnu.org References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: Date: Wed, 6 Jul 2016 09:25:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:/WwPYhYXL6EY0onkyuY/CvKreNi3NgpE7/ChjXi2y14hBzkd1mt x6NETf0KC9nYrBT+4MiD2enlQOSLObv4TxbRQHVB7ib4JRwZuogEdRW4M2vTMrHNYntS0M/ pdAkd44GbxNk1iKHQZqyFjRr6PlLuacJaSDz5AyA5rm1VHauK9y5RXBFHAjDsK9eD+sIxUi LyYhRJsccLZciCrhtxnFg== X-UI-Out-Filterresults: notjunk:1;V01:K0:efH9OL6skcI=:BlKrt+swOLJJKfwh6IFfH/ iY0qF8xdajn929JK87l6Pa3eCuR1tMNhP7Nlb3Wuv+WFohAshDvYrOHMI8uAcU8AwapAKSD09 b+bLkQtmnpOJ+eMkAN3s+zEI+EKRqEWMeIxf6YdhQ1dI9dK/Or8g7fmDoIstTavBt1RoJY+XK NprvK7GAjGp9eX2pVDGN8ZNoLf81TtAEZGPbz1ZVklTyYM3xm9MRyr4gmgQ8mlTmUbEpJN09q fHhPwdTFTEd67KEOkiNz+LZqP/oNKKmHiXPwUjIB7Za7sAbRznKUhz0OzIAg6wj+iuIY+lTTx XVNjFKxEo6k3UNaQdTFVxKktbkMWKRZVk7R0DdSbPXxUoYskSjJcbcPHAv4m4z3MQnV5pxM3N zIwXcdfOnQVXZ6FtptTyB+id/bnTTk/dz0I66NRaqMnAM0oAu6EEEbC7y/1/OpSwGcpstJO/L wByLqtSMTkEZiAaHAziPohoE9XrBlhynbzLmL8FDDCGoTWw83cnYuZRKWBgVEpymx3atOTsxn Ns9km8Y+DsgN/ipeWvHJe4T8hv4KxKZERdJn8yvIMXxkrGzsrHbnhme0tjlX6vEaw3nUHc92l Caa1+h6yzI4yb5jH8zRMvClq/WMnnV1gMyM/+klv69iwk5A34bU6ghceCu7DXjODx8GEBxjWH Iv/f46X+jzHZnGHXcjYrtemTxF9qq+b+e9wsyfS5c2dlYwFvc6VJswIPYsdV38zrtzXMmUbin 9uxiE7jSoLh3iNzv X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14518 Cc: Eli Zaretskii 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.0 (/) On 06.07.2016 00:48, John Wiegley wrote: >>>>>> Eli Zaretskii writes: >> In which you were asked to provide some numbers, but gave none. Please do >> provide them, and perhaps that bug could be taken care of. > Until we have numbers, no action will be taken here. I am still of the > position that *more* code should be moved from C to Emacs Lisp, and not the > other way around. > > If there are cases where this might be a bad idea, measurement is needed to > convince me. As others have said, performance is a complex beast, and human > guesses about how a modern machine operates are more often wrong than not. > M-x elp-instrument-function RET define-abbrevs RET do some edits M-x elp-results RET abbrev--describe 36050 15.224345396 0.0004223119 abbrev-edit-save-buffer 1 8.034011581 8.034011581 abbrev-edit-save-to-file 1 8.033998314 8.033998314 abbrev--write 18025 5.8414600190 0.0003240754 define-abbrevs 1 1.334075568 1.334075568 abbrev-get 107835 0.5151135200 4.776...e-06 abbrev-table-get 36964 0.1173239610 3.174...e-06 abbrev-table-put 18320 0.0690998279 3.771...e-06 abbrev-table-empty-p 584 0.010703864 1.832...e-05 abbrev-table-p 584 0.0050513859 8.649...e-06 abbreviate-file-name 91 0.002899625 3.186...e-05 abbrev-table-name 2 0.000254252 0.000127126 abbrev-mode 1 1.4463e-05 1.4463e-05 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 10:01:36 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 14:01:36 +0000 Received: from localhost ([127.0.0.1]:39608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKnOR-0008Mn-Qj for submit@debbugs.gnu.org; Wed, 06 Jul 2016 10:01:35 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:36488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKnOP-0008Ma-GS for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 10:01:35 -0400 Received: by mail-oi0-f51.google.com with SMTP id f189so271700499oig.3 for <14518@debbugs.gnu.org>; Wed, 06 Jul 2016 07:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=SkPgKfYbXeohXoVYoZCuNfePbAW5XZ2FXMupojcnJg4=; b=wbaFW7Ycms6vc/U8Nn9rv+EFv4EQqjB7sOzsMWmmfd7sEjijGtdTwfKdKKxrOOALOf ZdaEU3JF3QrPFH44jbEaHU9NQ8F3qhBvYYFuOGJJoe3oM4HWW3cNt0Q75IFnjw+TmOcS ho4Co1WYI+7bTvsNElaM1YHINjmQvbq9BAz/OYilmBW7AWH4n2AQkVVn30c4NRdQFK+A heWTajZFxvDYnoyTQspWhiBpiLb8Ysm04u82BklUsIWk6YiY8CDpDAy3mab7viWEyUTy /NQzhwu3Xxrlfip59Iqpbg66vBuZnjp1MTi8gu5vKO2fNdGdXU/1UwPiqC96LStEjFJ5 kwRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=SkPgKfYbXeohXoVYoZCuNfePbAW5XZ2FXMupojcnJg4=; b=JBugfP0rmPN12oa4wgK9Q6zQ7wMf9BlCzUwG/I58+m0R2FUfhxWgcF0wucEos0h4QA yJf4kUMxZvpWCis6qmqEgnZST6vZEGsoqDGOwkr4zjkICIgOdkgBYOlMxWxyeNPokY2V x0gI9UrpjCEFlw1Nuol+3GQPJOo1Rn2tV0wrvT4AoYFmgexd11TvpS9kVx3m2j4Q8z2S apwHf+5iAKuK9EzR3jueyLSg8+uiwTXsmL4tZUjo9vhbDuwFdHBJeqqFKJhycFDihtVh DQIyY7Eaox69qU2uNnbMJjsTgM7wH5+nFzYeNZ1bEeKDun3KMOIVAJe5c2PCSfucL1jm 1yLg== X-Gm-Message-State: ALyK8tLSe0KJJZj70/Aikrl0Yd+b27RDS+CGy7dF9TQK4IIxbXTqoOYexA4BJx7JhDXZ8qJuh9Pzf+rWTl+xng== X-Received: by 10.157.38.246 with SMTP id i51mr4452364otd.112.1467813687742; Wed, 06 Jul 2016 07:01:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.197 with HTTP; Wed, 6 Jul 2016 07:01:26 -0700 (PDT) In-Reply-To: References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> From: Noam Postavsky Date: Wed, 6 Jul 2016 10:01:26 -0400 X-Google-Sender-Auth: 6IRcz_mKH9SG7WoZ-fvEPBTFx5g Message-ID: Subject: Re: C and Emacs Lisp code parts To: =?UTF-8?Q?Andreas_R=C3=B6hler?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14518 Cc: 14518@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.7 (/) On Wed, Jul 6, 2016 at 3:25 AM, Andreas R=C3=B6hler wrote: > M-x elp-instrument-function RET define-abbrevs RET > do some edits > M-x elp-results RET > > > abbrev--describe 36050 15.224345396 0.0004223119 > abbrev-edit-save-buffer 1 8.034011581 8.034011581 > abbrev-edit-save-to-file 1 8.033998314 8.033998314 > abbrev--write 18025 5.8414600190 0.0003240754 > define-abbrevs 1 1.334075568 1.334075568 > abbrev-get 107835 0.5151135200 4.776...e-06 > abbrev-table-get 36964 0.1173239610 3.174...e-06 > abbrev-table-put 18320 0.0690998279 3.771...e-06 > abbrev-table-empty-p 584 0.010703864 1.832...e-05 > abbrev-table-p 584 0.0050513859 8.649...e-06 > abbreviate-file-name 91 0.002899625 3.186...e-05 > abbrev-table-name 2 0.000254252 0.000127126 > abbrev-mode 1 1.4463e-05 1.4463e-05 > > I think you left out some steps. I tried modifying Glen's test above to give approximately the same number of abbrevs ;; 17576 abbrevs (dotimes (i 26) (dotimes (j 26) (dotimes (k 26) (define-abbrev emacs-lisp-mode-abbrev-table (concat (char-to-string (+ 97 i)) (char-to-string (+ 97 j)) (char-to-string (+ 97 k))) "who cares")))) M-x elp-instrument-package RET abbrevs RET M-x edit-abbrevs RET SPC DEL C-x C-s M-x elp-results abbrev-edit-save-to-file 1 0.687 0.687 abbrev-edit-save-buffer 1 0.687 0.687 abbrev--write 17578 0.2720000000 1.54...e-005 abbrev--describe 17578 0.2540000000 1.44...e-005 abbrev-table-get 17633 0.0420000000 2.38...e-006 abbrev-get 70312 0.0390000000 5.54...e-007 abbrev-table-put 17605 0.0340000000 1.93...e-006 abbrev-table-p 27 0.0 0.0 abbrev-table-name 1 0.0 0.0 abbrev-table-empty-p 27 0.0 0.0 GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 10:53:19 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 14:53:19 +0000 Received: from localhost ([127.0.0.1]:39630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoCV-00017w-59 for submit@debbugs.gnu.org; Wed, 06 Jul 2016 10:53:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKoCU-00017j-71 for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 10:53:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKoCK-0001Hl-Pn for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 10:53:12 -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.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKoCK-0001HW-MW; Wed, 06 Jul 2016 10:53:08 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4411 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKoCJ-0006HI-Nl; Wed, 06 Jul 2016 10:53:08 -0400 Date: Wed, 06 Jul 2016 17:52:54 +0300 Message-Id: <83shvmn7i1.fsf@gnu.org> From: Eli Zaretskii To: Andreas =?windows-1252?Q?R=F6hler?= In-reply-to: (message from Andreas =?windows-1252?Q?R=F6hler?= on Wed, 6 Jul 2016 09:25:54 +0200) Subject: Re: C and Emacs Lisp code parts References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 14518 Cc: 14518@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) [Please don't cross-post between the bug list and emacs-deve.] > From: Andreas Röhler > Date: Wed, 6 Jul 2016 09:25:54 +0200 > Cc: Eli Zaretskii > > abbrev--describe 36050 15.224345396 0.0004223119 > abbrev-edit-save-buffer 1 8.034011581 8.034011581 > abbrev-edit-save-to-file 1 8.033998314 8.033998314 > abbrev--write 18025 5.8414600190 0.0003240754 > define-abbrevs 1 1.334075568 1.334075568 > abbrev-get 107835 0.5151135200 4.776...e-06 > abbrev-table-get 36964 0.1173239610 3.174...e-06 > abbrev-table-put 18320 0.0690998279 3.771...e-06 > abbrev-table-empty-p 584 0.010703864 1.832...e-05 > abbrev-table-p 584 0.0050513859 8.649...e-06 > abbreviate-file-name 91 0.002899625 3.186...e-05 > abbrev-table-name 2 0.000254252 0.000127126 > abbrev-mode 1 1.4463e-05 1.4463e-05 Thanks. It is better to use profiler.el, because it doesn't change the code being profiled, and also can profile primitives. If you can produce a profile using profiler.el, and present it in fully expanded form, please do. Also, I'm not sure how to read the above (and the elp documentation doesn't really help). What was the total elapsed time it took to run this scenario? Is it the sum of all the numbers in the first column, i.e. about 37 sec? Or does the elapsed time for each function include all of its callers? Either way, the numbers look strange: why did it take abbrev-edit-save-to-file, whose body is almost empty, 8 sec, whereas abbrev--describe took 15 sec? What am I missing? Anyway, I looked at the v22 C implementation of the relevant functions, and I see that the Lisp implementation is essentially identical to C. For example, here's the Lisp implementation of abbrev--describe: (defun abbrev--describe (sym) (when (symbol-value sym) (prin1 (symbol-name sym)) (if (null (abbrev-get sym :system)) (indent-to 15 1) (insert " (sys)") (indent-to 20 1)) (prin1 (abbrev-get sym :count)) (indent-to 20 1) (prin1 (symbol-value sym)) (when (symbol-function sym) (indent-to 45 1) (prin1 (symbol-function sym))) (terpri))) and here's what we had in Emacs 22: static void describe_abbrev (sym, stream) Lisp_Object sym, stream; { Lisp_Object one, count, system_flag; if (INTEGERP (XSYMBOL (sym)->plist)) { count = XSYMBOL (sym)->plist; system_flag = Qnil; } else { count = Fget (sym, Qcount); system_flag = Fget (sym, Qsystem_type); } if (NILP (SYMBOL_VALUE (sym))) return; one = make_number (1); Fprin1 (Fsymbol_name (sym), stream); if (!NILP (system_flag)) { insert_string (" (sys)"); Findent_to (make_number (20), one); } else Findent_to (make_number (15), one); Fprin1 (count, stream); Findent_to (make_number (20), one); Fprin1 (SYMBOL_VALUE (sym), stream); if (!NILP (XSYMBOL (sym)->function)) { Findent_to (make_number (45), one); Fprin1 (XSYMBOL (sym)->function, stream); } Fterpri (stream); } As you see, both versions call the same primitives and do little else. I see the same basic picture with all the functions which are hot spots according to the elp profile. So if indeed the Lisp version is significantly slower, the only way I can explain that is that we have some very basic inefficiency in the byte-code interpreter, something that, if true, is completely unrelated to abbrev.el itself. So please do the same as you did here with Emacs 22.3, and with the same abbrevs list, and tell how much elapsed time this takes on the same system. We should anyway analyze this comparatively, not in absolute terms. (Alternatively, post here the list of the abbrevs you used in your experiment, then others could do these measurements, compare them, and maybe provide more information/investigate deeper.) Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:28:13 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 15:28:13 +0000 Received: from localhost ([127.0.0.1]:39685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKokD-0003b4-F1 for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:28:13 -0400 Received: from cloud103.planethippo.com ([31.216.48.48]:35388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKok8-0003aP-Vp for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 11:28:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=dkAZtxgxj2GX7KIRb1i8vzFeL+jb6Lcqk/wpndS+1E8=; b=ZbcHN+maGdnBypXJUU5Ig8IEMO 1tN+zk0A2LCligUenEpfiRI9bnUJlbWSGpADa1E5sLXncD5iroIx6BCZMqRCvm2DDPtJMjxaC7vvA SH/h7FEBhe6zgrxq/r1GzG8FC6DbRRN/7qxKdW1QbMjgli9nZav11Vykr+2HvbPLx+z4RyIfOuiML d9nyHFz0YzSstp3p/HSUn9xwJ532SF2BmPBUaxbIA7SLV7KFxaQyoBGvxchjjJONkDgE0pdsWJkL/ vNLE1eJx8AtIRr8wNfr073etYnIFliQJbzMum20OnA9bPk82gw1XxNp8YN5n6i2uOuvCnTpM0jNSa CpVSYYlA==; Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:32529 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1bKok2-000fad-UY; Wed, 06 Jul 2016 16:27:58 +0100 From: phillip.lord@russet.org.uk (Phillip Lord) To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: C and Emacs Lisp code parts References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> Date: Wed, 06 Jul 2016 16:27:58 +0100 In-Reply-To: ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Wed, 6 Jul 2016 09:25:54 +0200") Message-ID: <87zipubxc1.fsf@russet.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14518 Cc: Eli Zaretskii , 14518@debbugs.gnu.org, emacs-devel@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.0 (/) Andreas R=C3=B6hler writes: > On 06.07.2016 00:48, John Wiegley wrote: >>>>>>> Eli Zaretskii writes: >>> In which you were asked to provide some numbers, but gave none. Please = do >>> provide them, and perhaps that bug could be taken care of. >> Until we have numbers, no action will be taken here. I am still of the >> position that *more* code should be moved from C to Emacs Lisp, and not = the >> other way around. >> >> If there are cases where this might be a bad idea, measurement is needed= to >> convince me. As others have said, performance is a complex beast, and hu= man >> guesses about how a modern machine operates are more often wrong than no= t. >> > > M-x elp-instrument-function RET define-abbrevs RET > do some edits > M-x elp-results RET > > > abbrev--describe 36050 15.224345396 0.0004223119 > abbrev-edit-save-buffer 1 8.034011581 8.034011581 > abbrev-edit-save-to-file 1 8.033998314 8.033998314 > abbrev--write 18025 5.8414600190 0.0003240754 > define-abbrevs 1 1.334075568 1.334075568 > abbrev-get 107835 0.5151135200 4.776...e-06 > abbrev-table-get 36964 0.1173239610 3.174...e-06 > abbrev-table-put 18320 0.0690998279 3.771...e-06 > abbrev-table-empty-p 584 0.010703864 1.832...e-05 > abbrev-table-p 584 0.0050513859 8.649...e-06 > abbreviate-file-name 91 0.002899625 3.186...e-05 > abbrev-table-name 2 0.000254252 0.000127126 But what do these numbers mean? Is this better or worse than previously, and what are you saving? Phil From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 11:44:57 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 15:44:57 +0000 Received: from localhost ([127.0.0.1]:39735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKp0N-00044k-EQ for submit@debbugs.gnu.org; Wed, 06 Jul 2016 11:44:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKp0G-00044O-LC for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 11:44:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKp0A-0006dT-Qp for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 11:44:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKp07-0006cD-Nx; Wed, 06 Jul 2016 11:44:35 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bKp04-0005Yf-JJ; Wed, 06 Jul 2016 11:44:33 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#14518: C and Emacs Lisp code parts References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> <83shvmn7i1.fsf@gnu.org> X-Spook: terrorism InfoSec TWA Symptoms chameleon man Ermes Uzi X-Ran: 4vXo\mt4gVmm4{\.8?IU}V5w.kd\\]MU-D|uF_%@1l}::t3Wc0\9McjX8m#bRlw582qj,u X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 06 Jul 2016 11:44:32 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 14518 Cc: 14518@debbugs.gnu.org, Andreas =?utf-8?Q?R=C3=B6hler?= 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: -6.3 (------) IMO we should simply say: no, abbrevs will not move back to C. This discussion is not productive. We don't have to exhaustively debunk every strange suggestion that gets made. That's all I have to say on this. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 12:15:43 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 16:15:43 +0000 Received: from localhost ([127.0.0.1]:39764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpUF-0006PL-1N for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:15:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpUD-0006P6-Sq for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 12:15:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKpU4-00079k-FF for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 12:15:36 -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.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKpU4-00079f-CI; Wed, 06 Jul 2016 12:15:32 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4489 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKpU2-00065b-9y; Wed, 06 Jul 2016 12:15:30 -0400 Date: Wed, 06 Jul 2016 19:15:15 +0300 Message-Id: <83a8hun3os.fsf@gnu.org> From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Wed, 06 Jul 2016 11:44:32 -0400) Subject: Re: bug#14518: C and Emacs Lisp code parts References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> <83shvmn7i1.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 14518 Cc: 14518@debbugs.gnu.org, andreas.roehler@online.de 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Glenn Morris > Cc: Andreas Röhler , > 14518@debbugs.gnu.org > Date: Wed, 06 Jul 2016 11:44:32 -0400 > > IMO we should simply say: no, abbrevs will not move back to C. We probably will. But the data presented by Andreas is strange, and I think warrants at least a bit looking into. Who knows what we will find? From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 12:16:23 2016 Received: (at submit) by debbugs.gnu.org; 6 Jul 2016 16:16:23 +0000 Received: from localhost ([127.0.0.1]:39768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpUt-0006Qy-BG for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:16:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpUr-0006Qj-Mk for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:16:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKpUl-0007OQ-Uk for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:16:16 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKpUl-0007Nd-RQ for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:16:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKpUj-0008VA-Mn for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2016 12:16:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKpUg-0007Ma-U4 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2016 12:16:13 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:51511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKpUg-0007M9-Ik for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2016 12:16:10 -0400 Received: from [192.168.178.35] ([77.12.18.241]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MIjAi-1bIcZF2lp2-002J0K for ; Wed, 06 Jul 2016 18:16:09 +0200 Subject: Re: bug#14518: C and Emacs Lisp code parts To: bug-gnu-emacs@gnu.org References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> <83shvmn7i1.fsf@gnu.org> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: Date: Wed, 6 Jul 2016 18:21:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:vReENTiMr/SDjs+RepvWBpgEi1u4xEuR2+/VvCWvlQT5oNGHMih 0P5j5WnJMKvcZga/r9rq/N9rEFr9PwtjAYqqS09t9cVo4+WyNadScE/vhAEvJyUtknCxYJK gU3z+ikRLssVyKIf9u6i8w7tCMrRUh/6OQgljddLT//KoVHMn1Acx0S0U7NSmb9fIQqlg9M UuHUxNGn8M8VbArXs0xPg== X-UI-Out-Filterresults: notjunk:1;V01:K0:i6KzSC5BJAQ=:K8HgZxiIy6Sqw5AAF0hUIr 4eL1eRIq/7nfUu8pYJOujtvCzSM5nKCyjxSHFB0IF2bSaUjpSMs7ov93k+i4gM6Imrhtdaj3q gqoDzRgk/a/na+KRm2fGeXBYhqqQ3FGg6UOVkiT1AHcRpsFMuoZz3DMRmbPVlEDXY8lAou6wL MmDAP0lWUEzsvJIVcp0CgU/zNGgdi6lXDU7tyVjBQJIcwASdPyHAOZbwKql4Jib1V+ga3kXvZ HaGoojXyrLLYH77lsG9pTUYZ3SEiNsvOnvzscXEv+5B8zQOp9MzRd09Nm60wrgSpP01fbe/KQ empGl6K0/JSddZtPX8kYfN5hJM77/QulHV67pZTNa9qyANU53AwSvM1jYUzT8dLs2RupvLvts BvzBQ3iZNQJim4pJBMW9TnWPV0bOTBgNhxLPKzPqkJJdTC55ufIumO8+83aPa12NU6Z3SBC4A zIGcUNJslrP2kjJZ35HQuzJbUjjHD2NBAbRPL0JSBeISboLgffo2aZ/zVsZQiZWPZ86vRYvxk YORz5b8WdlxvaDKxQPRxSmg4cpULfB8rMlNOw4uCPSwfRjWu5lF6Oktjy5bBEi8JGQ3IsFv9f B3GOtaqGe69fc2YKeesQz4AuxBYruaUtF6VUCWt7HAHvLHNoi7Lz/nMAL67o8sfclhnzziJsv 94H9cmjx/V3SV7paho1aFuxpqWY/g6Kvd6hmRhDDOasz9K0j9ATGyplXGXWCC4ReMuQaG1beB MlbnCRO1/wgyhwBW X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -5.0 (-----) On 06.07.2016 17:44, Glenn Morris wrote: > IMO we should simply say: no, abbrevs will not move back to C. A better approach might be to ask: Why does it take so long? Are there ways to solve the task in a shorter time? Such questions are quite before any Lisp/C discussion. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 12:37:53 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 16:37:53 +0000 Received: from localhost ([127.0.0.1]:39808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKpph-0006xf-7m for submit@debbugs.gnu.org; Wed, 06 Jul 2016 12:37:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKppf-0006xQ-5H for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 12:37:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKppZ-00051W-AC for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 12:37:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKppZ-000519-7J; Wed, 06 Jul 2016 12:37:45 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4640 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKppX-0001Oe-0q; Wed, 06 Jul 2016 12:37:43 -0400 Date: Wed, 06 Jul 2016 19:37:29 +0300 Message-Id: <831t36n2nq.fsf@gnu.org> From: Eli Zaretskii To: Andreas =?windows-1252?Q?R=F6hler?= In-reply-to: (message from Andreas =?windows-1252?Q?R=F6hler?= on Wed, 6 Jul 2016 18:21:03 +0200) Subject: Re: bug#14518: C and Emacs Lisp code parts References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> <83shvmn7i1.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 14518 Cc: 14518@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Andreas Röhler > Date: Wed, 6 Jul 2016 18:21:03 +0200 > > A better approach might be to ask: Why does it take so long? I did. As of now, I don't understand the data you presented, so I asked for some more. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 13:22:39 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 17:22:39 +0000 Received: from localhost ([127.0.0.1]:39836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKqX1-00081S-KP for submit@debbugs.gnu.org; Wed, 06 Jul 2016 13:22:39 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:58243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKqWz-00081E-Rm for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 13:22:38 -0400 Received: from [192.168.178.35] ([77.12.18.241]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LsQ2q-1bRbqx1Ge0-0120L8; Wed, 06 Jul 2016 19:22:31 +0200 Subject: Re: bug#14518: C and Emacs Lisp code parts To: Eli Zaretskii References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> <83shvmn7i1.fsf@gnu.org> <831t36n2nq.fsf@gnu.org> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: Date: Wed, 6 Jul 2016 19:27:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0 MIME-Version: 1.0 In-Reply-To: <831t36n2nq.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:c2AJw21ANvw9m4xNzdfu2YBCNtNyFf3Rrq7hKZ8+/gjdzdWuV+l bjH/E5WCwqYS2IvjoFweiG/rCSPPhIahHtN0lvbRkxgieep0p2GFZLflxfEu4K7o9EWTnEu mlGap05WDrhNqMny70Oy1D14oOjMwcNi0cNOD1PN8ixM+ex10FctcJC+ZBwWHX8/6M0dAUO bIeNcI5kde8nBDmh1AFOQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:saDHAAoO3go=:EqCCn+jEceOtcElp7jZQUm 4Scd3O/HlcUStoHLWZ4CgIkGwZWepamazgPMjbUT1D47H9Yzq6OpYSCmahH2vffoEP1UEJy1l FAGj9USKZPzL4vjaEg0iLJhUZnzQW9e7Ug9oh1et8YV/AKOYsbPYNYvE59Hb/Ks7gEsx007cF HC988jKaIge08Qr+vf8TLA5fDB97v57fbk6SB+mZgC10WVbsLvTp8aI7QDdqnNc1BSblSJBp3 dH/+2IuISH5Tf2Vceg541Gk+hGg4BzVQrwu5mXd6XTe0qat5wGtVaFN6rP1X5zQvMUktY1J3R ot0N11EWZnEcu6I87cI/62w9TKEjUk1VZf84Wq9bnIaFdr5UnnkjJIMUan5Z9cl+Jby4URkad 4ylGJRxWSkfuOi5lTxqkvFiExmaLCBZLtgduxqlla3m9wksOhP8rqbtRO/+QlERxvi4r7Lg2Y 5VoOD3ByrUmqlcVXj13Q4zVmNO3vgVKeet+/AzFHRXK4JI7iD6F3A/HTDuLtx/kM2edqmIg9/ Fh/gNXTdXQBQOkssIvM3P64m9bnsiWejY3qmBz8I24vdxl8wO7tijg+T0jT+iUpiMeDjeCvDi 3IiZjVwdjKzL/szHSskYbcF63yMHQUk+A/GJDrV8iZieEiA/0X6LvgPzu2+gpzjWDrGilKr7y pgx6dWzjInZNqktel6SI+qkoP4glkA1hEBW51QljtJqQl03AJDcO/qTqsPnUf7Oa3AVPOZx4i r6Id7CqEfBTQQ9tD X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14518 Cc: 14518@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.0 (/) On 06.07.2016 18:37, Eli Zaretskii wrote: >> From: Andreas Röhler >> Date: Wed, 6 Jul 2016 18:21:03 +0200 >> >> A better approach might be to ask: Why does it take so long? > I did. As of now, I don't understand the data you presented, so I > asked for some more. Hi Eli, .abbrev_defs here counts 18415 lines. Can't post it as such, as it may contain private data. AFAIU the slowness is result of a proceeding, which reads/writes all available abbrev tables. A solution would restrict that read/write to mode-abbrev table at stake, or better to single abbrev edited. Maybe edit-abbrev should be changed into edit-all-abbrev-at-once - but discouraged. Thanks, Andreas From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 13:36:05 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 17:36:05 +0000 Received: from localhost ([127.0.0.1]:39845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKqk1-0008Lm-3f for submit@debbugs.gnu.org; Wed, 06 Jul 2016 13:36:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKqjy-0008LI-NV for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 13:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKqjq-0001lU-GY for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 13:35:57 -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.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKqjq-0001lC-D1; Wed, 06 Jul 2016 13:35:54 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4681 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKqjo-0007IJ-Ja; Wed, 06 Jul 2016 13:35:53 -0400 Date: Wed, 06 Jul 2016 20:35:38 +0300 Message-Id: <83vb0illed.fsf@gnu.org> From: Eli Zaretskii To: Andreas =?windows-1252?Q?R=F6hler?= In-reply-to: (message from Andreas =?windows-1252?Q?R=F6hler?= on Wed, 6 Jul 2016 19:27:24 +0200) Subject: Re: bug#14518: C and Emacs Lisp code parts References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> <83shvmn7i1.fsf@gnu.org> <831t36n2nq.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 14518 Cc: 14518@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > Cc: 14518@debbugs.gnu.org > From: Andreas Röhler > Date: Wed, 6 Jul 2016 19:27:24 +0200 > > .abbrev_defs here counts 18415 lines. Can't post it as such, as it may > contain private data. OK, but then please collect the additional data I asked for, and post that. It might give us some clues. > AFAIU the slowness is result of a proceeding, which reads/writes all > available abbrev tables. It is too slow. 37 sec to write 18K strings is unbelievably slow with today's machines. Glenn presented a similar scenario with a very similar number of abbrevs, which is 2 orders of magnitude faster. So there's something at work here that we need to understand, because my gut feeling is that it is not directly related to abbrevs.el or Lisp vs C in general. > A solution would restrict that read/write to mode-abbrev table at stake, > or better to single abbrev edited. > Maybe edit-abbrev should be changed into edit-all-abbrev-at-once - but > discouraged. IME, it is not a good idea to discuss solutions before the problem is sufficiently understood. We are not there yet. Let's analyze this some more. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 18:36:46 2016 Received: (at 14518) by debbugs.gnu.org; 6 Jul 2016 22:36:46 +0000 Received: from localhost ([127.0.0.1]:39971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKvR0-0007NM-9b for submit@debbugs.gnu.org; Wed, 06 Jul 2016 18:36:46 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:34021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKvQy-0007NA-Ek for 14518@debbugs.gnu.org; Wed, 06 Jul 2016 18:36:44 -0400 Received: by mail-pf0-f169.google.com with SMTP id h14so204595pfe.1 for <14518@debbugs.gnu.org>; Wed, 06 Jul 2016 15:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version; bh=7zuhcL7mUZTWJV1PtBCarYK0EEfeZoiftG/ZwuRWvZQ=; b=T7k0dtW8cHJ9DEX8AVSGYM5LnscVlmObDQYN9r9g4JImruIOWSBwAk05WX4aoMXCgo el/LXWR804EpZ5C7t26ToZTR0PW2GfG30+RX9rHWcblWBoz6q5Yni1MJ9u5NhY6PbQOD CkWYlAcxOLOyVNl39VCI4ppQlPxepI6JyXbMDd8fPvT4kAa6m09zOa/k0GZpABrok8Oe kvDbdXVU4TtA27G3ZTxnje7Hx4Tx5ZmxaUqmRw54aXrZGF/2mAoQNZZfZs+wsunVhLGi HRkubbwUsYZKLqrETgi3LN852nY4r2G9sH2Chtw5v39hmBezdzWGSFPZiFaIWZhkWflj OdHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mime-version; bh=7zuhcL7mUZTWJV1PtBCarYK0EEfeZoiftG/ZwuRWvZQ=; b=CPECGF7wrXDColAcgylmz70xWPbmqeJQ6vOW795gg0Rn94pkFFgAKsmDsi3DUQRLTi +ENjtyOHcySpj2+AOG5p1LwL178rVi0ZR8zmLFybcUBF8w2LmZU3s45cyA0rpqTiXjez n403nXbJYB9L4d5v4Qjf7e/5rLxwdeyUiX4i1P4JwzvjCxR4eHGlp9QbbraAZj5L/Vuc 5WZbphuTClDJKNPEZTooEJhDUvjeYaeRElJ9cIlwmpZwFpAGvDVhR1dfBlOSApt9Ff6E UXbRiQAzlfiuUVgLg8rhURfWEDIvpQ3DcY75/JmGGHTQR/8hJ/RZkHAoWr1J1/CY9JvK vRJw== X-Gm-Message-State: ALyK8tLcEc2sZ9uDKoLDjl4RTv0jIfAevpAheP67R4cIw0Xxe0b+RKpqob05nFI69XEJCg== X-Received: by 10.98.20.216 with SMTP id 207mr46395644pfu.144.1467844598659; Wed, 06 Jul 2016 15:36:38 -0700 (PDT) Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id a87sm6570955pfc.63.2016.07.06.15.36.37 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 06 Jul 2016 15:36:37 -0700 (PDT) From: John Wiegley X-Google-Original-From: "John Wiegley" Received: by Vulcan.local (Postfix, from userid 501) id 4264810043D1; Wed, 6 Jul 2016 15:36:37 -0700 (PDT) To: Eli Zaretskii Subject: Re: bug#14518: C and Emacs Lisp code parts In-Reply-To: <83a8hun3os.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jul 2016 19:15:15 +0300") Date: Wed, 06 Jul 2016 15:36:35 -0700 Message-ID: References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> <83shvmn7i1.fsf@gnu.org> <83a8hun3os.fsf@gnu.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.95 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14518 Cc: 14518@debbugs.gnu.org, Glenn Morris , andreas.roehler@online.de 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.7 (/) >>>>> Eli Zaretskii writes: >> IMO we should simply say: no, abbrevs will not move back to C. > We probably will. But the data presented by Andreas is strange, and I think > warrants at least a bit looking into. Who knows what we will find? Agreed. Andreas' problems may not even be a problem with abbrevs at all, but I'd very much like to know what is going on. Andreas, your .abbrev file doesn't live on an NFS mount or something crazy, does it? :) -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 07 03:28:35 2016 Received: (at submit) by debbugs.gnu.org; 7 Jul 2016 07:28:35 +0000 Received: from localhost ([127.0.0.1]:40177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bL3jf-0001Cy-BP for submit@debbugs.gnu.org; Thu, 07 Jul 2016 03:28:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bL3jb-0001Cj-RF for submit@debbugs.gnu.org; Thu, 07 Jul 2016 03:28:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bL3jV-0004BM-Tl for submit@debbugs.gnu.org; Thu, 07 Jul 2016 03:28:26 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL3jV-0004B8-Q3 for submit@debbugs.gnu.org; Thu, 07 Jul 2016 03:28:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL3jT-0006ud-Ab for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2016 03:28:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bL3jQ-0004At-3W for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2016 03:28:23 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:51174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL3jP-0004Ap-PI; Thu, 07 Jul 2016 03:28:20 -0400 Received: from [192.168.178.35] ([77.3.41.29]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LnjcV-1bmRaw1W8t-00hum1; Thu, 07 Jul 2016 09:28:17 +0200 Subject: Re: bug#14518: C and Emacs Lisp code parts To: bug-gnu-emacs@gnu.org References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> <83shvmn7i1.fsf@gnu.org> <83a8hun3os.fsf@gnu.org> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: Date: Thu, 7 Jul 2016 09:33:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:8F8BnugXEe/btWvGOfsHriqXSc5DGbpQ/TNEqgiRMvDzsuWQAp1 iilK6/99ii1KyPIAxEpidSPpFog8EisnU8ijBSk4Bn9KSl4XuTLDC6awSCulxuSTn1RADxe EKTD4JIlT355Ih0CYKfItzi7OOlFQP2EWeH4QxnEn93CzO2+0+SC2Bc5r4dCqpZrd9TYm4y 1Gh1CL1vNcoYCPTshnStw== X-UI-Out-Filterresults: notjunk:1;V01:K0:wWzLdkRnRAI=:Ym/PYhoVvacuvwzLBEC+JO Qw3ecmUhplYsBknIuZ++QAebzs3vdCEFqIEOBrpe5WlGEMq47FmYDv3xswsn+7qOailZqgTv9 NwmQYio3FnRFQYkUSst0pavtvj8VkNQTaSjCA9ypEuy6+31anoSOXdVli3SUMXggqbIwtluJI utOvzyBVs56vysKQq1YDbaSKDzToG3zbAKncPE0K7jbSVj0aEl8rxnMgBErphknAgpJFl1ST/ mJQ7IrsrbyWxRgLMsJfFaOF/k1x4BRK3fsR9LwfpPXQHuwv0Gcx7uGhC2jzY2ySfFxpUZdqx/ dMr+qLDIE9ie1T3u9OsgmEUZIjJ0XgbS9RJcgzSu3jsH1sQRLwhTMiMrEeIyDWiEn7qx6nXFY OdLOTg3RHGcETkTGrZUYdJ3KnZ+KB4vfV1vQpvzFnI9CFl4ANxyNG0XQE5bpqaEHN027jNXfi Ron43mdA2sUOROonb2j/lEsMTsWV/ZUl+RogIGDEArG9TLix5FJaVnKezCXqt8P8AJxvHbAp5 HmmXyccPVMA6j4rmuO24uVjeerwPlJWyLwP/5IJ8Z4vGObkzj4uKAHsesw08/pPo2erycUkdL Y8XiRvFguBINYL4FwIZ6VIxAfw13nzn1bzEdV286SiuNVuXBpgYxMFuAmXMyEd+JcMVKQjYP0 fug7kqbpJhXQslCEAsHGvV1sYnwpoKZ1RR0do/ouHitu6T1/f4f8lGG6uXqT3G/1/GFw9pkZK W8+xmdjP7mGhpoRo X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: Eli Zaretskii , John Wiegley 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: -5.0 (-----) On 07.07.2016 00:36, John Wiegley wrote: >>>>>> Eli Zaretskii writes: >>> IMO we should simply say: no, abbrevs will not move back to C. >> We probably will. But the data presented by Andreas is strange, and I think >> warrants at least a bit looking into. Who knows what we will find? > Agreed. Andreas' problems may not even be a problem with abbrevs at all, but > I'd very much like to know what is going on. > > Andreas, your .abbrev file doesn't live on an NFS mount or something crazy, > does it? :) > Hi all, nice seeing you disposed to query alternatives too, really appreciate that. IMHO in the case given the reasons are pretty simple. See for example in 'prepare-abbrev-list-buffer': ... (dolist (table abbrev-table-name-list) Such happens not only there. With the number of active modes/tables it growths - maybe exponentially? Also: why define-abbrevs must process the whole buffer? Why not deal with just the changed parts? Seems no hubble needed so far ;) Cheers, Andreas From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 07 11:16:40 2016 Received: (at submit) by debbugs.gnu.org; 7 Jul 2016 15:16:40 +0000 Received: from localhost ([127.0.0.1]:41345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLB2d-0007U8-K4 for submit@debbugs.gnu.org; Thu, 07 Jul 2016 11:16:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLB2c-0007Tw-D9 for submit@debbugs.gnu.org; Thu, 07 Jul 2016 11:16:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLB2W-0005DH-1K for submit@debbugs.gnu.org; Thu, 07 Jul 2016 11:16:32 -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.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLB2V-0005DC-Ui for submit@debbugs.gnu.org; Thu, 07 Jul 2016 11:16:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLB2U-0006bh-Ga for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2016 11:16:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLB2S-0005B2-Fi for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2016 11:16:29 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLB2Q-00059g-S2; Thu, 07 Jul 2016 11:16:26 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1835 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bLB2O-00059U-UQ; Thu, 07 Jul 2016 11:16:25 -0400 Date: Thu, 07 Jul 2016 18:16:13 +0300 Message-Id: <83furllbr6.fsf@gnu.org> From: Eli Zaretskii To: Andreas =?windows-1252?Q?R=F6hler?= In-reply-to: (message from Andreas =?windows-1252?Q?R=F6hler?= on Thu, 7 Jul 2016 09:33:12 +0200) Subject: Re: bug#14518: C and Emacs Lisp code parts References: <624c3d37-c829-7187-a699-7d7bbc211a20@online.de> <83ziq1u668.fsf@gnu.org> <20160701091653.GA2531@acm.fritz.box> <5fcdeec5-fcde-d0ab-e256-e1b2ceb40ccb@online.de> <83shvttsq6.fsf@gnu.org> <83shvmn7i1.fsf@gnu.org> <83a8hun3os.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, johnw@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Andreas Röhler > Cc: Eli Zaretskii , John Wiegley > Date: Thu, 7 Jul 2016 09:33:12 +0200 > > IMHO in the case given the reasons are pretty simple. See for example in > > 'prepare-abbrev-list-buffer': > ... > (dolist (table abbrev-table-name-list) > > Such happens not only there. With the number of active modes/tables it growths - maybe exponentially? > > Also: why define-abbrevs must process the whole buffer? Why not deal with just the changed parts? (This is no longer about C vs Lisp, right?) If you want to propose changes in abbrevs.el whose purpose is to speed it up, please do. But please also include with the changes the rationale in the form of timing measurements, so that, if the code becomes more complicated as result, we could judge the speed-up against the added complexity. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 05 19:38:54 2016 Received: (at 14518) by debbugs.gnu.org; 5 Aug 2016 23:38:54 +0000 Received: from localhost ([127.0.0.1]:56954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVohZ-0002Pf-8D for submit@debbugs.gnu.org; Fri, 05 Aug 2016 19:38:53 -0400 Received: from mail-it0-f46.google.com ([209.85.214.46]:38753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVohX-0002PQ-Gj for 14518@debbugs.gnu.org; Fri, 05 Aug 2016 19:38:51 -0400 Received: by mail-it0-f46.google.com with SMTP id j124so37899931ith.1 for <14518@debbugs.gnu.org>; Fri, 05 Aug 2016 16:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:in-reply-to:message-id:user-agent :mime-version; bh=t04q1SjkvWBZ5lklJGxDkhDT8SEWFmN/WGkxvoDvWYU=; b=DimC5d/WTcgV926O0QCjo8LnELyMg8PWGhw7t4RL/DPRTBX6ygTo1YBIn6ZXkO+uYC jc+cCl+ws5/qo8CNK6IJzueV9bkONAvylNa9YwQIV/gTwGHWE2kPci4uWZXEFsxf6AuX GRqbPXPfgPdaplIOlM/AJxqIjoQMFcR9Y+6tSCEtT1lfrzHxevT0wAU49APkM0xZGgu8 OeHJeLPi76njbD6ky0sYZNp5zTNIw93Xx9h0UiZAV0jrrTYy0KSvdm9/xZ5WuG67/yrW CoTt3tgBUdFQSthOIkZCVaioSDSJ+vuB6Wb91MUTc7OvwvMVmk5FC9xKzdMedoB4j46S y1IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:in-reply-to :message-id:user-agent:mime-version; bh=t04q1SjkvWBZ5lklJGxDkhDT8SEWFmN/WGkxvoDvWYU=; b=W5UBddjORTu70PBzEStBkyXg/pzIcqpXhi4xYg8nOdjeRaC8DJcvQ6Q1PEqK+eTWlU 03z+436r+UgvGEezz0q1zAuX5bAshKr3FW/epdMAXPHZT88IMa1ZbAv+GzTdXzpBqQJ4 jXVVP4KXPfZ24Mg86vmB/3xDIk0zZiS+UsxlDRKSjvKfZoW9ZBg45DoRCKHki/n41fco +4SJ9V0k/uKxxNk+IX2FuR63/tT2jOdHjQIBi12zmTXBprQgpceRhTspofsbwh9BjV41 caf+eKhwOGMZY6Sz77TKsrleIoal76WhMaQ8TqDDAqVYaN/b00DuYfXvlVunNpxXk2wG 2sYw== X-Gm-Message-State: AEkoouuBZoipOUnS4L2pyVy98eq1dvAsKD+RxHdULVmWksgwX6h5fQ1Q6xObac+wTerVpQ== X-Received: by 10.36.47.6 with SMTP id j6mr7435826itj.82.1470440326067; Fri, 05 Aug 2016 16:38:46 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id n190sm9013035ion.42.2016.08.05.16.38.45 for <14518@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Aug 2016 16:38:45 -0700 (PDT) From: npostavs@users.sourceforge.net To: bug#14518 <14518@debbugs.gnu.org> Subject: Re: Status: abbrev edits - delay when saving Date: Fri, 05 Aug 2016 19:38:54 -0400 In-Reply-To: bug's message of "Fri\, 05 Aug 2016 23\:35\:59 +0000" Message-ID: <8760re946p.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14518 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.7 (/) tag moreinfo unreproducible quit As already mentioned by Eli (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14518#46), we need an example with public data, or at the very least some timings comparing slow and fast runs. As it stands, there is no way to make progress on this bug. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 14:56:58 2016 Received: (at 14518-done) by debbugs.gnu.org; 7 Dec 2016 19:56:58 +0000 Received: from localhost ([127.0.0.1]:59987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEiKo-0005TE-IN for submit@debbugs.gnu.org; Wed, 07 Dec 2016 14:56:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEiKn-0005T1-IN for 14518-done@debbugs.gnu.org; Wed, 07 Dec 2016 14:56:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEiKh-00069r-QP for 14518-done@debbugs.gnu.org; Wed, 07 Dec 2016 14:56:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEiKh-00069j-NV for 14518-done@debbugs.gnu.org; Wed, 07 Dec 2016 14:56:51 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEiKh-0000nW-B2; Wed, 07 Dec 2016 14:56:51 -0500 From: Glenn Morris To: 14518-done@debbugs.gnu.org Subject: Re: bug#14518: Status: abbrev edits - delay when saving References: <51A86DC6.7050508@easy-emacs.de> <8760re946p.fsf@users.sourceforge.net> X-Spook: warfare Port Authority Sick Ansar al-Islam Temblor Wave X-Ran: y-mr\-{p'rOhoi>2~P!vi/Y(,UwmN34];p\~mw@9\2wQT2`:@PxYs X-Hue: yellow X-Attribution: GM Date: Wed, 07 Dec 2016 14:56:51 -0500 In-Reply-To: <8760re946p.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Fri, 05 Aug 2016 19:38:54 -0400") Message-ID: <7o4m2ftsvw.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 14518-done 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: -8.0 (--------) npostavs@users.sourceforge.net wrote: > As already mentioned by Eli > (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14518#46), we need an > example with public data, or at the very least some timings comparing > slow and fast runs. As it stands, there is no way to make progress on > this bug. I'm convinced this report isn't going to lead anywhere, so am closing it. It is just a sink for developer time. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 14:57:10 2016 Received: (at control) by debbugs.gnu.org; 7 Dec 2016 19:57:10 +0000 Received: from localhost ([127.0.0.1]:59993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEiKz-0005UM-Os for submit@debbugs.gnu.org; Wed, 07 Dec 2016 14:57:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEiKy-0005To-Ap for control@debbugs.gnu.org; Wed, 07 Dec 2016 14:57:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEiKs-0006HX-NM for control@debbugs.gnu.org; Wed, 07 Dec 2016 14:57:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEiKs-0006HT-KM for control@debbugs.gnu.org; Wed, 07 Dec 2016 14:57:02 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEiKs-0001Ky-7w for control@debbugs.gnu.org; Wed, 07 Dec 2016 14:57:02 -0500 Subject: control message for bug 14518 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 07 Dec 2016 14:57:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) 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: -8.0 (--------) tag 14518 + wontfix From unknown Sat Aug 09 13:19:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Jan 2017 12:24:06 +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