help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs C question


From: John Russell
Subject: Re: emacs C question
Date: 25 Sep 2003 16:42:15 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

jasonr (Jason Rumney) @  f2s.com writes:

> John Russell <address@hidden> writes:
> 
> > Pascal Bourguignon <address@hidden> writes:
> > 
> > > John Russell <address@hidden> writes:
> > > 
> > > > I'm not sure if this is the right group for this.  I am picking
> > > > around the emacs C source.  How can I make emacs open a file from the
> > > > internal C code.  e.g. write a function in emacs/src/buffer.c
> > > > that opens a specific file.  Any ideas?  Thanks
> > 
> > Because I'm trying to implement drag and drop for gtk emacs.
> 
> It would be better to make drag and drop generate an event, which can
> then be bound to any lisp function the user wants (that accepts a
> filename). The Windows implementation works like this (although there
> is a special function that it is bound to, so maybe it could do with
> some work to generalize it).

How does one "bind" something to an event?  Like I keep saying, I'm
new in the emacs C code.  Thanks for the suggestoin.

John





reply via email to

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