all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Elena <egarrulo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: c/c++ project management and debugging
Date: Wed, 22 Dec 2010 06:43:51 -0800 (PST)	[thread overview]
Message-ID: <d25814a5-5e1a-4cb3-a240-ffae21e12972@e20g2000vbn.googlegroups.com> (raw)
In-Reply-To: mailman.3.1293027192.25158.help-gnu-emacs@gnu.org

On Dec 22, 2:12 pm, Andrea Crotti <andrea.crott...@gmail.com> wrote:
> Elena <egarr...@gmail.com> writes:
>
> > Same as: "emacs -Q" then eval sexp.  Only problem, my .emacs is more
> > than 200KB.  I would have liked to modularize it, but Emacs lacking of
> > IDE-like facilities to navigate Emacs Lisp made me give up that.
>
> emacs doesn't lack that, you don't know how to use it ;)
> C-h f and you can jump to any function you want.
> The inline documentation and the ability to trace/try out/see the
> implementation of all the elisp functions is wonderful.
>
> With semantic in your elisp file you can jump easily to any
> function/variable you want and so on.
>
> And let me understand, your .emacs is more than 200KB but you're not ad
> advanced user?
> How can that be?
>
> The only explanation is that you copied everything could sound nice
> inside and now you have no idea of what could go wrong.
> Well if that is the case first you should understand very well what's in
> your .emacs.

More or less.  When I started learning Emacs, I began copying snippets
of code without really understanding how they worked.  Nowadays, I
still have a difficult time understanding some of them.  I've become
used to the facilities they provide, therefore my refactoring is a bit
at a time.  Not all of such code gets evaluated, though.

>
> Mine is only 57Kb after a couple of years of customizations.
>
> > What I mean with "tracing":
>
> >http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html#Procedures-rela...
>
> > scroll till the section "trace".
>
> > Profiling still lacking, anyway.
>
> trace-function?
> There are packages also for profiling, but I really don't think it could
> help solve your problem since it gets completely stuck (not just slow).

You are right about profiling: packages do exist which do a fine job.

Regarding tracing, I failed to explain, sorry.  I didn't mean such
kind of trace.  I was thinking about a logging facility, which logged
calls outside user control.  Such a facility, together with a profiler
and a call-tree generator, would have made easy tracking down the
function (or functions) which were causing the hang.

>
> > Done already.  Nobody has been able to help.  Currently Emacs lacks
> > needed tools.  I'm sticking to Emacs 22, which hangs much less.
>
> > I always try to be constructive in helping package maintainers to
> > track down bugs, but I'm not an advanced user.
>
> I think instead you lack needed knowledge instead, otherwise how do you
> think that the developers are able to do a wonderful work without those tools?

