emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: svn version number as tag or property?


From: Rainer M Krug
Subject: [Orgmode] Re: svn version number as tag or property?
Date: Thu, 02 Sep 2010 11:59:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100821 Lightning/1.0b2 Thunderbird/3.1.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/09/10 11:21, Noorul Islam K M wrote:
> Rainer M Krug <address@hidden> writes:
> 
>> On 01/09/10 22:33, Achim Gratz wrote:
>>
>>> Rainer M Krug <address@hidden> writes:
>>>
>>>> Hm - I can't find that command (I assume it is a function)? And if how
>>>> can I get the file name of the buffer?
>>>
>>> Yes, an elisp function.  You either already know the name of the file
>>> and insert it as a string or just use another elisp function to ask
>>> EMACS for it.  Then instead of running a shell script (which you said
>>> you wanted to avoid) you'll get this information from EMACS.
>>
>> Yes - that is exactly what I want to do. But I don't have that function
>> and svn is working from emacs. I have the following functions beginning
>> with vc-:
>>
>> Possible completions are:
>> vc-annotate  vc-create-tag
>> vc-delete-file       vc-diff
>> vc-dir       vc-finish-logentry
>> vc-git-grep  vc-git-log-view-mode
>> vc-git-stash         vc-git-stash-apply
>> vc-git-stash-apply-at-point  vc-git-stash-delete-at-point
>> vc-git-stash-menu    vc-git-stash-pop
>> vc-git-stash-pop-at-point    vc-git-stash-show
>> vc-git-stash-show-at-point   vc-git-stash-snapshot
>> vc-insert-headers    vc-merge
>> vc-mode-line         vc-next-action
>> vc-print-log         vc-print-root-log
>> vc-register  vc-rename-file
>> vc-resolve-conflicts         vc-retrieve-tag
>> vc-revert    vc-revert-buffer
>> vc-revert-buffer-internal    vc-revision-other-window
>> vc-rollback  vc-root-diff
>> vc-svn-log-view-mode         vc-switch-backend
>> vc-toggle-read-only  vc-update
>> vc-update-change-log         vc-version-diff
>>
>> Is there anything I have to load into emacs (GNU Emacs 23.2.1
>> (i686-pc-linux-gnu, GTK+ Version 2.20.1) to get that commad?
> 
> Are you trying to use M-x vc-<tab>?
> 
> It might not list that function because it is not interactive.
> 
> Use C-h f vc-working-revision

AHA - there it is - thanks --- I still have to learn a bit about emacs.

But how can I use it? I would like to have it
1) in the exported org file
2) in the source code file after tangling

Thanks,

Rainer

> 
> Thanks and Regards
> Noorul


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      address@hidden

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx/dWQACgkQoYgNqgF2egoBxgCeIH/T9B1QWSseyeIv6+zL1VR6
LrIAnA14sSnmnxiXCqiz4tSZKm1Uae7M
=Goav
-----END PGP SIGNATURE-----



reply via email to

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