From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: dptd dptd Newsgroups: gmane.emacs.devel Subject: Re: mark-whole-buffer and unnecessary (point) call Date: Sat, 28 Jan 2017 12:43:53 +0200 Message-ID: References: <83lgtvzexo.fsf@gnu.org> <83k29fzdf6.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_C246D1A2-CFD0-40EF-858E-C5BBF0F49E1A" X-Trace: blaine.gmane.org 1485600281 15622 195.159.176.226 (28 Jan 2017 10:44:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2017 10:44:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 28 11:44:37 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cXQUm-0003Yv-57 for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 11:44:36 +0100 Original-Received: from localhost ([::1]:51214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXQUr-0000lg-JB for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 05:44:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXQUD-0000lQ-AG for emacs-devel@gnu.org; Sat, 28 Jan 2017 05:44:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXQUC-00067U-De for emacs-devel@gnu.org; Sat, 28 Jan 2017 05:44:01 -0500 Original-Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:33741) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXQU8-000667-Js; Sat, 28 Jan 2017 05:43:56 -0500 Original-Received: by mail-wm0-x241.google.com with SMTP id v77so2879684wmv.0; Sat, 28 Jan 2017 02:43:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=N7QdDGFZ0PkmR4fuVGWt3MulMD+9m1chOmzIeW72tqU=; b=r6vIJWajlXXdxVUKyfkHcFB6c2+D+gg8QmMzZf7nM6VEoQ6YTkDMzYlYTijGU/aR4p cBrMAD5kTPesqqY1dxA9j7vAWQtCUkVQz4IwbkJHxvok1a0+guX3n4jeHFuxhbaZqrf7 Tl1pMSx4oTaJsHK3XJ2dgUPyiahvBKgyHUnTzDSz/AzNT8NJuLdSCZQ5r3jm4yFmSedk HClqrhNrJDtq19gchOQA3aIypZgRDQyVq4eDMeo9G5QcGNG7vPCNO6xNm7RpkOa/2iSi 1VLFN23foU6tj1O0MFffbq9ueSqTq7/fP15JhLJ8mEdZY60y41ZgxKuKs2VU/d4x39Wh Gy8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=N7QdDGFZ0PkmR4fuVGWt3MulMD+9m1chOmzIeW72tqU=; b=TkIF3iQEJNJvULmV/FlSbbnh9XKk3QFtiUA9EHZKj+B8h+VqBmVB/z9N2ltLjnSyXi VIIBpdjKIIoOR/gMHK6nRry7nJ2QDnKck9vw9JzalANaqtpRAGPG7AsVzDW3/ZrqNV3y Z5nNwtSNw8iaVFXz8RzR86uQTxZFD/1qo1/Qu9x5ExL9dkJcnWH8eZtkwBRDgI6CaS3Q ToQFSO95atCJ83WMBUpOS5HZ7GfLEMGlQ3bQ4ZXZ+JURv2bMk8OWQunF4GNiO3UmZTq0 7FmQDBJmCeAW4yBaAWQLj4d7f8s/voteyDEtJHQmD8zwPu8Un4pTKze+AFCi1RFuYvKL jmzg== X-Gm-Message-State: AIkVDXL5n75MklWybk9q4UGtmTTdRmnzqKkJw1JiCfuXsvaxNKziTQD//w/ZR1dTdxIgHQ== X-Received: by 10.28.236.149 with SMTP id h21mr6375774wmi.65.1485600235262; Sat, 28 Jan 2017 02:43:55 -0800 (PST) Original-Received: from [192.168.60.140] ([212.50.23.124]) by smtp.gmail.com with ESMTPSA id b15sm12289127wra.4.2017.01.28.02.43.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jan 2017 02:43:54 -0800 (PST) In-Reply-To: <83k29fzdf6.fsf@gnu.org> X-Mailer: Apple Mail (2.3259) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::241 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:211685 Archived-At: --Apple-Mail=_C246D1A2-CFD0-40EF-858E-C5BBF0F49E1A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 28 Jan 2017, at 12:28, Eli Zaretskii wrote: >=20 >> Date: Sat, 28 Jan 2017 11:55:47 +0200 >> From: Eli Zaretskii >> Cc: emacs-devel@gnu.org >>=20 >> Searching for "(push-mark (point))" finds 28 hits >=20 > And 97 hits for "(push-mark)", including 3 in simple.el. Alright so I think I can assume for now that call to (point) is really = not needed in such scenarios. I will unify it in the whole repo and try to send my first patch. We = will see what will happen=E2=80=A6 If it will be accepted then I will update =E2=80=9CAn Introduction to = Programming in Emacs Lisp=E2=80=9D tex file. Thanks Eli. :)= --Apple-Mail=_C246D1A2-CFD0-40EF-858E-C5BBF0F49E1A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On 28 Jan 2017, at 12:28, Eli Zaretskii <eliz@gnu.org> = wrote:

Date: Sat, 28 Jan 2017 = 11:55:47 +0200
From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org

Searching = for "(push-mark (point))" finds 28 hits

And 97 hits for "(push-mark)", including 3 in simple.el.

Alright so I think I can assume for now that call to (point) = is really not needed in such scenarios.
I will = unify it in the whole repo and try to send my first patch. We will see = what will happen=E2=80=A6
If it will be accepted = then I will update =E2=80=9CAn Introduction to Programming = in Emacs Lisp=E2=80=9D tex file.

Thanks Eli. :)
= --Apple-Mail=_C246D1A2-CFD0-40EF-858E-C5BBF0F49E1A--