Nope.  I have submitted here the issue to experienced Emacs users and
they have not been able to help.  Thus it is not a matter of lack of
knowledge, it's just the lack of tools.


  parent reply	other threads:[~2010-12-22 14:43 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20 11:39 c/c++ project management and debugging Rajinder Yadav
2010-12-20 13:47 ` Andrea Crotti
2010-12-20 15:52   ` Suvayu Ali
     [not found]   ` <mailman.1.1292860380.13743.help-gnu-emacs@gnu.org>
2010-12-20 16:36     ` despen
2010-12-20 17:00       ` Jason Earl
2010-12-21  0:23   ` Rajinder Yadav
2010-12-21  1:28     ` Andrea Crotti
2010-12-21 12:00       ` Rajinder Yadav
2010-12-21 12:30         ` Andrea Crotti
2010-12-21 12:27       ` Rajinder Yadav
     [not found]       ` <mailman.3.1292932824.3904.help-gnu-emacs@gnu.org>
2010-12-21 13:10         ` Elena
2010-12-21 13:35           ` Elena
2010-12-21 14:06             ` Andrea Crotti
     [not found]             ` <mailman.5.1292940435.31822.help-gnu-emacs@gnu.org>
2010-12-21 14:25               ` Richard Riley
2010-12-21 20:26               ` Elena
2010-12-21 21:43                 ` Pascal J. Bourguignon
2010-12-22  8:19                   ` Elena
2010-12-22 15:54                   ` Richard Riley
2010-12-23  0:45                     ` Pascal J. Bourguignon
2010-12-23  8:34                       ` Elena
2010-12-23  8:38                         ` Pascal J. Bourguignon
2010-12-23  8:50                           ` Elena
2010-12-23 13:07                       ` Richard Riley
2010-12-23 13:32                         ` Pascal J. Bourguignon
2010-12-23 14:33                           ` Richard Riley
2010-12-23 13:35                         ` Elena
2010-12-24  5:42                         ` rusi
2010-12-24  8:58                         ` Gary
2010-12-24  9:05                         ` Gary
     [not found]                         ` <mailman.9.1293181132.17958.help-gnu-emacs@gnu.org>
2010-12-24 11:09                           ` Richard Riley
2010-12-24 11:35                             ` Elena
2011-01-10 10:07                             ` Gary
     [not found]                             ` <mailman.4.1294654218.11614.help-gnu-emacs@gnu.org>
2011-01-10 11:04                               ` Richard Riley
2011-01-10 12:37                                 ` Gary
2011-01-10 12:55                                 ` Pascal J. Bourguignon
2011-01-10 13:49                                   ` Richard Riley
2011-01-10 14:54                                     ` Le Wang
2011-01-10 15:30                                       ` Gary
     [not found]                                       ` <mailman.7.1294673476.7472.help-gnu-emacs@gnu.org>
2011-01-10 16:18                                         ` Richard Riley
2011-01-11  7:20                                           ` Gary
2011-01-11 16:55                                           ` Andreas Röhler
     [not found]                                           ` <mailman.0.1294764952.30016.help-gnu-emacs@gnu.org>
2011-01-11 17:56                                             ` rusi
     [not found]                                     ` <mailman.5.1294671316.7472.help-gnu-emacs@gnu.org>
2011-01-10 15:24                                       ` Richard Riley
     [not found]                         ` <mailman.11.1293181565.17958.help-gnu-emacs@gnu.org>
2010-12-24 11:12                           ` Richard Riley
     [not found]                         ` <mailman.13.1293183850.17958.help-gnu-emacs@gnu.org>
2010-12-24 11:15                           ` Richard Riley
2010-12-21 23:09                 ` Andrea Crotti
2010-12-21 21:42               ` Pascal J. Bourguignon
2010-12-21 14:30           ` Rajinder Yadav
     [not found]           ` <mailman.0.1292941865.1790.help-gnu-emacs@gnu.org>
2010-12-21 14:52             ` Richard Riley
2010-12-21 16:42               ` Rajinder Yadav
     [not found]               ` <mailman.3.1292949766.3175.help-gnu-emacs@gnu.org>
2010-12-21 20:35                 ` Elena
2010-12-21 21:51               ` Pascal J. Bourguignon
2010-12-22  8:28                 ` Elena
2010-12-22  8:50                   ` Elena
2010-12-22  9:48                     ` Pascal J. Bourguignon
2010-12-22 10:06                       ` Elena
2010-12-22 10:22                         ` Elena
2010-12-22 10:58                           ` Andrea Crotti
     [not found]                           ` <mailman.2.1293015509.3728.help-gnu-emacs@gnu.org>
2010-12-22 11:16                             ` Pascal J. Bourguignon
2010-12-22 12:38                               ` Elena
2010-12-22 13:32                                 ` Pascal J. Bourguignon
2010-12-22 13:51                                   ` Elena
2010-12-22 15:09                                     ` Andrea Crotti
2010-12-22 15:53                                     ` Pascal J. Bourguignon
2010-12-22 15:09                                 ` Helmut Eller
2010-12-22 21:46                                   ` Elena
2010-12-22 10:25                         ` Pascal J. Bourguignon
2010-12-22 12:34                           ` Elena
2010-12-22 13:04                             ` Andrea Crotti
     [not found]                             ` <mailman.8.1293023060.3728.help-gnu-emacs@gnu.org>
2010-12-22 13:29                               ` Elena
2010-12-22 14:12                                 ` Andrea Crotti
     [not found]                                 ` <mailman.3.1293027192.25158.help-gnu-emacs@gnu.org>
2010-12-22 14:43                                   ` Elena [this message]
2010-12-22 15:46                                     ` Andrea Crotti
2010-12-23 12:35                               ` Elena
2010-12-23 13:01                                 ` Eli Zaretskii
2010-12-24 11:38                                 ` Andrea Crotti
     [not found]                                 ` <mailman.2.1293190750.15516.help-gnu-emacs@gnu.org>
2010-12-24 12:55                                   ` Richard Riley
2010-12-24 14:18                                     ` Pascal J. Bourguignon
2010-12-24 14:32                                       ` Richard Riley
2010-12-25 16:17                                       ` rusi
2010-12-25 17:12                                         ` Pascal J. Bourguignon
2010-12-22 13:35                             ` Pascal J. Bourguignon
2010-12-22  9:57                     ` Andrea Crotti
2010-12-21 21:47             ` Pascal J. Bourguignon
2010-12-21 13:44         ` despen
2010-12-21 14:27           ` Richard Riley
2010-12-21 19:08         ` Jason Earl
2010-12-21 20:41           ` Elena
     [not found]   ` <mailman.14.1292891000.3394.help-gnu-emacs@gnu.org>
2010-12-21  5:13     ` Jason Earl
2010-12-21 14:36       ` Rajinder Yadav
2010-12-21 14:40         ` Rajinder Yadav
     [not found] <mailman.7.1292845153.32310.help-gnu-emacs@gnu.org>
2010-12-20 12:36 ` Elena
2011-01-11  8:55   ` Dmitriy Igrishin

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=d25814a5-5e1a-4cb3-a240-ffae21e12972@e20g2000vbn.googlegroups.com \
    --to=egarrulo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.