Nick Dokos <nicholas.dokos <at> hp.com> writes:
> Try
> import sys
> sys.stdout.write("[%d]" % val)
Thanks. That works fine.
> (shell-command "nextnum" t)
This worked fine.
>
> It may be necessary to specify a complete path to the command.
I diodnt need to because the .BAT file was in a directory which is
part of the PAHT list. By the way, I had to include a beginning
line of @ECHO OFF in the bat file.
> But I still don't understand why you need an external program: what is
> wrong with (insert (format "[%s]" (org-id-new)))? Are the IDs too ugly
> or is there some other problem?
I'm struggling to find documentation or installing and using org-id.
I added the line (require 'org-id) to my .eamcs file
then discovered a variable to customise the method to internal
or to use an external command uuidgen which doesnt exist on Windows.
How do I change the name of the external command from uuidgent
to nextnum
> The trouble with unique IDs in files is that it's easy for them to get
> out of sync (leading to non-uniqueness), e.g. if there are two processes
> trying to get a unique id at the same time.
This shouldnt be a problem as I am the only user.
Thanks for your help,
Charles
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode