From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Taka Obsid Newsgroups: gmane.emacs.bugs Subject: bug#74412: 31.0.50; Treesit-outline conflict with outli in Emacs 31 Date: Thu, 21 Nov 2024 09:48:59 +0800 Message-ID: References: <9e9fcc46-e6ca-42e6-bb0e-6770ae65f150@gmail.com> <87h683jdsr.fsf@mail.linkov.net> <23466bfc-9ec0-498d-a39a-5e2d5749808a@gmail.com> <87o72a2x6p.fsf@mail.linkov.net> <037e3f70-75cf-4ccc-b450-74b1cd0f6aad@gmail.com> <87plmpwyq5.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29622"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 74412@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 21 02:52:22 2024 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 1tDwMo-0007Ym-63 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Nov 2024 02:52:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDwLY-0006G1-7m; Wed, 20 Nov 2024 20:51:04 -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 1tDwLX-00064i-5r for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 20:51:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDwLW-0005Eq-Sb for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 20:51:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=gftnKuqJHVQ8RdGlmIgwDj5Q4MZfKQ4HqFfVsA17YNk=; b=PLQqe6YopRxzuT6AUMSp+SJiAgXIhmL+0OrslMDnFLJdtmpGS+9Km7fYYeaB1q8hY0k1+0XL8LORNza9iOlnU5JtNIehvl8vlwgVfdboY2ulQa6QA/SuhkJieJWdpDcAa3f/YEJhOEbSL1KZNHmZb2gQ+mZHM6wnRed2Tf8TxHSmcp2td+yxsysr+C6vWBA8XOwhWKxxt672CHXmGo73f1+kdmLLQ14/HQiEEmk3FVCD33Xs34qx7d7Q1IS1i8pTSyHVvvBLdpzAWpZqd+fF6HHtKeIUhpZrEXByWB/jXebu/g76qs4zMang41rRvADw4eAo3NeKxVNANbYcUtZVzw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDwLW-0004VH-GJ for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 20:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Taka Obsid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Nov 2024 01:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74412 X-GNU-PR-Package: emacs Original-Received: via spool by 74412-submit@debbugs.gnu.org id=B74412.173215381717088 (code B ref 74412); Thu, 21 Nov 2024 01:51:02 +0000 Original-Received: (at 74412) by debbugs.gnu.org; 21 Nov 2024 01:50:17 +0000 Original-Received: from localhost ([127.0.0.1]:48498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDwKm-0004RY-Qv for submit@debbugs.gnu.org; Wed, 20 Nov 2024 20:50:17 -0500 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:48294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDwKf-0004O3-Nt for 74412@debbugs.gnu.org; Wed, 20 Nov 2024 20:50:14 -0500 Original-Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4315e9e9642so2819025e9.0 for <74412@debbugs.gnu.org>; Wed, 20 Nov 2024 17:50:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732153744; x=1732758544; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=gftnKuqJHVQ8RdGlmIgwDj5Q4MZfKQ4HqFfVsA17YNk=; b=Omh77yrCXsKupx5oGlz9X1klX9LtLwNDCl8o6EsGpoq3iY7L6Ufn4XtOQlKkMlzuDU DKgDL5nZuW1CVnW3ZSXL5rtqgMoO50LXztocy5fovc3tnXWQDocp0FKQXAfZuYf+sZIG 2OIE2R7gO4r3VF4++J4bJFUjrO2iOHbMjWopfvJ1U8eIhUGPjR4sCiZKb16pyD4/qskv XoTM5c6epY5lFZpnvlH/dFjADg37oWHHNMnoG5h+B1bo6aOSm82OoaltT5lI4tR1PN5+ w5EURXShXYGfwY/+ZQyY6k1vmhu5E/XnouZvjrrEsHeVbXSU33Gaete8TMFQRk9amR28 NshA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732153744; x=1732758544; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=gftnKuqJHVQ8RdGlmIgwDj5Q4MZfKQ4HqFfVsA17YNk=; b=ayXqTazcrYLLu7b/NLcb7pPki6HjF+5fZ4JgpziFtb9fPm52K2tf4gtOZKqy/gLMZ3 bRubvQyv/dk8Kn4RonlLGqE+k0bYyZcso+0L0qkK+Z8E3fbelMRF8//O3MDKs7HS52FE A2R5qE97rJRx4NF0ldeHNqvQgSu/zaQNurvViA3TuAsBSlCdhU2rAuQh2F/IalKCsYh1 Xrh5Z8oTVGWx19H3QA2v+xdxWRtSv2j6l7E2xZ15MpR2P4+SbMy3Ds8KpBFujt59TCxv 1SgglWyx0j2FdMyHSeuwbhR3dWxw05F/FwKTchdW78vPqV/JwjNOi73fThCGdxMa8yJs JSjw== X-Gm-Message-State: AOJu0YwMwT+vSRrokz2HR7QDS6thw8ycV58mfoe4ilXdZPpJsJoa9TtM 05OM886lAVClujWigockLkiMU6ExxWTelXFjRtbParq+HNGBt+Qo X-Google-Smtp-Source: AGHT+IFi6SFLyF5bgrtCNYJg90Pn/2ji31j8dziweys2zpanB4izaxENO/gBoOF+MbTlD+fzWmLIjw== X-Received: by 2002:a05:600c:a01:b0:431:5c17:d575 with SMTP id 5b1f17b1804b1-433489b2157mr42277425e9.11.1732153743653; Wed, 20 Nov 2024 17:49:03 -0800 (PST) Original-Received: from [198.18.0.1] ([185.217.110.129]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45d4c68sm36476815e9.22.2024.11.20.17.49.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Nov 2024 17:49:03 -0800 (PST) In-Reply-To: <87plmpwyq5.fsf@mail.linkov.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295706 Archived-At: You'r right, I repull and rebuild `outli' then it works. Thanks! 在 2024/11/21 02:23, Juri Linkov 写道: >> I commented the line `(register-definition-prefixes "outli" '("outli-"))', >> and load `~/.emacs.d/straight/build/outli/outli.el', >> and the `revert-buffer' works. > Ok, I looked more at the package outli, and now can reproduce the issue, > I get the same backtrace: > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) > #f(compiled-function () #)() > outline-map-region(#f(compiled-function () #) 1 75) > outline--hidden-headings-paths() > outline-revert-buffer-restore-visibility() > #f(compiled-function (f) #)(outline-revert-buffer-restore-visibility) > revert-buffer(t t) > revert-buffer-quick(nil) > funcall-interactively(revert-buffer-quick nil) > command-execute(revert-buffer-quick) > > This error comes after I removed the line > > outline-search-function nil > > from `outli-mode'. Please note that this line was added > quite recently in this commit: > > https://github.com/jdtsmith/outli/commit/1366c230421aa834a9f4c986e31e63aa54e1c70b > > So I'm 100% sure that you are using an old straight version from > (add-to-list 'load-path \"~/.emacs.d/straight/build/outli\") > > Please upgrade the outli straight package to resolve the problem.