From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: desktop-read usage and syntax ::error, strange character :: half-SOLVED!!! Date: Wed, 19 Jul 2017 13:46:31 +0700 Message-ID: References: <6b820ba4-770c-1d87-7b4c-a582f1830dbb@mousecar.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1500446850 10724 195.159.176.226 (19 Jul 2017 06:47:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Jul 2017 06:47:30 +0000 (UTC) Cc: GNU Emacs List To: gebser@mousecar.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 19 08:47:23 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 1dXilU-0002BP-Nh for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Jul 2017 08:47:20 +0200 Original-Received: from localhost ([::1]:60126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXilY-0002EE-LJ for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Jul 2017 02:47:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXil5-0002E6-5S for help-gnu-emacs@gnu.org; Wed, 19 Jul 2017 02:46:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXil4-0001qj-As for help-gnu-emacs@gnu.org; Wed, 19 Jul 2017 02:46:55 -0400 Original-Received: from mail-it0-x232.google.com ([2607:f8b0:4001:c0b::232]:38347) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXil4-0001q4-4u for help-gnu-emacs@gnu.org; Wed, 19 Jul 2017 02:46:54 -0400 Original-Received: by mail-it0-x232.google.com with SMTP id h199so24800721ith.1 for ; Tue, 18 Jul 2017 23:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=QXjLj0hzb+XNCqiZLxE703va+LjBEg9z9ZpMSHh8IPc=; b=PVBAJ8WwugUyOIzWTLeGEfsD/ZFt0p+yWbC8x+YOA/YOyIWaeW/uhmwmSWN5XENSZU XUPw3hk3qmBE5rGauyciGMqy6zg3SYYtJtMEa5JCF88olvQldxkG2uDTTM+fHmC7nlK4 p0f0ULK2KkWLm7fvolzXw+PrCeG/0QfdQ0tM4VqQSMQPuNoHSbC31Xr4ExLQYNvmWr13 5hQRmtKaQNwQ0weHa9cfhbYs02ckbI9n3T1A4By7qFwEWE9D4Qv9Soa1YahMHEJLP/Ph CuY/IGYQtJyGbkG0qnXkjPt4SQqVRhk4rc6B+Cu9k5UkvYSY3wBJljSaxOUSbQv3eVs/ PnmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=QXjLj0hzb+XNCqiZLxE703va+LjBEg9z9ZpMSHh8IPc=; b=ETyb4hmMY3/I7lWwW7YsHRAJ0W5gbImDny5xajmeX0LFUzxBGWmUussgjDGc6cmBot XXn7f7B3F8p0RvRJnF0nhl6j5mYAEotQQB6izEycGmsJsonee5+O8BDL6pGlaIqONJr/ GiLZOTyUXLraqfZ9hAbQj+CIfBK6Ct225pzM3ZvKjkMRnqlmMspa2N8JbzkEe8dkCO+F y76Dp0vFctvyFsQdgk4qUqU4NkfTSJgAMUqvHTOp5SXQparlMk6PJxdF2cNj79o/ViTg HEl7XoTym+poQ2HU2rKtz5D6Qi7fRT+rABTgFfL5/gNsPDS8BkFEf18DbxrAe7usIBGt JPqw== X-Gm-Message-State: AIVw110nAPsqZdHPcHDv9or3D/UaGzd+A0iiIFn5LRJi5y7wR1FjGOZa BhzfmZhYF2KDGbZG5Maf36kUcBorsw== X-Received: by 10.36.196.67 with SMTP id v64mr873177itf.89.1500446811832; Tue, 18 Jul 2017 23:46:51 -0700 (PDT) Original-Received: by 10.79.128.213 with HTTP; Tue, 18 Jul 2017 23:46:31 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: D9bkihboqNpg0mElA8X3Y1IdaDw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::232 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:113787 Archived-At: 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 th= e > bejesus it is. I even saw a bunch of lines like this: > >> (desktop-create-buffer <81> > > (81x =3D 129d ; CEx =3D 206d !!!) > > and didn't think it terribly odd. But then I compared that file to one o= f > 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 =E2=80=98desktop-create-buffer=E2=80=99 calls its first a= rgument FILE-VERSION. It is reasonable to expect that it=E2=80=99s an integer such = as 206. However, integers are also used as character codes, and 206 is the character code of =C3=8E (U+00CE Latin capital letter I with circumflex). In the UTF-8 encoding, this character is represented by two bytes 0x81 0xCE. 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.