From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Date: Mon, 26 Jul 2021 08:47:07 -0700 Message-ID: Reply-To: "T.V Raman" 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="4225"; mail-complaints-to="usenet@ciao.gmane.io" To: 49742@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 26 17:48:10 2021 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 1m82pt-0000tF-Oq for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Jul 2021 17:48:09 +0200 Original-Received: from localhost ([::1]:32874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m82ps-0002si-Qx for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Jul 2021 11:48:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m82pm-0002sL-H9 for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2021 11:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m82pm-000828-9p for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2021 11:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m82pm-0006xq-9f for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2021 11:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Jul 2021 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49742 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.162731444726722 (code B ref -1); Mon, 26 Jul 2021 15:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jul 2021 15:47:27 +0000 Original-Received: from localhost ([127.0.0.1]:51362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m82pD-0006wv-7S for submit@debbugs.gnu.org; Mon, 26 Jul 2021 11:47:27 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:48486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m82pB-0006wm-Fv for submit@debbugs.gnu.org; Mon, 26 Jul 2021 11:47:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m82pB-0002lC-7Q for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2021 11:47:25 -0400 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:46770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m82p6-0007WD-39 for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2021 11:47:24 -0400 Original-Received: by mail-pl1-x634.google.com with SMTP id t21so11964622plr.13 for ; Mon, 26 Jul 2021 08:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:from:to:subject:mime-version :content-transfer-encoding; bh=DbEaviKMLmZl7tVG+AtZ8YTeiL2TDihJI1X5Vu6a1LE=; b=bwsPggQaEjv6EFK0IDg2JUL8h+jq3Qltpu7tmq20myKjyIHS5ePKsHkEcz1ySYzz0E sWt6QCvf/zWiar8AOkFzrpLZjxJPIhHrRv002J1LNXD9jsEsyNKFad1l3zWHEZZNaWjk YXUiC9BJ4BnAUAcQS5R4qL/IvI3ZGTohCkwv4/zAeyWvnCvAmlBk07DrZRdg+/VQVBTj EIlPw1NIGkV1Hc5qKg9ClllsfTSjvrnT2CVxynCEpRBa8tYMFESQT85CrY2ytFfxGNa0 2D5ST9wsW1JoewydCxKuWNdS64RjRhGAC9EbCcMghhCeqWUMSE2qsTdhwxKWmCwtql0I mZeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:subject:mime-version :content-transfer-encoding; bh=DbEaviKMLmZl7tVG+AtZ8YTeiL2TDihJI1X5Vu6a1LE=; b=VMqmxpnJFlkdQ4Y0BPpdUOPusLiisK/Ogz78VNNlAK2/bifwqz3YVkLOGWj6zxoOlQ Rk+u+HR6Rct49yYom7HQID0AcYH1VcnBIyK28d73LeCsWZ5VgsEs2m4EBGG5d2jLH0xN bPYsu1uhcbTlX3IthwYvXWOM5BVM0ujs3Z6qdUxC2q05X/JDiAVUkBm84gVcH78oGcOc tFZ/3dHrP7nUvoR10MFS0Orafr2CAQtE+moYPLzlzXaKYH56AtK8JHsccYGiwW1IA4bX 8CHlZxXLCHRqKJlSVEpd4plenu1NyweZZjO8hzBtLlWT12Ql911a8fRZZJTNyKH3+jaD lZZA== X-Gm-Message-State: AOAM532JUAqY3Bg1TkIEdCJqnPyxvmbrSFBFqJNYl2GXdKFsxAsegD5A uuCjg9MNgnbmDcuoPb8RUv7XTZn9IED6pWA8 X-Google-Smtp-Source: ABdhPJxwOhv9vEvxj+GBr0ybSlty+NQS+rBQwkTv0OtT/VFK8UnRO1uLHAL0nFRXIn7BBMWB5sheQQ== X-Received: by 2002:a05:6a00:1352:b029:331:afed:38b5 with SMTP id k18-20020a056a001352b0290331afed38b5mr18664652pfu.5.1627314433666; Mon, 26 Jul 2021 08:47:13 -0700 (PDT) Original-Received: from raman-glaptop (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id y30sm343090pfa.220.2021.07.26.08.47.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 08:47:12 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=raman@google.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 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" Xref: news.gmane.io gmane.emacs.bugs:210750 Archived-At: This appears to a corner case where previous-single-property-change breaks in a surprizing way. 1. ;;; Evaluate the below to get a string with properties. (setq s #("-L Trace line evolution (-L) History simplification" 0 2 (face transient-blue button (t) category transient-button-button command magit-log:-L) 2 25 (button (t) category transient-button-button command magit-log:-L) 25 27 (face transient-inactive-value button (t) category transient-button-button command magit-log:-L) 27 28 (button (t) category transient-button-button command magit-log:-L) 30 52 (face transient-heading))) 2.;;; Insert into a new buffer (switch-to-buffer "foo") (insert s) 4. ;;; Place point on the 'H' of "history" 5. ;;; eval (previous-single-property-change (point 'face) Instead of returning value of point before the 'H', this returns a value that is unexpected, it returns point past the ')' --Raman In GNU Emacs 28.0.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-07-22 built on raman-glaptop Repository revision: 5b868503f53f1cf67388238f825518bfe30398fd Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux rodete Configured using: 'configure --enable-silent-rules --without-xwidgets --with-mailutils --without-compress-install LDFLAGS=-O3 'CPPFLAGS=-Ofast '' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: recentf-mode: t global-git-commit-mode: t magit-auto-revert-mode: t orgalist-mode: t shell-dirtrack-mode: t savehist-mode: t save-place-mode: t psession-mode: t psession-autosave-mode: t midnight-mode: t ido-ubiquitous-mode: t flx-ido-mode: t ido-everywhere: t display-time-mode: t disable-mouse-global-mode: t company-statistics-mode: t company-prescient-mode: t prescient-persist-mode: t auto-correct-mode: t global-voice-lock-mode: t voice-lock-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t auto-fill-function: #[128 \300\301\302#\207 [apply orgalist--auto-fill yas--auto-fill nil] 5 nil] abbrev-mode: t Load-path shadows: /home/raman/emacs/lisp/emacspeak/lisp/tapestry hides /home/raman/emacs/lisp/site-lisp/vm/lisp/tapestry /home/raman/.emacs.d/elpa/lispy-20210702.1206/elpa hides /home/raman/.emacs.d/elpa/ivy-20210602.1349/elpa /home/raman/.emacs.d/elpa/transient-20210723.1601/transient hides /usr/local/share/emacs/28.0.50/lisp/transient /home/raman/emacs/lisp/emacspeak/lisp/tetris hides /usr/local/share/emacs/28.0.50/lisp/play/tetris Features: (shadow emacsbug mailalias face-remap recentf tree-widget bash-completion magit-patch magit-subtree magit-ediff emacspeak-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util emacspeak-forge forge-list forge-commands forge-semi forge-bitbucket buck forge-gogs gogs forge-gitea gtea forge-gitlab glab forge-github ghub-graphql treepy gsexp ghub let-alist gnutls forge-notify forge-revnote forge-pullreq forge-issue forge-topic yaml bug-reference forge-post smartparens-markdown emacspeak-markdown markdown-mode forge-repo forge forge-core forge-db closql emacsql-sqlite emacsql emacsql-compiler url-http url-auth url-gw nsm emacspeak-magit magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit emacspeak-package package url-handlers magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff git-commit log-edit pcvs-util emacspeak-add-log add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor magit-mode emacspeak-transient transient magit-git magit-section magit-utils crm char-fold misearch multi-isearch mule-util emacspeak-dbus nm amixer emacspeak-gnus gm-nnir nnir gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus emacspeak-orgalist orgalist smartparens-org emacspeak-org ol-eww emacspeak-eww emacspeak-google gweb emacspeak-we emacspeak-xslt dom-addons eww xdg url-queue shr kinsoku svg dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap mm-url org-tempo emacspeak-tempo tempo org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec emacspeak-calendar appt diary-lib diary-loaddefs solar cal-dst cal-menu calendar cal-loaddefs macrostep-c cmacexp macrostep emacspeak-tcl tcl emacspeak-lispy lispy emacspeak-hydra hydra lv swiper emacspeak-ivy ivy ivy-faces ivy-overlay colir color delsel lispy-inline avy emacspeak-outline noutline outline edebug backtrace help-fns radix-tree lispy-tags mode-local emacspeak-comint shell pcomplete comint emacspeak-wizards vc-git emacspeak-diff-mode diff-mode easy-mmode vc-dispatcher yasnippet-snippets emacspeak-yasnippet yasnippet emacspeak-smartparens smartparens-config smartparens-javascript smartparens-text smartparens-c smartparens emacspeak-hideshow hideshow company-bbdb company-semantic company-template company-files company-abbrev company-keywords company-etags etags fileloop generator emacspeak-xref xref emacspeak-project project ring company-dabbrev-code company-dabbrev company-capf js imenu emacspeak-c cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-extra emacspeak-advice emacspeak-cedet warnings xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range emacspeak-message message rmc puny rfc822 mml mml-sec emacspeak-epa epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win emacspeak-hide smtpmail sendmail auth-source-xoauth2 auth-source-pass url-parse url-vars gnus nnheader gnus-util emacspeak-rmail rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache rfc2047 rfc2045 ietf-drums time-date mail-utils mm-util mail-prsvr emacspeak-widget emacspeak-auctex emacspeak-tab-bar emacspeak-kmacro emacspeak-info emacspeak-ido emacspeak-flycheck emacspeak-custom emacspeak-company emacspeak-buff-menu soundscape emacspeak-muggles flycheck ansi-color find-func help-mode rx dash savehist saveplace psession frameset async midnight ido-completing-read+ memoize cus-edit pp wid-edit minibuf-eldef gmaps g-utils cl-macs json map flx-ido flx ido emacspeak-m-player emacspeak-amark ladspa emacspeak-dired locate dired dired-loaddefs time disable-mouse company-statistics company-prescient prescient company edmacro kmacro subr-x auto-correct thingatpt cus-start cus-load modus-vivendi-theme pcase modus-themes seq gv server file-xoauth2 laptop-local xbacklight emacs-startup emacspeak-setup emacspeak emacspeak-preamble emacspeak-sounds emacspeak-speak text-property-search sox-gen emacspeak-keymap emacspeak-pronounce voice-defs voice-setup outloud-voices dtk-speak cl-seq byte-opt bytecomp byte-compile cconv advice cl-loaddefs cl-lib info tex-site slime-autoloads iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-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 cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 681624 465381) (symbols 48 47649 65) (strings 32 191994 93919) (string-bytes 1 6275630) (vectors 16 108517) (vector-slots 8 2019785 660233) (floats 8 2558 1354) (intervals 56 1961 1030) (buffers 992 34)) -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