From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: svn version number as tag or property? Date: Thu, 02 Sep 2010 11:59:00 +0200 Message-ID: <4C7F7564.6080506@gmail.com> References: <4C7CBC21.8040400@gmail.com> <87k4n6eknj.fsf@Rainer.invalid> <4C7E07BE.5020007@gmail.com> <87bp8hjja1.fsf@Rainer.invalid> <4C7F6340.6030604@gmail.com> <8762yo33gu.fsf@noorul.maa.corp.collab.net> Reply-To: R.M.Krug@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=42920 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or6aQ-0002vp-Q0 for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 06:03:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Or6ZU-0001Ce-Lo for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 05:59:05 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:43905) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or6ZU-0001CX-H4 for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 05:59:04 -0400 Received: by wwb24 with SMTP id 24so438637wwb.30 for ; Thu, 02 Sep 2010 02:59:03 -0700 (PDT) In-Reply-To: <8762yo33gu.fsf@noorul.maa.corp.collab.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Noorul Islam K M Cc: Achim Gratz , emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/09/10 11:21, Noorul Islam K M wrote: > Rainer M Krug writes: > >> On 01/09/10 22:33, Achim Gratz wrote: >> >>> Rainer M Krug 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-? > > 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-----