From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: desktop-read usage and syntax ::error, strange character :: half-SOLVED!!! Date: Thu, 20 Jul 2017 18:36:57 -0400 Message-ID: References: <6b820ba4-770c-1d87-7b4c-a582f1830dbb@mousecar.com> Reply-To: Ken NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1500590256 28234 195.159.176.226 (20 Jul 2017 22:37:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Jul 2017 22:37:36 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 21 00:37:33 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYK4a-00075n-33 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jul 2017 00:37:32 +0200 Original-Received: from localhost ([::1]:40250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYK4f-0000bt-O0 for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Jul 2017 18:37:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYK4E-0000bb-2V for help-gnu-emacs@gnu.org; Thu, 20 Jul 2017 18:37:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYK4A-0007Eu-UR for help-gnu-emacs@gnu.org; Thu, 20 Jul 2017 18:37:10 -0400 Original-Received: from mout.perfora.net ([74.208.4.196]:57248) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYK4A-0007Ei-M6 for help-gnu-emacs@gnu.org; Thu, 20 Jul 2017 18:37:06 -0400 Original-Received: from nv.mousecar.net ([96.27.75.237]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Mdtql-1dFPll1T81-00PhDg for ; Fri, 21 Jul 2017 00:37:04 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K0:QkkPvR+GZic95H6KYJ1HKHhMjp02/Fycptywq/WYK7t85PpU3R4 2xkVJWWSZpfSKjY2HLiZloJzES44ruGXKsoJObuuDH0Z+hcTDKX9yu9BU6MkbCvSk4EzhDF c1snoVXFOQ3YNALzDTQKIe1Tk4yA5NF4lKtZKSuhIdS4/rolWRav7xaoAxPJ0EtSEZCwKIw 4+GZ4RpNamwKofXH/clvw== X-UI-Out-Filterresults: notjunk:1;V01:K0:vxY5Ox3nHMM=:5UJ2Z1Om9a8n3jxc0tKBeo Axnh8OiAqRrOQhxiHj0vSDnJoe6/9FPqMyzqvImkATOZr6u0DbufgjMqRYEtQOJTdeqzYdUVD rjWkayodbedBo0GPY4SV9yhaxkHHo30ioFePbuyc6O5Com8oTAcqS+JQ2EjhRNC/qpF7Qsh4Y idU3QozsH04cp4AW6e9u1XL4fmyYFuaAMrjtF+yD4afY/AyBsXLG5PN/4ghXyrf4RywmZ3NAt CQS1dtCQW/8HfnBLTTeQrh05j9XvBLpFhIZ5n43WMyWkpxZpBOwFlhG1D85MgMSO+BZLD75qO Y6DD2QMhHFX7BKo6MrV/+DffEnSNngJDhSzBbXSmy4kVs4BvvKgXkNKaRU75OGX2MjmlyalzI FSuQFOmELIfCdRf2WQ7u9cVt4nxQ+fiL1Py8q0+CVvDK+TiCBINWUWY9bwrZA0NlH1NyLjO+K cEoDLqsQpfdSEcMKKK/aeyTBmj17iSlOdJh7unCH8VYTrC34VvNWapOCxf1YU32zpQw9BXGaW NXb2rCkjr95VEvOwfe5xdzLh/YrBibVsfdxo2NCrrpeklhh6rdkRJKSTsKJE6M8CqbIpLFwOa P7gAGLmInE8hSo18hphIwr86sEtuJP5LwPD+ALM/pDMJQig4w99Ah9JU5lvmcen/wGcxt+QrS siyA1XkPvMTdxBNi84R2KOB/bOOFPy0+kMQLDDa+pSZYbK880qhINEJjWGLhAQBmKlIz8qFn4 6UECuHwPnffN9osyT31VdrxoTGbjr4OMSRUkOj3I37ggcD4M9QNHx4jG+cQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.208.4.196 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113797 Archived-At: On 07/19/2017 02:46 AM, Yuri Khan wrote: > On Wed, Jul 19, 2017 at 4:10 AM, ken wrote: > >> Most of the info in .emacs.desktop is inscrutable... I don't know what the >> bejesus it is. I even saw a bunch of lines like this: >> >>> (desktop-create-buffer <81> >> (81x = 129d ; CEx = 206d !!!) >> >> and didn't think it terribly odd. But then I compared that file to one of >> the backups I have of previous versions of the same file and, instead of the >> "<81>", there was "206"... in every case. > The docstring for ‘desktop-create-buffer’ calls its first argument > FILE-VERSION. It is reasonable to expect that it’s an integer such as > 206. > > However, integers are also used as character codes, and 206 is the > character code of Î (U+00CE Latin capital letter I with circumflex). > In the UTF-8 encoding, this character is represented by two bytes 0x81 > 0xCE. Agreed. That's what I was suggesting above when showing the hex and decimal equivalences. > It is as if under some circumstances the code that saves the desktop > file writes the version as a character code instead of a decimal > integer. Agreed again... well, I'd use different terminology, but I know what you mean. I've noticed too that emacs has had some problems regarding the representation of characters in text. I've been having a longterm issue with the German characters: ä ö ü, their capitalized equivalents and ß. I can type them into an emacs buffer (and obviously into an email composed in Tbird). But if I copy text with any of these characters from somewhere else and paste it into emacs, I get "garbage" characters in their stead; not so if I paste the same text into any other application on my system, e.g., Tbird, vi, bash shell, even LibreOffice's Calc. So there's something shakey going on with emacs there. I can't say this problem and the one original to this email thread come out of the same code, but they do bear some resemblance.