From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.help Subject: Re: Is there a way to avoid clobbering minibuffer by messages? Date: Thu, 30 Mar 2023 09:52:26 +0000 Message-ID: References: <3f004ca9-1f71-2c5b-17f1-e154f209e6d3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12996"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Platon Pronko Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 30 11:53:04 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phoxp-00031S-Th for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Mar 2023 11:53:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phoxL-0006dq-W7; Thu, 30 Mar 2023 05:52:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phoxL-0006dR-2O for help-gnu-emacs@gnu.org; Thu, 30 Mar 2023 05:52:31 -0400 Original-Received: from heytings.org ([95.142.160.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phoxJ-00059b-D8 for help-gnu-emacs@gnu.org; Thu, 30 Mar 2023 05:52:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1680169946; bh=Ug825vHdtIPtBnqOq0rHaOGranq5WTwIuGByU9dSOS4=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=F7R9HK3W5MWTJgAVxRVyhHOiNvBdz4Do55nt/M6OFq20N2xV6F0sCyheCH9taK1Vg w0a4zohMIT8CwKd/UNDe1gHUYZrpdSCsQp/BDk03ecABFRH77b3ArvCMKmilqRVJmd 5pI0TK3CW8RezpM9r2DJXlNuI8QyhRaCe7mW0rUUuDw9h4fNYANVPaYP2My9IM4E0O 9sI8RS637WKdTwdu06FBfmLy/rs1bKoB7/9OtHSOjMkNKlPL1f/e6X++KXJlndZyhP vrILo6FHUFmH5R7X5SysABHCij3VNNONAzFSZpm8skAK0xl3Beh91djhWiRALvtvqo 9ptLiqW3CQU/w== In-Reply-To: <3f004ca9-1f71-2c5b-17f1-e154f209e6d3@gmail.com> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143149 Archived-At: > > I use ivy and tramp, and I often notice that tramp messages are output > to minibuffer while I'm in the process of connecting to the host, which > breaks formatting of the minibuffer. I also noticed messages messing up > minibuffer contents on many other occasions. > > Is there a way to put messages somewhere else? Or maybe the other way > around - keep messages in minibuffer, but use ivy in some other > minibuffer? > You can display these messages whereever you want by defining your own variant of set-minibuffer-message and doing (setq set-message-function 'my-set-minibuffer-message).