From debbugs-submit-bounces@debbugs.gnu.org Mon May 27 12:28:01 2024 Received: (at submit) by debbugs.gnu.org; 27 May 2024 16:28:01 +0000 Received: from localhost ([127.0.0.1]:45117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBdCY-0006Gs-Qu for submit@debbugs.gnu.org; Mon, 27 May 2024 12:28:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:45816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBZot-0005rB-95 for submit@debbugs.gnu.org; Mon, 27 May 2024 08:51:19 -0400 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 1sBZok-0004rf-AG for bug-gnu-emacs@gnu.org; Mon, 27 May 2024 08:51:10 -0400 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBZoZ-00082n-Hr for bug-gnu-emacs@gnu.org; Mon, 27 May 2024 08:51:09 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 0B77DFF806 for ; Mon, 27 May 2024 12:50:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skyskimmer.net; s=gm1; t=1716814253; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Z347U6MQ6PX3yrsHSpqICsldN3FeaiOl0M3DoUV+G3M=; b=OFUwlQjqS0PMwvesW3Pvze7qw717pQ1u5J+eMfc7vGu16jyBwRMfREEuJgFUTXCD3wnpT7 66yFpHrDaLOOZ5HwzQ6GCmv3dd+ctbzi1kxPUuyn0tXYUhzg0O5uyVw5LJERwcsGNzdt2R yRifeag/00zQkTARQw44/fLmx0GidgTrl2Iaziiu/jvO0UTD6vmP9UTMDlsr/U3ZO9mPju VMjAXk6aaBuC52OS+v8Tj2WA0J0VbxtfMhp/x/hMLcp1SLjhRM7NfOWb0oWPt8o+uhTMMr tkaWLnqjUhpwPuzryKC8iUn+LOSmSG6fhWlY3R2ivQWR/aJO3mx6PEKtHpS0Xw== Message-ID: Date: Mon, 27 May 2024 14:50:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: bug-gnu-emacs@gnu.org From: =?UTF-8?Q?Ga=C3=ABtan_Gilbert?= Subject: 29.2; show-paren-context-when-offscreen does not show previous line for OCaml "begin" opener Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: gaetan.gilbert@skyskimmer.net Received-SPF: pass client-ip=2001:4b98:dc4:8::229; envelope-from=gaetan.gilbert@skyskimmer.net; helo=relay9-d.mail.gandi.net 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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 27 May 2024 12:27:58 -0400 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.6 (--) eg if you make a file containing let foo = begin () end scroll so that the begin is hidden and highlight end, show-paren-context-when-offscreen will only show the "begin" line but should also show the "let foo" line. I guess this is because "begin" is not a single character. Can be reproduced in emacs -Q after loading tuareg-opam.el, tuareg-compat.el and tuareg.el from https://github.com/ocaml/tuareg by using tuareg-mode on the above example and setting show-paren-context-when-offscreen to your preferred non-nil value. ------ stuff report-emacs-bug said: In GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-02-27, modified by Debian built on x86-ubc-02 Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/libexec --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-native-compilation --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/libexec --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-native-compilation --with-cairo --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/emacs-29.2+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: fr_FR.UTF-8 value of $LC_TIME: fr_FR.UTF-8 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 show-paren-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tuareg pcase find-file tuareg-compat tuareg-opam derived skeleton flymake-proc flymake project byte-opt compile text-property-search comint ansi-osc ansi-color ring thingatpt cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib smie rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 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 nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 117115 7416) (symbols 48 9114 0) (strings 32 26230 2538) (string-bytes 1 797200) (vectors 16 18127) (vector-slots 8 371815 15174) (floats 8 52 24) (intervals 56 360 0) (buffers 984 15)) -- Gaëtan Gilbert From debbugs-submit-bounces@debbugs.gnu.org Mon May 27 14:02:50 2024 Received: (at 71227) by debbugs.gnu.org; 27 May 2024 18:02:51 +0000 Received: from localhost ([127.0.0.1]:45218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBegM-0000DP-Lh for submit@debbugs.gnu.org; Mon, 27 May 2024 14:02:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBegK-0000DB-Dq for 71227@debbugs.gnu.org; Mon, 27 May 2024 14:02:49 -0400 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 1sBedz-0003WB-57; Mon, 27 May 2024 14:00:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=RflQKJqOc9TThO0DyY8IItCdgvpgU/OTB8Mm3EGMwHk=; b=mPR0zRq9fU1XVG/J7KgU zDcxK2MB9ymX8MsTdbtDLlsQc29GTTv/iuGeXlTnsWAfdG2LBUtxX1m6GkwylSh2Mf2957ntf3ix8 uTSXIbdEzJahrmkIA+PMSraGNesJPe6PzLWtrn0khx2LjFfBpF8gOdAGXE6BZpPODEYkbbPUTZ43q 2ilOdZ4NjGEdYDonrX8BQxRTtdeedQ1sPuSSQmpuN3fbbU1UK9dyYvHPe1Ael4GYLvfC8Ig10JJpH UU8OfO3B9QwauhvK9+kd5YDOOsCLPouteb20t3gDUN4AgcNNxlgn9nFwG4WqtzOHBQXMF3N/WCbhS WgJZG4RqqP4kwQ==; Date: Mon, 27 May 2024 20:59:55 +0300 Message-Id: <865xuzuodg.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Ga=C3=ABtan?= Gilbert In-Reply-To: (message from =?utf-8?Q?Ga=C3=ABtan?= Gilbert on Mon, 27 May 2024 14:50:13 +0200) Subject: Re: bug#71227: 29.2; show-paren-context-when-offscreen does not show previous line for OCaml "begin" opener References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71227 Cc: 71227@debbugs.gnu.org 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, 27 May 2024 14:50:13 +0200 > From: Gaëtan Gilbert > > eg if you make a file containing > > let foo = > begin > > () > > end > > scroll so that the begin is hidden and highlight end, > show-paren-context-when-offscreen will only show the "begin" line but should also show the "let foo" line. > > I guess this is because "begin" is not a single character. > > Can be reproduced in emacs -Q after loading tuareg-opam.el, tuareg-compat.el and tuareg.el from https://github.com/ocaml/tuareg > by using tuareg-mode on the above example and setting show-paren-context-when-offscreen to your preferred non-nil value. Thanks, but shouldn't this problem be reported to the developers of these packages first? Those packages are not part of Emacs and not on ELPA, AFAICT. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 21:17:52 2025 Received: (at 71227-done) by debbugs.gnu.org; 1 Mar 2025 02:17:52 +0000 Received: from localhost ([127.0.0.1]:56084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1toCQJ-0006KS-CE for submit@debbugs.gnu.org; Fri, 28 Feb 2025 21:17:52 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:58744) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1toCQG-0006JQ-Kn for 71227-done@debbugs.gnu.org; Fri, 28 Feb 2025 21:17:49 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5e0b70fb1daso4527150a12.1 for <71227-done@debbugs.gnu.org>; Fri, 28 Feb 2025 18:17:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740795462; x=1741400262; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y4jo2Ebu5K4R/unN9MgiGFuJDP0Wk0rr3EcddJVFG4w=; b=Q8tK4KqFtjnpRz9w+LIRxH5hu/AX1NbYtOuBsIlvJnAP0KRzoJmiI0WlJkRpTqPkQy HBLa0L8PU9stZNkG9/4pvD05gIXCiqJLajX+Wc/WgDAtnJQFBhhq7WCp5cHzRQvyixe/ 3uFVoDJ1Damiip+Rrq8K5jbs4GfXRinrOK5vekfV4mUaHbO3JTr5fRdbWUBDNC6CYX6C yLTbzEYzcGDWCrqDFH+u6IcvYhgvZUQymnIF68blW4mmXPqtU+QnCEcw0vnZodgY9SA5 OrcZkqc3RHdZRm2pdZ3LBA2O8j0w9KpyfbOGGnEVhtcr31KGojVJ4X+iEJyRcJfjrjlC 0xzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740795462; x=1741400262; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Y4jo2Ebu5K4R/unN9MgiGFuJDP0Wk0rr3EcddJVFG4w=; b=BAU3cE6zUGN7zMNRq+rLU9VpJkFpFpXBcXWH4BPW0ifG3cqMJgcPapBc48podoft/d acuFvWZ7a7Y3k5bZWqMdHSa2Y+xMhAck8QW2BEEewlxwoIofu8thvoD1J/JpEA4QzPSh k2yq3mTn1Jt/1Rdfb48gUECylJwbo+tZWPyFnSTN8fIaJQCBwoYhXNIB2Jia1DFmUgoa v/hwgq5fXHXXj3/AfkSnPNkpGbGVG8thQBNE0YUumCkeT6uuDj9/irI+bh1C0dCVgHuM ampY3Sw/S6+rqyx0H65p5sO1bLaTa7PO7HIAGFNOiLZJws1LdKQut8rHFRLcU3TQov/u CXhA== X-Forwarded-Encrypted: i=1; AJvYcCW6hFka8tGhlSSJeac36cY0uRRbOcoSlg1kYma9cWBubRmjVJ96e3JH/klZyuQP5OsSwvdhl8S59H7Z@debbugs.gnu.org X-Gm-Message-State: AOJu0YxsSqG4PKZ/F/dKNi+UbDtlO3rLHXuZfrVyJIc74mmipGVd/HQ0 nMpZV34u23Z4G6BJQI2LE2dm0tnbY5WhQejQtGVWQ7nIt9kBWLpggGMWpOl9EpbecQ6rQ/gdDqD 7aBCnDtCyBYeW0rmnAxzPQKBTJbA= X-Gm-Gg: ASbGnct6wTw0XIeW6KpJTCDODGSitSR0h6wrwUJwXc3v5HE+nVozmEVAF9w9cxLNG2x P4GMKHClcuIj2Qqr3+suJk0RLZTaiUre7rjISLwt/50k4qDhZd/znndX/hh3BIt21WSWpp8OGR0 kPVkpahd9t2JmfEAIgPtPdCumeyvU= X-Google-Smtp-Source: AGHT+IG9jnuQr9PLk/F4nJZrJGHf47HfwymKcs+Mk7IO7sfW+t7y+gndZdlthmOIAgPXE/DtHIf9d37dpSrxBst7EMQ= X-Received: by 2002:a05:6402:2695:b0:5d9:fc81:e197 with SMTP id 4fb4d7f45d1cf-5e4d6ad5f88mr4298666a12.8.1740795462271; Fri, 28 Feb 2025 18:17:42 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 28 Feb 2025 18:17:41 -0800 From: Stefan Kangas In-Reply-To: <865xuzuodg.fsf@gnu.org> References: <865xuzuodg.fsf@gnu.org> MIME-Version: 1.0 Date: Fri, 28 Feb 2025 18:17:41 -0800 X-Gm-Features: AQ5f1JrjY9frhJigw_d50oG_JBcfK7Z2nNC09K4xkkX9bL-MFZmJfN4L2pFcIGc Message-ID: Subject: Re: bug#71227: 29.2; show-paren-context-when-offscreen does not show previous line for OCaml "begin" opener To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71227-done Cc: =?UTF-8?Q?Ga=C3=ABtan_Gilbert?= , 71227-done@debbugs.gnu.org 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: -1.0 (-) Eli Zaretskii writes: >> Date: Mon, 27 May 2024 14:50:13 +0200 >> From: Ga=C3=ABtan Gilbert >> >> eg if you make a file containing >> >> let foo =3D >> begin >> >> () >> >> end >> >> scroll so that the begin is hidden and highlight end, >> show-paren-context-when-offscreen will only show the "begin" line but sh= ould also show the "let foo" line. >> >> I guess this is because "begin" is not a single character. >> >> Can be reproduced in emacs -Q after loading tuareg-opam.el, tuareg-compa= t.el and tuareg.el from https://github.com/ocaml/tuareg >> by using tuareg-mode on the above example and setting show-paren-context= -when-offscreen to your preferred non-nil value. > > Thanks, but shouldn't this problem be reported to the developers of > these packages first? Those packages are not part of Emacs and not on > ELPA, AFAICT. Yes, this is not a bug in Emacs. I'm therefore closing this bug report. From unknown Sun Jul 27 00:54:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 29 Mar 2025 11:24:22 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator