From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? 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-GNU-PR-Keywords: To: 49742@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162731444726722 (code B ref -1); Mon, 26 Jul 2021 15:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2021 15:47:27 +0000 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 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 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 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 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) 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) Date: Mon, 26 Jul 2021 08:47:07 -0700 Message-Id: From: "T.V Raman" MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 🦮 From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Jul 2021 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "T.V Raman" Cc: 49742@debbugs.gnu.org Received: via spool by 49742-submit@debbugs.gnu.org id=B49742.162731699930762 (code B ref 49742); Mon, 26 Jul 2021 16:30:02 +0000 Received: (at 49742) by debbugs.gnu.org; 26 Jul 2021 16:29:59 +0000 Received: from localhost ([127.0.0.1]:51375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m83UM-000805-Jj for submit@debbugs.gnu.org; Mon, 26 Jul 2021 12:29:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m83UK-0007zs-Gv for 49742@debbugs.gnu.org; Mon, 26 Jul 2021 12:29:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47426) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m83UF-0002Vq-9F; Mon, 26 Jul 2021 12:29:51 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2827 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m83UE-0002Vi-QU; Mon, 26 Jul 2021 12:29:51 -0400 Date: Mon, 26 Jul 2021 19:29:41 +0300 Message-Id: <83sg01ujgq.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (bug-gnu-emacs@gnu.org) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 26 Jul 2021 08:47:07 -0700 > From: "T.V Raman" via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > 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 ')' What does "M-x describe-text-properties RET" say at the position returned by the above previous-single-property-change call? Does that value explain the result? If not, why not? From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Jul 2021 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 49742@debbugs.gnu.org Received: via spool by 49742-submit@debbugs.gnu.org id=B49742.16273199652789 (code B ref 49742); Mon, 26 Jul 2021 17:20:02 +0000 Received: (at 49742) by debbugs.gnu.org; 26 Jul 2021 17:19:25 +0000 Received: from localhost ([127.0.0.1]:51437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m84GC-0000iv-SL for submit@debbugs.gnu.org; Mon, 26 Jul 2021 13:19:25 -0400 Received: from mail-pj1-f41.google.com ([209.85.216.41]:52773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m84GB-0000ii-Dv for 49742@debbugs.gnu.org; Mon, 26 Jul 2021 13:19:24 -0400 Received: by mail-pj1-f41.google.com with SMTP id m1so13827577pjv.2 for <49742@debbugs.gnu.org>; Mon, 26 Jul 2021 10:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=RuvAGOax9GPeAw4OqsyASfAZ1YOnz0gRUAGHkdG5nFA=; b=Z3VyzJfDIuugjR86Ino3e96z8RsFVWDuDI21BCJiv/YvHdIs4rWAXqgdfI8JdvgYpw i6P+41jOIrbsSNxFpvmDutSu0vCVqSkp2SMFajop363djqWndzfNW2RhVb0U16gyGGln i8wzdHvY/ZFiKxYPGqKfOkqsg0T8K4eBPqINaflq3Q2wxY9jTrPFM4Wjodc5TlAosms9 ntofDpGMIQomQ0sXxFAeU5INkPHK0PUHodyPHCCT4JNrNvaoiTMFdZj4dmdW8VoEcTJS Qd5eUu0SGPGwvjAUyJPVe/aIRAMkajd7uAe9N4yegWtiBypa9iHm0H6xSOqCNTDacI/m HTnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=RuvAGOax9GPeAw4OqsyASfAZ1YOnz0gRUAGHkdG5nFA=; b=B8lqb4GQ6xPx6UuFL4eLQ6fyhS01Ykku4hGJOGNtID30wa0ymAiGwpmFuEveiU63Ha Zhe1oI9D+pNagK9/s/+6OEISanl3HjYeKo6K79qD8ryMpkUEmYMsH59JY++roU+7EFAb VdGum+CTrNm3x2dyMmfAKfOSPgVpl591d8hcHwE79bRR35fXGH7+YDGU/PrHkpD1K3iB kL0TK55/h0bm5BAiVPDLm58tC1SkA2tuU+1eKOyj2uA8d9p3mkbI3iiMLr7w7HY90R0Z unzabBPtRZavGFPYE9V7d2uGlRCkgFrIe1KZ3pnraW4fppD6/MJ/wgEFZs7UC8wBgYCa mgPw== X-Gm-Message-State: AOAM533XEUgmWS4PYIPmy6la/QUnj4Yf8txr6V3wNrrKkYOOA+o/wOdw mVLm/aUM4zG3RXibKXxkkLLCWzdwHQGRHWWX X-Google-Smtp-Source: ABdhPJxXQ8gl9YdvvspVk5aXdXanPn1pT+oJWr3qd09VzCIaKTPLfjERpVe9Iok6niMaSLbjQwSm+Q== X-Received: by 2002:a17:902:6903:b029:12b:ab66:1248 with SMTP id j3-20020a1709026903b029012bab661248mr14910614plk.69.1627319956762; Mon, 26 Jul 2021 10:19:16 -0700 (PDT) Received: from raman-glaptop (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id v27sm619973pfi.166.2021.07.26.10.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 10:19:16 -0700 (PDT) From: "T.V Raman" In-Reply-To: <83sg01ujgq.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 26 Jul 2021 19:29:41 +0300") References: <83sg01ujgq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Mon, 26 Jul 2021 10:19:13 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -8.0 (--------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -9.0 (---------) Eli Zaretskii writes: See below for the results you ask. It does not explain itself because property 'face is nil at positions 30 and 29. Contents of help buffer after describe-text-properties below: Text content at position 28: Here is a =A1=AEnil=A1=AF button labeled =A1=AE)=A1=AF. There are text properties here: button (t) category transient-button-button command magit-log:-L [back] >> Date: Mon, 26 Jul 2021 08:47:07 -0700 >> From: "T.V Raman" via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >>=20 >> This appears to a corner case where previous-single-property-change >> breaks in a surprizing way. >>=20 >> 1. ;;; Evaluate the below to get a string with properties. >> (setq s >>=20 >> #("-L Trace line evolution (-L) >>=20 >> History simplification" 0 2 (face transient-blue button (t) category tra= nsient-button-button command magit-log:-L) 2 25 (button (t) category transi= ent-button-button command magit-log:-L) 25 27 (face transient-inactive-valu= e button (t) category transient-button-button command magit-log:-L) 27 28 (= button (t) category transient-button-button command magit-log:-L) 30 52 (fa= ce transient-heading))) >>=20 >>=20 >> 2.;;; Insert into a new buffer >> (switch-to-buffer "foo") >> (insert s) >>=20 >> 4. ;;; Place point on the 'H' of "history" >>=20 >> 5. ;;; eval >> (previous-single-property-change (point 'face) >>=20 >> Instead of returning value of point before the 'H', this returns a >> value that is unexpected, it returns point past the ')' > > What does "M-x describe-text-properties RET" say at the position > returned by the above previous-single-property-change call? Does that > value explain the result? If not, why not? --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8 From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Jul 2021 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "T.V Raman" Cc: 49742@debbugs.gnu.org Received: via spool by 49742-submit@debbugs.gnu.org id=B49742.162732596320319 (code B ref 49742); Mon, 26 Jul 2021 19:00:02 +0000 Received: (at 49742) by debbugs.gnu.org; 26 Jul 2021 18:59:23 +0000 Received: from localhost ([127.0.0.1]:51530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m85ox-0005He-Da for submit@debbugs.gnu.org; Mon, 26 Jul 2021 14:59:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m85ov-0005HR-6O for 49742@debbugs.gnu.org; Mon, 26 Jul 2021 14:59:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51502) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m85op-0002el-IR; Mon, 26 Jul 2021 14:59:15 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4012 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m85op-0007YZ-6m; Mon, 26 Jul 2021 14:59:15 -0400 Date: Mon, 26 Jul 2021 21:59:09 +0300 Message-Id: <83o8aovr42.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (raman@google.com) References: <83sg01ujgq.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "T.V Raman" > Cc: 49742@debbugs.gnu.org > Date: Mon, 26 Jul 2021 10:19:13 -0700 > > Eli Zaretskii writes: > > > See below for the results you ask. It does not explain itself because > property 'face is nil at positions 30 and 29. Yes, it's nil. So that is the last position before 'H' where the value of the 'face' property changes -- from transient-inactive-value to nil. Which is why the function returns that position. If this still doesn't explain the results, please tell what is missing from the explanation. From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2021 02:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 49742@debbugs.gnu.org Received: via spool by 49742-submit@debbugs.gnu.org id=B49742.162735134027439 (code B ref 49742); Tue, 27 Jul 2021 02:03:01 +0000 Received: (at 49742) by debbugs.gnu.org; 27 Jul 2021 02:02:20 +0000 Received: from localhost ([127.0.0.1]:51866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8CQF-00078V-Tx for submit@debbugs.gnu.org; Mon, 26 Jul 2021 22:02:20 -0400 Received: from mail-pl1-f169.google.com ([209.85.214.169]:46696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8CQA-00078E-Gk for 49742@debbugs.gnu.org; Mon, 26 Jul 2021 22:02:18 -0400 Received: by mail-pl1-f169.google.com with SMTP id t21so13830719plr.13 for <49742@debbugs.gnu.org>; Mon, 26 Jul 2021 19:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=pL85sHC9IDM/TfY41TWBLMQyk8A/pvYoe+Lzc8vGykE=; b=vC3f6s8U4AkvlZ6ajdnCWtCOVLmRpxA1Vbn2EmhdV0QxEMgWflpFgDn0Vs5zT7pnFC O4Y3l0Bli9DeMeSr/KeAftD/F5izZ9vHkYFdzucBRFBo4pf7DfQV5lbtfgH1vnSjJEyK JsEvbgTpEtvdh0/fewPTbiXDJaqW5wuXhvoZCVlJs14j9TPmvw7zuXfJmv1X9x/U/7h3 dYyxwE8pMyPRgNPDKb52ubySLA3vw+1pe4gktUTQzg1AqEL4uBBUHO1ERHKPpoh4psY0 gP51OqJ1Ovf6wQXD+YihUroiY/4gc0zkCesbWGw/z+5DunFyRqFfVJDv+T+r503mjly5 qr2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=pL85sHC9IDM/TfY41TWBLMQyk8A/pvYoe+Lzc8vGykE=; b=MUU/x3i8TN1kiC58sojzlMZyY+lNodyrrT874Ly/W9Mna98r1ZWtsb10xS2QXj8Ef+ +fKU9vKqFVM4HcJElYr6zNVwvo8iODshbkaBY/bWwNBKCsnkHrFJ4YaE38xIwQhYL3h7 JJq6YT7f/cR8X3UMYAvtezHhO90s4KoS3fTSkzde1OvXfQ5MfmyW29FNBWiDKo2TFenr +xhdjShI6wCEOSEYZwB7+95Mvhi7OP/nU8eFAhuxfkW43AIj1+yphNjzjwb7nMwqxnab CRkcVShzBa1pCPjoSCf5DPqLs7NF8kHyeQrBighYgJbRFtOcZsfEwftoJ91lHPWDNAmW RBWA== X-Gm-Message-State: AOAM531Z/sXHLqgAHjXhdkNjP4vNb22bccjHO7H53DGasCI+ahxfioDg l+RLkDcTfq7pO4/rnAdomXXFTvGBDOnkK44H X-Google-Smtp-Source: ABdhPJxrUsfaMAdbwUPr6gdCId4V6BHbVYjE5O0Zawc0JkQ9Gx5QcEr0wf9bQUpO7JdEFFqaOLNSzg== X-Received: by 2002:a17:90a:de13:: with SMTP id m19mr1927883pjv.158.1627351327751; Mon, 26 Jul 2021 19:02:07 -0700 (PDT) Received: from raman-glaptop (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id w23sm1382611pfc.60.2021.07.26.19.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 19:02:06 -0700 (PDT) From: "T.V Raman" References: <83sg01ujgq.fsf@gnu.org> <83o8aovr42.fsf@gnu.org> Date: Mon, 26 Jul 2021 19:02:03 -0700 In-Reply-To: <83o8aovr42.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 26 Jul 2021 21:59:09 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -8.0 (--------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -9.0 (---------) Eli Zaretskii writes: It's not returning the position be 'H', it's returning a point 3 positions further back >> From: "T.V Raman" >> Cc: 49742@debbugs.gnu.org >> Date: Mon, 26 Jul 2021 10:19:13 -0700 >>=20 >> Eli Zaretskii writes: >>=20 >>=20 >> See below for the results you ask. It does not explain itself because >> property 'face is nil at positions 30 and 29. > > Yes, it's nil. So that is the last position before 'H' where the > value of the 'face' property changes -- from transient-inactive-value > to nil. Which is why the function returns that position. > > If this still doesn't explain the results, please tell what is missing > from the explanation. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8 From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2021 02:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "T.V Raman" Cc: 49742@debbugs.gnu.org Received: via spool by 49742-submit@debbugs.gnu.org id=B49742.162735305630090 (code B ref 49742); Tue, 27 Jul 2021 02:31:02 +0000 Received: (at 49742) by debbugs.gnu.org; 27 Jul 2021 02:30:56 +0000 Received: from localhost ([127.0.0.1]:51897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8Crw-0007pG-GE for submit@debbugs.gnu.org; Mon, 26 Jul 2021 22:30:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8Crs-0007p0-1q for 49742@debbugs.gnu.org; Mon, 26 Jul 2021 22:30:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34948) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8Crm-0002Z3-7a; Mon, 26 Jul 2021 22:30:46 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3676 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8Crl-0004JY-Qo; Mon, 26 Jul 2021 22:30:46 -0400 Date: Tue, 27 Jul 2021 05:30:39 +0300 Message-Id: <83czr4v67k.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (raman@google.com) References: <83sg01ujgq.fsf@gnu.org> <83o8aovr42.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "T.V Raman" > Cc: 49742@debbugs.gnu.org > Date: Mon, 26 Jul 2021 19:02:03 -0700 > > Eli Zaretskii writes: > > It's not returning the position be 'H', it's returning a point 3 > positions further back Yes, that's what I meant. If you still think it is incorrect, could you please explain why you think that result is incorrect? From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2021 03:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 49742@debbugs.gnu.org Received: via spool by 49742-submit@debbugs.gnu.org id=B49742.16273552011143 (code B ref 49742); Tue, 27 Jul 2021 03:07:01 +0000 Received: (at 49742) by debbugs.gnu.org; 27 Jul 2021 03:06:41 +0000 Received: from localhost ([127.0.0.1]:51997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8DQW-0000IN-Te for submit@debbugs.gnu.org; Mon, 26 Jul 2021 23:06:41 -0400 Received: from mail-pl1-f177.google.com ([209.85.214.177]:45640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8DQV-0000IB-Ex for 49742@debbugs.gnu.org; Mon, 26 Jul 2021 23:06:40 -0400 Received: by mail-pl1-f177.google.com with SMTP id k1so14025886plt.12 for <49742@debbugs.gnu.org>; Mon, 26 Jul 2021 20:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=aAYIUlcRzb90p9Tfbgn+oAnTN2ORWt0avoFcQT34QjQ=; b=b0h3nCHN/N+Aaugd3ik+qgUAHzWL7OgsusRC/XAZnEh2P0C1va+AIesPbOr4JAiDWa cRMt6OoWTyo6EWjYSaAp7meBl581qmVxRwqOCNtfu7uP7jt1jn5K36jlM6XOioAP2xK7 8mNPIkYsRoy2zv7VX0Fj0ojh9WtZGrJSVtKWf7uzt/SBfgGFff3Qx/03j69ZFX2Q4esb qWZX3YWXkEl6nHsxlXba+b6FESDUYROC9fGADtj9SzqR7+421n7YW77c7VYS419yq8YD tHhYhybVW5YK5ZjOWYh1QpEv/OZdwNNTFHdWzzFp737cdy0Zu9VHHoB0vu1cmhknXAuH 6bog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=aAYIUlcRzb90p9Tfbgn+oAnTN2ORWt0avoFcQT34QjQ=; b=gRBfNDIuRCjyGWFmVsjtmlSAAhecC+1rg2xuGboCjFA+SGua+odc7HwUA7lImJYyTC RtCZd12qjBJhhhKcBoOurH/w9inW8/3VYnt4sG9BZhygukxOvvchp4FBhsh5XBYWadtE p9YZGUVPAEXWbfUtmrsQI8+91/Kh+zA1PrsqBf1mMCYcdSORqwIZY3/K+n40puurBiKN zOeTM2PQS8gmCABK7o+xikoSRTLT/R3QletalkQVbccfia2j9B1TfCT26fIUqxOCFp8X eCEVvf4qz+DtRSZRY8RgSS+sQ0X6hr7uKSsWNXqukC/mWPAcwOd/WISY4ccLFk5P4HYu G1BQ== X-Gm-Message-State: AOAM533tn3rOyNPyvora1tbP+nAke/KjbCWTOG6nA1bFdNL23tE/qmmp BNbQlZp3/klLq3AEjiTwvxzGz9dNrExAQZ1D X-Google-Smtp-Source: ABdhPJx26R2AcXoesw1R9BfOxUQ4cwrq5C4CQ6ffO2LrDpjDRY21JtQnYe18hwQcXWEVCP9Q8ny3vw== X-Received: by 2002:a05:6a00:704:b029:39e:3043:ec64 with SMTP id 4-20020a056a000704b029039e3043ec64mr3816405pfl.68.1627355192972; Mon, 26 Jul 2021 20:06:32 -0700 (PDT) Received: from raman-glaptop (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id k198sm1471434pfd.148.2021.07.26.20.06.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 20:06:32 -0700 (PDT) From: "T.V Raman" References: <83sg01ujgq.fsf@gnu.org> <83o8aovr42.fsf@gnu.org> <83czr4v67k.fsf@gnu.org> Date: Mon, 26 Jul 2021 20:06:31 -0700 In-Reply-To: <83czr4v67k.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 27 Jul 2021 05:30:39 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -8.0 (--------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -9.0 (---------) Eli Zaretskii writes: I believe value returned should be point before the 'H', ie the newline where property face is nil. >> From: "T.V Raman" >> Cc: 49742@debbugs.gnu.org >> Date: Mon, 26 Jul 2021 19:02:03 -0700 >>=20 >> Eli Zaretskii writes: >>=20 >> It's not returning the position be 'H', it's returning a point 3 >> positions further back > > Yes, that's what I meant. If you still think it is incorrect, could > you please explain why you think that result is incorrect? --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8 From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2021 04:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "T.V Raman" Cc: 49742@debbugs.gnu.org Received: via spool by 49742-submit@debbugs.gnu.org id=B49742.16273598528234 (code B ref 49742); Tue, 27 Jul 2021 04:25:02 +0000 Received: (at 49742) by debbugs.gnu.org; 27 Jul 2021 04:24:12 +0000 Received: from localhost ([127.0.0.1]:52046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8EdX-00028k-W0 for submit@debbugs.gnu.org; Tue, 27 Jul 2021 00:24:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8EdW-00028X-8i for 49742@debbugs.gnu.org; Tue, 27 Jul 2021 00:24:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37204) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8EdR-0002nW-2J; Tue, 27 Jul 2021 00:24:05 -0400 Received: from [2a02:14f:81:fff5::1] (port=59608) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8EdO-00014A-6L; Tue, 27 Jul 2021 00:24:04 -0400 Date: Tue, 27 Jul 2021 07:23:59 +0300 User-Agent: K-9 Mail for Android In-Reply-To: References: <83sg01ujgq.fsf@gnu.org> <83o8aovr42.fsf@gnu.org> <83czr4v67k.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Autocrypt: addr=eliz@gnu.org; keydata= mQENBF+pf4UBCAC6vjkWLSAsQpe8YIGKLQzNOJx/IjGtCdFF8uzmO5jmME+SD8ROuJN+t5KXVw58 uzu75EFD0vHTY9e+udJ2gkpuy0NnzkFcbumdLLo2ERKCoSctZZRhzKXI5z5cHxCqW0B2ygHRrRLt oNlGID7bAgcgSViT1ptGqTXO7zGVu4Airok7dNzcPtHgns8GlR5YAFX0TvE6oGd0l2VPghNeVJKJ OjrbfhoDxl3ucFpqbqMH8z9HTLDOFpz8UaYYUdJMi3xX6vwTZxI2sM2RRVLUpZyllAkSMI4lln1O OgazM/62DJUs/rKIHKBnF6h3/qsJUjUYXaAHbrXY26mWllAd536lABEBAAG0I0VsaSBaYXJldHNr aWkgKGVsaXopIDxlbGl6QGdudS5vcmc+iQE4BBMBAgAiBQJfqX+FAhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgAAKCRCRwSYvAeuNOYUQB/4/iIKKOG45ijNaRoTvmJJZMvj1S07WQxEm7c5SHEeE QbLOAxB9vESOV7sLueuN3oqEndtzyYt4x1WTSBmHFF7h5fcCMjBs41siOIp5Sj/xD0Bvaa0IKGCR SZ7PAo8Mq3wgajXpTpn9vxE2PmtzA8KdEE0K1+f9pVAfOpUIcCl44rIxLUW352XG0y7iz6c/O6LB 1deOKMiKFctKO7pBti1dJEm1ImewLH3H8uTbwspLOs3EB8xhsESxmTidnze68HX2jt+2EeMgCdki NU+LWbexQZPfIS7+ZmE06ll0v6+Jy7ZdTkCCRypKWTnW7pIFsq/p4kybV8O/kHSV6B4vvQBfuQEN BF+pf4UBCACvFrdx/m22lgObypSmSS4TNlNvQnMUorrMmp0U32hv5adt6CKXeMjk05F+GcIfVMrp xqMBn4sEUIXWhhogQJa9ZbWEP/HbS8XjMMbz0Q0Siaty9+DSspK/9u2GWKsz3uQzLCexIJtzmXvj AVmvoMCAU/F2t038ggygjYLRgyLRNLgbbartu2dMkvrfxRjheip60S4S3utOcwUf/qdoa1grNann CFluHr/ftXCeeuGB4H8iO0BXWNby6NZPizxJttx9gdcH8/OmDOJkXyRMTT/3sSem76CSOjfXcz7s aJlg680NQhG5TmuYERjJD4+U02K5RuqTsEnOuWeFy4p+/mslABEBAAGJAR8EGAECAAkFAl+pf4UC GwwACgkQkcEmLwHrjTno7Af/a1XoLHxAUkS43nmF8iazn3ZnuwWKWLEAsNrxk56yUxhUPRzNs0/f sABDQR1o0DyTqbScKOcOMSG2YMCctLiDd7FdfMWwkUsV9GUpPBiRtD60Ewmn9sbNJKrEoZ5L6sqO UEslJRVABu5taOzVIRfeUPPaMRjvCcr0d+epKjW81J9Aqj8SskuNkHwvHchTYFYVT22aemjjZ1MG OUm7QiybWQgYL6aSPV2gR+NQQ7pEhOBoEi6GLEiBkoYOIXvmxsqQLBrUPbsJq8lItYEaw4HGt8Ba PxtK2yZ9mSqC2xhWYr1j1YAIHffzubC0jxc5znXERsRANoJOwNUXmiddD7UM9A== From: Eli Zaretskii Message-ID: <3B1A26D4-0713-43F6-B39D-DA8B191397A3@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On July 27, 2021 6:06:31 AM GMT+03:00, "T=2EV Raman" w= rote: > Eli Zaretskii writes: >=20 > I believe value returned should be point before the 'H', ie the > newline > where property face is nil=2E No, because this function scans back from POSITION, and that is the positi= on between the newline and 'H' in your case, because that's where point is= =2E So the function must return a position before that=2E From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2021 14:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: eliz@gnu.org Cc: 49742@debbugs.gnu.org, raman@google.com Received: via spool by 49742-submit@debbugs.gnu.org id=B49742.162739741228426 (code B ref 49742); Tue, 27 Jul 2021 14:51:02 +0000 Received: (at 49742) by debbugs.gnu.org; 27 Jul 2021 14:50:12 +0000 Received: from localhost ([127.0.0.1]:53515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8OPM-0007OQ-0r for submit@debbugs.gnu.org; Tue, 27 Jul 2021 10:50:12 -0400 Received: from mail-pl1-f174.google.com ([209.85.214.174]:39825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8OPK-0007O6-0c for 49742@debbugs.gnu.org; Tue, 27 Jul 2021 10:50:10 -0400 Received: by mail-pl1-f174.google.com with SMTP id e5so14074672pld.6 for <49742@debbugs.gnu.org>; Tue, 27 Jul 2021 07:50:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=2IwmwOzs3anK2SSloFD83/IRIKsGL6s04EfMG53UGuw=; b=UyQ8a0GnOgIGsle1+llUie4mnVCW8fRyTo6ePylQ/RVsjXz07QGRNnZfls8lYGezPi FI2YmdU/3faCthe/sPDCjQ5d7wGiHBRGdkr3ry0jnCM2LJ41mDKxSDqIVEWqx7MbOw/w 3QW+YRuuTFXK6O7WQ0kB+kG5l2g16Cwln7PKC/kAC2SHGM/AyQRPC8wh5t/JmHB1MnWy UWxO9mqRNEcTACOit+qHdgbLEX451QMobROje4o+FjvoCYqfjAEESMY2YLSqbkKZFDAl icIQdBhAi5DWOY8vp90e7Y+Ihp8bR6o3lE4Zo26j/WKwbRWBYxqubO94UInx0p89CynI 6kgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=2IwmwOzs3anK2SSloFD83/IRIKsGL6s04EfMG53UGuw=; b=jNLhXbQlajwQIWZdVDPPDkU75wlRIEZAReZkBTWmTJvV5MFNGmMLY78ZR2c+HUTB42 6cLBhfMyJEk1l8wd9iIZrzyknjU2e5gnqXrNBahAK3fnPnoDWpy/wc1DJHscFAw8QIe5 L1mF8QXO1aSvfct6ssVgsLn3fuvZMx556WHR/BYg0cY7fhq5O1I3YE4fPgGkL94E89Ve NT6/CNcA+QsoNRUGGxXHR6LEubD83QXd+XUCToEaUTqk/IasN/EhSiabRBgrnuiFMPvq 2+CQoerQFRdFp0F8NUJjv+rTQNn5aDUGHdH8KcPUlxt5M6iCaHYIrgP0ze7cMTlEMOuJ VZlw== X-Gm-Message-State: AOAM530Q4+kkg3EBGMqd0Ix3yGNAjNjoWgoADI8j97Z0pzybFwsfpyID dM7oTcaywExCpIXd+UMezBEUJVyaFfuSCA== X-Google-Smtp-Source: ABdhPJy7C0thIkOUgzN/xxThvzMyr5GCcrQqMtqc8vasykQ8axPr9ikcs0ENGaAjh5uT7KOPyGpJ4Q== X-Received: by 2002:a65:498a:: with SMTP id r10mr24170112pgs.7.1627397403523; Tue, 27 Jul 2021 07:50:03 -0700 (PDT) Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:9eb1:3413:67db:dabe]) by smtp.gmail.com with ESMTPSA id m6sm3870564pfc.151.2021.07.27.07.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 07:50:02 -0700 (PDT) From: "T.V Raman" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <24832.7449.666216.789491@retriever.mtv.corp.google.com> Date: Tue, 27 Jul 2021 07:50:01 -0700 In-Reply-To: <3B1A26D4-0713-43F6-B39D-DA8B191397A3@gnu.org> References: <83sg01ujgq.fsf@gnu.org> <83o8aovr42.fsf@gnu.org> <83czr4v67k.fsf@gnu.org> <3B1A26D4-0713-43F6-B39D-DA8B191397A3@gnu.org> X-Mailer: VM 8.1.1 under 28.0.50 (x86_64-pc-linux-gnu) X-Spam-Score: -8.1 (--------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -9.1 (---------) we're talking across one another, point is on 'H' with face 'transient-heading. previous-single-property-change should return 1 < (point) since the face property there is nil; instead it's returning a value that is further back. Eli Zaretskii writes: > On July 27, 2021 6:06:31 AM GMT+03:00, "T.V Raman" wrote: > > Eli Zaretskii writes: > >=20 > > I believe value returned should be point before the 'H', ie the > > newline > > where property face is nil. >=20 > No, because this function scans back from POSITION, and that is the = position between the newline and 'H' in your case, because that's where= point is. So the function must return a position before that. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2021 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 49742@debbugs.gnu.org Cc: eliz@gnu.org, raman@google.com X-Debbugs-Original-To: "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 49742@debbugs.gnu.org, eliz@gnu.org, "T.V Raman" Received: via spool by submit@debbugs.gnu.org id=B.162739944931612 (code B ref -1); Tue, 27 Jul 2021 15:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2021 15:24:09 +0000 Received: from localhost ([127.0.0.1]:53547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8OwC-0008Do-R6 for submit@debbugs.gnu.org; Tue, 27 Jul 2021 11:24:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:57252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8Ow9-0008Db-1X for submit@debbugs.gnu.org; Tue, 27 Jul 2021 11:24:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8Ow8-0000q0-QB for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2021 11:24:04 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:55902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8Ow6-0001gI-Dm; Tue, 27 Jul 2021 11:24:04 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4GZ0v147YDz1qwdP; Tue, 27 Jul 2021 17:23:57 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4GZ0v11m1Zz1qrxt; Tue, 27 Jul 2021 17:23:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 1GTpVi7oM8Ye; Tue, 27 Jul 2021 17:23:56 +0200 (CEST) X-Auth-Info: pBQ2f+X3Ebcr3bIouscebJa3o2x92NQ9Yd6YNFH4N1Z+h1trLg6lqBcbJT5u9vMI Received: from igel.home (ppp-46-244-191-24.dynamic.mnet-online.de [46.244.191.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 27 Jul 2021 17:23:56 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id CD03A2C2712; Tue, 27 Jul 2021 17:23:55 +0200 (CEST) From: Andreas Schwab References: <83sg01ujgq.fsf@gnu.org> <83o8aovr42.fsf@gnu.org> <83czr4v67k.fsf@gnu.org> <3B1A26D4-0713-43F6-B39D-DA8B191397A3@gnu.org> <24832.7449.666216.789491@retriever.mtv.corp.google.com> X-Yow: .. I think I'd better go back to my DESK and toy with a few common MISAPPREHENSIONS... Date: Tue, 27 Jul 2021 17:23:55 +0200 In-Reply-To: <24832.7449.666216.789491@retriever.mtv.corp.google.com> (T. V. Raman's message of "Tue, 27 Jul 2021 07:50:01 -0700") Message-ID: <87a6m73hmc.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=212.18.0.9; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) previous-single-property-change starts with the property value on the character preceding position, and returns a position so that the property value on the preceding character is different. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2021 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: schwab@linux-m68k.org Cc: 49742@debbugs.gnu.org, eliz@gnu.org, raman@google.com X-Debbugs-Original-Cc: 49742@debbugs.gnu.org, bug-gnu-emacs@gnu.org, eliz@gnu.org, raman@google.com Received: via spool by submit@debbugs.gnu.org id=B.16274004589146 (code B ref -1); Tue, 27 Jul 2021 15:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2021 15:40:58 +0000 Received: from localhost ([127.0.0.1]:53584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8PCU-0002NR-6K for submit@debbugs.gnu.org; Tue, 27 Jul 2021 11:40:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:46698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8PCR-0002NJ-5e for submit@debbugs.gnu.org; Tue, 27 Jul 2021 11:40:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8PCQ-0005JR-Sj for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2021 11:40:54 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:41953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8PCO-0005jN-Oh for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2021 11:40:54 -0400 Received: by mail-pj1-x1031.google.com with SMTP id q17-20020a17090a2e11b02901757deaf2c8so5462963pjd.0 for ; Tue, 27 Jul 2021 08:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=tmJ2X7aJ8dL7mYOgcKoNw0w4YTpG/ebvMDKC075NxHo=; b=WZiduxS9+NxSCq0MImiGU5ku6MHEDP4edHLjU3+Ke29fVoQUM20Q27gEzCwTJJCvfr uZEebRBs/wzhiTTEpulXaqHRWwhDC+KOg8wbSXE+RGrLqXgC9NIkZd6MqvY2Cc22Vwgc nL/Y8r8vXnckEKgh5qSRNN3+RwEPZfi4ysmzQ3VCov0aDwCVVz8VxegHb4k5yZWz7KxR vSE4y5Q1iQTL18WhdgH/JyTSpNVNO+/K+ACqAlXAvZXFl+mtXTP7D6VQm9Zg/5X4ubXZ 7KD3OE83qcU4VHLMWG35aJ3VaBOOUV4asz6ugewXTn7WReOP+3K+s3Jnbh+5WWDUZuw9 Em6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=tmJ2X7aJ8dL7mYOgcKoNw0w4YTpG/ebvMDKC075NxHo=; b=Z/7V99H/SIjLpuWWrxUhCDCoqA/aAjo6NFvxJperHtU4RbxZodb5dXx7+i75Hw5mZK bwn2VZDDRodfXxjzYuvweY1y7t4ovBD/lgGcZaifbq1Vm/nhoqG8Qv5w/iAp5acnggX4 aFPuqN/Q8+MJiJcXqVHu5TpFPrvps3o8hRQJ91uS96uf2iZpMMN4QllMHghidhS4xMjU YlP9jnqnrm4TkyhUW+RcfEeU5EhNcVp7alUfTPeLlqo61dRN27JVdSfeR948FQwCdj1w Z7wIlmk9H8+PZraH1ZX+j3Gp7sB9EIH0RZt8+jnyOUbjyIkEnrstHBCbMBzcifNcRj32 N7Fw== X-Gm-Message-State: AOAM53289VQqDsnzYhnYnIyKwp3QDauvyNM9lM1kjfIcQFJtEJ0Jrms7 Ao9eooE8LAAEcUW0d7fhY+TGqg== X-Google-Smtp-Source: ABdhPJyc2Gk3Ka0OGek8TfU18rHkKPQxjT+Lr7iR7ygOLFCG0L+jSooWHyWeiM6CQLZ2bR6A0bfvdA== X-Received: by 2002:a17:902:e551:b029:12b:7e4c:b34 with SMTP id n17-20020a170902e551b029012b7e4c0b34mr18971124plf.43.1627400450656; Tue, 27 Jul 2021 08:40:50 -0700 (PDT) Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:9eb1:3413:67db:dabe]) by smtp.gmail.com with ESMTPSA id i12sm3308148pjj.9.2021.07.27.08.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 08:40:49 -0700 (PDT) From: "T.V Raman" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <24832.10496.746387.309520@retriever.mtv.corp.google.com> Date: Tue, 27 Jul 2021 08:40:48 -0700 In-Reply-To: <87a6m73hmc.fsf@igel.home> References: <83sg01ujgq.fsf@gnu.org> <83o8aovr42.fsf@gnu.org> <83czr4v67k.fsf@gnu.org> <3B1A26D4-0713-43F6-B39D-DA8B191397A3@gnu.org> <24832.7449.666216.789491@retriever.mtv.corp.google.com> <87a6m73hmc.fsf@igel.home> X-Mailer: VM 8.1.1 under 28.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=raman@google.com; helo=mail-pj1-x1031.google.com X-Spam_score_int: -179 X-Spam_score: -18.0 X-Spam_bar: ------------------ X-Spam_report: (-18.0 / 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, NICE_REPLY_A=-0.438, 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-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) That now all makes sense, Thanks Andreas for the explanation! This also means that if you want to find the range of characters having the same face, then it's a mess if you'r eon the first character of that range --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2021 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 49742@debbugs.gnu.org Cc: eliz@gnu.org, schwab@linux-m68k.org, raman@google.com X-Debbugs-Original-To: "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 49742@debbugs.gnu.org, eliz@gnu.org, schwab@linux-m68k.org, "T.V Raman" Received: via spool by submit@debbugs.gnu.org id=B.16274008009963 (code B ref -1); Tue, 27 Jul 2021 15:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2021 15:46:40 +0000 Received: from localhost ([127.0.0.1]:53652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8PI0-0002aY-F5 for submit@debbugs.gnu.org; Tue, 27 Jul 2021 11:46:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:57538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8PHw-0002aL-PY for submit@debbugs.gnu.org; Tue, 27 Jul 2021 11:46:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8PHu-0004dX-G5 for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2021 11:46:36 -0400 Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:57334) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8PHr-0001nV-3A; Tue, 27 Jul 2021 11:46:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hEEr4LFDHVIZZ93kQroKv3ycicFD7XNqDhg6oj7WEOQ=; b=ZeEfMJrdy8H3fd80c00RpHCM6n bBfQyTP/960mIwHbemeX7TZTImD7XP07MjVy20Nxi72BtMJxHJZU1nd4tC4TxB3WAzJf3B+YttNVU A2OXoIDW5pu7qBY+HbCKKw8le4svROlAJweCQIXjfcWk719kPU3u3TWk6GyaDLbv0SkM=; Received: from 2.149.45.105.tmi.telenormobil.no ([2.149.45.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8PHh-00027z-NM; Tue, 27 Jul 2021 17:46:24 +0200 From: Lars Ingebrigtsen References: <83sg01ujgq.fsf@gnu.org> <83o8aovr42.fsf@gnu.org> <83czr4v67k.fsf@gnu.org> <3B1A26D4-0713-43F6-B39D-DA8B191397A3@gnu.org> <24832.7449.666216.789491@retriever.mtv.corp.google.com> <87a6m73hmc.fsf@igel.home> <24832.10496.746387.309520@retriever.mtv.corp.google.com> Date: Tue, 27 Jul 2021 17:46:20 +0200 In-Reply-To: <24832.10496.746387.309520@retriever.mtv.corp.google.com> (T. V. Raman's message of "Tue, 27 Jul 2021 08:40:48 -0700") Message-ID: <87k0lbdak3.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > This also means that if you want to find the range of characters > having the same face, then it's a mess if you'r eon the first > character of that range Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > This also means that if you want to find the range of characters > having the same face, then it's a mess if you'r eon the first > character of that range Yup. Consider using (text-property-search-forward 'face) instead. But as there is no bug here, I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 11:46:08 2021 Received: (at control) by debbugs.gnu.org; 27 Jul 2021 15:46:08 +0000 Received: from localhost ([127.0.0.1]:53638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8PHU-0002Z4-IV for submit@debbugs.gnu.org; Tue, 27 Jul 2021 11:46:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8PHS-0002Xo-N3 for control@debbugs.gnu.org; Tue, 27 Jul 2021 11:46:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2mUWxqKKaUQ1n0P/5HXxJRGVRW5sHFbRi4L29oX4D3E=; b=uuWoyr8wi/J3WUNBRVOo6slZCt t4joUokLtgmfCREGBVr+xvluLRw6rUbtb2aRQbOS+BVtQyvt3xeho5Jo7u3zXI66m5U1Z26QXU1I3 xDIVdVisTfYq0NH3uaYxpDjTpeUSydrfdiSAFZ6yiLPxUx/csDL1YQhS3SczE8tL9N8s=; Received: from 2.149.45.105.tmi.telenormobil.no ([2.149.45.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8PHK-00027g-HE for control@debbugs.gnu.org; Tue, 27 Jul 2021 17:46:00 +0200 Date: Tue, 27 Jul 2021 17:45:56 +0200 Message-Id: <87lf5rdakr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49742 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 49742 notabug close 49742 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 49742 notabug close 49742 quit From unknown Sun Jun 22 11:48:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong? Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2021 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: larsi@gnus.org Cc: 49742@debbugs.gnu.org, schwab@linux-m68k.org, eliz@gnu.org, raman@google.com X-Debbugs-Original-Cc: 49742@debbugs.gnu.org, bug-gnu-emacs@gnu.org, schwab@linux-m68k.org, eliz@gnu.org, raman@google.com Received: via spool by submit@debbugs.gnu.org id=B.162740176119665 (code B ref -1); Tue, 27 Jul 2021 16:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2021 16:02:41 +0000 Received: from localhost ([127.0.0.1]:53675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8PXV-00056r-2F for submit@debbugs.gnu.org; Tue, 27 Jul 2021 12:02:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:51300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8PXP-00053B-KZ for submit@debbugs.gnu.org; Tue, 27 Jul 2021 12:02:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8PXN-0003gc-Nc for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2021 12:02:33 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:46947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8PXL-0004l3-Rg for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2021 12:02:33 -0400 Received: by mail-pl1-x634.google.com with SMTP id t21so16151322plr.13 for ; Tue, 27 Jul 2021 09:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=5x1cUj89qLNOJSH93A00OG5+Xfabq5lCcIM3s5j6VNY=; b=OBpia8PhQEJ/QRPSZ2c8UdWPgpddRF5KNyNyJMaSaEBcu4+HILcSBX+M3TJQ2cErNY q1Vpvh5Wjq3C493CxfTcSs2uM0Hib6agplKRdExF1HIjfrv4FHmDmh1msjY1MhPGYNBQ U7KpiHuydVFL4ISnSw4rW/uCMl6j8rF6UdUt7cdakqCzy1sYEzDIdC5ZlG2GczJtKsjk v9+A8xSz20JVjKzrd1NnKeRNOrhZs1062dhDu3UD4mg4LAXRDF5bL27LCnMjUBZv6IUe 2f07HDgi/w85wJSlayWijg5s2X56oktyTeIs5MIwgQd14OTRl+4TgkUHcF9pgOj2VGOO t7BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=5x1cUj89qLNOJSH93A00OG5+Xfabq5lCcIM3s5j6VNY=; b=YUcBpJw4M3k4nagKI61q/wEXy24FPsTnuEeMXfDrsOrcA47kgWqLaWWxQc/uPtRURX t6s8dGH9Y2aiSgwdKDPyfECdTqwJAAxcqN4MnKhAjSFscVpdKGU4gfHQPm9d2VbO+rVx FP3Vf4VppPEG9417YlYFVudmiyfUoeU7w8p/dHanncMUNDNAq8HjqTJsYEv6a5V1FmxH dB58SpGY+LaUArUgBsQKTS/VfotQ7yZS6eYp0b+po1b8/6vTNgB9M+FCEoAhf33/jYlq E7gakAgyYIeIXaeWBhghKV+VRuUPqvYAR3oZ37gY+2LpxvLFghcV2krgWE6WEHqdNYZi sbgQ== X-Gm-Message-State: AOAM532hPiGsTpNiW1k2KEwzhhYcS2KzVnL21aO8s4qQ+r1o0KJ4NW4C M3kV1Y5mGRxAKeC88q82qoBiPA== X-Google-Smtp-Source: ABdhPJyXOR6vrQOuWEIL4A0DNx3/V4ls5mGPyFIBPbUIOs7XU+RC1rUhaTZxja+1IMBuT4m5pasCjw== X-Received: by 2002:a65:42c3:: with SMTP id l3mr24015348pgp.377.1627401747459; Tue, 27 Jul 2021 09:02:27 -0700 (PDT) Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:9eb1:3413:67db:dabe]) by smtp.gmail.com with ESMTPSA id d2sm3258642pjd.24.2021.07.27.09.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 09:02:26 -0700 (PDT) From: "T.V Raman" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <24832.11793.600106.766605@retriever.mtv.corp.google.com> Date: Tue, 27 Jul 2021 09:02:25 -0700 In-Reply-To: <87k0lbdak3.fsf@gnus.org> References: <83sg01ujgq.fsf@gnu.org> <83o8aovr42.fsf@gnu.org> <83czr4v67k.fsf@gnu.org> <3B1A26D4-0713-43F6-B39D-DA8B191397A3@gnu.org> <24832.7449.666216.789491@retriever.mtv.corp.google.com> <87a6m73hmc.fsf@igel.home> <24832.10496.746387.309520@retriever.mtv.corp.google.com> <87k0lbdak3.fsf@gnus.org> X-Mailer: VM 8.1.1 under 28.0.50 (x86_64-pc-linux-gnu) 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: -179 X-Spam_score: -18.0 X-Spam_bar: ------------------ X-Spam_report: (-18.0 / 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, NICE_REPLY_A=-0.438, 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-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) SG -- thanks Lars, and I only recently discovered text-property-searc-* it's one of those hidden gems. Lars Ingebrigtsen writes: > "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of = text > editors" writes: >=20 > > This also means that if you want to find the range of characters > > having the same face, then it's a mess if you'r eon the first > > character of that range >=20 > Yup. Consider using (text-property-search-forward 'face) instead. >=20 > But as there is no bug here, I'm closing this bug report. >=20 > --=20 > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