From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: What's twiddle in emacs-goodies pacakage ? Date: Tue, 21 Feb 2017 03:52:58 +0100 Message-ID: <87lgt0w8z9.fsf@drachen> References: <1269142063.1142990.1487610050055.ref@mail.yahoo.com> <1269142063.1142990.1487610050055@mail.yahoo.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487645656 18795 195.159.176.226 (21 Feb 2017 02:54:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2017 02:54:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: "help-gnu-emacs@gnu.org" To: chaouche yacine Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 21 03:54:10 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cg0ad-00044T-1G for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Feb 2017 03:54:07 +0100 Original-Received: from localhost ([::1]:41931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cg0ah-0005Kz-1P for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Feb 2017 21:54:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cg0Zm-0005JB-6k for help-gnu-emacs@gnu.org; Mon, 20 Feb 2017 21:53:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cg0Zi-0005vV-6u for help-gnu-emacs@gnu.org; Mon, 20 Feb 2017 21:53:14 -0500 Original-Received: from mout.web.de ([212.227.15.3]:63384) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cg0Zh-0005sj-SV for help-gnu-emacs@gnu.org; Mon, 20 Feb 2017 21:53:10 -0500 Original-Received: from drachen.dragon ([109.46.3.128]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LvS5r-1cEg841iPj-010coi; Tue, 21 Feb 2017 03:53:03 +0100 In-Reply-To: <1269142063.1142990.1487610050055@mail.yahoo.com> (chaouche yacine's message of "Mon, 20 Feb 2017 17:00:50 +0000 (UTC)") X-Provags-ID: V03:K0:ltVklYzy1AoJ+3rM+90vRO7Ngsvs9XqESz3zkhI+p7s0Z1kSW5L LT/1CPbG8Kf53kM5ipsGnEVjQ5tHwLhAna6r88aGm8Xm8neBQLZI18D3+PMT1U1hmk7gOhv 7QCcrd4eatJViW8PRhTbP7yJvdmDKovnj3sivF85xJBVHQ7RJ+61+GukAQz9Ii3cSDhq/hl 24AIgkijMgkWMej2Pt9Wg== X-UI-Out-Filterresults: notjunk:1;V01:K0:5RlEXevMY7M=:gQ8ySE5d7tn46nHVqgdyPh P/AwnWfPMQo7qmlqccBk04fd/GDcar5p5N9910A7kVesjz+iRo8IBBvV4TvHK3upu/UyE6xFA +jpnEeBMBlCFM+xBV/4SFIYb51RGpP9PRQkyAr3HndAMonk38ZxQXzl8+Ftjrh0HinydV+Jqt 8om2+VugKN9bnyrDrQ6kvOmTSVakFhlXxmGZnhyFibJ48J6XM0x9FuBSFtEHfYjhnML4yamGi fnWa6Y/lQM53PxgLdb8HfRHozZVH+cHcojye6sR4JHUKr5mAaDgsKDH80ilxa/nG/touKoYB5 Ohx/2ynOPiYThybS2yDNHDlCHL7i3qdjuAjxCrPjP+o6W1Hm+/lk9uJC2a0aYBjPDrLNVKzME 8Wzdd7/QwuPPEJL/m3Nmy7ggXF0VVjYBVofMV/d1uuydUIJlwEUEDV9/rp5QHi4l40xHG4cyE Lw67TwKyW4xOQEtwxcR5llwl7L1U/0FN+PFYsCT64SvUaCi1OW+NUFLtK+or9I0ZgSijJljsu B6MIhUxhXQ/PFhzax0ORYst7XQpgQ34fV7ShNxV3B2iAaJTv+1zW8kELP/T1gFq9lZAI5Mr7I 8x+2POmVw63Mby5u/QWFvS8D8ltQrXoQ/UxrqHWy+iJbUw2G7a7Cjnw/N47TV/5cWS0DaVHam Hug0d/1x2J7/H6D9ux+oTmaE0bDBViI0jkXk7Lsyn4FbVi5lRsZANK2gUd+wf+UJbHPQ24wgm HpQBcw40euyqMt+tLhxRi/NM8Uxg1eys5tk/ArJCFUIm0wm+nJkPIExhFN2QIi6s4By4kfkH X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112356 Archived-At: chaouche yacine 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.