all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
[parent not found: <mailman.634.1136922414.26925.help-gnu-emacs@gnu.org>]
* Simple lisp question - printing out file name
@ 2006-01-10 19:44 exits funnel
  2006-01-10 19:58 ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: exits funnel @ 2006-01-10 19:44 UTC (permalink / raw)


Hello,

I have added to several .el files something like this:

(message "In prj.el")

to help me straighten out configuration issues.  I'd
like to make it slightly more sophisicated by (a)
replacing the hard coded string with some lisp to read
the fully qualified file name and (b) to prepend a
timestamp.  I'm sure this is trivial lisp, but
apparently it's not quite trivial enough for me :)  It
seems that buffer-file-name and current-time-string
should be of interest to me but I can't get them to
work inside my message call.  Can anyone help me out
here?  Thanks in advance.

-exits

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-11  4:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.648.1136926006.26925.help-gnu-emacs@gnu.org>
2006-01-11  4:11 ` Simple lisp question - printing out file name B. T. Raven
2006-01-11  4:15   ` B. T. Raven
     [not found] <mailman.634.1136922414.26925.help-gnu-emacs@gnu.org>
2006-01-10 20:15 ` Pascal Bourguignon
2006-01-10 20:44   ` exits funnel
2006-01-10 19:44 exits funnel
2006-01-10 19:58 ` Peter Dyballa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.