unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* What's the best way to write complex emacs extension
@ 2014-11-01 23:25 scopeview .
  2014-11-02  4:12 ` Stephen J. Turnbull
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: scopeview . @ 2014-11-01 23:25 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

Hi all,

When I wrote my simple extension, pure elisp code is ok. But I found it is
hard to write complex elisp extension. Because when elisp predication
failed (for example stringp) it hard to find out the failed predication
place. (no file:function:line_number or backtrace)

So my complex extension is elisp + c++ code and I make elisp as simple
as possible. We can link c code to emacs binary, but I don't think it's a
good solution. In xemacs, we can extend elisp by writing c/c++ shared
library and load it dynamicly. If emacs has this feature, my complex emacs
extension can be much simpler.

Does there any other good way to extend emacs?
How about other emacs-alike editor like Hemlock written in common lisp
which can use many mature and complex common lisp library? Does anybody use
it?
I think xemacs's c/c++ shared library is more suitable. But it seems that
xemacs had stop its development.


following link is a simple extension of mine
http://www.emacswiki.org/emacs/dir-list

[-- Attachment #2: Type: text/html, Size: 1135 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-04  2:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-01 23:25 What's the best way to write complex emacs extension scopeview .
2014-11-02  4:12 ` Stephen J. Turnbull
2014-11-02  5:27 ` Stefan Monnier
2014-11-04  0:16   ` scopeview .
2014-11-04  2:59     ` Alexis
2014-11-02 11:52 ` Stephen Leake

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).