unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Support Q: How many args for self-insert-command
@ 2021-01-18 11:34 Boruch Baum
  2021-01-18 12:55 ` Robin Tarsiger
  2021-01-18 17:19 ` Drew Adams
  0 siblings, 2 replies; 8+ messages in thread
From: Boruch Baum @ 2021-01-18 11:34 UTC (permalink / raw)
  To: Emacs-Devel List

At what version did Emacs change the number of ARGs for
self-insert-command?

I only have available versions 26 (one arg) and a September v28-snapshot
(two args), so this is really asking about the state at release version
27 (still not available to me in debian).

The answer can be found at 'C-h f self-insert-command' for anyone with
the version.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Support Q: How many args for self-insert-command
  2021-01-18 11:34 Support Q: How many args for self-insert-command Boruch Baum
@ 2021-01-18 12:55 ` Robin Tarsiger
  2021-01-18 13:47   ` Boruch Baum
  2021-01-18 17:19 ` Drew Adams
  1 sibling, 1 reply; 8+ messages in thread
From: Robin Tarsiger @ 2021-01-18 12:55 UTC (permalink / raw)
  To: Boruch Baum; +Cc: Emacs-Devel List

Boruch Baum wrote:
> At what version did Emacs change the number of ARGs for
> self-insert-command?
> 
> I only have available versions 26 (one arg) and a September v28-snapshot
> (two args), so this is really asking about the state at release version
> 27 (still not available to me in debian).

Here's an answer with implied pointers to sources for similar answers:

git annotate shows that a relevant line in cmds.c was changed by
commit 81f0e05 on 2018-11-17, with the log entry:

  * src/cmds.c (Fself_insert_command): Get last-command-event via (new) arg.

The diff for that commit shows that it also adds an entry to etc/NEWS
under "Lisp Changes in Emacs 27.1".

To confirm from a different perspective, the Emacs 27.1 I'm using from
Arch has the two-argument form.

-RTT



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Support Q: How many args for self-insert-command
  2021-01-18 12:55 ` Robin Tarsiger
@ 2021-01-18 13:47   ` Boruch Baum
  2021-01-18 14:14     ` Basil L. Contovounesios
  0 siblings, 1 reply; 8+ messages in thread
From: Boruch Baum @ 2021-01-18 13:47 UTC (permalink / raw)
  To: Robin Tarsiger; +Cc: Emacs-Devel List

Thanks, Robin. I don't have the local resources for an emacs git
repository to be able to do what you did, and debian says that
installing their Emacs27 from their testing repository will introduce
'grave' bugs with ssh/libcrypt/poppler/... packages.

On 2021-01-18 06:55, Robin Tarsiger wrote:
> Boruch Baum wrote:
> > At what version did Emacs change the number of ARGs for
> > self-insert-command?
> >
> > I only have available versions 26 (one arg) and a September v28-snapshot
> > (two args), so this is really asking about the state at release version
> > 27 (still not available to me in debian).
>
> Here's an answer with implied pointers to sources for similar answers:
>
> git annotate shows that a relevant line in cmds.c was changed by
> commit 81f0e05 on 2018-11-17, with the log entry:
>
>   * src/cmds.c (Fself_insert_command): Get last-command-event via (new) arg.
>
> The diff for that commit shows that it also adds an entry to etc/NEWS
> under "Lisp Changes in Emacs 27.1".
>
> To confirm from a different perspective, the Emacs 27.1 I'm using from
> Arch has the two-argument form.
>
> -RTT

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Support Q: How many args for self-insert-command
  2021-01-18 13:47   ` Boruch Baum
@ 2021-01-18 14:14     ` Basil L. Contovounesios
  2021-01-18 15:00       ` Boruch Baum
  2021-01-18 16:39       ` Stefan Monnier
  0 siblings, 2 replies; 8+ messages in thread
From: Basil L. Contovounesios @ 2021-01-18 14:14 UTC (permalink / raw)
  To: Boruch Baum; +Cc: Robin Tarsiger, Emacs-Devel List

Boruch Baum <boruch_baum@gmx.com> writes:

> Thanks, Robin. I don't have the local resources for an emacs git
> repository to be able to do what you did

