From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: Re: Pushing the mark from a primitive like goto-char
Date: Tue, 5 Jan 2021 20:53:47 +0100
Message-ID:
References:
<9815d21d-b20e-c6d8-aae0-77aa65a4138a@gmx.at> <87sg7pq2bx.fsf@mail.linkov.net>
<83sg7f2ndx.fsf@gnu.org>
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="32821"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: martin rudalics , Juri Linkov ,
Emacs developers , Stefan Kangas ,
=?UTF-8?Q?Daniel_Mart=C3=ADn?=
To: Eli Zaretskii
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 05 20:55:07 2021
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 1kwsQ7-0008Pz-Pb
for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Jan 2021 20:55:07 +0100
Original-Received: from localhost ([::1]:51300 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1kwsQ6-0004PX-Qb
for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Jan 2021 14:55:06 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56468)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1kwsP5-0003Nz-0U
for emacs-devel@gnu.org; Tue, 05 Jan 2021 14:54:03 -0500
Original-Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]:35925)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1kwsP2-0001cJ-CR; Tue, 05 Jan 2021 14:54:02 -0500
Original-Received: by mail-oi1-x22e.google.com with SMTP id 9so873178oiq.3;
Tue, 05 Jan 2021 11:53:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc:content-transfer-encoding;
bh=z3I0kqt9wdXeMhqpNY2xaOTIjtXifJE+U9Um3sdXilY=;
b=pKxK67QToADy9cSnmI1ioiC7HaszfoJ7obEVZ4eEElhW7Vusbe7PU8UrvEY2m9PLRg
y0XMoWh7dFcAhnxJvBI0F19HNn25kMYFVYwkN1L4dfs/KvHqYjj48rN28P3xAE84S0F0
BvLFry8bA9tza/BDWh71pyQZ+KPQ+vdye732wfcf1GUuFBLT/P6J4KqQ0etY98Vwym1L
D/sGNy2vz9sgixPxAC9xtUlV0XG9141NSK8EUZ01QnmBBE/0t4jI7FAZibrnxHeMWVWn
CK+eCvfu2eQyNJngC8bynM/t3O6xUmTPZWgmDBsmtOljcQD03v1BJAarRc9sx5hJHn6W
zFmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc:content-transfer-encoding;
bh=z3I0kqt9wdXeMhqpNY2xaOTIjtXifJE+U9Um3sdXilY=;
b=lgen+JTOtoBZd9PkSeFLq7e4hfQq14qgsFghE2HPrOEWYBsk7i9JRe0zX7XV4SWlIz
gfq8pYYifmlUiTZtYd21z3NeLd9Rta1SFZorYjKX4ePpPnHPUwU6Mb1GdurMg0wAetX4
QCS7GgoknZCvnG3rt+fRsCrA/wrhzIA0yrIznHnHs6DGEN+AIpOsJUFW/lPxijnK9ik5
Z38tNMAG80UPesEXbrku857taO2BQywBSPgzBCEZYCeRiBHmAol3ltKua/BOSO+sEFKg
7JT4QVaQDesHN7EMaso0YfZTQcke8kyrEcOccvYux85sfh2YiLlXcc7FsyXwG3d/Sbj6
rteA==
X-Gm-Message-State: AOAM531EOVkObF8cPjf0Prv+mt3aCnxzX+2ogtmEMl7i8WTGNJxqnJac
IGBJDBWQRQmYY6kqSub3o/XCdn3CuQA7L/ehl72O3mg+ve8=
X-Google-Smtp-Source: ABdhPJywyv5VZf1B8FPIJKnI7cH/lHbipR0sMTMN710LbxvEMc7irENBb4vw5/f9/tfAfhhfdydIR6qBfaIieBt2XIw=
X-Received: by 2002:a54:4881:: with SMTP id r1mr900824oic.9.1609876438148;
Tue, 05 Jan 2021 11:53:58 -0800 (PST)
In-Reply-To: <83sg7f2ndx.fsf@gnu.org>
Received-SPF: pass client-ip=2607:f8b0:4864:20::22e;
envelope-from=p.stephani2@gmail.com; helo=mail-oi1-x22e.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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, 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:262544
Archived-At:
Am Di., 5. Jan. 2021 um 20:29 Uhr schrieb Eli Zaretskii :
>
> > Date: Tue, 05 Jan 2021 20:06:28 +0100
> > Cc: Philipp Stephani ,
> > Emacs developers , Stefan Kangas ,
> > Juri Linkov
> > From: Daniel Mart=C3=ADn via "Emacs development discussions."
> >
> > - Create a 'goto-char-command' command in ELisp.
> >
> > - Move the interactive spec that is in 'goto-char' to this new command
> > and make it push the mark smartly (e.g. be careful when a region is
> > active). Then call 'goto-char'.
> >
> > - Rebind 'M-g c' to 'goto-char-command'.
>
> You mean, it will be impossible to invoke "M-x goto-char"?
Yes, goto-char should retain its interactive spec, there's no harm in that.