emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <r.m.krug@gmail.com>
To: Noorul Islam K M <noorul@noorul.com>
Cc: Achim Gratz <Stromeko@nexgo.de>, emacs-orgmode@gnu.org
Subject: Re: svn version number as tag or property?
Date: Thu, 02 Sep 2010 11:59:00 +0200	[thread overview]
Message-ID: <4C7F7564.6080506@gmail.com> (raw)
In-Reply-To: <8762yo33gu.fsf@noorul.maa.corp.collab.net>

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

On 02/09/10 11:21, Noorul Islam K M wrote:
> Rainer M Krug <r.m.krug@gmail.com> writes:
> 
>> On 01/09/10 22:33, Achim Gratz wrote:
>>
>>> Rainer M Krug <r.m.krug@gmail.com> 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:      Rainer@krugs.de

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	other threads:[~2010-09-02 10:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-31  8:24 svn version number as tag or property? Rainer M Krug
2010-08-31 17:50 ` Achim Gratz
2010-09-01  7:58   ` Rainer M Krug
2010-09-01 14:15     ` SOLVED (Sort of): " Rainer M Krug
2010-09-01 15:06       ` suvayu ali
2010-09-01 20:33     ` Achim Gratz
2010-09-02  8:41       ` Rainer M Krug
2010-09-02  9:21         ` Noorul Islam K M
2010-09-02  9:59           ` Rainer M Krug [this message]
2010-09-01 11:49 ` Sébastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C7F7564.6080506@gmail.com \
    --to=r.m.krug@gmail.com \
    --cc=Stromeko@nexgo.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=noorul@noorul.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).