(Wow... I have a huge backlog... I guess you already know the answer to this
one, but here it is for the sake of completeness. )

On Fri, Apr 1, 2011 at 11:47, Sam Liddicott <[email protected]> wrote:

>
> Is there a macro or function which returns the documents own name or path?


Yes, there is. You have, among others, the following scheme and C functions
(I copied this from build-glue-server.scm. These "glue-" files are a
good/the place to look for exported functions)

  (set-name-buffer set_name_buffer (void url))
  (get-name-buffer get_name_buffer (url))
  (get-name-buffer-path get_name_buffer (url path))
  (set-abbr-buffer set_abbr_buffer (void string))
  (get-abbr-buffer get_abbr_buffer (string))


Best,
________________
Miguel de  Benito.
_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to