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: Mon, 29 Apr 2019 23:15:09 +0300 Organization: LINKOV.NET Message-ID: <87sgu0va9e.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="200742"; 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 Mon Apr 29 22:22:06 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 1hLCmr-000q2R-PH for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 22:22:06 +0200 Original-Received: from localhost ([127.0.0.1]:34820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLCmq-0003mH-M5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 16:22:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLCls-0003DT-N0 for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:21:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLClr-0003iI-7F for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:21:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54581) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLClr-0003i3-3l for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLClq-0000l2-UA for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:21: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: Mon, 29 Apr 2019 20:21: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.15565692422857 (code B ref 34294); Mon, 29 Apr 2019 20:21:02 +0000 Original-Received: (at 34294) by debbugs.gnu.org; 29 Apr 2019 20:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:39891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLClW-0000k0-Ch for submit@debbugs.gnu.org; Mon, 29 Apr 2019 16:20:42 -0400 Original-Received: from orchid.birch.relay.mailchannels.net ([23.83.209.137]:7653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLClV-0000jt-5B for 34294@debbugs.gnu.org; Mon, 29 Apr 2019 16:20:41 -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 5F1FC3E5454; Mon, 29 Apr 2019 20:20:38 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a39.g.dreamhost.com (unknown [100.96.11.48]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D58E73E5ECD; Mon, 29 Apr 2019 20:20:37 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a39.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); Mon, 29 Apr 2019 20:20:38 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Minister-Duck: 3717248b61bc1506_1556569238154_1175081184 X-MC-Loop-Signature: 1556569238154:3232226287 X-MC-Ingress-Time: 1556569238153 Original-Received: from pdx1-sub0-mail-a39.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTP id 6571882B64; Mon, 29 Apr 2019 13:20:37 -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=A4aZTHVGvxNij1Ij4c7L9hEszMM=; b= 3dlMaUO2I4bTPkOOeEZsVrNMAIJsiP/YY198MPkP26k5hNaYaVDqhCNb2IXSgHql 7qUadF7jtN9/DC+NDEvPr/l+m2f8Uhuwrjk/Gsk4DgGeMaykLXs1GQCLQmyR4j59 qzphmSyyCin5rjrQ8yDVew0gU/gR1njTNwVOmvR5SiE= 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-a39.g.dreamhost.com (Postfix) with ESMTPSA id E41E18090C; Mon, 29 Apr 2019 13:20:33 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a39 In-Reply-To: (martin rudalics's message of "Thu, 25 Apr 2019 10:07:02 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddriedvgdduhedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucffohhmrghinhepghhnuhdrohhrghenucfkphepledurdduvdelrddutdejrdduleeknecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrudelkedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehruhgurghlihgtshesghhmgidrrghtnecuvehluhhsthgvrhfuihiivgeptd 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:158454 Archived-At: >> I expected everything displayed in the echo area to be preserved >> in the *Messages* buffer because clicking on the echo area displays >> the *Messages* buffer. > > At the time the echo area is displayed, every connection to where its > text comes from may have been lost already. Currently, the only way > to securely trace that relationship from Lisp is by using a separate > minibuffer-only frame and setting 'resize-mini-frames' to some > function. When that function gets called, the buffer of the root > window of its frame argument is the buffer whose contents should be > displayed in the mini window. See my attachment of > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33498#41 > > for an example of how to call such a function. > > Maybe we should allow to set `resize-mini-windows' to a function which > gets called to resize the mini window (or just allow Lisp code to look > at its buffer and call some standard function afterwards). > > But always keep in mind that Emacs asks 'yes-or-no-p' questions in the > minibuffer window and 'y-or-n-p' questions in the echo area and adjust > your expectations accordingly ;-) Glad to see you back :-) We needed your help in bug#33992 to use display-buffer-in-direction and fit-window-to-buffer for xref-find-definitions. Is your code ready for pushing to master? display-buffer-in-direction would be a nice direction of development.