home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!paladin.american.edu!europa.asd.contel.com!emory!athena.cs.uga.edu!shen
- From: shen@athena.cs.uga.edu (Mingzuo Shen)
- Subject: function to print time, hostname, name, string, etc.?
- Message-ID: <1992Nov23.155236.27770@athena.cs.uga.edu>
- Sender: shen@athena.cs.uga.edu (Mingzuo Shen)
- Organization: University of Georgia, Athens
- Distribution: gnu
- Date: Mon, 23 Nov 1992 15:52:36 GMT
- Lines: 36
-
- Hi all,
-
- Many times a day I need to stamp a file I create
- using my name (a string), the current date and time
- (preferrably full month name like November), and
- other things. I just wondered if I can have a
- command that does this all at once. If I had such a command
- I would bind it to a function key. Then whenever I
- needed to have my mark on a file, I would press the key once.
-
- M-1 M-! date is a good start, but not enough.
- I could write a C program (say, stamp) and use
- M-1 M-! stamp. But the slight problem is that
- this creates another shell, kind of slow for
- this little thing.
-
- I would loved to write a Lisp thing myself,
- but I do not know how yet.
-
- Thanks in advance for any pointers and help.
- The stamp I am thinking about would look like:
-
- Foolish Boorish; November 23, 1992; Monday 10:30:30 am; athena.cs.uga.edu
-
-
- Another question:
- I tried to read the ELisp manual. How do I get Emacs to
- give me some results? For example, after I type:
-
- (car '(1 2))
-
- I'd like to see 1 (according to the manual) somewhere.
- Step-by-step instruction please. Thanks again,
-
- (Mr.) Mingzuo Shen
-
-