From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kelly Dean Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Desktop mode saves mark-ring too verbosely Date: Fri, 23 Jan 2015 13:20:17 +0000 Message-ID: References: <87k30fql9k.fsf@violet.siamics.net> 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 1422019292 4714 80.91.229.3 (23 Jan 2015 13:21:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 13:21:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ivan Shmakov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 23 14:21:32 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YEeB0-0000mj-Vm for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 14:21:31 +0100 Original-Received: from localhost ([::1]:58883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEeB0-000425-3x for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 08:21:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEeAv-0003zx-Uo for emacs-devel@gnu.org; Fri, 23 Jan 2015 08:21:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEeAr-0007Ic-F1 for emacs-devel@gnu.org; Fri, 23 Jan 2015 08:21:25 -0500 Original-Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:53215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEeAr-0007IM-8D for emacs-devel@gnu.org; Fri, 23 Jan 2015 08:21:21 -0500 Original-Received: from mfilter39-d.gandi.net (mfilter39-d.gandi.net [217.70.178.170]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 50594FB8ED; Fri, 23 Jan 2015 14:21:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter39-d.gandi.net Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter39-d.gandi.net (mfilter39-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id MFnOUkPX8yY6; Fri, 23 Jan 2015 14:21:18 +0100 (CET) X-Originating-IP: 66.220.3.179 Original-Received: from localhost (gm179.geneticmail.com [66.220.3.179]) (Authenticated sender: kelly@prtime.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id E11F7FB8E8; Fri, 23 Jan 2015 14:21:15 +0100 (CET) In-Reply-To: <87k30fql9k.fsf@violet.siamics.net> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::198 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181671 Archived-At: Ivan Shmakov wrote: >> +(defvar desktop-var-serdes-funs [snip] > aren=E2=80=99t =E2=80=9Cserialization=E2=80=9D and =E2=80=9Cdeserializa= tion=E2=80=9D often > referred to as =E2=80=9Cwriting=E2=80=9D and =E2=80=9Creading=E2=80=9D = in the dialects of Lisp? Yes, but I intentionally avoided those terms because this table is for fu= nctions that don't necessarily just print and read in the normal Lisp sen= se. E.g. mark-ring contains markers, and a marker contains both a positio= n and a reference to the relevant buffer, so simply printing mark-ring in= the Lisp sense would involve printing both the positions and the buffer = references, but its serializer function in this table outputs only the po= sitions. The entire point of my patch is to avoid the Lisp sense of print= ing, because printing the buffer references is far too verbose. > It doesn=E2=80=99t look like a common abbreviation, It's a common abbreviation for parallel=E2=86=94serial conversion circuit= s, which are reasonably analogous to functions that convert program data = to/from a text stream. And circuitry is a domain for which it's common to= share terminology with software. > so I guess > =E2=80=9Cserializer, deserializer=E2=80=9D should rather be spelled in = full. This table is something that only programmers, not users, will need to un= derstand or modify, so using a technical abbreviation isn't a problem. Em= acs already has abbreviated names such as =E2=8C=9Cfboundp=E2=8C=9D and =E2= =8C=9Cfmakunbound=E2=8C=9D for programmer-only things, instead of =E2=8C=9C= function-bound-predicate=E2=8C=9D and =E2=8C=9Cfunction-make-unbound=E2=8C= =9D. So if anything, =E2=8C=9Cfuns=E2=8C=9D isn't abbreviated _enough_. ;= -) Spelling out =E2=8C=9Cdesktop-variable-serialization-deserialization-func= tions=E2=8C=9D would be ironic, considering the purpose of my patch. BTW, you quoted only me, but you CCed only Stefan. I almost missed your m= essage, until I checked the mailing list.