unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Flipping url-show-status default
Date: Sat, 02 Oct 2010 10:13:31 -0500	[thread overview]
Message-ID: <878w2gk4pw.fsf@lifelogs.com> (raw)
In-Reply-To: 8739speepr.fsf@stupidchicken.com

On Fri, 01 Oct 2010 18:21:52 -0400 Chong Yidong <cyd@stupidchicken.com> wrote: 

CY> If anyone wants to improve the progress reporter, feel free.  One idea
CY> I've had is for it to use the background of the echo area as a progress
CY> bar (this will need some redisplay hacking, of course).

In graphical mode, I don't think the echo area should be used for
progress.  It makes text harder to read if there's two backgrounds and
this would commandeer a large portion of screen real estate.  I'd put it
in the modeline as a tiny icon or text indicator.

A simple improvement to the current state would be to use SVG icons
instead of the spinning and progress text indicators.  I have hacked up
something for my Gnus article counts (tzz-make-ungradient here returns a
SVG data string set up for a 32x28 icon showing the number 324):

(when (image-type-available-p 'svg)
  (with-temp-buffer
    (let* ((svg-data (tzz-make-ungradient 32 28 324))
           (image (create-image svg-data 'svg t :ascent 'center))
           (props `(display ,image intangible ,image)))
      (insert "i")
      (add-text-properties (point-min) (point-max) props)
      (buffer-string))))

So this can be an immediate improvement.  Then these icons can be moved
to whatever screen area we decide to use (I assume SVG images can be
shown in the modeline but haven't tested it).

I can't work on it currently (gotta finish GnuTLS, then auth-source.el,
then gnus-sync.el, etc. :) but if anyone is interested I can send them
the full code.  If not I'll get to it eventually.

Ted




  parent reply	other threads:[~2010-10-02 15:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-01 14:20 Flipping url-show-status default Lars Magne Ingebrigtsen
2010-10-01 14:56 ` Ted Zlatanov
2010-10-01 18:13 ` Chong Yidong
2010-10-01 18:23   ` Lars Magne Ingebrigtsen
2010-10-01 22:17     ` Chong Yidong
2010-10-01 22:20       ` Lars Magne Ingebrigtsen
2010-10-01 22:29         ` Chong Yidong
2010-10-02  2:06           ` Lars Magne Ingebrigtsen
2010-10-02  2:23             ` Lars Magne Ingebrigtsen
2010-10-02  2:24               ` Lars Magne Ingebrigtsen
2010-10-02  2:58             ` Chong Yidong
2010-10-02 13:07               ` Lars Magne Ingebrigtsen
2010-10-01 18:34   ` Ted Zlatanov
2010-10-01 22:21     ` Chong Yidong
2010-10-02  7:23       ` Eli Zaretskii
2010-10-02 15:13       ` Ted Zlatanov [this message]
2010-10-02  7:34     ` James Cloos
2010-10-02 14:54       ` Ted Zlatanov
2010-10-02 19:21         ` James Cloos
2010-10-03 12:50           ` Ted Zlatanov
2010-10-03 22:34             ` James Cloos
2010-10-05 16:51 ` Davis Herring
2010-10-05 16:58   ` Lars Magne Ingebrigtsen

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=878w2gk4pw.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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