From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Vianna Newsgroups: gmane.emacs.bugs Subject: bug#65771: 29.1; yank-pop behaviour description in info Date: Wed, 6 Sep 2023 13:36:35 +1000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f5ebae0604a87308" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25129"; mail-complaints-to="usenet@ciao.gmane.io" To: 65771@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 05:37:34 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qdjMD-0006Mp-VG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 05:37:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdjLj-0001Pn-Pz; Tue, 05 Sep 2023 23:37:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdjLi-0001PC-Qu for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2023 23:37:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdjLi-0001uw-Ij for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2023 23:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdjLj-0008F0-CD for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2023 23:37:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Vianna Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2023 03:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65771 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169397142231657 (code B ref -1); Wed, 06 Sep 2023 03:37:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Sep 2023 03:37:02 +0000 Original-Received: from localhost ([127.0.0.1]:60367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdjLh-0008EP-Rc for submit@debbugs.gnu.org; Tue, 05 Sep 2023 23:37:02 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:50434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdjLf-0008E9-1P for submit@debbugs.gnu.org; Tue, 05 Sep 2023 23:37:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdjLY-0001LC-P3 for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2023 23:36:52 -0400 Original-Received: from mail-oo1-xc2d.google.com ([2607:f8b0:4864:20::c2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdjLU-0001uM-OG for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2023 23:36:51 -0400 Original-Received: by mail-oo1-xc2d.google.com with SMTP id 006d021491bc7-5738cb00eebso2078876eaf.2 for ; Tue, 05 Sep 2023 20:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693971407; x=1694576207; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FPpyLjjSRYqTIVONiBlng308G1nizgPJuiyBAaCKWzk=; b=m2HoH93UY0NTr9Ax+o15KOUZ4wVIrjTBMCciOUzDIO60jXyIwxPyK/lbLxIh3Llk1k Gb7hfNLBTzZlI3dLphBXecDn8uJz/cGq52TBj0rMh+Mp05k82ZuFuOzWK8X4RIHjv/TH cXODGoQWMOXd8Mk+3LazSVWDcxQdyU3ptlUXDAaQcQ6aFXer2OCMQFMrauQIsASvYTXM d1+mUdYKnkWrV+ZokYN6tLijQUdSnCKtPGD0fnNIPpGA/KZhtE9E0AAOc8ELolt7Klhs YuL+iitmXv77mM/U81ZbbW7Ne1aKQLYEZp/oCFwXQ3u67iaVk5P30kbhQZWiOTULSb6N PdJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693971407; x=1694576207; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FPpyLjjSRYqTIVONiBlng308G1nizgPJuiyBAaCKWzk=; b=fsznHr58iV4mhsngnmmnHFxtmsUAy8OFFr+djnpSehTdw+xzNmwAAW7ngiSk3ym+I7 OXbGllhxalmqzoXvd+D6k+dLX9mKXwPlAsog4hebKbyr6/VZRXjy2ekjksUyj2/IgWGq 4/xIrZdjq5l+xcjAQk0/nJwxu5EDzq7NlADQcGmMJoDovPYF/VfvtphtNs9yDzsUZOal iZHvP0hzdZFd2hRHah5+jWJva0oJsawsEaTbGqdjchycJkANs+8vTykQClSEZy3Ds271 4R99uQfT9T+WaFbdX/bzGjW9nhky48vpQTq8kpfTQrIZmUd/d1OyhkRpUHK0UVrkluCK 3lyQ== X-Gm-Message-State: AOJu0YymviGrDXCZn5BZ5oltBj30UlKFAWlV91FaobWGRhhw2JhGn3qE 6ZAGzB+NcNAxTL4pPY4P+oa/0JdeoSZCZp2uPQdzpmZG X-Google-Smtp-Source: AGHT+IG5cyfp/skkMDyypwAkQdZ+LKE3RLa92vkufPeJgX/qu8cP9746z4As1Zx77R/q0TZ8ItJqxyGMx3KiZ7pJrZo= X-Received: by 2002:a4a:92d5:0:b0:571:281a:ef7 with SMTP id j21-20020a4a92d5000000b00571281a0ef7mr12416037ooh.7.1693971406775; Tue, 05 Sep 2023 20:36:46 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::c2d; envelope-from=dmlvianna@gmail.com; helo=mail-oo1-xc2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269478 Archived-At: --000000000000f5ebae0604a87308 Content-Type: text/plain; charset="UTF-8" Started emacs with `emacs -Q` C-h i, then browsed to Emacs Intro Tutorial, 10.3 Exercises with Yank and nthcdr I believe the behaviour of `yank-pop` (M-y) changed from the behaviour described in the tutorial. It gives options for autocompletion rather than cycling the values within the `kill-ring` variable. It would be desirable to rewrite that exercise to reflect the actual behaviour of the emacs interface. Of further interest is that `kill-ring` now stores more than just the strings, but also many font properties. I believe this should be noted in the tutorial, so it doesn't confuse readers. Cheers, Daniel. In GNU Emacs 29.1 (build 2, x86_64-redhat-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-07-28 built on jabuticaba Repository revision: c2d95dd00e6cb0abaf4e7550f38c8c2c9ca22f2d Repository branch: emacs-29 System Description: Fedora Linux 38 (Workstation Edition) Configured using: 'configure --prefix=/home/dmvianna/.local --without-pop --with-mailutils --with-pgtk --without-x --with-xwidgets --with-cairo --without-compress-install --with-native-compilation --with-json --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-webp --with-gpm --with-modules --with-harfbuzz build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_AU.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date pp cl-print byte-opt completion thingatpt help-fns radix-tree cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 87589 6380) (symbols 48 7542 0) (strings 32 22801 1813) (string-bytes 1 651567) (vectors 16 16272) (vector-slots 8 344529 13461) (floats 8 33 41) (intervals 56 308 1) (buffers 984 12)) --000000000000f5ebae0604a87308 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Started emacs with `emacs -Q`
=C2=A0C-h i, then browse= d to Emacs Intro Tutorial, 10.3 Exercises with Yank and nthcdr
I believe the behaviour of `yank-pop` (M-y) changed from the b= ehaviour described
in the tutorial. It gives options for autocomp= letion rather than cycling the values within
the `kill-ring` vari= able. It would be desirable to rewrite that exercise to reflect the actual<= /div>
behaviour of the emacs interface.

