emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question to windows users
@ 2008-12-10 16:12 Carsten Dominik
  2008-12-10 17:33 ` Charles Sebold
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Carsten Dominik @ 2008-12-10 16:12 UTC (permalink / raw)
  To: emacs org-mode mailing list

Hi Windows users,

is the command uuidgen usually available under windows?  I am  
considering
to make this the default for ID generation because it works on the Mac
and under GNU/Linux.  But I would like to have a default that works on
all systems....

Thanks.

- Carsten

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

* Re: Question to windows users
@ 2008-12-10 17:30 David A. Gershman
  0 siblings, 0 replies; 9+ messages in thread
From: David A. Gershman @ 2008-12-10 17:30 UTC (permalink / raw)
  To: emacs org-mode mailing list


Hmm, I'm not sure what you're asking, but "M-x uuidgen" fails as does
"uuidgen" at the windows command prompt.  I'm running XP with Org 6.12a.

How should this command be executed?

> Hi Windows users,
> 
> is the command uuidgen usually available under windows?  I am  
> considering
> to make this the default for ID generation because it works on the Mac
> and under GNU/Linux.  But I would like to have a default that works on
> all systems....
> 
> Thanks.
> 
> - Carsten
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 
> 

---------------
David A. Gershman
gershman@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman

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

* Re: Question to windows users
  2008-12-10 16:12 Question to windows users Carsten Dominik
@ 2008-12-10 17:33 ` Charles Sebold
  2008-12-10 17:50   ` Charles Sebold
  2008-12-10 17:51 ` Sebastian Rose
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Charles Sebold @ 2008-12-10 17:33 UTC (permalink / raw)
  To: emacs-orgmode

On 10 Dec 2008, Carsten Dominik wrote:

> is the command uuidgen usually available under windows?  I am
> considering to make this the default for ID generation because it
> works on the Mac and under GNU/Linux.  But I would like to have a
> default that works on all systems....

No, it's not.  It's available in Cygwin, though (not that I would
require that of Windows users).

Could that command's functionality be replicated in Emacs Lisp?
-- 
Charles Sebold                                    10th of December, 2008
 GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.14
 

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

* Re: Question to windows users
  2008-12-10 17:33 ` Charles Sebold
@ 2008-12-10 17:50   ` Charles Sebold
  0 siblings, 0 replies; 9+ messages in thread
From: Charles Sebold @ 2008-12-10 17:50 UTC (permalink / raw)
  To: emacs-orgmode

On 10 Dec 2008, Charles Sebold wrote:

> No, it's not.  It's available in Cygwin, though (not that I would
> require that of Windows users).

Actually, it does come with some of the SDKs for .NET, I just
discovered.  But still, one can't assume its existence on a Windows
machine.
-- 
Charles Sebold                                    10th of December, 2008
 GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.14
 

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

* Re: Question to windows users
  2008-12-10 16:12 Question to windows users Carsten Dominik
  2008-12-10 17:33 ` Charles Sebold
@ 2008-12-10 17:51 ` Sebastian Rose
  2008-12-10 19:18   ` Ian Barton
  2008-12-10 18:32 ` Jonathan Arkell
  2008-12-11  5:00 ` Carsten Dominik
  3 siblings, 1 reply; 9+ messages in thread
From: Sebastian Rose @ 2008-12-10 17:51 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs org-mode mailing list

Hi Carsten,


it is the sad truth: windows has nothing realy - just enough to install
software packages on top of it. No tools at all.

I use WindowsXP in virtulaBox. It's quite a naked install and has no
`uuidgen[.exe|.bat]'.




Regards,

   Sebastian



Carsten Dominik <carsten.dominik@gmail.com> writes:
> Hi Windows users,
>
> is the command uuidgen usually available under windows?  I am considering
> to make this the default for ID generation because it works on the Mac
> and under GNU/Linux.  But I would like to have a default that works on
> all systems....
>
> Thanks.
>
> - Carsten
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover

Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: s.rose emma-stil de, sebastian_rose gmx de
Http:  www.emma-stil.de

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

* RE: Question to windows users
  2008-12-10 16:12 Question to windows users Carsten Dominik
  2008-12-10 17:33 ` Charles Sebold
  2008-12-10 17:51 ` Sebastian Rose
@ 2008-12-10 18:32 ` Jonathan Arkell
  2008-12-11  5:00 ` Carsten Dominik
  3 siblings, 0 replies; 9+ messages in thread
From: Jonathan Arkell @ 2008-12-10 18:32 UTC (permalink / raw)
  To: Carsten Dominik, emacs org-mode mailing list

