From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#24205: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] Date: Thu, 11 Aug 2016 17:30:23 +0000 Message-ID: References: <837fbnfcg2.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114414949763b90539cf1ff6 X-Trace: blaine.gmane.org 1470936679 5325 195.159.176.226 (11 Aug 2016 17:31:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2016 17:31:19 +0000 (UTC) Cc: monnier@iro.umontreal.ca, 24205@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 11 19:31:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtp5-0001Bb-5D for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 19:31:15 +0200 Original-Received: from localhost ([::1]:49922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtp1-0005is-JF for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 13:31:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtou-0005iY-HJ for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:31:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtos-0002xX-Bp for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:31:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtos-0002xT-8R for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bXtos-0007qd-0D for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Aug 2016 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24205 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca Original-Received: via spool by submit@debbugs.gnu.org id=B.147093665730155 (code B ref -1); Thu, 11 Aug 2016 17:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Aug 2016 17:30:57 +0000 Original-Received: from localhost ([127.0.0.1]:54280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXton-0007qJ-0T for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:30:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtol-0007q6-C4 for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:30:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtob-0002wQ-NX for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:30:50 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:32998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtob-0002wK-Jy for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:30:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtoX-0005iG-32 for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:30:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtoU-0002w0-Oe for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:30:39 -0400 Original-Received: from mail-oi0-x22f.google.com ([2607:f8b0:4003:c06::22f]:34434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtoR-0002ve-MS; Thu, 11 Aug 2016 13:30:35 -0400 Original-Received: by mail-oi0-x22f.google.com with SMTP id l203so3379538oib.1; Thu, 11 Aug 2016 10:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tdiGXY8Saaf8AcjTdj9i6xqlVE07IVUY17BinQ+8pKY=; b=mKshuUjjywVQS/FX7TQJNPrN6BHsL8s4MjivAv+LV1bAOxqeZ7omlo4d8bdYAENNS2 7hAcENvzRJ0kiTypm/PH+FzxqykJbL+kI195HVvoVZ4W55EDdM9V99omvE22e26f2JSZ j6f3nKBsRtOi0XbDPJXlrKGGjd1wKSctheDjg30PaVjRdtYB/tHaZW394yeF7i2jRfcV xCRd7Y2vkY/O0w2mJXb2aq1xDXLRlw3gWFbPw+m2UOVtdaGGjryE3xjQjzq3Sw9vmKYa NqV0igy1mnjgSq1nZQQT+596+s0G6l1U5NbPKuwRWx41x5iAX6HkXQhN8EYCX8IWvwcY q8fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tdiGXY8Saaf8AcjTdj9i6xqlVE07IVUY17BinQ+8pKY=; b=BKXqpcPnKVDtn65PmZHk/zsUEVibq0tZaFNgV7H4nK/WbCLtHRT1WdMf7EAosjWxpy xqDdVuTGimo29StLFw21KEBDOUeGZN5HuJBBbnmsWHxU2VpfE8TOG2Z/U94w3p3xa/0e 6GZDI3axArNeRYjdYN9UoHuGQWci7AOckR7cmzisPo5iZOeIk0Gqb4fKgaaGYBaBbhOy nXWCWw7nYWaBPRWOvu618X53g7eFzBDIJrJ37DGpLnsn7/Ghnmr3BDzEbvdeuifWphXh hM4oOuuKHsP9NKvjanZSRRiA49ERz1V3h4zW/Fn+Oy7wmBS7EnFFH+ufjwTxPZLsvDZX xMcA== X-Gm-Message-State: AEkoousc6SJfPvbfkugxec9MZubhht/krZACNN96N8tbLGg91KnASNQb6BH1UJD5cTMqAYfqCEX9oaNZcJgy8w== X-Received: by 10.157.5.141 with SMTP id 13mr2861415otd.60.1470936634579; Thu, 11 Aug 2016 10:30:34 -0700 (PDT) In-Reply-To: <837fbnfcg2.fsf@gnu.org> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122092 Archived-At: --001a114414949763b90539cf1ff6 Content-Type: text/plain; charset=UTF-8 On Thu, Aug 11, 2016 at 1:22 PM Eli Zaretskii wrote: > I'd prefer not to install anything. Hi Eli, To avoid people's personal emacs config from polluting, I change the user-emacs-directory and package-user-dir in the macro. Things get installed to the /tmp/ dir by default on unix systems. > I do have the Git repo for ELPA, > though. So could you please modify your recipe so that the required > packages are loaded from the Git repo (by modifying load-path), and > then the rest is done as needed? > Please let me know if this is still necessary to help debug this problem. The current macro definition is very generic and works for GNU Elpa + other Elpas out there. It does not pollute your personal area as I mentioned above. After done with this, just rm -rf (concat temporary-file-directory (getenv "USER") "/" ".emacs.d-debug/") > Better yet, just post the file that causes the trouble, there's no > need for everybody to recreate it, right? > I wanted the mininum working example to be all inclusive. If I do not do so, then I need to rely on manual steps like saving the file, opening the exact same file using M-x find-file (and all that). Isn't my method more reliable? All you do is eval the whole thing and check the profiler report. Here is the file that my example creates: (* ''a is a special equality type (it is not the same as the generic 'a type. It *) (* means that both arguments can be of any type as long as you can use the *) (* equality operation between them. So both can be int, both can be strings, *) (* both can be int tuples. TH*) -- Kaushal Modi --001a114414949763b90539cf1ff6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Thu, Aug 11= , 2016 at 1:22 PM Eli Zaretskii <eliz@gn= u.org> wrote:
I'd prefer= not to install anything.=C2=A0

Hi Eli,=C2= =A0

To avoid people's personal emacs config fr= om polluting, I change the user-emacs-directory and package-user-dir in the= macro. Things get installed to the /tmp/ dir by default on unix systems.
=C2=A0
I do have the Git repo = for ELPA,
though.=C2=A0 So could you please modify your recipe so that the required packages are loaded from the Git repo (by modifying load-path), and
then the rest is done as needed?

Please= let me know if this is still necessary to help debug this problem. The cur= rent macro definition is very generic and works for GNU Elpa=C2=A0+ other E= lpas out there. It does not pollute your personal area as I mentioned above= . After done with this, just rm -rf=C2=A0(concat temporary-file-directory (= getenv "USER") "/" ".emacs.d-debug/")
=C2=A0
Better yet, just post the fil= e that causes the trouble, there's no
need for everybody to recreate it, right?

I wanted the mininum working example to be all inclusive. If I do not do= so, then I need to rely on manual steps like saving the file, opening the = exact same file using M-x find-file (and all that). Isn't my method mor= e reliable? All you do is eval the whole thing and check the profiler repor= t.

Here is the file that my example creates:
=


(* ''a is a special equalit= y type (it is not the same as the generic 'a type. It *)
(* m= eans that both arguments can be of any type as long as you can use the *)
(* equality operation between them. So both can be int, both can b= e strings, *)
(* both can be int tuples. TH*)
--
<= div dir=3D"ltr">

Kaushal Modi

--001a114414949763b90539cf1ff6--