From: Kaushal Modi <kaushal.modi@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: monnier@iro.umontreal.ca, 24205@debbugs.gnu.org
Subject: bug#24205: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode]
Date: Thu, 11 Aug 2016 21:15:52 +0000 [thread overview]
Message-ID: <CAFyQvY3cWRTm7g_bjja6RQ+6H5Tvfw9YgLjAi99YEZ3kYmMZZw@mail.gmail.com> (raw)
In-Reply-To: <83twerdp9z.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1966 bytes --]
On Thu, Aug 11, 2016 at 4:28 PM Eli Zaretskii <eliz@gnu.org> wrote:
> I must explain something so that my requests don't sound arbitrary.
> When I work on a problem, I usually run Emacs many times in different
> ways, most of the times under a debugger. Since the debugger (and
> other tools) need to read my init files for working properly as I'm
> used to, I cannot easily change my home directory, or mess with my
> init files during the debugging session. In addition, with 10-20 sec
> delay I don't need a profiler to notice it.
>
> So it is much more helpful to have a recipe that is as simple as
> possible (so invoking it many times won't be painful), avoids
> interfering with my init files and system configuration, and includes
> only the stuff that is directly relevant to the bug reproduction.
>
> A good recipe along the above lines could easily speed up a bugfix by
> hours and even days. So if you can afford that, please try to follow
> these guidelines when you prepare a recipe.
>
> I hope this clarifies the reason for my requests.
>
Makes sense. I was under the impression that having an all-inclusive MWE
was more useful and so I went through the effort of creating one :) I was
under the impression that you would run "r -Q" in gdb and simply paste my
code in there to get going. But now I understand that you need your
personal config too to help you debug in the most efficient way.
As for the recipe for this one:
1. Install sml-mode from GNU Elpa.
2. Save a file called foo.sml with below content:
=====
(* ''a is a special equality type (it is not the same as the generic 'a
type. It *)
=====
Note that while doing so, if the buffer is already in sml-mode, you might
not even need to go to step 3. Because the same thing happened to me when I
encountered this bug for the first time. I was actually typing out that
comment, and my emacs started freezing as I was typing.
3. Open it.
Thanks for working on this.
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 2751 bytes --]
next prev parent reply other threads:[~2016-08-11 21:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 17:03 bug#24205: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] Kaushal Modi
2016-08-11 17:22 ` Eli Zaretskii
2016-08-11 17:30 ` Kaushal Modi
2016-08-11 17:45 ` Kaushal Modi
2016-08-11 18:19 ` Stefan Monnier
2016-08-11 19:42 ` Eli Zaretskii
2016-08-11 19:53 ` Kaushal Modi
2016-08-11 20:27 ` Eli Zaretskii
2016-08-11 20:58 ` Andreas Schwab
2016-08-11 21:15 ` Kaushal Modi [this message]
2016-08-11 22:21 ` Stefan Monnier
2016-08-14 13:26 ` Stefan Monnier
2016-08-14 23:14 ` Kaushal Modi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFyQvY3cWRTm7g_bjja6RQ+6H5Tvfw9YgLjAi99YEZ3kYmMZZw@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--cc=24205@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.