You could see if uuidgen is available, and if not, fallback to an online uuid generator:
http://www.famkruithof.net/uuid/uuidgen

Sending a post request to that URL shouldn't be too hard. And you can extract the UUID from the first <h3> element on the page.

I would separate the code responsible for extraction for retrieval, that way if the page format, url, or post vars change, it will be easy to update.

-----Original Message-----
From: emacs-orgmode-bounces+jonathana=criticalmass.com@gnu.org [mailto:emacs-orgmode-bounces+jonathana=criticalmass.com@gnu.org] On Behalf Of Carsten Dominik
Sent: Wednesday, December 10, 2008 9:12 AM
To: emacs org-mode mailing list
Subject: [Orgmode] Question to windows users

Hi Windows users,

is the command uuidgen usually available under windows?  I am  
considering
to make this the default for ID generation because it works on the Mac
and under GNU/Linux.  But I would like to have a default that works on
all systems....

Thanks.

- Carsten


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

The information contained in this message is confidential. It is intended to be read only by the individual or entity named above or their designee. If the reader of this message is not the intended recipient, you are hereby notified that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message.

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

* Re: Question to windows users
  2008-12-10 17:51 ` Sebastian Rose
@ 2008-12-10 19:18   ` Ian Barton
  2008-12-11  0:47     ` Oliver Charles
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Barton @ 2008-12-10 19:18 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: emacs org-mode mailing list, Carsten Dominik

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>> Hi Windows users,
>>
>> is the command uuidgen usually available under windows?  I am considering
>> to make this the default for ID generation because it works on the Mac
>> and under GNU/Linux.  But I would like to have a default that works on
>> all systems....
>>
There is a windows API call to generate GUID's, which are unique and I 
assume are the same as uuids. I used to know what this was, but I have 
forgotten now:) I don't know if emacs lisp can call the windows API, but 
somewhere I should have a small command line app that enerates GUIDs and 
outputs them to stdout.

Ian.

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

* Re: Question to windows users
  2008-12-10 19:18   ` Ian Barton
@ 2008-12-11  0:47     ` Oliver Charles
  0 siblings, 0 replies; 9+ messages in thread
From: Oliver Charles @ 2008-12-11  0:47 UTC (permalink / raw)
  To: emacs-orgmode

I think Carsten is looking for something that ships on all Windows
machines, as opposed to requiring users to install a separate tool.

On Wed, Dec 10, 2008 at 7:18 PM, Ian Barton <lists@manor-farm.org> wrote:
>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>>
>>> Hi Windows users,
>>>
>>> is the command uuidgen usually available under windows?  I am considering
>>> to make this the default for ID generation because it works on the Mac
>>> and under GNU/Linux.  But I would like to have a default that works on
>>> all systems....
>>>
> There is a windows API call to generate GUID's, which are unique and I
> assume are the same as uuids. I used to know what this was, but I have
> forgotten now:) I don't know if emacs lisp can call the windows API, but
> somewhere I should have a small command line app that enerates GUIDs and
> outputs them to stdout.
>
> Ian.
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

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

* Re: Question to windows users
  2008-12-10 16:12 Question to windows users Carsten Dominik
                   ` (2 preceding siblings ...)
  2008-12-10 18:32 ` Jonathan Arkell
@ 2008-12-11  5:00 ` Carsten Dominik
  3 siblings, 0 replies; 9+ messages in thread
From: Carsten Dominik @ 2008-12-11  5:00 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs org-mode mailing list

Thanks for all replies,  I will be using uuidgen only on systems which  
have it and fall back to a different implementation in Lisp if not.

- Carsten

On Dec 10, 2008, at 5:12 PM, Carsten Dominik wrote:

> Hi Windows users,
>
> is the command uuidgen usually available under windows?  I am  
> considering
> to make this the default for ID generation because it works on the Mac
> and under GNU/Linux.  But I would like to have a default that works on
> all systems....
>
> Thanks.
>
> - Carsten
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2008-12-11  5:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 16:12 Question to windows users Carsten Dominik
2008-12-10 17:33 ` Charles Sebold
2008-12-10 17:50   ` Charles Sebold
2008-12-10 17:51 ` Sebastian Rose
2008-12-10 19:18   ` Ian Barton
2008-12-11  0:47     ` Oliver Charles
2008-12-10 18:32 ` Jonathan Arkell
2008-12-11  5:00 ` Carsten Dominik
  -- strict thread matches above, loose matches on Subject: below --
2008-12-10 17:30 David A. Gershman

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).