From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20499: [PROPOSED PATCH] C-x 8 shorthands for curved quotes, , Euro, etc. Date: Mon, 11 May 2015 22:10:49 +0300 Message-ID: <83sib3kk06.fsf@gnu.org> References: <555005B1.6060608@cs.ucla.edu> <83pp67maf1.fsf@gnu.org> <5550F984.70103@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1431371545 24471 80.91.229.3 (11 May 2015 19:12:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2015 19:12:25 +0000 (UTC) Cc: rms@gnu.org, 20499@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 11 21:12:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yrt7d-0007q8-VN for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 May 2015 21:12:14 +0200 Original-Received: from localhost ([::1]:39307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrt7d-0006rw-4S for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 May 2015 15:12:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrt7Y-0006pM-0m for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 15:12:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrt7S-0001ZE-JM for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 15:12:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrt7S-0001Z9-Fd for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 15:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yrt7R-0007fj-SN for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 15:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 May 2015 19:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20499 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20499-submit@debbugs.gnu.org id=B20499.143137147529428 (code B ref 20499); Mon, 11 May 2015 19:12:01 +0000 Original-Received: (at 20499) by debbugs.gnu.org; 11 May 2015 19:11:15 +0000 Original-Received: from localhost ([127.0.0.1]:41242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yrt6g-0007eZ-KG for submit@debbugs.gnu.org; Mon, 11 May 2015 15:11:15 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:46282) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yrt6e-0007eK-3t for 20499@debbugs.gnu.org; Mon, 11 May 2015 15:11:13 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NO700B0094W8I00@a-mtaout20.012.net.il> for 20499@debbugs.gnu.org; Mon, 11 May 2015 22:11:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NO700BSG9AB6S20@a-mtaout20.012.net.il>; Mon, 11 May 2015 22:11:00 +0300 (IDT) In-reply-to: <5550F984.70103@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102679 Archived-At: > Date: Mon, 11 May 2015 11:48:36 -0700 > From: Paul Eggert > CC: 20499@debbugs.gnu.org, rms@gnu.org > > On 05/11/2015 07:54 AM, Eli Zaretskii wrote: > > IOW, the above selection is highly filtered using some unspecified rules > > Sure, and I expect that what Wikipedia has done is seen which characters > get used the most, give a trivial UI for the most-commonly used dozen or > so non-ASCII characters, a simple UI for the most-commonly used > few-hundred non-ASCII characters, and a more-complex UI for the rest. > It's a reasonable design approach. But it's not Emacsy, not to my palate. Emacs never arbitrarily limits the user without offering some ways to lift the limits. > > For example, if you know that the character you are looking for is > > some form of a Latin 'a', then we could present only those (there are > > 36 of them in the current UCD). > > That all sounds good, for users who know that there's a way to get that > list of "A"-like characters. The way I envision it, the UI to specify the characters you are looking for will have a widget named "Looks like ..." or "Base character", and users who are looking for 'a' with some diacriticals will type "a" there. > Perhaps a top-level menu that gives a dozen or so of the most-common > characters I think "most-common characters" can only be reasonably offered once the user supplied a language or script. Most-common Latin characters are different from most-common Cyrillic characters or Greek or Hebrew or Math symbols. > and also says "type an "A" to get the "A"-like letters", and "press > this button to get Greek", etc. I don't think a single button will do. At least it should be possible to press both "Greek" and "with/without diacriticals", and possibly also other constraints, like with/without punctuation. IOW, we need to let users specify several constraints, and display whatever matches them. If they only specify the script, like "Latin", they will see the list similar to what you presented, perhaps in several parts with a "more" button.