FWIW, you can grep the sources or etc/NEWS, from either a Git checkout
or release tarball, without needing to build Emacs.

-- 
Basil



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Support Q: How many args for self-insert-command
  2021-01-18 14:14     ` Basil L. Contovounesios
@ 2021-01-18 15:00       ` Boruch Baum
  2021-01-18 15:21         ` Basil L. Contovounesios
  2021-01-18 16:39       ` Stefan Monnier
  1 sibling, 1 reply; 8+ messages in thread
From: Boruch Baum @ 2021-01-18 15:00 UTC (permalink / raw)
  To: Basil L. Contovounesios; +Cc: Robin Tarsiger, Emacs-Devel List

On 2021-01-18 14:14, Basil L. Contovounesios wrote:
> Boruch Baum <boruch_baum@gmx.com> writes:
>
> > Thanks, Robin. I don't have the local resources for an emacs git
> > repository to be able to do what you did
>
> FWIW, you can grep the sources or etc/NEWS, from either a Git checkout
> or release tarball, without needing to build Emacs.

That game's *initial* ante is on the order of 250Mb, last I checked,
right?

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Support Q: How many args for self-insert-command
  2021-01-18 15:00       ` Boruch Baum
@ 2021-01-18 15:21         ` Basil L. Contovounesios
  0 siblings, 0 replies; 8+ messages in thread
From: Basil L. Contovounesios @ 2021-01-18 15:21 UTC (permalink / raw)
  To: Boruch Baum; +Cc: Robin Tarsiger, Emacs-Devel List

Boruch Baum <boruch_baum@gmx.com> writes:

> On 2021-01-18 14:14, Basil L. Contovounesios wrote:
>> Boruch Baum <boruch_baum@gmx.com> writes:
>>
>> > Thanks, Robin. I don't have the local resources for an emacs git
>> > repository to be able to do what you did
>>
>> FWIW, you can grep the sources or etc/NEWS, from either a Git checkout
>> or release tarball, without needing to build Emacs.
>
> That game's *initial* ante is on the order of 250Mb, last I checked,
> right?

Uncompressed, yes.

-- 
Basil



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Support Q: How many args for self-insert-command
  2021-01-18 14:14     ` Basil L. Contovounesios
  2021-01-18 15:00       ` Boruch Baum
@ 2021-01-18 16:39       ` Stefan Monnier
  1 sibling, 0 replies; 8+ messages in thread
From: Stefan Monnier @ 2021-01-18 16:39 UTC (permalink / raw)
  To: Basil L. Contovounesios; +Cc: Boruch Baum, Robin Tarsiger, Emacs-Devel List

>> Thanks, Robin. I don't have the local resources for an emacs git
>> repository to be able to do what you did
> FWIW, you can grep the sources or etc/NEWS, from either a Git checkout
> or release tarball, without needing to build Emacs.

    % git clone --single-branch --depth 1 git://git.sv.gnu.org/emacs

Transfers about 42MB and uses up a .git of about 43MB, and checking out
the resulting branch takes up an additional 160MB of disk space.

But you can go straight to the NEWS file(s) without fetching the whole
tree via:

    http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/


-- Stefan




^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Support Q: How many args for self-insert-command
  2021-01-18 11:34 Support Q: How many args for self-insert-command Boruch Baum
  2021-01-18 12:55 ` Robin Tarsiger
@ 2021-01-18 17:19 ` Drew Adams
  1 sibling, 0 replies; 8+ messages in thread
From: Drew Adams @ 2021-01-18 17:19 UTC (permalink / raw)
  To: Boruch Baum, Emacs-Devel List

> At what version did Emacs change the number of ARGs for
> self-insert-command?

Emacs 27.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-01-18 17:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-18 11:34 Support Q: How many args for self-insert-command Boruch Baum
2021-01-18 12:55 ` Robin Tarsiger
2021-01-18 13:47   ` Boruch Baum
2021-01-18 14:14     ` Basil L. Contovounesios
2021-01-18 15:00       ` Boruch Baum
2021-01-18 15:21         ` Basil L. Contovounesios
2021-01-18 16:39       ` Stefan Monnier
2021-01-18 17:19 ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).