From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Daniel_Mart=C3=ADn?= Newsgroups: gmane.emacs.devel Subject: Re: Pushing the mark from a primitive like goto-char Date: Mon, 28 Dec 2020 15:45:08 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) Cc: Emacs developers To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 28 15:46:59 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kttnW-0006Mv-Os for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Dec 2020 15:46:58 +0100 Original-Received: from localhost ([::1]:42446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kttnV-0005aI-PH for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Dec 2020 09:46:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kttm2-0004zM-44 for emacs-devel@gnu.org; Mon, 28 Dec 2020 09:45:28 -0500 Original-Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]:35321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kttlw-00022u-63 for emacs-devel@gnu.org; Mon, 28 Dec 2020 09:45:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1609166715; bh=oMZ29RRWSFGH5Y3CRgKCJLRcbuTTZaKj7pwucppYcfk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=UYbPMS/1ge6NG97TpMpnh4ULJgmYA9czCZ3bgROR7J58hGkANrPElNk43mwp8NQNlVtK8DLH/D3EB+icFe2sDPjc18JYnWmN2jMLhDimcVM+X1oKcmduT4117GIyTh7DPw/ZQmkRC1d+SpMUY7t69EQET2mOhmFk3O2LaBMy9vLNZ4kdkIgybmYqyPgyPyiRExpAgcbYBn/oiq3crObm/aYMUjVc/Ajh6VSO1JSC51dHBp74g8kiuExGyIiDJPTsMs0OsfJe6soUEq1VDMqFoOD1WzS1dSBPMZTsTtyvzOx4e611Z2M7HV1S+o8Z6XBrh8Vy4gV5ooCpY3PtRwgmZw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1609166715; bh=RGNwwG/BS73vYYmVCxLxP4IEG/QBoBTR2r3OiiTQQSa=; h=From:To:Subject:Date:From:Subject; b=cr5ZLgZJdY9s8LGYihnKNZlFOf2sfmybkb0w0wAr9mVkopYrt1Uf5mBj/+DGT04cAnz93kqCx+8OlrxWqMglgoUGg85N8uLfmVE1Vhvlq4OEeV2l0PA58lDrmKcoAJfZuHu9gu/J7bG+HerB4DJJtvIPrVVLwp/s9M52lkwUnVyrJVeB0so1ZjSR/TJoodrbIeLr2vxno8buXT7srNQ+qHiig+kYCIXyhVM6pSAygTDSUVhIRZjiY1gi32aRD0jy1DJLgAUFhNA7kcEGsZUHi57bsy2GAIeqL/iKKGqdX66KhOTt82YpJpPxK83X+L/mzim3KLOBD7jCNaLx/20IuA== X-YMail-OSG: Jo0M2G4VM1knXkY4iTbn0B_FCgJsFa_eaCxvJQRHcXjNpdMYX0nUZZ1IRixP56P USAF__LaK9aptVpmB9cc8AoQtdxF2JXMqzUUHWAd0.nwLS1WLG5vD95Y2Ku79EoL_1PXh.zqWZdS BezDtHkRzv1EkjzuGWZqFd9CxSDO1H7VzvrIOb2xXbqC41O765H59_Z_TtIJUhWALH0_ZMjYuY3b 0wqvNV0R_CeGNgISEKFpiti5D0P5ONkRSAiIR7F7gYe8MlVBNtu1BwYoHClPkXULSojs69ST0Vl3 bKKPcqZUnwgj2EiWoGbUEFNogJQe6r2V07RiLRpyZ7u5PwNRhv0Jrme0.U0LNoSYVczsYp.HWtjK oerDQTVHwKTRZLJeinvl4LOkXObHtLJH49x.EUtururw5XiS2XBAFY2iFV_7Xa9aYmtTGilICvKD YcKXbgvk3Wn6PVp8VBYDa.35gLEFWlojs73vOH2LGE6boLxKpFiEursIBhaqrcr6M28l5ZGntnqB .sGhGVv_Z6m3Ul9JFVAlxgeJP7ecT2.RvKlsbWyss8_K5kxBsia.ukdeRKiV9Nm0tM65eAKlORO. wYhH5GB9M_GExfdm_DgfaaXTlIlUGPAa2h_Y5os00Xb39V.Ror.1WvJgqp_FHTmLTcYg14mOcfbM 1.XzgEu3XjcNzARqI7AMMFUzcmIHlwTvZRGAnqIq1TtuLJpHgFn9FxPqDQm88svGIXl0ZeUENnqS Ws8Ykz9Si6TE3lZKNIbW9sQwFH1H388n7HbKCBN.lBmcxM2pa_qynaC8SW49BMQh1g65I.jK58cr KKR_HdV0RizDDBa.PKwiLaThwJFFfmC7w4k2YYA8qu Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Mon, 28 Dec 2020 14:45:15 +0000 Original-Received: by smtp407.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e21c2aa661cc885373a00bed737a0ff3; Mon, 28 Dec 2020 14:45:09 +0000 (UTC) In-Reply-To: (Philipp Stephani's message of "Mon, 28 Dec 2020 15:17:30 +0100") X-Mailer: WebService/1.1.17278 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.8) Received-SPF: pass client-ip=87.248.110.31; envelope-from=mardani29@yahoo.es; helo=sonic307-54.consmr.mail.ir2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262003 Archived-At: Philipp Stephani writes: > Am Mo., 28. Dez. 2020 um 13:15 Uhr schrieb Daniel Mart=C3=ADn : >> >> >> goto-char is an interactive function that has the potential to take you >> long distances, so it might be a good idea, for user convenience, to >> push the mark as a documented side effect (is it a good idea?). > > goto-char is a low-level primitive that's used pervasively in Emacs > Lisp code. I think that pushing the mark would be a way too drastic > change. But, AFAIK, goto-char is a function that is used both interactively and in ELisp programs. I meant to suggest pushing the mark only when used interactively.