From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: emacs-27; reliably crashes when wrapping visual lines Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 02:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38757@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157741364812915 (code B ref -1); Fri, 27 Dec 2019 02:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2019 02:27:28 +0000 Received: from localhost ([127.0.0.1]:56373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikfLW-0003M2-7e for submit@debbugs.gnu.org; Thu, 26 Dec 2019 21:27:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:55327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikfLV-0003Lv-3m for submit@debbugs.gnu.org; Thu, 26 Dec 2019 21:27:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52688) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikfLS-0007SV-Es for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 21:27:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikfLP-00006w-UX for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 21:27:18 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:56817) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ikfLP-00006Y-BC for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 21:27:15 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 12C47717 for ; Thu, 26 Dec 2019 21:27:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 26 Dec 2019 21:27:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=W/NVMbMHzT6yKdW8P5SHWHzeZ+LYlAdzyHMUUH9ZoJQ=; b=b1KfaepZ UPzoWbQ1p5fiV/5Lj0uYL9e/TDKMk4Q3liztsvfQNaOOKp6mBxth3seZIlu8RG2d oSUfeWvEKmS7pla09dfQAkfw0R7RYlTHD7AvzFVQd6MIN91nqa60y+pC7PvVf6LY gTEr6qgm0Vz9AOduLkgO9VD1B3hS9Cnq0j8/lIYO9Se+jhTnbAX90QkZREzASZL5 qo+eiuHQ/RWvakEXrlQ69zcghq+uU+3mGWYDkh0iVaYge7zQICgbeFUHgxpVxcsW ++JVLrz2ygwx03b5A4YPINn6AigvRSNFFF9i04wfvddO9pJ4bWxHihC+uocJpoem oE4IfojHUdLjjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=W/NVMbMHzT6yKdW8P5SHWHzeZ+LYl AdzyHMUUH9ZoJQ=; b=M3brT7OjVAgqxHbGigL0XY3haJI40yNT4JAF/AUkZ6TiS 0qzJ1K9uYNx58P0akZcbq2IMtj6XTVPpxKm7sYYt+vsCWtYKsenQsvdNp7pZ4869 whbYzZ9ms9yQgr7ai7Hx7JSDigpb8GlKWe1vm6xLbvgvCjySen5g89On9bCvzzsb whPQ4HUI9IGz3EpXLuQfp9mm6/9VHFL0JY2RxmmXa5tt53lYVSUU2rmnPOjPAfmc OpF/mBhBrpfSAcInjdQVauOKI/HoE5HOomVaL1ZrGGiI/i9MMdv5ooJFTk0el6kO TPmSuc1dciMRI9u102fiYDrmOUdQrFLSjjd+P2zVw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddvjedggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesthdtredttd ertdenucfhrhhomhepfdfrrghulhcuhgdrucftrghnkhhinhdfuceohhgvlhhlohesphgr uhhlfihrrghnkhhinhdrtghomheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpmh gvlhhprgdrohhrghdpsggrtghksghlrgiivggsvddrtghomhdpghhnuhdrohhrghdpghht hhhusgdrtghomhenucfkphepuddvtddrvddvrdefkedrfeeknecurfgrrhgrmhepmhgrih hlfhhrohhmpehhvghllhhosehprghulhifrhgrnhhkihhnrdgtohhmnecuvehluhhsthgv rhfuihiivgeptd X-ME-Proxy: Received: from localhost (unknown [120.22.38.38]) by mail.messagingengine.com (Postfix) with ESMTPA id 013183060783 for ; Thu, 26 Dec 2019 21:27:09 -0500 (EST) User-agent: mu4e 1.2.0; emacs 26.3 From: "Paul W. Rankin" Date: Fri, 27 Dec 2019 12:27:02 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.20 X-Spam-Score: -1.6 (-) 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: -0.3 (/) Emacs 27 when run in console mode (i.e. without NS/X window system) will reliably crash completely when running stable code for minor mode olivetti (included below in full for convenience). This code has been stable since 24.5, and so represents a regression in 27.0, I suspect in the display code. The crash occurs when minor mode is enabled in a buffer with text lines long enough to wrap visually, or enabled in empty buffer within which enough text is then entered to wrap lines visually. I am happy to test fixes applied to the emacs-27 branch. Steps to reproduce: 1. checkout emacs-27 branch and build 2. emacs -nw -Q 3. load-library olivetti (included in full below) 4. olivetti-mode [in buffer with wrapped lines] Expected results: Lines wrap as normal without crash. Stable code for minor mode functions as normal. Actual results: Emacs crashes to console without warning or error message. ;;; olivetti.el --- Minor mode for a nice writing environment -*- lexical-binding: t; -*- ;; Copyright (c) 2014-2019 Free Software Foundation, Inc. ;; Copyright (c) 2019 Paul W. Rankin ;; Author: Paul W. Rankin ;; Keywords: wp, text ;; Version: 1.8.1 ;; Package-Requires: ((emacs "24.5")) ;; URL: https://gthub.com/rnkn/olivetti ;; This file is not part of GNU Emacs. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . ;;; Commentary: ;; # Olivetti # ;; A simple Emacs minor mode for a nice writing environment. ;; Screenshot: https://f002.backblazeb2.com/file/pwr-share/olivetti.png ;; ## Features ## ;; - Set a desired text body width to automatically resize window margins to ;; keep the text comfortably in the middle of the window. ;; - Text body width can be the number of characters (an integer) or a fraction ;; of the window width (a float between 0.0 and 1.0). ;; - Interactively change body width with: ;; olivetti-shrink C-c { { { ... ;; olivetti-expand C-c } } } ... ;; olivetti-set-width C-c \ ;; - If olivetti-body-width is an integer, the text body width will scale with ;; use of text-scale-mode, whereas if a fraction (float) then the text body ;; width will remain at that fraction. ;; - Optionally remember the state of visual-line-mode on entry and recall its ;; state on exit. ;; Olivetti keeps everything it does buffer-local, so you can write prose in one ;; buffer and code in another, side-by-side in the same frame. For those looking ;; for a hardcore distraction-free writing mode with a much larger scope, I ;; recommend writeroom-mode: https://github.com/joostkremers/writeroom-mode. ;; ## Requirements ## ;; - Emacs 24.5 ;; ## Installation ## ;; The latest stable release of Olivetti is available via [MELPA-stable] ;; and can be installed with: ;; M-x package-install RET olivetti RET ;; Alternately, download the [latest release], move this file into your ;; load-path and add to your .emacs/init.el file: ;; (require 'olivetti) ;; If you prefer the latest but perhaps unstable version, install via ;; [MELPA], or clone the repository into your load-path and require as ;; above: ;; git clone https://github.com/rnkn/olivetti.git ;; [melpa]: https://melpa.org/#/olivetti "MELPA" ;; [melpa-stable]: https://stable.melpa.org/#/olivetti "MELPA-stable" ;; [latest release]: https://github.com/rnkn/olivetti/releases/latest "Olivetti latest release" ;; ## Contributing ## ;; Please report bugs and request features at: ;; https://github.com/rnkn/olivetti/issues ;; ## Hints ## ;; To always use a different width for a specific file, set a File ;; Variable: ;; M-x add-file-local-variable RET olivetti-body-width RET 66 RET ;; See (info "(emacs) File Variables") ;;; Code: (defgroup olivetti () "Minor mode for a nice writing environment" :prefix "olivetti-" :group 'text) ;;; Variables (defvar-local olivetti--visual-line-mode nil "Non-nil if `visual-line-mode' is active when `olivetti-mode' is turned on.") ;;; Options (defcustom olivetti-body-width 70 "Text body width to which to adjust relative margin width. If an integer, set text body width to that integer in columns; if a floating point between 0.0 and 1.0, set text body width to that fraction of the total window width. An integer is best if you want text body width to remain constant, while a floating point is best if you want text body width to change with window width. The floating point can anything between 0.0 and 1.0 (exclusive), but it's better to use a value between about 0.33 and 0.9 for best effect. This option does not affect file contents." :type '(choice (integer 70) (float 0.5)) :safe 'numberp) (make-variable-buffer-local 'olivetti-body-width) (defcustom olivetti-minimum-body-width 40 "Minimum width in columns that text body width may be set." :type 'integer :safe 'integerp) (defcustom olivetti-lighter " Olv" "Mode-line indicator for `olivetti-mode'." :type '(choice (const :tag "No lighter" "") string) :safe 'stringp) (defcustom olivetti-recall-visual-line-mode-entry-state t "Recall the state of `visual-line-mode' upon exiting. When non-nil, if `visual-line-mode' is inactive upon activating `olivetti-mode', then `visual-line-mode' will be deactivated upon exiting. The reverse is not true." :type 'boolean :safe 'booleanp) ;;; Set Environment (defun olivetti-set-all-margins () "Balance window margins in all windows displaying current buffer. Cycle through all windows in all frames displaying the current buffer, and call `olivetti-set-margins'." (dolist (window (get-buffer-window-list nil nil t)) (olivetti-set-margins window))) (defun olivetti-set-margins (&optional frame-or-window) "Balance window margins displaying current buffer. If FRAME-OR-WINDOW is a frame, cycle through windows displaying current buffer in that frame, otherwise only work on the selected window. First find the `olivetti-safe-width' to which to set `olivetti-body-width', then find the appropriate margin size relative to each window. Finally set the window margins, taking care that the maximum size is 0." (if (framep frame-or-window) (dolist (window (get-buffer-window-list nil nil frame-or-window)) (olivetti-set-margins window)) ;; FRAME-OR-WINDOW passed below *must* be a window (olivetti-reset-window frame-or-window) (let ((width (olivetti-safe-width olivetti-body-width frame-or-window)) (frame (window-frame frame-or-window)) (window-width (window-total-width frame-or-window)) (fringes (window-fringes frame-or-window)) left-fringe right-fringe margin-total left-margin right-margin) (cond ((integerp width) (setq width (olivetti-scale-width width))) ((floatp width) (setq width (* window-width width)))) (setq left-fringe (/ (car fringes) (float (frame-char-width frame))) right-fringe (/ (cadr fringes) (float (frame-char-width frame)))) (setq margin-total (max (/ (- window-width width) 2) 0) left-margin (max (round (- margin-total left-fringe)) 0) right-margin (max (round (- margin-total right-fringe)) 0)) (set-window-parameter frame-or-window 'split-window 'olivetti-split-window) (set-window-margins frame-or-window left-margin right-margin)))) (defun olivetti-reset-all-windows () "Remove Olivetti's parameters and margins from all windows. Cycle through all windows displaying current buffer and call `olivetti-reset-window'." (dolist (window (get-buffer-window-list nil nil t)) (olivetti-reset-window window))) (defun olivetti-reset-window (window) "Remove Olivetti's parameters and margins from WINDOW." (when (eq (window-parameter window 'split-window) 'olivetti-split-window) (set-window-parameter window 'split-window nil)) (set-window-margins window nil)) (defun olivetti-split-window (&optional window size side pixelwise) "Call `split-window' after resetting WINDOW. Pass SIZE, SIDE and PIXELWISE unchanged." (olivetti-reset-window window) (split-window window size side pixelwise)) (defun olivetti-split-window-sensibly (&optional window) "Like `olivetti-split-window' but call `split-window-sensibly'. Pass WINDOW unchanged." (olivetti-reset-window window) (split-window-sensibly window)) ;;; Calculate Width (defun olivetti-scale-width (n) "Scale N in accordance with the face height. For compatibility with `text-scale-mode', if `face-remapping-alist' includes a :height property on the default face, scale N by that factor if it is a fraction, by (height/100) if it is an integer, and otherwise scale by 1." (let ((height (plist-get (cadr (assq 'default face-remapping-alist)) :height))) (cond ((integerp height) (* n (/ height 100.0))) ((floatp height) (* n height)) (t n)))) (defun olivetti-safe-width (width window) "Parse WIDTH to a safe value for `olivetti-body-width' for WINDOW. May return a float with many digits of precision." (let ((window-width (window-total-width window)) (fringes (window-fringes window)) (min-width (+ olivetti-minimum-body-width (% olivetti-minimum-body-width 2)))) (setq window-width (- window-width (/ (* (max (car fringes) (cadr fringes)) 2) (float (frame-char-width (window-frame window)))) (% window-width 2))) (cond ((integerp width) (max min-width (min width (floor window-width)))) ((floatp width) (max (/ min-width window-width) (min width 1.0))) ((user-error "`olivetti-body-width' must be an integer or a float") ;; FIXME: This code is unreachable since we signal an error before ;; getting here!? (eval (car (get 'olivetti-body-width 'standard-value)) t))))) ;;; Width Interaction (defun olivetti-set-width (n) "Set text body width to N with relative margins. N may be an integer specifying columns or a float specifying a fraction of the window width." (interactive (list (or current-prefix-arg (read-number "Set text body width (integer or float): " olivetti-body-width)))) (setq olivetti-body-width n) (olivetti-set-all-margins) (message "Text body width set to %s" olivetti-body-width)) (defun olivetti-expand (&optional arg) "Incrementally increase the value of `olivetti-body-width'. If prefixed with ARG, incrementally decrease." (interactive "P") (let* ((p (if arg -1 1)) (n (cond ((integerp olivetti-body-width) (+ olivetti-body-width (* 2 p))) ((floatp olivetti-body-width) (+ olivetti-body-width (* 0.01 p)))))) (setq olivetti-body-width (olivetti-safe-width n (selected-window)))) (olivetti-set-all-margins) (message "Text body width set to %s" olivetti-body-width) (set-transient-map (let ((map (make-sparse-keymap))) (define-key map "}" #'olivetti-expand) (define-key map "{" #'olivetti-shrink) map))) (defun olivetti-shrink (&optional arg) "Incrementally decrease the value of `olivetti-body-width'. If prefixed with ARG, incrementally increase." (interactive "P") (let ((p (unless arg t))) (olivetti-expand p))) ;;; Mode Definition (defvar olivetti-mode-map (let ((map (make-sparse-keymap))) (define-key map (kbd "C-c }") #'olivetti-expand) (define-key map (kbd "C-c {") #'olivetti-shrink) (define-key map (kbd "C-c \\") #'olivetti-set-width) map) "Mode map for `olivetti-mode'.") (define-obsolete-function-alias 'turn-on-olivetti-mode #'olivetti-mode "1.7.0") ;;;###autoload (define-minor-mode olivetti-mode "Olivetti provides a nice writing environment. Window margins are set to relative widths to accomodate a text body width set with `olivetti-body-width'." :init-value nil :lighter olivetti-lighter (if olivetti-mode (progn (cond ((<= emacs-major-version 24) (add-hook 'window-configuration-change-hook #'olivetti-set-all-margins t t)) ((<= emacs-major-version 26) (add-hook 'window-configuration-change-hook #'olivetti-set-all-margins t t) (add-hook 'window-size-change-functions #'olivetti-set-margins t t)) ((<= 27 emacs-major-version) (add-hook 'window-size-change-functions #'olivetti-set-margins t t))) (add-hook 'change-major-mode-hook #'olivetti-reset-all-windows nil t) (setq-local split-window-preferred-function #'olivetti-split-window-sensibly) (setq olivetti--visual-line-mode visual-line-mode) (unless olivetti--visual-line-mode (visual-line-mode 1)) (olivetti-set-all-margins)) (remove-hook 'window-configuration-change-hook #'olivetti-set-all-margins t) (remove-hook 'window-size-change-functions #'olivetti-set-margins t) (olivetti-reset-all-windows) (when (and olivetti-recall-visual-line-mode-entry-state (not olivetti--visual-line-mode)) (visual-line-mode 0)) (kill-local-variable 'split-window-preferred-function) (kill-local-variable 'olivetti--visual-line-mode))) (provide 'olivetti) ;;; olivetti.el ends here From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: References: In-Reply-To: Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 06:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.15774267862681 (code B ref 38757); Fri, 27 Dec 2019 06:07:01 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 06:06:26 +0000 Received: from localhost ([127.0.0.1]:56415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikilV-0000hB-SH for submit@debbugs.gnu.org; Fri, 27 Dec 2019 01:06:26 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:37779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikilT-0000go-0i for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 01:06:24 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B574721FBF for <38757@debbugs.gnu.org>; Fri, 27 Dec 2019 01:06:17 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 27 Dec 2019 01:06:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=KBYKZINmfYtUVv7IF/TAjhlwtMkFTFUm2kOQv3NFO4Y=; b=FsXBTHZ/ mIcUwQQmIMbaJfcFatjHqtUNU526yeyAZKMmjOasZzkKr1ievMDEFYmaDkEDdKck qTav7uRxxsh/fDDWZWbrqSJrn6pyEhs9pzmzjBzy2JSd6K/XKYXRjBM/U4JZvMDK 2xxYUTKFRFEYDKd/H2tqyYz5hCdH/7YI9rx5OqxoYiAsL0PKKmSodLR6i6fmdU/x W/p4+rkhoLTaOWNY+HxKIlyn/D7rzuDpPSxIvgmnOhtisdRPDeUADMXjTENFSWrt CV0j0ik6hbzwvXw6rEp572ZqW1ijXhY88pNOu35X6gJbxS9yyXxNzUeJur6PWViL YbiUHR2hFKxwQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=KBYKZINmfYtUVv7IF/TAjhlwtMkFT FUm2kOQv3NFO4Y=; b=OBKp3GRYdc1HG7PXOL5QvFhaW9gjLaMz1VnYH5L2wpzNF g5YtGBIdDXPDTWQ33bYyme1XoP6O+yHKI8jIHOPOmrI8tJu8VsAxJnP1nvU/Ae0x IOqor+bh9enTR5GoI1ZCutze9MeEMUhSbU+Iiu66htx+HE8de77WY4RhVVrQKt24 8tnUpN5aK206OJgKe3hGei0WPku/eWqKaCsRjJlp84lczFMfN6JEA5Nfe36V3yzC 0JdjDLjUANMVQjOkXUK1DZi1OgZpE3DF33/I4mQBkRjXztABnxXYSSARE+VkyWRG jsFIxHooeJO4javpDxXKIdxpGvV3nJFmfomJqoZvA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddvjedgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenuc fjughrpegfhffvufffkfggtgesthdtredttdertdenucfhrhhomhepfdfrrghulhcuhgdr ucftrghnkhhinhdfuceohhgvlhhlohesphgruhhlfihrrghnkhhinhdrtghomheqnecukf hppeduvddtrddvvddrfeekrdefkeenucfrrghrrghmpehmrghilhhfrhhomhephhgvlhhl ohesphgruhhlfihrrghnkhhinhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (unknown [120.22.38.38]) by mail.messagingengine.com (Postfix) with ESMTPA id EA96E80060 for <38757@debbugs.gnu.org>; Fri, 27 Dec 2019 01:06:15 -0500 (EST) User-agent: mu4e 1.2.0; emacs 27.0.60 From: "Paul W. Rankin" Date: Fri, 27 Dec 2019 16:06:08 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hmm sorry I can no longer reproduce this with a new build... GNU Emacs 27.0.60 (build 2, x86_64-apple-darwin17.7.0, NS appkit-1561.61 Version 10.13.6 (Build 17G10021)) of 2019-12-27 Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: messagingengine.com] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.27 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 BLANK_SUBJECT Subject is present but empty 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: 0.3 (/) Hmm sorry I can no longer reproduce this with a new build... GNU Emacs 27.0.60 (build 2, x86_64-apple-darwin17.7.0, NS appkit-1561.61 Version 10.13.6 (Build 17G10021)) of 2019-12-27 From unknown Tue Jun 17 01:43:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Paul W. Rankin" Subject: bug#38757: closed (Re: bug#38757:) Message-ID: References: <83y2uyp5eb.fsf@gnu.org> X-Gnu-PR-Message: they-closed 38757 X-Gnu-PR-Package: emacs Reply-To: 38757@debbugs.gnu.org Date: Fri, 27 Dec 2019 07:58:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1577433481-16337-1" This is a multi-part message in MIME format... ------------=_1577433481-16337-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38757: emacs-27; reliably crashes when wrapping visual lines which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38757@debbugs.gnu.org. --=20 38757: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38757 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1577433481-16337-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38757-done) by debbugs.gnu.org; 27 Dec 2019 07:57:41 +0000 Received: from localhost ([127.0.0.1]:56459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikkVB-0004Ex-Iz for submit@debbugs.gnu.org; Fri, 27 Dec 2019 02:57:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikkV9-0004Ek-NM for 38757-done@debbugs.gnu.org; Fri, 27 Dec 2019 02:57:40 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ikkV4-0000Zw-DQ; Fri, 27 Dec 2019 02:57:34 -0500 Received: from [176.228.60.248] (port=3632 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ikkV3-0003Rz-Sl; Fri, 27 Dec 2019 02:57:34 -0500 Date: Fri, 27 Dec 2019 09:57:32 +0200 Message-Id: <83y2uyp5eb.fsf@gnu.org> From: Eli Zaretskii To: "Paul W. Rankin" In-reply-to: (hello@paulwrankin.com) Subject: Re: bug#38757: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38757-done Cc: 38757-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: -3.3 (---) > From: "Paul W. Rankin" > Date: Fri, 27 Dec 2019 16:06:08 +1000 > > Hmm sorry I can no longer reproduce this with a new build... Neither can I reproduce it with the current emacs-27 branch. So I'm closing this bug; feel free to reopen if you ever encounter this again. Thanks. ------------=_1577433481-16337-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Dec 2019 02:27:28 +0000 Received: from localhost ([127.0.0.1]:56373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikfLW-0003M2-7e for submit@debbugs.gnu.org; Thu, 26 Dec 2019 21:27:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:55327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikfLV-0003Lv-3m for submit@debbugs.gnu.org; Thu, 26 Dec 2019 21:27:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52688) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikfLS-0007SV-Es for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 21:27:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikfLP-00006w-UX for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 21:27:18 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:56817) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ikfLP-00006Y-BC for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 21:27:15 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 12C47717 for ; Thu, 26 Dec 2019 21:27:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 26 Dec 2019 21:27:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=W/NVMbMHzT6yKdW8P5SHWHzeZ+LYlAdzyHMUUH9ZoJQ=; b=b1KfaepZ UPzoWbQ1p5fiV/5Lj0uYL9e/TDKMk4Q3liztsvfQNaOOKp6mBxth3seZIlu8RG2d oSUfeWvEKmS7pla09dfQAkfw0R7RYlTHD7AvzFVQd6MIN91nqa60y+pC7PvVf6LY gTEr6qgm0Vz9AOduLkgO9VD1B3hS9Cnq0j8/lIYO9Se+jhTnbAX90QkZREzASZL5 qo+eiuHQ/RWvakEXrlQ69zcghq+uU+3mGWYDkh0iVaYge7zQICgbeFUHgxpVxcsW ++JVLrz2ygwx03b5A4YPINn6AigvRSNFFF9i04wfvddO9pJ4bWxHihC+uocJpoem oE4IfojHUdLjjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=W/NVMbMHzT6yKdW8P5SHWHzeZ+LYl AdzyHMUUH9ZoJQ=; b=M3brT7OjVAgqxHbGigL0XY3haJI40yNT4JAF/AUkZ6TiS 0qzJ1K9uYNx58P0akZcbq2IMtj6XTVPpxKm7sYYt+vsCWtYKsenQsvdNp7pZ4869 whbYzZ9ms9yQgr7ai7Hx7JSDigpb8GlKWe1vm6xLbvgvCjySen5g89On9bCvzzsb whPQ4HUI9IGz3EpXLuQfp9mm6/9VHFL0JY2RxmmXa5tt53lYVSUU2rmnPOjPAfmc OpF/mBhBrpfSAcInjdQVauOKI/HoE5HOomVaL1ZrGGiI/i9MMdv5ooJFTk0el6kO TPmSuc1dciMRI9u102fiYDrmOUdQrFLSjjd+P2zVw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddvjedggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesthdtredttd ertdenucfhrhhomhepfdfrrghulhcuhgdrucftrghnkhhinhdfuceohhgvlhhlohesphgr uhhlfihrrghnkhhinhdrtghomheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpmh gvlhhprgdrohhrghdpsggrtghksghlrgiivggsvddrtghomhdpghhnuhdrohhrghdpghht hhhusgdrtghomhenucfkphepuddvtddrvddvrdefkedrfeeknecurfgrrhgrmhepmhgrih hlfhhrohhmpehhvghllhhosehprghulhifrhgrnhhkihhnrdgtohhmnecuvehluhhsthgv rhfuihiivgeptd X-ME-Proxy: Received: from localhost (unknown [120.22.38.38]) by mail.messagingengine.com (Postfix) with ESMTPA id 013183060783 for ; Thu, 26 Dec 2019 21:27:09 -0500 (EST) User-agent: mu4e 1.2.0; emacs 26.3 From: "Paul W. Rankin" To: bug-gnu-emacs@gnu.org Subject: emacs-27; reliably crashes when wrapping visual lines Date: Fri, 27 Dec 2019 12:27:02 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.20 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit 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: -0.3 (/) Emacs 27 when run in console mode (i.e. without NS/X window system) will reliably crash completely when running stable code for minor mode olivetti (included below in full for convenience). This code has been stable since 24.5, and so represents a regression in 27.0, I suspect in the display code. The crash occurs when minor mode is enabled in a buffer with text lines long enough to wrap visually, or enabled in empty buffer within which enough text is then entered to wrap lines visually. I am happy to test fixes applied to the emacs-27 branch. Steps to reproduce: 1. checkout emacs-27 branch and build 2. emacs -nw -Q 3. load-library olivetti (included in full below) 4. olivetti-mode [in buffer with wrapped lines] Expected results: Lines wrap as normal without crash. Stable code for minor mode functions as normal. Actual results: Emacs crashes to console without warning or error message. ;;; olivetti.el --- Minor mode for a nice writing environment -*- lexical-binding: t; -*- ;; Copyright (c) 2014-2019 Free Software Foundation, Inc. ;; Copyright (c) 2019 Paul W. Rankin ;; Author: Paul W. Rankin ;; Keywords: wp, text ;; Version: 1.8.1 ;; Package-Requires: ((emacs "24.5")) ;; URL: https://gthub.com/rnkn/olivetti ;; This file is not part of GNU Emacs. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . ;;; Commentary: ;; # Olivetti # ;; A simple Emacs minor mode for a nice writing environment. ;; Screenshot: https://f002.backblazeb2.com/file/pwr-share/olivetti.png ;; ## Features ## ;; - Set a desired text body width to automatically resize window margins to ;; keep the text comfortably in the middle of the window. ;; - Text body width can be the number of characters (an integer) or a fraction ;; of the window width (a float between 0.0 and 1.0). ;; - Interactively change body width with: ;; olivetti-shrink C-c { { { ... ;; olivetti-expand C-c } } } ... ;; olivetti-set-width C-c \ ;; - If olivetti-body-width is an integer, the text body width will scale with ;; use of text-scale-mode, whereas if a fraction (float) then the text body ;; width will remain at that fraction. ;; - Optionally remember the state of visual-line-mode on entry and recall its ;; state on exit. ;; Olivetti keeps everything it does buffer-local, so you can write prose in one ;; buffer and code in another, side-by-side in the same frame. For those looking ;; for a hardcore distraction-free writing mode with a much larger scope, I ;; recommend writeroom-mode: https://github.com/joostkremers/writeroom-mode. ;; ## Requirements ## ;; - Emacs 24.5 ;; ## Installation ## ;; The latest stable release of Olivetti is available via [MELPA-stable] ;; and can be installed with: ;; M-x package-install RET olivetti RET ;; Alternately, download the [latest release], move this file into your ;; load-path and add to your .emacs/init.el file: ;; (require 'olivetti) ;; If you prefer the latest but perhaps unstable version, install via ;; [MELPA], or clone the repository into your load-path and require as ;; above: ;; git clone https://github.com/rnkn/olivetti.git ;; [melpa]: https://melpa.org/#/olivetti "MELPA" ;; [melpa-stable]: https://stable.melpa.org/#/olivetti "MELPA-stable" ;; [latest release]: https://github.com/rnkn/olivetti/releases/latest "Olivetti latest release" ;; ## Contributing ## ;; Please report bugs and request features at: ;; https://github.com/rnkn/olivetti/issues ;; ## Hints ## ;; To always use a different width for a specific file, set a File ;; Variable: ;; M-x add-file-local-variable RET olivetti-body-width RET 66 RET ;; See (info "(emacs) File Variables") ;;; Code: (defgroup olivetti () "Minor mode for a nice writing environment" :prefix "olivetti-" :group 'text) ;;; Variables (defvar-local olivetti--visual-line-mode nil "Non-nil if `visual-line-mode' is active when `olivetti-mode' is turned on.") ;;; Options (defcustom olivetti-body-width 70 "Text body width to which to adjust relative margin width. If an integer, set text body width to that integer in columns; if a floating point between 0.0 and 1.0, set text body width to that fraction of the total window width. An integer is best if you want text body width to remain constant, while a floating point is best if you want text body width to change with window width. The floating point can anything between 0.0 and 1.0 (exclusive), but it's better to use a value between about 0.33 and 0.9 for best effect. This option does not affect file contents." :type '(choice (integer 70) (float 0.5)) :safe 'numberp) (make-variable-buffer-local 'olivetti-body-width) (defcustom olivetti-minimum-body-width 40 "Minimum width in columns that text body width may be set." :type 'integer :safe 'integerp) (defcustom olivetti-lighter " Olv" "Mode-line indicator for `olivetti-mode'." :type '(choice (const :tag "No lighter" "") string) :safe 'stringp) (defcustom olivetti-recall-visual-line-mode-entry-state t "Recall the state of `visual-line-mode' upon exiting. When non-nil, if `visual-line-mode' is inactive upon activating `olivetti-mode', then `visual-line-mode' will be deactivated upon exiting. The reverse is not true." :type 'boolean :safe 'booleanp) ;;; Set Environment (defun olivetti-set-all-margins () "Balance window margins in all windows displaying current buffer. Cycle through all windows in all frames displaying the current buffer, and call `olivetti-set-margins'." (dolist (window (get-buffer-window-list nil nil t)) (olivetti-set-margins window))) (defun olivetti-set-margins (&optional frame-or-window) "Balance window margins displaying current buffer. If FRAME-OR-WINDOW is a frame, cycle through windows displaying current buffer in that frame, otherwise only work on the selected window. First find the `olivetti-safe-width' to which to set `olivetti-body-width', then find the appropriate margin size relative to each window. Finally set the window margins, taking care that the maximum size is 0." (if (framep frame-or-window) (dolist (window (get-buffer-window-list nil nil frame-or-window)) (olivetti-set-margins window)) ;; FRAME-OR-WINDOW passed below *must* be a window (olivetti-reset-window frame-or-window) (let ((width (olivetti-safe-width olivetti-body-width frame-or-window)) (frame (window-frame frame-or-window)) (window-width (window-total-width frame-or-window)) (fringes (window-fringes frame-or-window)) left-fringe right-fringe margin-total left-margin right-margin) (cond ((integerp width) (setq width (olivetti-scale-width width))) ((floatp width) (setq width (* window-width width)))) (setq left-fringe (/ (car fringes) (float (frame-char-width frame))) right-fringe (/ (cadr fringes) (float (frame-char-width frame)))) (setq margin-total (max (/ (- window-width width) 2) 0) left-margin (max (round (- margin-total left-fringe)) 0) right-margin (max (round (- margin-total right-fringe)) 0)) (set-window-parameter frame-or-window 'split-window 'olivetti-split-window) (set-window-margins frame-or-window left-margin right-margin)))) (defun olivetti-reset-all-windows () "Remove Olivetti's parameters and margins from all windows. Cycle through all windows displaying current buffer and call `olivetti-reset-window'." (dolist (window (get-buffer-window-list nil nil t)) (olivetti-reset-window window))) (defun olivetti-reset-window (window) "Remove Olivetti's parameters and margins from WINDOW." (when (eq (window-parameter window 'split-window) 'olivetti-split-window) (set-window-parameter window 'split-window nil)) (set-window-margins window nil)) (defun olivetti-split-window (&optional window size side pixelwise) "Call `split-window' after resetting WINDOW. Pass SIZE, SIDE and PIXELWISE unchanged." (olivetti-reset-window window) (split-window window size side pixelwise)) (defun olivetti-split-window-sensibly (&optional window) "Like `olivetti-split-window' but call `split-window-sensibly'. Pass WINDOW unchanged." (olivetti-reset-window window) (split-window-sensibly window)) ;;; Calculate Width (defun olivetti-scale-width (n) "Scale N in accordance with the face height. For compatibility with `text-scale-mode', if `face-remapping-alist' includes a :height property on the default face, scale N by that factor if it is a fraction, by (height/100) if it is an integer, and otherwise scale by 1." (let ((height (plist-get (cadr (assq 'default face-remapping-alist)) :height))) (cond ((integerp height) (* n (/ height 100.0))) ((floatp height) (* n height)) (t n)))) (defun olivetti-safe-width (width window) "Parse WIDTH to a safe value for `olivetti-body-width' for WINDOW. May return a float with many digits of precision." (let ((window-width (window-total-width window)) (fringes (window-fringes window)) (min-width (+ olivetti-minimum-body-width (% olivetti-minimum-body-width 2)))) (setq window-width (- window-width (/ (* (max (car fringes) (cadr fringes)) 2) (float (frame-char-width (window-frame window)))) (% window-width 2))) (cond ((integerp width) (max min-width (min width (floor window-width)))) ((floatp width) (max (/ min-width window-width) (min width 1.0))) ((user-error "`olivetti-body-width' must be an integer or a float") ;; FIXME: This code is unreachable since we signal an error before ;; getting here!? (eval (car (get 'olivetti-body-width 'standard-value)) t))))) ;;; Width Interaction (defun olivetti-set-width (n) "Set text body width to N with relative margins. N may be an integer specifying columns or a float specifying a fraction of the window width." (interactive (list (or current-prefix-arg (read-number "Set text body width (integer or float): " olivetti-body-width)))) (setq olivetti-body-width n) (olivetti-set-all-margins) (message "Text body width set to %s" olivetti-body-width)) (defun olivetti-expand (&optional arg) "Incrementally increase the value of `olivetti-body-width'. If prefixed with ARG, incrementally decrease." (interactive "P") (let* ((p (if arg -1 1)) (n (cond ((integerp olivetti-body-width) (+ olivetti-body-width (* 2 p))) ((floatp olivetti-body-width) (+ olivetti-body-width (* 0.01 p)))))) (setq olivetti-body-width (olivetti-safe-width n (selected-window)))) (olivetti-set-all-margins) (message "Text body width set to %s" olivetti-body-width) (set-transient-map (let ((map (make-sparse-keymap))) (define-key map "}" #'olivetti-expand) (define-key map "{" #'olivetti-shrink) map))) (defun olivetti-shrink (&optional arg) "Incrementally decrease the value of `olivetti-body-width'. If prefixed with ARG, incrementally increase." (interactive "P") (let ((p (unless arg t))) (olivetti-expand p))) ;;; Mode Definition (defvar olivetti-mode-map (let ((map (make-sparse-keymap))) (define-key map (kbd "C-c }") #'olivetti-expand) (define-key map (kbd "C-c {") #'olivetti-shrink) (define-key map (kbd "C-c \\") #'olivetti-set-width) map) "Mode map for `olivetti-mode'.") (define-obsolete-function-alias 'turn-on-olivetti-mode #'olivetti-mode "1.7.0") ;;;###autoload (define-minor-mode olivetti-mode "Olivetti provides a nice writing environment. Window margins are set to relative widths to accomodate a text body width set with `olivetti-body-width'." :init-value nil :lighter olivetti-lighter (if olivetti-mode (progn (cond ((<= emacs-major-version 24) (add-hook 'window-configuration-change-hook #'olivetti-set-all-margins t t)) ((<= emacs-major-version 26) (add-hook 'window-configuration-change-hook #'olivetti-set-all-margins t t) (add-hook 'window-size-change-functions #'olivetti-set-margins t t)) ((<= 27 emacs-major-version) (add-hook 'window-size-change-functions #'olivetti-set-margins t t))) (add-hook 'change-major-mode-hook #'olivetti-reset-all-windows nil t) (setq-local split-window-preferred-function #'olivetti-split-window-sensibly) (setq olivetti--visual-line-mode visual-line-mode) (unless olivetti--visual-line-mode (visual-line-mode 1)) (olivetti-set-all-margins)) (remove-hook 'window-configuration-change-hook #'olivetti-set-all-margins t) (remove-hook 'window-size-change-functions #'olivetti-set-margins t) (olivetti-reset-all-windows) (when (and olivetti-recall-visual-line-mode-entry-state (not olivetti--visual-line-mode)) (visual-line-mode 0)) (kill-local-variable 'split-window-preferred-function) (kill-local-variable 'olivetti--visual-line-mode))) (provide 'olivetti) ;;; olivetti.el ends here ------------=_1577433481-16337-1-- From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 08:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.157743386517010 (code B ref 38757); Fri, 27 Dec 2019 08:05:01 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 08:04:25 +0000 Received: from localhost ([127.0.0.1]:56471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikkbh-0004QI-Gw for submit@debbugs.gnu.org; Fri, 27 Dec 2019 03:04:25 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikkbe-0004Q4-WB for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 03:04:23 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7C8AE21B82 for <38757@debbugs.gnu.org>; Fri, 27 Dec 2019 03:04:17 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 27 Dec 2019 03:04:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=Fg6Jqloc2iMG7keEwv6FTRYu6T eFCFPYMLiYjoXCR6w=; b=fiPuFHYZwbx/TyycvkV0asu43yaNUlWqzwZZ+Hrb8R PxwHuY7EI0l0RLa88vDHOEGCGWtJHA2tbenHarrO2tOsawpZNHg3PQqrh5Nw1FKJ DB2JXA4YpXvC/tvP3IEkaaD90E/qxB2oW/RprgPQ8rw9s62n7Uof0yaz8P2NHdQ8 Z9Zwe9dCtA2glB/+PxWl+usfKv+XYlAwaUGkAs3ZQW7nPyJbhKq/HQHa8ZLh7UFd dBcTv3zaznZq9yhCmN2gf6lW3fxadF3iBp69pTVT4QH9VJYtdV5sjG5diFxRslcK 9NB6dp6mGVrltdbfjWriKVQn0HeBjyOCoZMDBxbPzoaQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Fg6Jql oc2iMG7keEwv6FTRYu6TeFCFPYMLiYjoXCR6w=; b=ZILPShxzkHuKIKy9TTKnLb R/R0OItQjIi7R8nm/QcldeONUCiMLN6kmFj6IfaWr/zOOUF4LwBsXDw4bHRUsG4j 9gk/H4avz9FawBgbPaWwbiaLJT+4zHSy+yZPN8HSOidevzKBUkXIoMUiQruz0fCV ai8NhfxD3lLA2ezkvm+9CiUBkI27PFlZLJu3cWZVbqFzX7yAbPbhcQaFD+tpGQJl M2XVZturRYKIHgwvHq0UDwTI7uRViB21Kf3nkBkVhdAp7uCSZnDrx8K7Elg6v4c2 Evl6WP0Xf4oePykQ01fiFhw70L4duzpA6F8ZLEKxIGV8JbWnrE1sj5u+i8Cl2DHg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddvjedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufgjfffkgggtsehttd ertddtredtnecuhfhrohhmpedfrfgruhhlucghrdcutfgrnhhkihhnfdcuoehhvghllhho sehprghulhifrhgrnhhkihhnrdgtohhmqeenucfkphepuddvtddrvddvrdefkedrfeekne curfgrrhgrmhepmhgrihhlfhhrohhmpehhvghllhhosehprghulhifrhgrnhhkihhnrdgt ohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (unknown [120.22.38.38]) by mail.messagingengine.com (Postfix) with ESMTPA id 317598005A for <38757@debbugs.gnu.org>; Fri, 27 Dec 2019 03:04:15 -0500 (EST) References: User-agent: mu4e 1.2.0; emacs 27.0.60 From: "Paul W. Rankin" In-reply-to: Date: Fri, 27 Dec 2019 18:04:11 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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.7 (-) I have narrowed down the issue, which is not limited to olivetti, so the above minor-mode code can be ignored. Emacs will segfault if first launched as a daemon, then accessed with emacsclient -nw and setting margins cause a string to visually wrap in a window. Revised steps to reproduce: 1. checkout emacs-27 branch and build 2. emacs --fg-daemon 3. emacsclient -nw 4. in *scratch* (let ((margin (/ (window-body-width) 4))) (visual-line-mode 1) (insert (make-string (window-body-width) ?x)) (set-window-margins nil margin margin)) Expected resutls: The window should have symetrical margins each half the window body width. The window text should be a line of 'x' wrapped at the window body edge. Actual results: Fatal error 11: Segmentation fault zsh: abort emacs --fg-daemon Emacs version: GNU Emacs 27.0.60 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.61 Version 10.13.6 (Build 17G10021)) of 2019-12-27 From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 09:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Paul W. Rankin" Cc: 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.157743814223488 (code B ref 38757); Fri, 27 Dec 2019 09:16:01 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 09:15:42 +0000 Received: from localhost ([127.0.0.1]:56505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iklif-00066l-Cd for submit@debbugs.gnu.org; Fri, 27 Dec 2019 04:15:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikliZ-00066J-GK; Fri, 27 Dec 2019 04:15:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ikliU-0004Jo-3w; Fri, 27 Dec 2019 04:15:30 -0500 Received: from [176.228.60.248] (port=4546 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ikliJ-000255-5y; Fri, 27 Dec 2019 04:15:24 -0500 Date: Fri, 27 Dec 2019 11:15:18 +0200 Message-Id: <83r20qp1sp.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (hello@paulwrankin.com) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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 (---) reopen 38757 thanks > From: "Paul W. Rankin" > Date: Fri, 27 Dec 2019 18:04:11 +1000 > > 1. checkout emacs-27 branch and build > 2. emacs --fg-daemon > 3. emacsclient -nw > 4. in *scratch* > > (let ((margin (/ (window-body-width) 4))) > (visual-line-mode 1) > (insert (make-string (window-body-width) ?x)) > (set-window-margins nil margin margin)) > > Expected resutls: > > The window should have symetrical margins each half the window body > width. The window text should be a line of 'x' wrapped at the window > body edge. > > Actual results: > > Fatal error 11: Segmentation fault > zsh: abort emacs --fg-daemon Please show a backtrace from GDB when Emacs crashes. Thanks. From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 09:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.157743836523862 (code B ref 38757); Fri, 27 Dec 2019 09:20:01 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 09:19:25 +0000 Received: from localhost ([127.0.0.1]:56512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iklmH-0006Co-KE for submit@debbugs.gnu.org; Fri, 27 Dec 2019 04:19:25 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iklmF-0006Ca-9F for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 04:19:24 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 212CC220A9; Fri, 27 Dec 2019 04:19:18 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 27 Dec 2019 04:19:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=osTb3DAaQx3QoxzaFrV2JmJTT5 89wvLaad5+H15XDXE=; b=LLS+Q0hUbs0/xKN/g0O4R4mxUra6F7/a4gnP0fBZX5 siL1908dcSBfzNYJp9l6b12M2G0ofLARQyiHxGQYzu6/VRH55td6fAOFrYYUBTS/ iqCb7fKTEv6k9Srb4aWng9VwJ3clU2usMzqXfuIsSh309Hn8HXmldUWkKC/e048x 0bod4alE/zVZMbBYiXN2HZ8KmFoRkPxfva3Z/aV9i3uKYUWMSA+692lC4WdrGKeH MuGio4Cx7jWIp5KemlS6OYe5XEVmxanKc4jCGqi94Ktidf4kd9sYBy0Vovj0B2j6 jXclwx9WcLprPBVz2QEM6mLMhVyTAuZtw8aFJs12QbsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=osTb3D AaQx3QoxzaFrV2JmJTT589wvLaad5+H15XDXE=; b=IlfFA1Lbd0Eqq1nqCZIj2p cCPXIUGkjF2F1wXMKkCCGxmBuiKi5Jy2h//iZk/nv38NbpmwBFHsz85GgHXG7G8n jYnCY9US/QTjQG9YVZz8xC9R96MH1astOhhsALlvz+HjbXBLYlcW9I2EekRx361W QY8jw41dtT7gsfknVbrL1OVvjiQk0/VRWyzZ+WvTUJXGxz5JlBtfHswrcNz5z+aV bgu+0g09MXoxKLTb2aB29TKwjQfRZu3XJcP09FHK79QOJrrzXAplzhjhxstlNlu5 woCh3EyQSKCtmKTUCANXFATFf9ikvVaxwCiZyHTxIUcu+y7MBm6/E9DTjlys1ccw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddvkedgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpedfrfgruhhl ucghrdcutfgrnhhkihhnfdcuoehhvghllhhosehprghulhifrhgrnhhkihhnrdgtohhmqe enucfkphepuddvtddrvddvrdefkedrfeeknecurfgrrhgrmhepmhgrihhlfhhrohhmpehh vghllhhosehprghulhifrhgrnhhkihhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (unknown [120.22.38.38]) by mail.messagingengine.com (Postfix) with ESMTPA id DEB9A80059; Fri, 27 Dec 2019 04:19:16 -0500 (EST) References: <83r20qp1sp.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 27.0.60 From: "Paul W. Rankin" In-reply-to: <83r20qp1sp.fsf@gnu.org> Date: Fri, 27 Dec 2019 19:19:11 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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.7 (-) On Fri, Dec 27 2019, Eli Zaretskii wrote: > > Please show a backtrace from GDB when Emacs crashes. > > Thanks. This might be a bit beyond my skillset (i.e. idk what GDB is...) From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 09:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Paul W. Rankin" , Eli Zaretskii Cc: 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.15774400381269 (code B ref 38757); Fri, 27 Dec 2019 09:48:02 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 09:47:18 +0000 Received: from localhost ([127.0.0.1]:56524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikmDG-0000KP-9y for submit@debbugs.gnu.org; Fri, 27 Dec 2019 04:47:18 -0500 Received: from mout.gmx.net ([212.227.17.22]:59065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikmDF-0000KD-A5 for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 04:47:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1577440025; bh=KKkMQjl8p6k7IYGanE4nZLrT7bqNVpu4N4sUVyrHDDI=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=P7blImidnu8R4vnRpyYm87hYofK9GtwTnz8hsyxPtAY74pZcNuwn2uAEeBWgaYiwk ld6w56Gkhd2zx4bDi3dZZHQocomDg9W3uR9V+DZrxP9/9MzH8kRhF4WJ1WBzASVt9o rv1LHLbwgtF5TBvbnZ/fL+QV7XSyGXlFr+0GxLWE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([212.95.5.176]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MMofc-1j1DAL3BPY-00IkSv; Fri, 27 Dec 2019 10:47:05 +0100 References: <83r20qp1sp.fsf@gnu.org> From: martin rudalics Message-ID: <98f6081b-c969-6726-80f7-91c54629a2c3@gmx.at> Date: Fri, 27 Dec 2019 10:47:05 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-AT Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:DjygF0LoIc9RDFjIzsnRXrBFN9sbZr5hUKA1v4jCG4+X93jj5ur JJLx/GIpmGvaG1uxLwIjA0QKa9PTVY6+Vj6va1PsmmWc/VKC99gJfr3A9J7QYlj5tT5eW2l HkmXelCYp/Uz+ZLuzG36FrNoQWhMaL5kseFZ98k0kW42EcRk3tY5u5kmg2clrwaA5vL1Ngb yNS9mlMKSWKuMDNCoZ1yQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:DKMvyd8TRcw=:XPHj9RydKXpgNdzPg9D2kc IrMV4bLJwCI2ahE5f0s6EF8UaZboGEfMc/jer9n4d4TY0a0kRLx4rONcT/FloS97o83Aq7I0E 3hO8vIJ/8QWEayTXnTRHGCmg8gpoVDxUFsKbhtfd/pcDrof8jOgf6yACXpGumi54Kqx1HNX41 HM8CcXoHUp5Wrc6m9T+XKXGh8AA8ZgCue7uUAPuugGbcvfycDjk1fDD3WZfjxKKBSQRlyxyBf rhpp1+gX9WyGdtmg1s41iuyQE8BWz+rqP1lbMzJ3ByT2UsILM80ujkVaHrHFee9iYEe40nHZT WsA+S5mXIa6kGqix2VXmStUb3ARJJm8dnUGdzHCSVZY2vfMYNz4gvnUi+oMXFPx6C8Qc7Rj+Z wKj9ylJVYFgMOPlgPaNqJ/ccJU1MMsxRzJar7c/tcpUUSBem2AmGoOByyHsYHwO5MGXK46pvS FE5S2rfCuvya9qQyM1QSwlC65l/5Vf7ygOtlxzd+35BuShTeZ34IO76ulhCErqheSL+fm9U/d +BOg8JvRWcSdq4TE8il5bv4BnUPzwbqxErp+DH9yi06nkUdVpY8cFe/BHvz6ZZh3YqkB0c1pn XkTgIcgcpmW7fL8yUpvFKdP40Q1HWDxRLgnBQ2Vlsv4Y6hZxctE9nwxXzq2GtFO/rf8Zxzbnm mT6TNYJZOuMDham55emcrNt2GV2ldunMjHMeIDEiPWAanMrny32784xk/0hF8DRc1by1+wmNe +IvGurDB05CxCGFw48QyQzFGzXmgc0WJJNou+jyR3GvrpFG0f4/HuZskrJldZy51Yejz+hjea yxpo7rWvKHI9i8uig4j0rvBEy1n4CwvEbodKnb0fF58wnJuUxUr/nWEBOb4KqZAyfQZfX3DTw fCl0vkfyh8pzaajteMN+d7kkrIss+yN1o53cfOVEZgrf5CgtwOdzO0H1HYOd0Hi/id46Ysv9b 1isdfx2xH1qxYY6UI1HNtmdh3EZvDLjs3EgdRAVaVALyD7bTtH2edA48WyX6JvOkEu5LIMiBj t+2Tb1k4w8au/hH4WtJuQxQHURKZXzTfiDNejlrNCh+4SeKtkc9j6RH+U1ZdWb7SL2AhgNi7u lw2Xq1cPy/fmE5Nrp/gEDqfIK1M8QKMq2haVmXT88v2EEtbTtHwdTUnUU89SJxX4DTHLp1YMR Vy/fS7mY53poHNqubJLl4xOTDDvCmjSSg9sbuoUq38NeFYnFMZCh9AbUMuBw5tA2M950Z7B12 3IuwhmfUNOVAD7Y1hf294jE4tvIwUwMWElA8t5MCiO/B1vZ3mP+2PkXLN/gw= X-Spam-Score: -0.7 (/) 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.7 (-) >> Please show a backtrace from GDB when Emacs crashes. >> >> Thanks. > > This might be a bit beyond my skillset (i.e. idk what GDB is...) This thread is confusing. Does Emacs crash or doesn't it, given > Hmm sorry I can no longer reproduce this with a new build... ? martin From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 09:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "martin rudalics" , "Eli Zaretskii" Cc: 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.15774406012115 (code B ref 38757); Fri, 27 Dec 2019 09:57:01 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 09:56:41 +0000 Received: from localhost ([127.0.0.1]:56553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikmML-0000Y3-FG for submit@debbugs.gnu.org; Fri, 27 Dec 2019 04:56:41 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:46679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikmMJ-0000Xq-UV for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 04:56:40 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id AED4121FE0; Fri, 27 Dec 2019 04:56:34 -0500 (EST) Received: from imap35 ([10.202.2.85]) by compute3.internal (MEProxy); Fri, 27 Dec 2019 04:56:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=fm1; bh=62ASvwkuDx8EMhQQ8AZt0AGrgImz XbOVSwwqdA9/y+M=; b=bLWFc1RiWsJWfgAz0jeB0m7w073eLJRqlCZPvRKJBFqy AMu7jbccYvNX0NA6LHTyhjsfiC81aI6HbxjI3F6hPwODRdIaoDgBO3tRHFtmGJnv abXRxf4rRB1CW/+wyxDrvjLoU15AdoghSOmNMqkmUU/9c7OWYUc/Hf4YkWszv8WC DL4HptoFg+6rQeeAtaMmbQzc2DcMq0/9Gya0jOwaBC61gKIvzS22JH+O8Bjcu7M5 8VjlO24KigzT8Qzv/j/oVpdpcShl4oZ2dZuXOK+M9WAB+xkmsvAGOiPmA/RbSbtF C6ywS6dxC5EkvlCMuMzUhzz+P7dvw9rbBp3sVLX2iQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=62ASvw kuDx8EMhQQ8AZt0AGrgImzXbOVSwwqdA9/y+M=; b=bXDqWdjQKqrg7MNXEh0hwq pMpUoMhyPjc5A8i1hhqQx8VBJQ4aYAj/zwhW1lJLt3QhZAohoOFVWrzKCMO4/jog SOPPKFDO2uEzfqbbaIoMBF77be9/dttLq4Ac42gh5erDlisguxoyys2QcjV6ljlk cV8d8eJdUa35QjRgPip88Uz+RtX873Xl8efj63t3gwzC+Yxt4FgSJ1lKZjpi+v46 gc86GbmvhJ4u9cW7VR2+X0NEb3nU6ZVfvFDaexuzt6WvR/lPQLrmfC+JGcriOQ1n k5daNodWiYLjKsxo5Jtum5bOHHIG3Aa/uZa2C6cZLnizjNl8YTIxi/WQXbfvW3Og == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddvkedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfrrghu lhcuhgdrucftrghnkhhinhdfuceohhgvlhhlohesphgruhhlfihrrghnkhhinhdrtghomh eqnecuffhomhgrihhnpehgnhhurdhorhhgnecurfgrrhgrmhepmhgrihhlfhhrohhmpehh vghllhhosehprghulhifrhgrnhhkihhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 32B3814C0068; Fri, 27 Dec 2019 04:56:34 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-694-gd5bab98-fmstable-20191218v1 Mime-Version: 1.0 Message-Id: In-Reply-To: <98f6081b-c969-6726-80f7-91c54629a2c3@gmx.at> References: <83r20qp1sp.fsf@gnu.org> <98f6081b-c969-6726-80f7-91c54629a2c3@gmx.at> Date: Fri, 27 Dec 2019 19:56:13 +1000 From: "Paul W. Rankin" Content-Type: text/plain X-Spam-Score: -0.7 (/) 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.7 (-) On Fri, 27 Dec 2019, at 7:47 PM, martin rudalics wrote: > >> Please show a backtrace from GDB when Emacs crashes. > >> > >> Thanks. > > > > This might be a bit beyond my skillset (i.e. idk what GDB is...) > > This thread is confusing. Does Emacs crash or doesn't it, given It is but a journey... with twists and turns.... But yes Emacs crashes. See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38757#16 The crash is limited to running emacs as a daemon then interfacing with emacsclient -nw From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: emacs-27; reliably crashes when wrapping visual lines Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 10:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Paul W. Rankin" Cc: 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.15774425755959 (code B ref 38757); Fri, 27 Dec 2019 10:30:01 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 10:29:35 +0000 Received: from localhost ([127.0.0.1]:56562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikmsB-0001Y3-D2 for submit@debbugs.gnu.org; Fri, 27 Dec 2019 05:29:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikms9-0001Xn-TZ for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 05:29:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ikms4-0001VF-Mp; Fri, 27 Dec 2019 05:29:28 -0500 Received: from [176.228.60.248] (port=1317 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ikms3-0006MT-0x; Fri, 27 Dec 2019 05:29:27 -0500 Date: Fri, 27 Dec 2019 12:29:24 +0200 Message-Id: <83lfqyoyd7.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (hello@paulwrankin.com) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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 (---) > From: "Paul W. Rankin" > Date: Fri, 27 Dec 2019 18:04:11 +1000 > > Emacs will segfault if first launched as a daemon, then accessed with > emacsclient -nw and setting margins cause a string to visually wrap in a > window. > > Revised steps to reproduce: > > 1. checkout emacs-27 branch and build > 2. emacs --fg-daemon > 3. emacsclient -nw > 4. in *scratch* > > (let ((margin (/ (window-body-width) 4))) > (visual-line-mode 1) > (insert (make-string (window-body-width) ?x)) > (set-window-margins nil margin margin)) > > Expected resutls: > > The window should have symetrical margins each half the window body > width. The window text should be a line of 'x' wrapped at the window > body edge. > > Actual results: > > Fatal error 11: Segmentation fault > zsh: abort emacs --fg-daemon Thanks. I cannot reproduce this on GNU/Linux, I get the expected result. So it might be Darwin-specific, or maybe someone will be able to reproduce on GNU/Linux and post a backtrace. From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 12:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Paul W. Rankin" Cc: martin rudalics , Eli Zaretskii , 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.157744802814839 (code B ref 38757); Fri, 27 Dec 2019 12:01:01 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 12:00:28 +0000 Received: from localhost ([127.0.0.1]:56600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikoI8-0003rH-Em for submit@debbugs.gnu.org; Fri, 27 Dec 2019 07:00:28 -0500 Received: from mail-wr1-f44.google.com ([209.85.221.44]:40872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikoI6-0003r3-VX for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 07:00:27 -0500 Received: by mail-wr1-f44.google.com with SMTP id c14so25882958wrn.7 for <38757@debbugs.gnu.org>; Fri, 27 Dec 2019 04:00:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=zZITrznMrToZrQhE+RTsHVMlgj39pPuekdVl31f+Dpg=; b=NZAHvHDP//CEXrgWPbXQNIjt1j8qfg/UU6lDR4Cib1qijtLOiXGEMiFnfwQ4ZqE1gv C+1unCRrO7GxhhCUNqLCgLL//Bcb9LMddullRiCScthu9ZuWserVC7B5mJQqtWU+Ju3T chzI2YkLCnYTMbAtx6i0w6M3svYw0cyxChvaAfIuY6NxYMLCHA7EL4FHcEIwW1Y3NiIQ wjK/J9nRetEgdYArILcaKDJTMeLEWauEPekIjC0r9JDmgsMKXXfHkjs6TOnzBbJ/H9kq +EjZEQ7t0GpgIAwEuki27p5C4qnHyEJpDnZIzdDVraYgPMJ8dyrjA9JgYPXbPf0U4k/L s5bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=zZITrznMrToZrQhE+RTsHVMlgj39pPuekdVl31f+Dpg=; b=XVXNXiAaiwr3yLYVO420UMehYvpUHVbjWYYytkdl2PdScC76N+cF9ptwgq2b7WRjAi 0WHx6DzN9gSoxn5/rVMwAQdYKS+UZAYHUoLQpFNizaMvv/azaGcez8eQd/GdMYtgcoQa QQ0nLQtpNnfInCSP7FjF++Sl0rRTRm9XfK3myevr7LJRq57PpfpAOg//3A3ZbVarQIwL 8nQsyuKl6qT3nfFH+lMCS0GNwmcAR4AnZaF8A8uCDikQ3ucDy5DakhI4oz4jlhPssqya jmDNueSqfb3JUTj2Pw0YUG8MvOzSIWW/iqi8oRgS0c2ylY/2scTpMAGNiW7+3aNT+yrV jZFA== X-Gm-Message-State: APjAAAXMtSbImhEl2myq9GckmnETXCSlMdaDv/0lkBSKpptCI50kLVL/ HgHuxKe/DAeoACbem9DjWDu/0gNw/g0= X-Google-Smtp-Source: APXvYqyKEDAILQuc9nfOikjqZlIwbINlbk9W5rl0AN9Y5cj/OpmHuH4HZr5FbBS6DHwJVFJBbXCX4w== X-Received: by 2002:adf:ffc7:: with SMTP id x7mr50062109wrs.159.1577448020583; Fri, 27 Dec 2019 04:00:20 -0800 (PST) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-5065-467f-7969-bf01.holly.idiocy.org. [2001:8b0:3f8:8129:5065:467f:7969:bf01]) by smtp.gmail.com with ESMTPSA id t12sm34381200wrs.96.2019.12.27.04.00.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2019 04:00:19 -0800 (PST) From: Alan Third References: <83r20qp1sp.fsf@gnu.org> <98f6081b-c969-6726-80f7-91c54629a2c3@gmx.at> Date: Fri, 27 Dec 2019 12:00:11 +0000 In-Reply-To: (Paul W. Rankin's message of "Fri, 27 Dec 2019 19:56:13 +1000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) 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: -0.5 (/) "Paul W. Rankin" writes: > On Fri, 27 Dec 2019, at 7:47 PM, martin rudalics wrote: >> >> Please show a backtrace from GDB when Emacs crashes. >> >> >> >> Thanks. >> > >> > This might be a bit beyond my skillset (i.e. idk what GDB is...) >> >> This thread is confusing. Does Emacs crash or doesn't it, given > > It is but a journey... with twists and turns.... > > But yes Emacs crashes. See: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38757#16 > > The crash is limited to running emacs as a daemon then interfacing with > emacsclient -nw It looks to me like this is the same as bug#38564. Robert applied a fix that sometimes works, but he has a proper fix worked out, he just needs to finalise it and apply it. -- Alan Third From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third Cc: martin rudalics , Eli Zaretskii , 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.1577450656976 (code B ref 38757); Fri, 27 Dec 2019 12:45:02 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 12:44:16 +0000 Received: from localhost ([127.0.0.1]:56623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikoyW-0000Fg-7C for submit@debbugs.gnu.org; Fri, 27 Dec 2019 07:44:16 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikoyU-0000FT-H8 for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 07:44:14 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 32E1621C39; Fri, 27 Dec 2019 07:44:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 27 Dec 2019 07:44:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=M8W9jaET/QRMzW7fjiHlWVzhXD t+izL1SNEvagU8GOc=; b=HARMQrQG3Dduz2DTD6hCjXpc65JQg08ZXq2/E1IqcF vDKOrKrECUC0uxyw4PwKCehY44bn9G0FRlAD8RgxqnMWB/cGeLOHgQ7SRM1HM+oa K8RZZRTm+v8+wc5yGMUD5Bh9Ylxd//MjR/rioqE2w5Gh+Spfd3McouV3l6EcemuP iyZiphi8ewavrcH+ffO5ioEVkj4sGgYhMfd6uKIfTHwzPfR1aRRuWHjkhd3KfGM0 DDqt2uVOFx3v8ju2zG59V70qqWLE8vCKkHdXOM9Jy4rOh9hCG19KVaf3LChvaUCZ 2p3SNF6k2fTEeIg5eEnu4cui/wxzmneI60FOM1/KELbg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=M8W9ja ET/QRMzW7fjiHlWVzhXDt+izL1SNEvagU8GOc=; b=kErdQHAYSH16eIPp1zTNwr SSYwe0jN7lN+yg6hsuhWgNN7AaQNqNFMy+nIfuTuYLTWL0zMJ8XRm/yJG/Gr1OAV UM2doSI8iGcN6K/01aB3MRT3SddzUN5N1tS/xkoDV94PbOdfjyKMFjUFCjDfX5tz blccHWm19bwwB4xtkocDGzm/pvRspLIRZIJBWWjwzF8IiRhF+PWPO7fJ5XPP6yTs SBdmsSeYWVWNnryrbKqDbZuRV3ox1vaJjjK/bKs76SpjObgtm2pZgvlTLihAW3vG 0lTKs1fWZfoQggqwkVouFyviEOlZVL27djn3/JPRC7eTEAaXpQZgjr4dNuwzE9BQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddvkedggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpedfrfgruhhl ucghrdcutfgrnhhkihhnfdcuoehhvghllhhosehprghulhifrhgrnhhkihhnrdgtohhmqe enucfkphepuddvtddrvddvrdefkedrfeeknecurfgrrhgrmhepmhgrihhlfhhrohhmpehh vghllhhosehprghulhifrhgrnhhkihhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (unknown [120.22.38.38]) by mail.messagingengine.com (Postfix) with ESMTPA id 237BA8005B; Fri, 27 Dec 2019 07:44:06 -0500 (EST) References: <83r20qp1sp.fsf@gnu.org> <98f6081b-c969-6726-80f7-91c54629a2c3@gmx.at> User-agent: mu4e 1.2.0; emacs 27.0.60 From: "Paul W. Rankin" In-reply-to: Date: Fri, 27 Dec 2019 22:44:02 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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.7 (-) On Fri, Dec 27 2019, Eli Zaretskii wrote: > I cannot reproduce this on GNU/Linux, I get the expected result. So > it might be Darwin-specific, or maybe someone will be able to > reproduce on GNU/Linux and post a backtrace. On Fri, Dec 27 2019, Alan Third wrote: > It looks to me like this is the same as bug#38564. Robert applied a fix > that sometimes works, but he has a proper fix worked out, he just needs > to finalise it and apply it. I can reproduce it (on OSX) only about two-thirds of the time. From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: emacs-27; reliably crashes when wrapping visual lines Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: hello@paulwrankin.com Cc: 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.15774552728126 (code B ref 38757); Fri, 27 Dec 2019 14:02:02 +0000 Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 14:01:12 +0000 Received: from localhost ([127.0.0.1]:56640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikqAx-000270-S3 for submit@debbugs.gnu.org; Fri, 27 Dec 2019 09:01:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikqAw-00026n-Os for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 09:01:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ikqAr-0005rP-Gw; Fri, 27 Dec 2019 09:01:05 -0500 Received: from [176.228.60.248] (port=2182 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ikqAo-0005nn-5e; Fri, 27 Dec 2019 09:01:03 -0500 Date: Fri, 27 Dec 2019 16:01:00 +0200 Message-Id: <83h81lq34z.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83lfqyoyd7.fsf@gnu.org> (message from Eli Zaretskii on Fri, 27 Dec 2019 12:29:24 +0200) References: <83lfqyoyd7.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: Fri, 27 Dec 2019 12:29:24 +0200 > From: Eli Zaretskii > Cc: 38757@debbugs.gnu.org > > > 1. checkout emacs-27 branch and build > > 2. emacs --fg-daemon > > 3. emacsclient -nw > > 4. in *scratch* > > > > (let ((margin (/ (window-body-width) 4))) > > (visual-line-mode 1) > > (insert (make-string (window-body-width) ?x)) > > (set-window-margins nil margin margin)) > > > > Expected resutls: > > > > The window should have symetrical margins each half the window body > > width. The window text should be a line of 'x' wrapped at the window > > body edge. > > > > Actual results: > > > > Fatal error 11: Segmentation fault > > zsh: abort emacs --fg-daemon > > Thanks. > > I cannot reproduce this on GNU/Linux, I get the expected result. So > it might be Darwin-specific, or maybe someone will be able to > reproduce on GNU/Linux and post a backtrace. And one more question: does this happen if you invoke Emacs with -Q? From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: emacs-27; reliably crashes when wrapping visual lines Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2019 01:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.15774948567596 (code B ref 38757); Sat, 28 Dec 2019 01:01:02 +0000 Received: (at 38757) by debbugs.gnu.org; 28 Dec 2019 01:00:56 +0000 Received: from localhost ([127.0.0.1]:57907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1il0TP-0001y9-Ld for submit@debbugs.gnu.org; Fri, 27 Dec 2019 20:00:55 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:50381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1il0TN-0001rF-LH for 38757@debbugs.gnu.org; Fri, 27 Dec 2019 20:00:53 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id D26EE5B8; Fri, 27 Dec 2019 20:00:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 27 Dec 2019 20:00:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=2zjw2TPIYnS+3OZd0mFAg0ybgQ hCwbPlG6xzGRpciZM=; b=GUp/rpIF/qIh3B9Vb7IoATeUhdgHP6byeYXR1O78f8 /EtEt4uKEUZW21t9Lu+Y4i1Z0fpGGOcjAqWrs7av4JztpbJbmNlHYWI6UGsVvFjV InVOahcIiyXTzRjCd/dPF1I55dgJRCHHisn6nD28sioj9IJQVKbd6jydBZG6s2e+ FlH1rfkovRzd1fJLtKO4btJ47DK+gILvsugFCOeLCU7sItQsegjEOlxXBVoX69MK CoMo7mlhAaQke3ndbnEi99zlD3xJMrjestiARLPS1t7y38I3V6qPrVxZ4cSH6uP7 jn9xVT1ADriFLpMdhLTE8vxgjyomc1vp1tkr/sJcH75w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=2zjw2T PIYnS+3OZd0mFAg0ybgQhCwbPlG6xzGRpciZM=; b=KmIsaTWsYdHZ0QXRNsCIZP yfo2StvY/MZygM+pwpkqp7MBx7tO7sk6sDiyvbPhUx1hVzzJRgOe7ouP92QhIqxt h3mRdQONWDn2A4Vitb+QtvcnnCn7BlER8U57ZuobB16SEA/BFzFYjv7GQ2BFcAhK iTLibSCQh7AKiGUpvTTbB1roa/7ZkBmzM1uRtCua4hlA33JFln8dlthOzXtoNqnO GsMz8lNCSB7vLRcDeE72Av79UhlQ99deiIhfHOqZZzeeXNfVC31JQNieqKmJPgeN +EOwz23RlmDclXOJGPIi3iNpJ8vlcYBTF3sg9EFKDckd6PcZsOzrsC0r2oT2CyhQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddvledgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpedfrfgruhhl ucghrdcutfgrnhhkihhnfdcuoehhvghllhhosehprghulhifrhgrnhhkihhnrdgtohhmqe enucfkphepuddvtddrvddvrddvuddrvddutdenucfrrghrrghmpehmrghilhhfrhhomhep hhgvlhhlohesphgruhhlfihrrghnkhhinhdrtghomhenucevlhhushhtvghrufhiiigvpe dt X-ME-Proxy: Received: from localhost (unknown [120.22.21.210]) by mail.messagingengine.com (Postfix) with ESMTPA id 248B58005B; Fri, 27 Dec 2019 20:00:45 -0500 (EST) References: <83lfqyoyd7.fsf@gnu.org> <83h81lq34z.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 27.0.60 From: "Paul W. Rankin" In-reply-to: <83h81lq34z.fsf@gnu.org> Date: Sat, 28 Dec 2019 11:00:42 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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.7 (-) On Sat, Dec 28 2019, Eli Zaretskii wrote: > > And one more question: does this happen if you invoke Emacs with -Q? Yes. Sorry -Q should be in the steps. Also, I get the same results with either --fg/bg-daemon. From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Dec 2019 21:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Paul W. Rankin" Cc: Alan Third , 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.157765382315944 (code B ref 38757); Sun, 29 Dec 2019 21:11:02 +0000 Received: (at 38757) by debbugs.gnu.org; 29 Dec 2019 21:10:23 +0000 Received: from localhost ([127.0.0.1]:60295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilfpP-000496-Gd for submit@debbugs.gnu.org; Sun, 29 Dec 2019 16:10:23 -0500 Received: from mail-wr1-f41.google.com ([209.85.221.41]:36815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilfpN-00048s-PT for 38757@debbugs.gnu.org; Sun, 29 Dec 2019 16:10:22 -0500 Received: by mail-wr1-f41.google.com with SMTP id z3so31153143wru.3 for <38757@debbugs.gnu.org>; Sun, 29 Dec 2019 13:10:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=HRBrSaJSH16dXW2Vaqv3vgjT/H3S8QhJR9b+3U7Q6Ng=; b=vGjSUNObMOlC2VNp9J04dEZxJiOSOgHPuSUjkGNSjooIg+cY14rnFE5kwTWT9VZcrv +qtoiwKaNVBfA7QJVl9/v5AezwZCnwuyKAs5VgjI8ZUjLPxJEP5+ZOMVexF0ZXEBMuxE xxrM8tc/w4b/7tDcHUAfLCcYbnkit5iRCRRWadusC8uf89g8LcLXNXeB1Trvh/FOJjmM gX97WF31eK6z1EZbGgpNQp91qn7JlYKfv35Zq8TvPsYFNUijIYvzDsVG5YzcTPUNIVak qhUEu+aDAXTIx9DN8DiE+eN5RNleaCpiBgRkNqI8glaC66kBfA0PSUAQxzIH8LhLc53H mA/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=HRBrSaJSH16dXW2Vaqv3vgjT/H3S8QhJR9b+3U7Q6Ng=; b=FTDbK2TvjWlQQwo6kaDotXOtfW+hEF1qQkYozlo60Jj7GP7e7ZDNJDxmN4JNKsOuXW q6pieWbw6mJDGwpnabX+SsBSzgVGZtOaTiffLwDkgD00tzI2XAsKu6y9lAxGTejWhS7M +ZyTprDslUamMYVIUYntRmV5ffDfWN3NptL9Wg8Q3Fmpy4c36gb3d1KPfJSQ4r9idNLs dTSCj/7pG2ysWOK44CBpyLIteqcpU5F4rslC3hNGKeSr+vpYmTQaLXywhlL+BWTOFmJX A4QTv5eJsqUFsjLAf5Cpnqi9ByBZXmAPAiWi0dnd5uQTGa8stHrMz13jcX8zMzqguLS+ HBdA== X-Gm-Message-State: APjAAAW5pnKUlCHbs/zxR4uNHcxk5RCFCypISxTf7N2tKUKnuGA2UzlK NtHYP8u6UuDIrtdQ1td2ugAFrSJtSIz2Eg== X-Google-Smtp-Source: APXvYqz0RwADT6yAOh1oX3eKxd2H9i+171m2+tlsyDXrCuZC+hpNxD0Si5fURVwIwXIvQnnWrhsFjQ== X-Received: by 2002:a5d:4386:: with SMTP id i6mr62783615wrq.63.1577653814604; Sun, 29 Dec 2019 13:10:14 -0800 (PST) Received: from rpluim-mac ([2a01:e34:ecfc:a860:f526:2fc9:7a9e:3937]) by smtp.gmail.com with ESMTPSA id m21sm18141923wmi.27.2019.12.29.13.10.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 13:10:14 -0800 (PST) From: Robert Pluim References: <83r20qp1sp.fsf@gnu.org> <98f6081b-c969-6726-80f7-91c54629a2c3@gmx.at> Gmane-Reply-To-List: yes Date: Sun, 29 Dec 2019 22:10:13 +0100 In-Reply-To: (Paul W. Rankin's message of "Fri, 27 Dec 2019 22:44:02 +1000") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) >>>>> On Fri, 27 Dec 2019 22:44:02 +1000, "Paul W. Rankin" said: Paul> On Fri, Dec 27 2019, Eli Zaretskii wrote: >> I cannot reproduce this on GNU/Linux, I get the expected result. So >> it might be Darwin-specific, or maybe someone will be able to >> reproduce on GNU/Linux and post a backtrace. Paul> On Fri, Dec 27 2019, Alan Third wrote: >> It looks to me like this is the same as bug#38564. Robert applied a = fix >> that sometimes works, but he has a proper fix worked out, he just ne= eds >> to finalise it and apply it. I=CA=BCve just pushed it to emacs-27. Sorry for the delay. Paul> I can reproduce it (on OSX) only about two-thirds of the time. 38564 has a reproduction involving git-gutter which triggers 100% of the time for me. Robert From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Dec 2019 01:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Robert Pluim Cc: "Paul W. Rankin" , 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.15776676484859 (code B ref 38757); Mon, 30 Dec 2019 01:01:01 +0000 Received: (at 38757) by debbugs.gnu.org; 30 Dec 2019 01:00:48 +0000 Received: from localhost ([127.0.0.1]:60355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iljQO-0001GJ-6q for submit@debbugs.gnu.org; Sun, 29 Dec 2019 20:00:48 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:40095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iljQL-0001G5-SS for 38757@debbugs.gnu.org; Sun, 29 Dec 2019 20:00:46 -0500 Received: by mail-wr1-f50.google.com with SMTP id c14so31385689wrn.7 for <38757@debbugs.gnu.org>; Sun, 29 Dec 2019 17:00:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=lzyOAdNoPIRKCx8Ho/rcjyuC1GcRv4EoWxNA/Xm73nw=; b=SHOAfkkAnXz/LHIAd4UJ2ApQ43SWf2SLC2m6sx3DQ9b9s3I99zdqiK15Dq567+tUpq D8Q5sICJ4NBpXflwVeeo9vEyOPDE0BlGSQiTGJnkrq6+bWI+KaA0Agv3FuBNQ5xXZyPK 5miwfDfz0Q1WBTJgx3uLJbqI0envzxgj1quUYoCW1kZ/ncRvPiRqR9vKjDJHIEQMfO7H i0qIw9DBlQHqpYXDinsQRn1bd/5KbfMPH7Xb8jMB8xX2+FA/RXRwLs/XIHCvBJJ/TFZU Gtwv2q8gUConZHokr/Zl0OxHsxYP1Vn0wMWswogmme9GDuWcsAb3Z/o5PFimndvxda5e K9fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=lzyOAdNoPIRKCx8Ho/rcjyuC1GcRv4EoWxNA/Xm73nw=; b=kaPmvyBYdCzcMTpFwjOOu8ICb2RyyomV/6JFR19xv4Nz9QYo/btHsVCcptcWDw33Hl g3S279nZQbvPX/CzOT0CxUeyVaGeu2CYAg+TOs2Owo8WKH3pXdMzLJWQXPa8iO4xbjKr j3REHEmsp1Krz9orFkp5RMKYm5aIZicbm4l0MFxQ2EURxLAo18KSAAFZlys7CqFos59r kSsX0wBBWiN+Dq/uSUJsS96Ip0SqUlTs9Oa3lgUByACcHPi1N63ay0z0JA+g8RVF0d+6 AAV68iF0N8YMdWniq24N1H/JX7HkzApsS8/P6ArjDvGvhTJD06+G07qITSeYLTAgG1H4 KjZg== X-Gm-Message-State: APjAAAVDb/FXmZy/BSg5bEu6dgMzK3JqSWig9stSu3rlZYEOltn+FLp7 XprXpTeQfR5xgBo4GZ2NdH0= X-Google-Smtp-Source: APXvYqzHxu46p9VP2AbuxM0XmSotQRqHmdrxT+UuWhpZmWzJiBAO/mmCjkB/xV8iFuA++WqsuR3HEg== X-Received: by 2002:a5d:528e:: with SMTP id c14mr66583620wrv.308.1577667639979; Sun, 29 Dec 2019 17:00:39 -0800 (PST) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-5065-467f-7969-bf01.holly.idiocy.org. [2001:8b0:3f8:8129:5065:467f:7969:bf01]) by smtp.gmail.com with ESMTPSA id p26sm18741081wmc.24.2019.12.29.17.00.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 17:00:39 -0800 (PST) Date: Mon, 30 Dec 2019 01:00:37 +0000 From: Alan Third Message-ID: <20191230010037.GA2422@breton.holly.idiocy.org> References: <83r20qp1sp.fsf@gnu.org> <98f6081b-c969-6726-80f7-91c54629a2c3@gmx.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: 0.4 (/) 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: -0.6 (/) On Sun, Dec 29, 2019 at 10:10:13PM +0100, Robert Pluim wrote: > >>>>> On Fri, 27 Dec 2019 22:44:02 +1000, "Paul W. Rankin" said: > > Paul> On Fri, Dec 27 2019, Eli Zaretskii wrote: > >> I cannot reproduce this on GNU/Linux, I get the expected result. So > >> it might be Darwin-specific, or maybe someone will be able to > >> reproduce on GNU/Linux and post a backtrace. > > Paul> On Fri, Dec 27 2019, Alan Third wrote: > >> It looks to me like this is the same as bug#38564. Robert applied a fix > >> that sometimes works, but he has a proper fix worked out, he just needs > >> to finalise it and apply it. > > Iʼve just pushed it to emacs-27. Sorry for the delay. I’ve given it a go and I couldn’t reproduce the crash, so I think we’re good. Thanks for fixing this. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 29 20:01:27 2019 Received: (at control) by debbugs.gnu.org; 30 Dec 2019 01:01:27 +0000 Received: from localhost ([127.0.0.1]:60359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iljR1-0001Hl-IV for submit@debbugs.gnu.org; Sun, 29 Dec 2019 20:01:27 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:52294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iljQz-0001HU-NP for control@debbugs.gnu.org; Sun, 29 Dec 2019 20:01:26 -0500 Received: by mail-wm1-f49.google.com with SMTP id p9so12849504wmc.2 for ; Sun, 29 Dec 2019 17:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:message-id:to:from:subject; bh=eJzGhpSkSG3zSriq0FI9xB4niB8k2kk27NPwCwVAWZI=; b=DERBl+vxxGW7R+/ZCqKsvNY1A0KLaIvJsIqhKgZYkP4J1KcXarEwJyaEu2LthCBaqx PdMICaAYXQOJpQU8Ml9ELIzdU1zTVYo/u5PMmjr4S8n1zw8YTd91OL5Y/HUnsFHjKZCS m67SwYWxutS9GXWYJJxvsgQ0Y0OUQMLkQc0xd+SVUuSAT2eYzWG1nLDd/h8ZgbYLTz7H YMpxKEGNcs9Ju3BuBxnbHhGNPLEh8B+447WovctzE7BTpWaa8+iolP4V7CITyn1cjjcp wV6zI0CFkfnl6SsA0+EXTZg6WYudKCJbpPEsDix+bD0+4JL2oQrIC7kXuijoz2CKGhvr 7XQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:to:from:subject; bh=eJzGhpSkSG3zSriq0FI9xB4niB8k2kk27NPwCwVAWZI=; b=F9xxo1KYFU6rDU9z1qhfYEMM46/zGsqcAFvaf093A4IjYa7y/EHCMDcCTZevlI+NtX WLBPIoM4PiDyuwbvFRpq3574rU9hf7LQX36A+ZoPRqk+sln42vH7qfPI2B8l2en9s6Wa iYkk8uNGNR2YzHXbv67IRGRB6xI1n11f0gd/61A8Bop1U59wAEKVQDZMXQnI/84J9DLb Y1nZJSzxq5hOl23BmlDvfz73+CI8ZcSqOmxeE8qc5rpoduBZGDI4NzcB9XR4dIziNEKE M1imDgv+Uuj208eH5/rvulDJnB0FTZwYfGO9Upj4l80USARh0eDUOuiV6HcEYrI8jXbM EzAQ== X-Gm-Message-State: APjAAAVYJUhGnx4kei39QTcLUtXnmPVWCo2utpMqNS89O247L6h/Orvo DduOtEumdNPotyiyvjo6tjGTbtJw4B0= X-Google-Smtp-Source: APXvYqxhY2dXR26Elvj+F235MOQttKvZ2msCQ0OynQERrtjwaumUMT4X/b+pMqXK7ZjcBd2D5wTTVw== X-Received: by 2002:a1c:6605:: with SMTP id a5mr30939447wmc.112.1577667679687; Sun, 29 Dec 2019 17:01:19 -0800 (PST) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-5065-467f-7969-bf01.holly.idiocy.org. [2001:8b0:3f8:8129:5065:467f:7969:bf01]) by smtp.gmail.com with ESMTPSA id p18sm18500035wmb.8.2019.12.29.17.01.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 17:01:19 -0800 (PST) Date: Mon, 30 Dec 2019 01:01:12 +0000 Message-Id: To: control@debbugs.gnu.org From: Alan Third Subject: control message for bug #38757 X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: control 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: -0.6 (/) tags 38757 fixed close 38757 27.1 quit From unknown Tue Jun 17 01:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38757: Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Dec 2019 03:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Alan Third Cc: Robert Pluim , 38757@debbugs.gnu.org Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.157767612326204 (code B ref 38757); Mon, 30 Dec 2019 03:23:02 +0000 Received: (at 38757) by debbugs.gnu.org; 30 Dec 2019 03:22:03 +0000 Received: from localhost ([127.0.0.1]:60420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1illd5-0006oZ-FW for submit@debbugs.gnu.org; Sun, 29 Dec 2019 22:22:03 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1illd3-0006o5-7M for 38757@debbugs.gnu.org; Sun, 29 Dec 2019 22:22:02 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DB75C21EA0; Sun, 29 Dec 2019 22:21:55 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 29 Dec 2019 22:21:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= yIq0R+YwmT2AyG8L+ZlHID0AsU8OovDt+hiUyIxicn4=; b=qmYsAbqniGieH7W/ puBZlp5TIn3oKIERm45GHfBpybbgTLb3iXDDzT0j3v/f0Cm4udLL2NJMbFzKSYg6 Db+Vb7mRARykEKEqlXxzMV+RiNZDXLpj6CaTU2sduJLUCuBnr34ELrBRcAdGAyCw dkxb7SgJsmJEcs38oR0wi+8ULeZ1l8apxfD7VqgzGfHnmz05i9Exu9kD4mbFoM6n g7tilWb/CJFo89IOv64KfZJ4s/yeikUbMCvjWDxGxoQOzBz4ly+bNeRDT3/K33ad ePVEXFjwMb+TKXo+gFhNmmIJ+S94UIVy+/VnP0x1+IEkxhDDgvfgJx/5LhK8kyTO 2+x8Zw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=yIq0R+YwmT2AyG8L+ZlHID0AsU8OovDt+hiUyIxic n4=; b=BWmLZoBMiVPzER6UKaUDvPXXJcr3GiBcjHubZe94QjcirkCtelr+RzVkf WbC/t5UAA4JLRJX8nCqwKZFD0tVGsSxGMjpgqUYwvR4wO/MH5JxjdVYQtehB4lYe RvQjxy/iqiZwKI56dp0f2QkBbPPT0HArXqvGsRe5NcQL8aj0F3mZKGFn+Ipd7psn yMWY0AUqwuCOg7CexjtUAB0ocPtBhzH6m0fHOoBHkP7FRPF98xlh47mwmJtCuMAL VkIji6hrDrg637hBqNWolpWLctP42xTfb4KdSRSKDqWqEZ/Pre630V7awG08pHGt +sYLzMXJJDIPTuNsy7S30/diHWEvA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdefgedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtgfesthhqredttderjeenucfhrhhomhepfdfrrghu lhcuhgdrucftrghnkhhinhdfuceohhgvlhhlohesphgruhhlfihrrghnkhhinhdrtghomh eqnecukfhppeduvddtrddvvddrfedrieenucfrrghrrghmpehmrghilhhfrhhomhephhgv lhhlohesphgruhhlfihrrghnkhhinhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (unknown [120.22.3.6]) by mail.messagingengine.com (Postfix) with ESMTPA id DAF493060AAA; Sun, 29 Dec 2019 22:21:54 -0500 (EST) References: <83r20qp1sp.fsf@gnu.org> <98f6081b-c969-6726-80f7-91c54629a2c3@gmx.at> <20191230010037.GA2422@breton.holly.idiocy.org> User-agent: mu4e 1.2.0; emacs 27.0.60 From: "Paul W. Rankin" In-reply-to: <20191230010037.GA2422@breton.holly.idiocy.org> Date: Mon, 30 Dec 2019 13:21:51 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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.7 (-) On Mon, Dec 30 2019, Alan Third wrote: > On Sun, Dec 29, 2019 at 10:10:13PM +0100, Robert Pluim wrote: >> I=CA=BCve just pushed it to emacs-27. Sorry for the delay. > > I=E2=80=99ve given it a go and I couldn=E2=80=99t reproduce the crash, so= I think > we=E2=80=99re good. Looks fixed to me! Thanks everyone :) From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 06 10:12:38 2020 Received: (at control) by debbugs.gnu.org; 6 Jan 2020 15:12:38 +0000 Received: from localhost ([127.0.0.1]:46499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ioU3a-0001Rf-3O for submit@debbugs.gnu.org; Mon, 06 Jan 2020 10:12:38 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:36751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ioU3Y-0001RO-HM for control@debbugs.gnu.org; Mon, 06 Jan 2020 10:12:37 -0500 Received: by mail-wr1-f50.google.com with SMTP id z3so50022444wru.3 for ; Mon, 06 Jan 2020 07:12:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:from:subject; bh=v95fJEFd3YtKdMlA7L5hl7U9cyNP6LzE87Hj1usnZUc=; b=e1wDXfRPr/gMgHmuzOtu++G/5VPMYqCUDgW2I0A6FUSJJHkxhEMdndRpW8x6v7a5dW y9B9z7xrY3D4VpCAUkWw+yQImZNM6BEXkSy+WB/tu8r2ZjpaECb1/BVuXQmVhq0/Cx/u ZWBbqB0AWjbCYZMcOt/vUBA9U0z7OtH7o+DmjK55D5LFbaamGT3NrMkR5w9QFvgz4sY9 +Thwxft93lC57vE8nAdmT9agNLJshqMdfFLF4C2R8uao0hFw9rIGTvgSihhyckwKOiRV VIxFN/H+UDrcmWPRRc2Thm+3CIan/sYODjqkoDz3WuYUcbu1k0+4AEAWmPjzEKMmb2tp gk7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:from:subject; bh=v95fJEFd3YtKdMlA7L5hl7U9cyNP6LzE87Hj1usnZUc=; b=ak9NBebmgVoDdig3OKq6aVOoNyNoYxlj+PDqYJiirONZu7lc12sqzGeNGnzidNttft Zdoy9lKfuBLeXf/xHENmZPYeaMUZBG2rHC/Ss7sZ8eeZRBy4Fsu1he6yDmcMl/WLFEk7 ldjdL3cDoRozJwIWVp+UtZ5/8aEeo7S3nqX1qWgTolTE7ud2rWDc8rKzfZGMh6hvk+Oz figdqHqRAR4uGa4j47aezN0YD7zXkyeGz4vi9CzjJPuvoC7H61UZeFcV8ZqQtaJg5Xci r4Q93Ftd3cWtEJ9jJZlIJTP9jx6JKLk6V2ZRZM0AwFR+zpkHCOsIEwjIlagfapobzq+l ChdA== X-Gm-Message-State: APjAAAVbcaLY78tJdI4+HM1zyXngRA+RXAHwq7aK0naO0rMXwiip9J9i G5y8+ySukcfIhb29psPObdqdSE6S X-Google-Smtp-Source: APXvYqwh/9g7pcgAJgjXwTOspjkPWR1uU0bK9ZmaVcCIXfo/1FLhmrHWwftb2IDBvmIS84/89oWcpg== X-Received: by 2002:adf:f1cb:: with SMTP id z11mr100986150wro.375.1578323550426; Mon, 06 Jan 2020 07:12:30 -0800 (PST) Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id t1sm23446024wma.43.2020.01.06.07.12.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:12:29 -0800 (PST) Date: Mon, 06 Jan 2020 16:12:28 +0100 Message-Id: To: control@debbugs.gnu.org From: Robert Pluim Subject: control message for bug #38757 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) merge 38757 38564 quit