🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #1853

Re: function to print time, hostname, name, string, etc.?

#1853
From: Wayne Mesard
Date: Mon, 23 Nov 1992 09:52
35 lines
1641 bytes
shen@athena.cs.uga.edu (Mingzuo Shen) writes:

>     Many times a day I need to stamp a file I create
> using my name (a string), the current date and time
[...]
> 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.

My DMacro package does this.  Well, actually it does a whole lot more,
but when I started writing it it was to do this.  It's available from
archive.cis.ohio-state.edu.  But I'll send you a copy.

>     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.

Method A:
 1) Type "Esc Esc".
 2) If Emacs asks you something, type "Space".
 3) Type "(car '(1 2))<Return>"

Method B:
 1) Go to the *scratch* buffer.
 2) Type "(car '(1 2))<LineFeed>"

Both methods could have been gleaned from the User's Manual.
--
Wayne();
WMesard@cs.Stanford.edu
Technical Details
Message-ID: <WMESARD.92Nov23095257@Waimea.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!times!wmesard
References: <1992Nov23.155236.27770@athena.cs.uga.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!times!wmesard
From: wmesard@cs.stanford.edu (Wayne Mesard)
Subject: Re: function to print time, hostname, name, string, etc.?
In-Reply-To: shen@athena.cs.uga.edu's message of Mon, 23 Nov 1992 15:52:36 GMT
Message-ID: <WMESARD.92Nov23095257@Waimea.Stanford.EDU>
Sender: news@CSD-NewsHost.Stanford.EDU
Organization: Distributed Systems Group, Stanford University
References: <1992Nov23.155236.27770@athena.cs.uga.edu>
Distribution: gnu
Date: 23 Nov 92 09:52:57
Lines: 35