all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: bruce.connor.am@gmail.com
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: RE: `char-fold-table'
Date: Wed, 2 Sep 2015 09:05:12 -0700 (PDT)	[thread overview]
Message-ID: <d48f7d0b-27e8-480c-bb55-44752cec8c3f@default> (raw)
In-Reply-To: <CAAdUY-JpG=HURtDPkRy4DMOdJZvUNmz4TmjUMbFVdHc37-U3SA@mail.gmail.com>

> > So here we are now, with char folding.  Great.  So can
> > we now consider facilitating users defining their own
> > classes of characters?  Or making it easy for them to
> > modify the default equivalence classes?
> 
> My thoughts are still focused on ironing out some issues. But this
> is a fine time to start suggesting ways to make it customizable.

Agreed.  I hope folks will participate and think creatively
about this.

> > Making `char-fold-table' a defconst seems wrong.  What's
> > the right way to enable users and code to customize such
> > things?
> 
> In the very least we can rename the current table to
> character-fold-table-default, and make let the user change
> character-fold-table if desired.
> We can also offer more alternatives besides the current default, but
> it would be better to give users a good way to define classes.

Yes.  That first change could be done now, hopefully.

I'm not sure we need to come up with more alternative tables.
A simple example in the manual of how to do that yourself would,
I think, be sufficient (and necessary).  With time, perhaps some
additional "standard" tables would come into being, but I don't
see the need for trying to come up with such things now (and
maybe never).

> > Yes, I know that the doc for this feature is still to be
> > written, and that this the feature is still a work in
> > progress.  But let's please progress it - in the direction
> > of more and better info for users and helping users modify
> > and extend the behavior.
> 
> This, along with ironing out the kinks, is my priority for this
> feature. However, I'm writting my thesis right now so I won't be able
> to do this for another couple of months.
> Of course, if anyone would like to contribute documentation that would
> be highly appreciated.

Understood.  I will try to look over whatever doc is proposed -
hope that helps.  And thanks for this feature - (1) it's very
useful, and (2) more importantly, it has great potential.



      reply	other threads:[~2015-09-02 16:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-01 16:40 `char-fold-table' Drew Adams
2015-09-02 10:25 ` `char-fold-table' Artur Malabarba
2015-09-02 16:05   ` Drew Adams [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d48f7d0b-27e8-480c-bb55-44752cec8c3f@default \
    --to=drew.adams@oracle.com \
    --cc=bruce.connor.am@gmail.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 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.