From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Howard Melman Newsgroups: gmane.emacs.bugs Subject: bug#48317: 27.1; text-property-search-forward moves point to end when not found Date: Sun, 9 May 2021 12:41:17 -0400 Message-ID: <0ECAF0D9-7D8C-4BAA-AFFE-B76634BD0B28@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24685"; mail-complaints-to="usenet@ciao.gmane.io" To: 48317@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 09 18:42:22 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 1lfmVa-0006L6-2w for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 18:42:22 +0200 Original-Received: from localhost ([::1]:43322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfmVZ-0007NQ-5l for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 12:42:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfmVJ-0007LP-A3 for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 12:42:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfmVG-0007x9-8L for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 12:42:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfmVG-0001QW-6r for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 12:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 May 2021 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48317 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.16205784935472 (code B ref -1); Sun, 09 May 2021 16:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 May 2021 16:41:33 +0000 Original-Received: from localhost ([127.0.0.1]:56191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfmUm-0001QC-V5 for submit@debbugs.gnu.org; Sun, 09 May 2021 12:41:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfmUk-0001Q6-Ez for submit@debbugs.gnu.org; Sun, 09 May 2021 12:41:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfmUk-0006zo-2x for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 12:41:30 -0400 Original-Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:40821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfmUe-0007UZ-G1 for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 12:41:29 -0400 Original-Received: by mail-qt1-x831.google.com with SMTP id j19so10299440qtp.7 for ; Sun, 09 May 2021 09:41:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=+BEmNY5ANWwjbEi+zvfR5SNQrCSbrT1fN980OYR7+JA=; b=LYl9C57XLBAfhlTxgBJjPzaIehq88V4IjM2iIAgo2PqlOj/XCj8tVubMZBxxlY1tpP AF1M8nIx7z5tLalaxkmDVa83ecute3hiLqv47byUaTi3n/AoFF3c19g/Mvb2ELC+stYw 47qkY7jOHjC9O2DKDczr+XV3Oao9rH21eMpDJUS5BDnrhHUT9lO80fqOndsI5LWi8HFk mlefY+/ua0e1eEU9MV2f73u/bvUYHOh8NZDG7n9XesbqVUL6l2KR1x8HIg/1zqEjI+Rm zksNaRJ7yWX4Xm8Xigmqi+vaE/jv+VGwXe/L1HiB8Z3dLPDhRrBZcV3/OfvXzYB0XoPf owsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=+BEmNY5ANWwjbEi+zvfR5SNQrCSbrT1fN980OYR7+JA=; b=nFORMGyAOvu3qH0lA7XL1RvfbVRRV92p4srXcSBJI/P8zix4VJ6kcRe+f+acdyUstk jR0Pz/hnd91lbUfOyU4Z4KXvgBMM4uuCG/PwEbgsdDo+KmcTgLxhrvCG8Nc26Jd30kVd TweM2epoEiPsUgjoKhFaMw3qlQpbZ1UfdLH4J/17Tev6jV6zxiaK8Bgaoj2c5jb4RTob wscZcmHeX5FJ4U3Pl6HohrGouqpNNqPLkWXuAjwbNyteMQNEH93deA7ErB8w2V6uv+g1 VgjoDaC1sda3JDUmOcmEHIX+SVVKquiFXaGZND5mP/8+7TRjIQKovX7LD0khCatYyAPy Nzkg== X-Gm-Message-State: AOAM532Sc1VQ1R2OhhKQttNNEwKt53hYVCMs9YQ1Z5xSJkMBoLWKAKA0 n9Xl0QvqydByyeTFHYDwmmAjPW4UVIk= X-Google-Smtp-Source: ABdhPJwMWUymg+cMS5npAR1pR5omymx3tkUC8PbVBX0ksvBUvia2PW1Z9AAG5ZCaSAzOLuhFDtuBQA== X-Received: by 2002:ac8:57c5:: with SMTP id w5mr13592100qta.166.1620578479384; Sun, 09 May 2021 09:41:19 -0700 (PDT) Original-Received: from lumet2.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id v66sm9273711qkd.113.2021.05.09.09.41.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 May 2021 09:41:18 -0700 (PDT) X-Mailer: Apple Mail (2.3608.120.23.2.6) Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=hmelman@gmail.com; helo=mail-qt1-x831.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, 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" Xref: news.gmane.io gmane.emacs.bugs:206089 Archived-At: The documentation of function text-property-search-forward says: If not found, return nil and don=E2=80=99t move point. Yet I find it moves point to eob. To reproduce in emacs -Q, with point at beginning of *scratch* buffer = with text in it, eval: (require 'text-property-search) (text-property-search-forward 'facet 'foo) point is moved to end of buffer. I can reporoduce this in GNUS Emacs 27.1 and the macport of 27.2. Howard In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 = Version 10.14.6 (Build 18G95)) of 2020-08-12 built on builder10-14.porkrind.org Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.7 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Entering debugger... Back to top level Entering debugger... Back to top level Type C-x 1 to delete the help window, C-M-v to scroll help. #s(prop-match 54 201 nil) Mark activated read--expression: Command attempted to use minibuffer while in = minibuffer Quit Quit Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra seq byte-opt gv bytecomp byte-compile cconv flyspell ispell text-property-search thingatpt help-fns radix-tree cl-print debug backtrace help-mode easymenu find-func cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 timer select scroll-bar mouse jit-lock font-lock syntax facemenu 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 loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 58535 6154) (symbols 48 6797 1) (strings 32 20507 1782) (string-bytes 1 622865) (vectors 16 11726) (vector-slots 8 142380 15728) (floats 8 34 33) (intervals 56 320 3) (buffers 1000 14))