-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/09/10 11:21, Noorul Islam K M wrote: > Rainer M Krug <r.m.k...@gmail.com> writes: > >> On 01/09/10 22:33, Achim Gratz wrote: >> >>> Rainer M Krug <r.m.k...@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: rai...@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----- _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode