From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.bugs Subject: bug#62278: 28.2; Outline in DocTeX mode Date: Sat, 25 Mar 2023 22:35:44 +0100 Message-ID: <86wn34y0nj.fsf@gnu.org> References: <864jqepn0i.fsf@gnu.org> <86355yxsx7.fsf@gnu.org> <5EC720A1-129F-439E-AE98-C7D9E7E8C94C@klein-gallien.org> <0AB85CE9-29C1-41E2-BB75-D4741F4218E3@klein-gallien.org> <864jq8g77m.fsf@gnu.org> <586B4D25-EB57-441E-9E4D-EB3142F7AE9A@klein-gallien.org> Mime-Version: 1.0 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="17049"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62278@debbugs.gnu.org To: Jan Braun Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 25 22:37:21 2023 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 1pgBZh-00047A-0v for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Mar 2023 22:37:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgBZR-00087G-66; Sat, 25 Mar 2023 17:37:05 -0400 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 1pgBZO-00086d-SD for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 17:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgBZO-0004WY-K0 for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 17:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgBZO-0005vl-2e for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 17:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Mar 2023 21:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62278 X-GNU-PR-Package: emacs Original-Received: via spool by 62278-submit@debbugs.gnu.org id=B62278.167978017022736 (code B ref 62278); Sat, 25 Mar 2023 21:37:02 +0000 Original-Received: (at 62278) by debbugs.gnu.org; 25 Mar 2023 21:36:10 +0000 Original-Received: from localhost ([127.0.0.1]:43597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgBYX-0005ud-I0 for submit@debbugs.gnu.org; Sat, 25 Mar 2023 17:36:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgBYV-0005uQ-NY for 62278@debbugs.gnu.org; Sat, 25 Mar 2023 17:36:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgBYO-00049h-S5; Sat, 25 Mar 2023 17:36:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=gLUWYFjTHyHl0dbkmXUUXmYFZS9dXFCmNL//I+i8xgQ=; b=iSgTXVR+KO9S9BiZeHNu MzLuagt11ZRdZZXrBySRlgb6JpFiCEnFdgN7ur+H/XHlqnU8q0shKJ1aGJvmgOJ0Q9PeXizPLtA/1 MA3uW9OO03K6/oFt90ARcbNEE1jto1bFkCKP5mgJW+YlG9PzYV93vEs+zUnBzhYDI+8IPUoZFVanz G4V6q/LT/iRm9YNOVSR2ltHUPTra5PlsLLG92RIRjUYJreh/A+VhZjGcdflbo64lN7U92ZL8Dz4Go eS5OqHGoj9HyEQ26Zc2++4wNGI6gl14FCFe8Yv6AAYO2+1yMI7YXilcp6+yj5k75XwFo5kMKdw4PC YvIBN9Zu46YwOQ==; Original-Received: from p5b326472.dip0.t-ipconnect.de ([91.50.100.114] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgBYN-0006PL-W0; Sat, 25 Mar 2023 17:36:00 -0400 In-Reply-To: <586B4D25-EB57-441E-9E4D-EB3142F7AE9A@klein-gallien.org> (Jan Braun's message of "Sat, 25 Mar 2023 19:00:52 +0100") 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:258629 Archived-At: Jan Braun writes: > When I start Emacs with 'emacs -Q', open the file above, do > 'M-x outline-minor-mode RET' followed by 'C-c @ C-t', this is what I > see: > > Or do you expect something else? > > No, no, this is exactly, what I would like to see and work on.=20=20 > > Unfortunately, I get this result: I see that I missed to say that the exact steps were: =E2=80=A2 Start Emacs with 'emacs -Q' =E2=80=A2 Paste this code into scratch buffer and eval it (it is the same= code as in my last message) (with-eval-after-load "tex-mode" (add-hook 'doctex-mode-hook (lambda () (setq-local latex-outline-regexp (concat "[% \t]*" "\\\\" (regexp-opt (append latex-metasection-list (mapcar #'car latex-section= -alist)) t))) (setq-local outline-regexp latex-outline-regexp)))) =E2=80=A2 Open the .dtx file in my other message =E2=80=A2 Do 'M-x outline-minor-mode RET' =E2=80=A2 Do 'C-c @ C-t' This is with Emacs30 (997a8dbc48). If this doesn't work for you, I'm out of ideas. Best, Arash