From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 14 08:48:05 2010 Received: (at submit) by debbugs.gnu.org; 14 Jun 2010 12:48:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO95A-00070r-Al for submit@debbugs.gnu.org; Mon, 14 Jun 2010 08:48:04 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO8hq-0006nf-A7 for submit@debbugs.gnu.org; Mon, 14 Jun 2010 08:23:58 -0400 Received: from lists.gnu.org ([199.232.76.165]:36834) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OO8hl-0004h1-5V for submit@debbugs.gnu.org; Mon, 14 Jun 2010 08:23:53 -0400 Received: from [140.186.70.92] (port=55932 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO8hg-0004VN-4W for bug-gnu-emacs@gnu.org; Mon, 14 Jun 2010 08:23:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OO8he-0000BD-J7 for bug-gnu-emacs@gnu.org; Mon, 14 Jun 2010 08:23:48 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:38721) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO8he-0000Ap-F4 for bug-gnu-emacs@gnu.org; Mon, 14 Jun 2010 08:23:46 -0400 Received: by wyf28 with SMTP id 28so4099204wyf.0 for ; Mon, 14 Jun 2010 05:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:to:from:date :message-id:in-reply-to:references:user-agent:mime-version :content-type:content-transfer-encoding; bh=rlbS/zwKwwvMZ1hfDrRyFR7SHHBjluFubDO+dxlkiMc=; b=eju+Z/Pi/b1v7txsBkg78d8j1FKHiVQ763uXHRK3RHVxFWHDl1bu1kR/DO4ArAe9qd sp9Qvs5Jv+Jukwgz4996NoA6gZcxyAqPwhJX72xG4GU1KyI0jMumwTgpZG2XF8e7DNzK LFpMWncGekzLbxfKk2Qow354HbDWOPRZJPqZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:to:from:date:message-id:in-reply-to:references:user-agent :mime-version:content-type:content-transfer-encoding; b=xXJ7tvovh3rxGzEQehiVQQX8eJnHvpkRS4eccwq7W8b63VSYfv9RIATsvdA8vGcnU/ V3AO8mduqCXq/FgLqxakRUmNLmuG7KEGAbeCUEefvrwtpKeguCiPv0Z+Eitj73ZwEHYK PxwEzgEKnoWOU7haMb98/lqud+LzZ6/HEe4ss= Received: by 10.227.69.208 with SMTP id a16mr5553747wbj.193.1276518224899; Mon, 14 Jun 2010 05:23:44 -0700 (PDT) Received: from lux.e.vtech (gatekeeper.vtab.com [62.20.90.206]) by mx.google.com with ESMTPS id u36sm36568728wbv.0.2010.06.14.05.23.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Jun 2010 05:23:44 -0700 (PDT) Subject: [describe-char PATCH 1/2] describe-char: add missing space in Unicode "Decomposition" line To: bug-gnu-emacs@gnu.org From: Gustav =?utf-8?b?SMOlbGxiZXJn?= Date: Mon, 14 Jun 2010 14:23:43 +0200 Message-ID: <20100614122343.26121.60672.stgit@lux.e.vtech> In-Reply-To: <20100614122012.26121.15924.stgit@lux.e.vtech> References: <20100614122012.26121.15924.stgit@lux.e.vtech> User-Agent: StGit/0.15-114-gf9037 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 Jun 2010 08:48:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) If there is an "info" field, make sure to add a space after it. --- lisp/descr-text.el | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lisp/descr-text.el b/lisp/descr-text.el index 36ee08d..51f7a77 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el @@ -288,20 +288,20 @@ This function is semi-obsolete. Use `get-char-code-property'." (or (char-code-property-description 'bidi-class (intern val)) val))) - (list - "Decomposition" - (if (nth 4 fields) - (let* ((parts (split-string (nth 4 fields))) - (info (car parts))) - (if (string-match "\\`<\\(.+\\)>\\'" info) - (setq info (match-string 1 info)) - (setq info nil)) - (if info (setq parts (cdr parts))) - (setq parts (mapconcat - (lambda (arg) - (string (string-to-number arg 16))) - parts " ")) - (concat info parts)))) + (list "Decomposition" + (let ((field (nth 4 fields))) + (when field + (let* ((parts (split-string field)) + (info (car parts))) + (if (string-match "\\`<\\(.+\\)>\\'" info) + (setq info (match-string 1 info) + parts (cdr parts)) + (setq info nil)) + (concat info (when info " ") + (mapconcat + (lambda (arg) + (string (string-to-number arg 16))) + parts " ")))))) (list "Decimal digit value" (nth 5 fields)) (list "Digit value" From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 16 03:29:03 2010 Received: (at control) by debbugs.gnu.org; 16 Jun 2010 07:29:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOn3X-00029i-00 for submit@debbugs.gnu.org; Wed, 16 Jun 2010 03:29:03 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOn3U-00029L-Ta for control@debbugs.gnu.org; Wed, 16 Jun 2010 03:29:01 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OOn3P-00042l-O8; Wed, 16 Jun 2010 03:28:56 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19480.32055.365766.924319@fencepost.gnu.org> Date: Wed, 16 Jun 2010 03:28:55 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: yellow X-Ran: gLvhFDLg2^!o85/MgGwvMh>JzLsQBXFH!m~7!HQm{HV{`JZ5aSg0i'Jg/8,^isz~-?<]'B X-Debbugs-No-Ack: yes X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) merge 6424 6422 merge 6432 6433 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 18 22:32:58 2010 Received: (at 6422-done) by debbugs.gnu.org; 19 Jun 2010 02:32:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPnre-0000yv-Hx for submit@debbugs.gnu.org; Fri, 18 Jun 2010 22:32:58 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPnrc-0000yq-6H for 6422-done@debbugs.gnu.org; Fri, 18 Jun 2010 22:32:56 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OPnrY-0002yR-QD; Fri, 18 Jun 2010 22:32:52 -0400 To: 6422-done@debbugs.gnu.org Subject: Re: bug#6422: [describe-char PATCH 1/2] describe-char: add missing space in Unicode "Decomposition" line References: <20100614122012.26121.15924.stgit@lux.e.vtech> <20100614122343.26121.60672.stgit@lux.e.vtech> From: Glenn Morris X-Spook: Fedayeen CIDA Firefly keyhole kilderkin corporate X-Ran: .2cGHVgVh`"qYPL359s?sVuEpgsmQ{jWTwPc."GbN+&n8Sz$zv5puF:VT*[1dwn0w7cPyw X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 18 Jun 2010 22:32:52 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 6422-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Gustav H=E5llberg wrote: > If there is an "info" field, make sure to add a space after it. I believe the minimum version of this change is just --- lisp/descr-text.el 2010-06-03 15:34:35 +0000 +++ lisp/descr-text.el 2010-06-18 19:48:07 +0000 @@ -301,7 +301,7 @@ (lambda (arg) (string (string-to-number arg 16))) parts " ")) - (concat info parts)))) + (concat info (if info " ") parts)))) (list "Decimal digit value" (nth 5 fields)) (list "Digit value" so that's what I installed. I would have found an example very helpful, eg emacs -Q --eval \ '(setq describe-char-unicodedata-file "admin/unidata/UnicodeData.txt")' M-x ucs-insert RET 0132 RET C-u C-x =3D From unknown Thu Jun 19 14:13:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Jul 2010 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator