[OS X Emacs] new+question

Marinos Koutsomichalis marinos at agxivatein.com
Thu Dec 16 03:10:34 EST 2010


Hello, 

I just signed up to this list as I have started using emacs the last couple of days and new questions arise all the time..

I am an artist with some experience in programming - I want to use emacs as an editor to format and edit code

a question that I have for now is how do I pass a text selection as an argument to a lisp function 

for example how do I do sth like that ?

(defun test-function (word) "print word to minibuffer" 
	(interactive)
	(message "%s"  word)
	)

thx and 

nice to be here

m


More information about the MacOSX-Emacs mailing list