From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.help Subject: (match-end 0) returns 1 instead of the actual position Date: Thu, 22 Dec 2022 15:18:49 -0800 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) 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="1706"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 23 00:19:38 2022 Return-path: Envelope-to: geh-help-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 1p8Uqf-0000KQ-4t for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 23 Dec 2022 00:19:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8UqA-0000p2-6t; Thu, 22 Dec 2022 18:19:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8Uq1-0000oG-9S for help-gnu-emacs@gnu.org; Thu, 22 Dec 2022 18:18:57 -0500 Original-Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p8Upx-0004P7-NF for help-gnu-emacs@gnu.org; Thu, 22 Dec 2022 18:18:56 -0500 Original-Received: by mail-pj1-x102e.google.com with SMTP id js3so328369pjb.5 for ; Thu, 22 Dec 2022 15:18:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=2nPgbPhl16LY7Juvt3VSvUe6AX+N1UpldKVHROq3uq0=; b=J5BnjuCE8EgdnNrlBG7vIao/UbxQf2YVZHqddyVHmxGydIkHbFLlbG5nWFPFPgTt9M 1dh8V6a20Vqv2pEodcj9SOtJ3YcXofFlyj9ODCHBf1yDkUn6VsD6G4aOuDmGvxfL/vUW s1759hPx8YXjgnc7E9nNuJXsHtVBPfqSxOsHx0zqz3Ye10GrGmteNK8+rTjtIrRIcdvJ /B38IiGMA4ZbmOaiTTYIqKE5IRrawiE+oo8R6odTvHjAGO5gKMmUoe8FoplEDTe2vu/E G6ovOZ7rtC7qQ5lM7gL6OGUCbeLHqiyJNoW8MvYgTNrBX1F1gYCFGO0ltg/jyz3E/S0N FMGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2nPgbPhl16LY7Juvt3VSvUe6AX+N1UpldKVHROq3uq0=; b=g5btTl4NR0jZZrMkK7KxvbkO8g8GQXuufZklj7/7orawqHGSsRYtzHJisrcLaZ08+I BG8EX6ZNKdE+v5/XW+8j2NhSV3gkp+OJkV1mZWocGrk3ks90jbfxXtmlbzsEHnSSpxPO pUukB2+pT8Roljy+UvQp9xPM+8hVsn0GA5wtnhD/zFeNc40kQo79ladNs8mVD0dYdzH2 lv0UYfCJJolImN84+7GHNHxqmd41iymp237/20hhoJx0cO8PhlEl9WYQz5aPDQz+01w8 hrYUUlTi4NBIs6QXyFinF4whfYCQTSVe3llCURCBeLACNudMqX10/CXsVQ39ZDIS/hzj 1HPw== X-Gm-Message-State: AFqh2kolIMl+siBzlyDI17t14MV9R0wGFrOiVfEzpNcSlhrj9P5jz1Hv 4K/Jxy17GtPDljV3juIWdQQMLL4eM2M= X-Google-Smtp-Source: AMrXdXteNbqUSv4Uxndsa6FwftLGzp1VYzEYgXDkW+Fk3o6M+m/n/W/kn4sY3/UUp2tq/C4XknmIpg== X-Received: by 2002:a17:90a:b112:b0:219:813a:745 with SMTP id z18-20020a17090ab11200b00219813a0745mr8511241pjq.33.1671751131250; Thu, 22 Dec 2022 15:18:51 -0800 (PST) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id x8-20020a17090a788800b00219186abd7csm1126657pjk.16.2022.12.22.15.18.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Dec 2022 15:18:50 -0800 (PST) X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=casouri@gmail.com; helo=mail-pj1-x102e.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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141906 Archived-At: Hi, This doesn=E2=80=99t happen with vanilla Emacs, but I couldn=E2=80=99t = tell which part of my config is causing it. Basically if I run (looking-at "xxx") (match-end 0) It returns 1 instead of the end of xxx after point. Is there any user option that would affect this that I=E2=80=99m not = aware of? I tried bisecting but the issue doesn=E2=80=99t always reproduce. (It = reproduce reliably when I enable all configuration, but not when I = comment out parts of the config=E2=80=A6) Thanks, Yuan=