unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: Organized Learning
Date: Wed, 24 Sep 2003 03:56:40 +0200	[thread overview]
Message-ID: <m3zngvuexz.fsf@defun.localdomain> (raw)
In-Reply-To: de3ad953.0309221308.147b4c8a@posting.google.com

googleartist@yahoo.com (Artist) writes:

> I recently came upon a website called Stumbleupon.com where there is
> a small toolbar to download and you get different website each time
> you click the stumble icon matching to your interest and then you
> rate the website etc..
>
> Question: How we can converge the theme of the application with
> emacs to learn new emacs things

This small code snippet (by Dave Pearson) that displays a "tip of the
day":

(defun totd ()
  (interactive)
  (with-output-to-temp-buffer "*Tip of the day*"
    (let* ((commands (loop for s being the symbols
                           when (commandp s) collect s))
           (command (nth (random (length commands)) commands)))
      (princ
       (concat "Your tip for the day is:\n========================\n\n"
               (describe-function command)
               "\n\nInvoke with:\n\n"
               (with-temp-buffer
                 (where-is command t)
                 (buffer-string)))))))

You could invoke it in .emacs to stumble upon a random command every
time you start Emacs.  keywiz.el¹ is another way to learn about new
commands (and remember their key bindings).

¹ <http://purl.org/harder/keywiz.el>

  reply	other threads:[~2003-09-24  1:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-22 21:08 Organized Learning Artist
2003-09-24  1:56 ` Jesper Harder [this message]
2003-09-24 18:20   ` Kevin Rodgers
2003-09-24 22:26     ` Dan Anderson
     [not found]     ` <mailman.673.1064442401.21628.help-gnu-emacs@gnu.org>
2003-09-24 22:48       ` lawrence mitchell
2003-09-24 23:06       ` Kevin Rodgers
2003-09-25  8:40     ` Adam Hardy
     [not found]     ` <mailman.696.1064479254.21628.help-gnu-emacs@gnu.org>
2003-09-25 15:01       ` Kevin Rodgers
     [not found]         ` <3F75B6AC.2020305@cyberspaceroad.com>
2003-09-27 20:29           ` Adam Hardy
2003-09-25 13:03   ` Kevin Dziulko
2003-09-25 20:18   ` Artist
2003-10-14 21:15 ` Kai Grossjohann
     [not found] <mailman.705.1064496195.21628.help-gnu-emacs@gnu.org>
2003-09-25 15:20 ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zngvuexz.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).