From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Paul W. Rankin" Newsgroups: gmane.emacs.bugs Subject: bug#38757: Date: Fri, 27 Dec 2019 18:04:11 +1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="4701"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.2.0; emacs 27.0.60 To: 38757@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 27 09:05:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ikkcR-00015e-0E for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 09:05:12 +0100 Original-Received: from localhost ([::1]:60680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikkcP-0001uw-U5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 03:05:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43215) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikkcJ-0001up-K1 for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 03:05:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikkcI-0003FW-GR for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 03:05:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ikkcI-0003FA-3j for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 03:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ikkcI-0004RA-0i for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 03:05:02 -0500 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 38757-submit@debbugs.gnu.org id=B38757.157743386517010 (code B ref 38757); Fri, 27 Dec 2019 08:05:01 +0000 Original-Received: (at 38757) by debbugs.gnu.org; 27 Dec 2019 08:04:25 +0000 Original-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 Original-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 Original-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) Original-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: Original-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) In-reply-to: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173800 Archived-At: 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