From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#34294: 27.0.50; flymake-start-on-save-buffer has no effect Date: Sun, 05 May 2019 00:16:44 +0300 Organization: LINKOV.NET Message-ID: <874l69udhf.fsf@mail.linkov.net> References: <87lg2x6fox.fsf@mail.linkov.net> <87h8dkk3ho.fsf@mail.linkov.net> <87y36w8qvy.fsf@gmail.com> <87o97ruu06.fsf@mail.linkov.net> <87bm3rxjkd.fsf@gmail.com> <87k1hy19ug.fsf@mail.linkov.net> <87d0mn3op7.fsf@mail.linkov.net> <878sxak3ew.fsf@mail.linkov.net> <87d0mct2ut.fsf@mail.linkov.net> <87ftqgpe95.fsf@mail.linkov.net> <874l6vkpu1.fsf@mail.linkov.net> <83pnpicxj1.fsf@gnu.org> <871s1r2lsz.fsf@mail.linkov.net> <87sgu0va9e.fsf@mail.linkov.net> <8bbaa847-e382-5b81-c00a-0c037c272262@gmx.at> <87lfzphnx3.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="74478"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 34294@debbugs.gnu.org, joaotavora@gmail.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 04 23:20:16 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hN24t-000JEM-6h for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2019 23:20:15 +0200 Original-Received: from localhost ([127.0.0.1]:33034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN24s-00032J-7B for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2019 17:20:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN24j-000320-2y for bug-gnu-emacs@gnu.org; Sat, 04 May 2019 17:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hN24h-0005NZ-4t for bug-gnu-emacs@gnu.org; Sat, 04 May 2019 17:20:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38956) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hN24g-0005NI-Bi for bug-gnu-emacs@gnu.org; Sat, 04 May 2019 17:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hN24g-0005eQ-5b for bug-gnu-emacs@gnu.org; Sat, 04 May 2019 17:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 May 2019 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34294 X-GNU-PR-Package: emacs Original-Received: via spool by 34294-submit@debbugs.gnu.org id=B34294.155700474621658 (code B ref 34294); Sat, 04 May 2019 21:20:02 +0000 Original-Received: (at 34294) by debbugs.gnu.org; 4 May 2019 21:19:06 +0000 Original-Received: from localhost ([127.0.0.1]:52500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hN23k-0005dD-Md for submit@debbugs.gnu.org; Sat, 04 May 2019 17:19:06 -0400 Original-Received: from purple.birch.relay.mailchannels.net ([23.83.209.150]:60526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hN23h-0005cm-Hy for 34294@debbugs.gnu.org; Sat, 04 May 2019 17:19:02 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2C7B112369A; Sat, 4 May 2019 21:19:00 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a62.g.dreamhost.com (unknown [100.96.11.48]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 92B9C124CFF; Sat, 4 May 2019 21:18:59 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a62.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sat, 04 May 2019 21:19:00 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Illegal-White: 5e11ad1256c3917e_1557004739766_1774639775 X-MC-Loop-Signature: 1557004739765:1547796247 X-MC-Ingress-Time: 1557004739765 Original-Received: from pdx1-sub0-mail-a62.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a62.g.dreamhost.com (Postfix) with ESMTP id 458318091D; Sat, 4 May 2019 14:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=TyUFW2ZVp00LGMamS+y+cODSuNc=; b= LFTDYn/zhRyIlLYQzXMDNG9JsC6vjb1bE75/nlzIHvVIzG+dBemF+GkFQsI7e7mr TrrRnRSiwWC3mntxhgbk+1WFjvJsW7RifndNM3qECyEutcxZvDqNt591TZsoZX4B cDj9T6qcF8f3b614MTrk3/ZTSmfaNBjagjceTNHdh6I= Original-Received: from mail.jurta.org (m91-129-107-198.cust.tele2.ee [91.129.107.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a62.g.dreamhost.com (Postfix) with ESMTPSA id 2BFD28090D; Sat, 4 May 2019 14:18:55 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a62 In-Reply-To: (martin rudalics's message of "Sat, 4 May 2019 19:34:19 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrjeefgdduiedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrdduleeknecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrudelkedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehruhgurghlihgtshesghhmgidrrghtnecuvehluhhsthgvrhfuihiivgepud 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:158765 Archived-At: >>> IIRC you had problems fitting the window to its buffer afterwards. >>> Shouldn't we investigate that first? >> >> Yes, the problem was fitting the xref window after it's displayed. > > What is going wrong here? If with emacs -Q and > display-buffer-in-direction.el loaded I evaluate say > > (display-buffer > (get-buffer-create "*text*") > '((display-buffer-in-direction) > (direction . right) > (window-width . 20))) > > I get a 20 character wide window. If I put some text in that buffer > and use 'fit-window-to-buffer' instead of 20, Emacs fits the window to > its buffer as expected. What is different with the xref window? Maybe because fit-window-to-buffer is broken? Another case where it's broken is proced that uses fit-window-to-buffer: 0. emacs -Q 1. C-x 3 2. M-x proced 3. d d x The buffer *Marked Processes* is displayed in random place.