From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Platon Pronko Newsgroups: gmane.emacs.help Subject: Re: Is there a way to avoid clobbering minibuffer by messages? Date: Fri, 31 Mar 2023 15:10:42 +0800 Message-ID: References: <3f004ca9-1f71-2c5b-17f1-e154f209e6d3@gmail.com> <83ilei62o6.fsf@gnu.org> <8d94bd37-d657-cf14-c0cb-372cde983ee0@gmail.com> <837cuy5y2m.fsf@gnu.org> <612cf8b3-9dea-a487-893d-241728f71944@gmail.com> <58158ae498edfb9d8921@heytings.org> <58158ae4986f49e1690e@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35538"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Cc: Eli Zaretskii , help-gnu-emacs@gnu.org To: Gregory Heytings Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 31 09:11:11 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 1pi8uk-00097b-Of for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 31 Mar 2023 09:11:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pi8uU-00030E-IW; Fri, 31 Mar 2023 03:10:54 -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 1pi8uT-0002ye-1N for help-gnu-emacs@gnu.org; Fri, 31 Mar 2023 03:10:53 -0400 Original-Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pi8uR-0001xB-Ff; Fri, 31 Mar 2023 03:10:52 -0400 Original-Received: by mail-pj1-x102a.google.com with SMTP id o6-20020a17090a9f8600b0023f32869993so24524833pjp.1; Fri, 31 Mar 2023 00:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680246648; x=1682838648; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Mb6HER2HhcFVSTyKtwXnz3gOcjfXDTQyCBqClAHlIWw=; b=OLQbCn4cO4LeOZ5F42JJVTa6q7ZUjSAfsZ674LKfW1GYNgZSJJuTEoq/BXOGv+PowC tUYzPlSSoeiIEdwoju6kV5niSoF8DvzjYcmMbUeAqDx43AoyvYwecquox7o6gLrFT1VF Ax2XS/iU2ue8fJGCiq0/brEjJMi0gukUTi+Cs9oreZUbAt+agkdfjBAecTi/GKn0Fqph ir2YK0yHVhDnRYVQz4kaTJCAtBIzBClkm+fhxY2xaexdbvAfnGOvmJc+RzCNRzyQ2on0 uI+BseVqRJB4wvFRy0xxxj7VPzvdysIikoranEiEj91aE57p0qKJpx9bv3/IvYOIsIno DR7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680246648; x=1682838648; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Mb6HER2HhcFVSTyKtwXnz3gOcjfXDTQyCBqClAHlIWw=; b=7SLubQvaKhCUMDY+b9lQBz7uFcQwH5/ECVcpaz6g28LVkn1M0tn0ijyo0ZQV7TvgAg u0Ad4nUBn+i15ikNLjrxo2duRpQY8Sjvw+G0H4hYUuxeALjY3ORVm2rvJLIXbTrMYPQh MvY7JjlnHLt3bJQiYBuVnnNYoW3vQR3NC6JYLViMWmYCZkHRjuVagOG+d4HbufCnUxLb HtLEXSUO2AkBjFyzD6ds0nBrionZvzVNQwmKh/dgZ2G3A66L3RgiJTHw74D4sXoJRSGR rFG5jKvAdTYvbVkzCgeEw8jyhSG4H7aR2K67N3Ji/nUDDelie70WLtITCRjMLcvRS17C wyIA== X-Gm-Message-State: AO0yUKXIWz6NdeO5Xy0Zbf2F0QMyjWVI4xDpAS6eXk2icpQw0HUAo4nP 6sidba/XOQFc2alPlOixjto= X-Google-Smtp-Source: AK7set+3RA/bHOhczUXT7a7LjWYhv6FnezVrpuBwVBC8KcDaVIesrY5dWbrQzeAPJK83/8pBQ4kTnA== X-Received: by 2002:a05:6a20:6695:b0:d6:d880:dcd8 with SMTP id o21-20020a056a20669500b000d6d880dcd8mr25819800pzh.52.1680246648297; Fri, 31 Mar 2023 00:10:48 -0700 (PDT) Original-Received: from [192.170.1.133] ([103.24.106.35]) by smtp.gmail.com with ESMTPSA id b20-20020aa78714000000b0062de9ef6915sm324426pfo.216.2023.03.31.00.10.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Mar 2023 00:10:47 -0700 (PDT) Content-Language: en-US In-Reply-To: <58158ae4986f49e1690e@heytings.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=platon7pronko@gmail.com; helo=mail-pj1-x102a.google.com 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:143174 Archived-At: On 2023-03-31 15:01, Gregory Heytings wrote: > >>> Actually no, I don't think I would want to put messages into the modeline. As I understand it I have multiple modelines on my screen - one for each window, and that would be unnecessary duplication of information. >> >> Did you even try the code?  The message appears only in the modeline of the bottom window in the frame, right above the minibuffer. >> > > (And it appears in the modeline only when the mini-buffer is active.) > I didn't try it out thoroughly, sorry. I saw that it appeared in minibuffer as usual and decided to not look into it further. I think of modeline as something buffer-specific, so I don't want to put global messages there. Regarding your code - I might be wrong, but won't message get stuck in the modeline if I reorder my windows before the timer runs out? -- Best regards, Platon Pronko PGP 2A62D77A7A2CB94E