From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: .emacs poser Date: Sun, 29 Dec 2013 15:48:34 -0800 (PST) Message-ID: References: <87haa57s44.fsf@nl106-137-194.student.uu.se> <8761ql7ds0.fsf@nl106-137-194.student.uu.se> <87bo0b1kbb.fsf@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388360949 17917 80.91.229.3 (29 Dec 2013 23:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Dec 2013 23:49:09 +0000 (UTC) To: "B. T. Raven" , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 30 00:49:14 2013 Return-path: Envelope-to: geh-help-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 1VxQ6Z-00020G-Uv for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 00:49:12 +0100 Original-Received: from localhost ([::1]:56574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxQ6Z-000288-Dh for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Dec 2013 18:49:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxQ6F-00027k-SC for help-gnu-emacs@gnu.org; Sun, 29 Dec 2013 18:49:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxQ67-0004bd-5x for help-gnu-emacs@gnu.org; Sun, 29 Dec 2013 18:48:51 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:40439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxQ66-0004bX-Sa for help-gnu-emacs@gnu.org; Sun, 29 Dec 2013 18:48:42 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBTNmeit007638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 29 Dec 2013 23:48:41 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBTNme5I028023 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Dec 2013 23:48:40 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBTNmd23028019; Sun, 29 Dec 2013 23:48:40 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95188 Archived-At: > >>> I know about ucs-insert but don't want to have to look > >>> up the hexcodes. > >> > >> You do not have to know the hex code =E2=80=94 the canonical character= name > >> will do just fine, and there is tab completion. > > Wow! Who'd'a thunk? I entered in lower case 'combining', tab > upcased it, and tab again gave a whole page of canonical names > starting with COMBINING !! >=20 > > And if you have completion with regexp or substring patterns > > then it becomes even simpler. >=20 > Any regular expression in the mini-buffer returns "Not a unicode > character..." I said, "IF you have completion with regexp or substring patterns". If you use Icicles, for instance, you can match using such patterns. And you can use progressive completion: match any number of such patterns, in any order (e.g., multiple substrings). Actually, you can even match against the character itself. Why might you want to do that? To see the corresponding Unicode character name(s), including any old names. For example, for the character ` you get these two completion candidates: GRAVE ACCENT=09` SPACING GRAVE=09` Completion candidates for this command are multi-completions: the char name followed by the char itself, separated by a TAB char. The main purpose for this is to show you the characters along with their names (WYSIWYG). The chars are shown in *Completions* using the same font as the frame from which you invoked `C-x 8 RET'. That you can also match against the chars themselves is just a nice-to-have. Another part of this feature: When you cycle among the candidates that match your input, the mode line of *Completions* shows the char together with its code point (in hex, octal, and decimal). The most important parts of this feature, however, are (a) seeing the characters (WYSIWYG) and (b) being able to use progressive completion, so you can use multiple simple patterns instead of a single complex pattern.