From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Pushing the mark from a primitive like goto-char Date: Mon, 28 Dec 2020 16:49:32 +0200 Message-ID: <83v9cmj88z.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6490"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, mardani29@yahoo.es To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 28 15:51:22 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 1kttrl-0001Zi-Vl for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Dec 2020 15:51:21 +0100 Original-Received: from localhost ([::1]:47484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kttrl-0007wp-2a for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Dec 2020 09:51:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kttqC-0006qY-BT for emacs-devel@gnu.org; Mon, 28 Dec 2020 09:49:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41241) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kttqC-0003dW-4N; Mon, 28 Dec 2020 09:49:44 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1773 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kttqB-0001qm-19; Mon, 28 Dec 2020 09:49:43 -0500 In-Reply-To: (message from Philipp Stephani on Mon, 28 Dec 2020 15:17:30 +0100) 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:262005 Archived-At: > From: Philipp Stephani > Date: Mon, 28 Dec 2020 15:17:30 +0100 > Cc: Emacs developers > > Am Mo., 28. Dez. 2020 um 13:15 Uhr schrieb Daniel Martín : > > 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. I tend to agree. I think this is the reason why goto-char was not made to push the mark in the first place.