unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: fringe buffer-boundary bitmaps
Date: Thu, 23 Jun 2005 10:03:59 +0200	[thread overview]
Message-ID: <m3zmthh53k.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <E1Dl7MW-0006qA-FD@fencepost.gnu.org> (Richard M. Stallman's message of "Wed, 22 Jun 2005 11:42:00 -0400")

"Richard M. Stallman" <rms@gnu.org> writes:

>     A related issue is the name of the bitmaps -- currently the names
>     reflect the physical appearance of the default bitmaps, but I think it
>     would be better if the names reflected their logical use.
>
> If there is a fixed correspondence between uses and names, which
> appears to be the case, then I agree with you.  Also, the doc string
> of define-fringe-bitmap ought to list these standard names, because
> there is no other doc string to find them in.


>
> However, I think it would be cleaner to keep the names as they are,
> referring to the bitmap appearance, and add a layer where you specify
> which bitmap to use for each standard purpose.  So if you want to use
> a little "EOB" for the end of the buffer, you'd put that in a bitmap
> named little-eob, then specify to use little-eob for end of buffer.

I disagree this would be much cleaner.

The implementation is already quite tricky, as there are already
several levels of preferences involved in deciding which bitmaps to
show left and right for a specific row.

And it would require that we define all the build-in bitmaps 
An extra layer of indirection does not give us any advantages IMO.



> indicate-buffer-boundaries would be the place to specify this.

I don't see why the mapping should be restricted to just the bitmaps
used for buffer boundaries ?


IMO, this is a lot of extra work for _NO_ added benefit.

My vote is for just changing the names of the bitmaps to reflect the
purpose rather than apperance.  

To do that, we just have to change the names of the symbols defined in
fringe.el (compared to your suggested change which requires a lot of
work at the C level).

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2005-06-23  8:03 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22  0:51 fringe buffer-boundary bitmaps Miles Bader
2005-06-22  6:28 ` Miles Bader
2005-06-22  7:28   ` Miles Bader
2005-06-22 22:52     ` Kim F. Storm
2005-06-22 12:49   ` Robert J. Chassell
2005-06-23  0:19     ` Miles Bader
2005-06-23  7:45       ` Kim F. Storm
2005-06-23  8:05         ` Miles Bader
2005-06-23 21:14       ` Robert J. Chassell
2005-06-24  5:35       ` Richard M. Stallman
2005-06-22 22:48   ` Kim F. Storm
2005-06-22 15:42 ` Richard M. Stallman
2005-06-23  8:03   ` Kim F. Storm [this message]
2005-06-24  5:36     ` Richard M. Stallman
2005-06-24  8:37       ` Kim F. Storm
2005-06-25  0:31         ` Richard M. Stallman
2006-02-20 22:38           ` Kim F. Storm
2006-02-21  6:44             ` Miles Bader
2006-02-21 11:12             ` Giorgos Keramidas
2006-02-21 11:40               ` Kim F. Storm
2006-02-21 12:21                 ` Giorgos Keramidas
2006-02-21 14:55             ` Chong Yidong
2006-02-22  5:24             ` Richard M. Stallman
2006-02-23 23:45             ` Juri Linkov
2006-02-24 13:45               ` Kim F. Storm
2006-02-24 23:27                 ` Juri Linkov
2006-02-24 19:40               ` Richard Stallman
2005-06-22 19:03 ` Markus Gritsch
2005-06-22 22:43 ` Kim F. Storm
2005-06-23  9:53 ` Lute Kamstra
2005-06-23 10:08   ` Miles Bader
2005-06-23 12:18     ` Lute Kamstra
2005-06-23 13:49     ` Juanma Barranquero
2005-06-23 13:59       ` Juanma Barranquero
2005-06-23 15:15         ` Luc Teirlinck
2005-06-23 15:35           ` Juanma Barranquero
2005-06-23 18:20             ` Luc Teirlinck
2005-06-23 22:15               ` Juanma Barranquero
2005-06-24 14:12               ` Stefan Monnier
2005-06-23 15:23         ` Luc Teirlinck
2005-06-24  5:36     ` Richard M. Stallman

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=m3zmthh53k.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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).