Of fur= ther interest is that `kill-ring` now stores more than just the strings, bu= t also
many font properties. I believe this should be noted in th= e tutorial, so it doesn't confuse
readers.

Cheers, Daniel.

In GNU Emacs 29.1 (build 2, x86_64-red= hat-linux-gnu, GTK+ Version
=C2=A03.24.38, cairo version 1.17.8) of 2023= -07-28 built on jabuticaba
Repository revision: c2d95dd00e6cb0abaf4e7550= f38c8c2c9ca22f2d
Repository branch: emacs-29
System Description: Fedo= ra Linux 38 (Workstation Edition)

Configured using:
=C2=A0'co= nfigure --prefix=3D/home/dmvianna/.local --without-pop
=C2=A0--with-mail= utils --with-pgtk --without-x --with-xwidgets --with-cairo
=C2=A0--witho= ut-compress-install --with-native-compilation --with-json
=C2=A0--with-d= bus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff
=C2=A0--wi= th-webp --with-gpm --with-modules --with-harfbuzz
=C2=A0build_alias=3Dx8= 6_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu'

Conf= igured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTIN= GS HARFBUZZ JPEG
JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIV= E_COMP NOTIFY
INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREAD= S TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB
Important settings:
=C2=A0 value of $LANG: en_AU.UTF-8
=C2=A0 value= of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix
<= br>Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 too= ltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2= =A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wh= eel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0= file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font= -lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-number-mode: t<= br>=C2=A0 indent-tabs-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 au= to-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-com= pression-mode: t

Load-path shadows:
None found.

Features:<= br>(shadow sort mail-extr emacsbug message mailcap yank-media puny direddired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068epg-config gnus-util text-property-search mm-decode mm-bodies mm-encodemail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rf= c2045 ietf-drums mm-util mail-prsvr mail-utils time-date pp cl-print
byt= e-opt completion thingatpt help-fns radix-tree cl-loaddefs comp
comp-cst= r warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode
bytecomp= byte-compile cl-lib rmc iso-transl tooltip cconv eldoc paren
electric u= niquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-= win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset
image regexp-= opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mo= de register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer sel= ect scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors= frame minibuffer nadvice seq simple cl-generic
indonesian philippine ch= am georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao ko= rean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech europe= an ethiopic indian cyrillic chinese
composite emoji-zwj charscript charp= rop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-pr= eloaded button loaddefs
theme-loaddefs faces cus-face macroexp files win= dow text-properties
overlay sha1 md5 base64 format env code-pages mule c= ustom widget keymap
hashtable-print-readable backquote threads xwidget-i= nternal dbusbind
inotify dynamic-setting system-font-setting font-render= -setting cairo
gtk pgtk multi-tty make-network-process native-compile em= acs)

Memory information:
((conses 16 87589 6380)
=C2=A0(symbol= s 48 7542 0)
=C2=A0(strings 32 22801 1813)
=C2=A0(string-bytes 1 6515= 67)
=C2=A0(vectors 16 16272)
=C2=A0(vector-slots 8 344529 13461)
= =C2=A0(floats 8 33 41)
=C2=A0(intervals 56 308 1)
=C2=A0(buffers 984 = 12))
--000000000000f5ebae0604a87308--