all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: bruce.connor.am@gmail.com, emacs-devel@gnu.org
Subject: RE: Single quotes in Info
Date: Thu, 29 Jan 2015 10:34:58 -0800 (PST)	[thread overview]
Message-ID: <e8e08ebf-781d-4f1e-9a48-cf65473eee9c@default> (raw)
In-Reply-To: <83fvatmrdn.fsf@gnu.org>

> > I would like to see the ability for users to define classes, and to
> > "activate" (enable the use of; turn on) or "deactivate" (turn off) a
> > particular class of equivalences as a whole, including any of the
> > predefined classes.
> 
> This would require modifying the Unicode tables.  They are just large
> char-tables, so someone who knows what they are doing should be able
> to do that.

The point is to let ordinary users define such classes, and use them
selectively.

> But that's not for the faint at heart

Then fiddling at that level is not the (only) answer.  If changes at
that level are ultimately required, then perhaps a user-friendly layer
can be added above such low-level changes.

> and I don't see why users would
> like to disable or replace portions of those tables.

That's putting it wrong, putting it already in terms of implementation.
Ordinary users would certainly not *want* to "disable or replace portions
of those tables".  That is, they would not want to, and should not need
to, think in terms of such tables.  Whether such tables get changed
under the covers when they want to define a new class of chars should
not be something they need concern themselves with (I hope).

What (some) ordinary users are liable to want to be able to do is define
a class of chars that they can use in place of each other etc., and to
choose among such classes, via Lisp or interactively, enabling/disabling
the equivalences they define.

> I do understand why in some use cases certain equivalences classes
> are inappropriate, but they are inappropriate _as_a_whole_.  Doing
> that for a part of a class doesn't make sense to me.

I did not say anything about enabling some of the equivalences of a
class but not others.  What I suggested was being able to specify a
set of associations as a new, user-level equivalence class, and then
being able to enable/disable that class as a whole.  Whether the
members of that class also belong to a larger, predefined class is
not relevant here. 

> E.g., why would you want to make 2 and ② equivalent, but not 2 and ²?

Why not?  Why not be able to define your own class that includes
2 = ②, 3 = ③, etc., but not 2 = ² etc.?  What you want to consider
equivalent can depend on your particular context/needs.

The fact that there are natural, predefined Unicode equivalences
in general does not mean that only those equivalences make sense for
a given user in a given context.

> So this kind of customization doesn't have to be easy, IMO, and
> it's okay to ask such users to know what they are doing.

I disagree.  But I'm talking user-level and wishlist.  I have nothing
to say about the difficulty of providing what I am suggesting.

I am hoping that it *will* be easy for a user to both (a) define
an equivalence class (set of associations) of chars and (b) enable
or disable the use of that class.  For search and for other purposes.



  reply	other threads:[~2015-01-29 18:34 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<87twzhgk84.fsf@wmi.amu.edu.pl>
     [not found] ` <<83lhksshdm.fsf@gnu.org>
     [not found]   ` <<9ee0c895-a178-40e1-b1c8-ed2b97071c6b@default>
     [not found]     ` <<87h9vgglkz.fsf@wmi.amu.edu.pl>
     [not found]       ` <<CAAdUY-J4s+1_C7bj32Xk5x8d01fe9baPCYmwd+0KU=QorO7wZg@mail.gmail.com>
     [not found]         ` <<83h9vcp0bq.fsf@gnu.org>
     [not found]           ` <<CAAdUY-Kck6moHTRJshbXJdRVQ6gK6Q24f_PD7SuEaZ7hURpdQw@mail.gmail.com>
     [not found]             ` <<83y4onorcc.fsf@gnu.org>
     [not found]               ` <<CAAdUY-+ooLydD-qPtiEvv-01TGxX5E-cf6asvs+Jn+eR_=38ig@mail.gmail.com>
     [not found]                 ` <<83vbjrnd1f.fsf@gnu.org>
     [not found]                   ` <<CAAdUY-JwX-p-ZzdExm9+cKs5pC0SUoLLs8ppA9esuXsRuHRdng@mail.gmail.com>
     [not found]                     ` <<83386untcd.fsf@gnu.org>
     [not found]                       ` <<ee612423-67bf-42d0-a0ef-0dad11605c49@default>
     [not found]                         ` <<83vbjpmv4w.fsf@gnu.org>
     [not found]                           ` <<6164d89d-23ac-46bf-9f84-154cc0e6c6e4@default>
     [not found]                             ` <<83mw51msnz.fsf@gnu.org>
2015-01-29 17:05                               ` Single quotes in Info Drew Adams
2015-01-29 17:24                                 ` Eli Zaretskii
2015-01-29 18:34                                   ` Drew Adams [this message]
2015-01-29 18:54                                     ` Eli Zaretskii
2015-01-29 19:35                                       ` Drew Adams
2015-01-23 23:17 Marcin Borkowski
2015-01-23 23:53 ` Drew Adams
2015-01-24 17:01   ` Marcin Borkowski
2015-01-24  8:38 ` Eli Zaretskii
2015-01-24 15:11   ` Drew Adams
2015-01-24 15:19     ` Eli Zaretskii
     [not found]     ` <<838ugsrysw.fsf@gnu.org>
2015-01-24 15:54       ` Drew Adams
2015-01-24 16:45         ` Marcin Borkowski
2015-01-24 17:00     ` Marcin Borkowski
2015-01-27 16:27       ` Artur Malabarba
2015-01-27 17:37         ` Stefan Monnier
2015-01-27 18:09           ` Eli Zaretskii
2015-01-27 19:00             ` Stefan Monnier
2015-01-27 19:15               ` Eli Zaretskii
2015-01-27 19:49           ` Artur Malabarba
2015-01-27 20:30             ` Stefan Monnier
2015-01-28  3:48               ` Stefan Monnier
2015-01-28 21:42                 ` Artur Malabarba
2015-01-28 22:23                   ` Stefan Monnier
2015-01-29 14:31                     ` Artur Malabarba
2015-01-27 18:04         ` Eli Zaretskii
2015-01-27 18:39           ` Drew Adams
2015-01-27 20:24           ` Artur Malabarba
2015-01-27 21:18             ` Eli Zaretskii
2015-01-28  1:15               ` Artur Malabarba
2015-01-28 15:24                 ` Eli Zaretskii
2015-01-28 16:10                   ` Yuri Khan
2015-01-28 17:22                     ` Eli Zaretskii
2015-01-28 21:38                   ` Artur Malabarba
2015-01-29  3:44                     ` Eli Zaretskii
2015-01-29  6:01                       ` Drew Adams
2015-01-29 16:03                         ` Eli Zaretskii
2015-01-29 16:24                           ` Drew Adams
2015-01-29 16:57                             ` Eli Zaretskii
     [not found] ` <mailman.18484.1422057224.1147.help-gnu-emacs@gnu.org>
2015-01-26  3:26   ` Unicode in emacs (was Single quotes in Info) Rusi

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=e8e08ebf-781d-4f1e-9a48-cf65473eee9c@default \
    --to=drew.adams@oracle.com \
    --cc=bruce.connor.am@gmail.com \
    --cc=eliz@gnu.org \
    --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.