From: Michael Heerdegen <michael_heerdegen@web.de>
To: chaouche yacine <yacinechaouche@yahoo.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: What's twiddle in emacs-goodies pacakage ?
Date: Tue, 21 Feb 2017 03:52:58 +0100 [thread overview]
Message-ID: <87lgt0w8z9.fsf@drachen> (raw)
In-Reply-To: <1269142063.1142990.1487610050055@mail.yahoo.com> (chaouche yacine's message of "Mon, 20 Feb 2017 17:00:50 +0000 (UTC)")
chaouche yacine <yacinechaouche@yahoo.com> writes:
> Hello, My linux distribution comes with an emacs-goodies-el
> package. It lists twiddle as : "mode line hacks to keep you awake;" I
> tried M-x twiddle-start on the command line but I don't understand
> what this does. I am curious to know what's this for ?
In my version of emacs-goodies-el there is a bug in
`twiddle-frob-mode-line-format'. When I evaluate
#+begin_src emacs-lisp
(defun twiddle-frob-mode-line-format ()
(let* ((format (default-value 'mode-line-format))
;; XEmacs 19.14 has "-%-" as the last elt by default.
(end (or (member "%-" format)
(member "-%-" format))))
(cond (end
(setcdr end (cons (car end) (cdr end)))
(setcar end 'twiddle-mode-string))
(t (nconc format '(twiddle-mode-string))))))
#+end_src
(I changed the last line) after loading the package and hit M-x
twiddle-start, at least something happens, where "something" is
different from "nothing" after all (I get a spinning bar in the
mode-line).
I guess this package is not so super useful for interactive usage.
Michael.
next prev parent reply other threads:[~2017-02-21 2:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1269142063.1142990.1487610050055.ref@mail.yahoo.com>
2017-02-20 17:00 ` What's twiddle in emacs-goodies pacakage ? chaouche yacine
2017-02-20 19:01 ` Drew Adams
2017-02-21 2:52 ` Michael Heerdegen [this message]
2017-02-21 6:10 ` Glenn Morris
2017-02-21 8:33 ` chaouche yacine
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=87lgt0w8z9.fsf@drachen \
--to=michael_heerdegen@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=yacinechaouche@yahoo.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).