[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fatal error 11: Segmentation Fault

From: Robert Thorpe
Subject: Re: Fatal error 11: Segmentation Fault
Date: Wed, 03 Apr 2019 22:07:55 +0100

Emanuel Berg <> writes:

> Robert Thorpe wrote:
>> If I have a lot of related elisp then I put
>> it into a file by itself. I treat it as
>> a self-contained module. All of the
>> dependencies it needs are required there. So,
>> I could hand the file to someone else using
>> stock Emacs and it would just work.
>> This method is useful for debugging.
> It is a module at first alright, but what if
> you have a second module later on, and that
> second module uses stuff that the first module
> already has? Do you kill/yank it into module-2
> verbatim?
> If so, they are not modules anymore IMO - more
> like the opposite of modularity, I'm afraid -
> "dinosaurs", perhaps...

If the copying is only a few lines then I'd copy them.  If not, I would
put the common parts into a third file.  Then I'd require that third
file from both of the two original modules.

Robert Thorpe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]