* What's twiddle in emacs-goodies pacakage ?
[not found] <1269142063.1142990.1487610050055.ref@mail.yahoo.com>
@ 2017-02-20 17:00 ` chaouche yacine
2017-02-20 19:01 ` Drew Adams
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: chaouche yacine @ 2017-02-20 17:00 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
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 ?
-- Yassine.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: What's twiddle in emacs-goodies pacakage ?
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
2017-02-21 6:10 ` Glenn Morris
2 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2017-02-20 19:01 UTC (permalink / raw)
To: chaouche yacine, help-gnu-emacs
> 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 ?
Are you awake now? If so, it must be working.
(Sorry, bad joke. I can't help with the real question.
Hopefully someone else can.)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What's twiddle in emacs-goodies pacakage ?
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
2017-02-21 6:10 ` Glenn Morris
2 siblings, 0 replies; 5+ messages in thread
From: Michael Heerdegen @ 2017-02-21 2:52 UTC (permalink / raw)
To: chaouche yacine; +Cc: help-gnu-emacs@gnu.org
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What's twiddle in emacs-goodies pacakage ?
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
@ 2017-02-21 6:10 ` Glenn Morris
2017-02-21 8:33 ` chaouche yacine
2 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2017-02-21 6:10 UTC (permalink / raw)
To: chaouche yacine; +Cc: help-gnu-emacs@gnu.org
As a not very helpful comment, I'll say that IMO the Debian
emacs-goodies package is mainly just a collection of very old stuff,
much of which may not work any more. Unless you know that you actually
need it, I would just apt-get purge it, because all it's likely to do is
complicate upgrades of the installed Emacs package (due to the way
Debian handles that). Ref eg this 4 year old report
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705059
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What's twiddle in emacs-goodies pacakage ?
2017-02-21 6:10 ` Glenn Morris
@ 2017-02-21 8:33 ` chaouche yacine
0 siblings, 0 replies; 5+ messages in thread
From: chaouche yacine @ 2017-02-21 8:33 UTC (permalink / raw)
To: Glenn Morris; +Cc: help-gnu-emacs@gnu.org
Thanks, everybody. I don't know what I was expecting...
-- Yassine.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-02-21 8:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2017-02-21 6:10 ` Glenn Morris
2017-02-21 8:33 ` chaouche yacine
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.