From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gHXDGWn+Z2FEkwAAgWs5BA (envelope-from ) for ; Thu, 14 Oct 2021 11:54:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eKtxFWn+Z2E/LgAAB5/wlQ (envelope-from ) for ; Thu, 14 Oct 2021 09:54:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E6CB7EA03 for ; Thu, 14 Oct 2021 11:54:48 +0200 (CEST) Received: from localhost ([::1]:49526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maxRn-0000s2-53 for larch@yhetil.org; Thu, 14 Oct 2021 05:54:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maxRN-0000rm-TW for emacs-orgmode@gnu.org; Thu, 14 Oct 2021 05:54:21 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:36647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maxRM-0004XC-B6 for emacs-orgmode@gnu.org; Thu, 14 Oct 2021 05:54:21 -0400 Received: by mail-wr1-x430.google.com with SMTP id o20so17653259wro.3 for ; Thu, 14 Oct 2021 02:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=/RGjIiObjj64LqVqQyX9kR2k0D7Lcx9OJE4+fxk+N0c=; b=XoDxXZwTmuyz/3dC6+TkPbcF6xlA/ioBwAUewb3wzKpTQamznOGvVpTMaiocgrFCeF NLGPk+tIzHK4A2I007GQ2lpLSI99ewc5S+TQ6Zb86/Un6s1OtXYgpaVAr2o1YmKSgeLu FoLP5Vt5aMzeTNBlBgtlDRqwAHirx/KAjbHNgkXJRiYQ1QeUsLuTbpJFHc8MaGV5lA4s 6Q99ENB5doVW06iAGN7eobHrKoOHYcuX2u8i/4BbIjwK2usDmmQXn21wLDJbuOYJcgZ5 KqbNWGcedSzHgOXo69kxwCnWPSnhvNIPGWZB+ysfXBxc0382Dd1N3rzLnZpdPKq5Hk8H 5Itw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=/RGjIiObjj64LqVqQyX9kR2k0D7Lcx9OJE4+fxk+N0c=; b=VCVqTBbgmSlB4bcHN5OxLmCeAP8xKf578afOBwq4hQ3DSDschUYnL2id/xd80FhQj6 GgIpWVt+QmQA4Y3HmtA7SS+ENu1ZjWLi/SDmSC0PZyskYPWoDY6WfAzEUgMWUA+aVavz hcVBCohp2mrjCWQ0EPxrQbAfjIswaRmYIomm477GQLTGgT/kXAmPpCbLfCnRoPzf6bse 72Z/4EigAEriM5dpN5s0DULJuC3N1BdJIA5Lu29FUTj+S2YReQL9jgjoBg06wxyR13l5 TKGjTImkoVLnIwxBGyLHJ1uQqY7qpd14HaJluNAPy/RZnRajo3XX1hGoemlVuaNAAKUa FyAQ== X-Gm-Message-State: AOAM530glbbK6GZI6xIKmC44iyoE8c366q39mwOmBJ0bqd9XOwP+gONm uGUJy6YyiLhsoeJDOw6jzWU= X-Google-Smtp-Source: ABdhPJx+TxbyYYH6Ter0jk93Nr/BoHnKm7T4/vBWOc/ppDeOUoeAz7JwMMJrl7tfp7oVbj2iw1BQZg== X-Received: by 2002:a05:600c:2505:: with SMTP id d5mr4707943wma.36.1634205258217; Thu, 14 Oct 2021 02:54:18 -0700 (PDT) Received: from aspire-5942 (p200300d867468700c816f5aeec3139db.dip0.t-ipconnect.de. [2003:d8:6746:8700:c816:f5ae:ec31:39db]) by smtp.gmail.com with ESMTPSA id 143sm7781286wma.37.2021.10.14.02.54.17 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Oct 2021 02:54:17 -0700 (PDT) From: Marco Wahl To: Org Mode List Subject: Re: [PATCH] [BUG] Org 9.5: org-goto UI seems broken References: <87mtnovv7f.fsf@alphapapa.net> <87h7dvy70t.fsf@localhost> <87ee8zxwic.fsf@localhost> <878rz3ddet.fsf@gmail.com> <87czoaug5x.fsf@gmail.com> <87o87tso54.fsf@localhost> <87pms9mf7v.fsf@gmail.com> <878ryx14sd.fsf@ucl.ac.uk> Date: Thu, 14 Oct 2021 11:54:01 +0200 In-Reply-To: <878ryx14sd.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 13 Oct 2021 13:35:14 +0100") Message-ID: <87fst46ifa.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=marcowahlsoft@gmail.com; helo=mail-wr1-x430.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, 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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634205288; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/RGjIiObjj64LqVqQyX9kR2k0D7Lcx9OJE4+fxk+N0c=; b=jfpXL1eusjUk9034q5k/VEIf2acWbeFQxdruA4AS5NxGiJVoXPB9rZgU8mnevsNQ3FiVwN ElfWs1EbZlrVtHovhJdZeG/Y86nsdo3srABnwIDdJJnKb5F61Jvq9vISKOr8fjiBzcIMA4 1WNbDcpNis4OJIRVIlQhNoWvs56XTKiNEuActQxn3nfCyVHim7ixifiLHPuw9lPszNPwK0 KVXsEh5Xpr+BjX9ebPmuZa7BSjxEQyFx4WvI5aF3RGzLb8OVVuqoM+ZzxJUcqwmpXGj2Ur SozIwZomxhnX4vcHByWImPXI1WChjcpFUozEWPLqr7pdSbvWHhFxZF3dtHhNCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634205288; a=rsa-sha256; cv=none; b=bb/eK21WpHn2A6Q716gJj0rBMJTz1xAbzBGKkUbTRO36farusMB9Q62jptDdJ/FXItbehy 0kjfSB+FRMs9c5iKUD93331weWe6RjENk25SVWIaZV7yUgNt9tujTpZQxpH7AK7MCvq7Rr iQw5XQflv1xlH76/IaSpyWqwGZJFTnsZMoTktfebP5sxJCsGHYt70sYsBQCZTRe8R6wRUf U4d0OUemNHLMuN1+XUCoEb/CnKKUAlbepk0Mu9ohFnyukAFI/wTqtnEwmYf72ZsMC87jc+ Iu9RCB3m9DdoX4qil7vRxfz0y732CVxEc9hR1LaLrof9U/oTG3vRskBlGWoQDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XoDxXZwT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XoDxXZwT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: E6CB7EA03 X-Spam-Score: -2.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1a6vzQuhIm4b Thanks Eric and Max! > On Wednesday, 13 Oct 2021 at 19:23, Max Nikulin wrote: >> Does someone have settings that pins help buffer to particular >> window/frame of location in a frame (e.g. bottom of "sidebar")? > > This is what I use, which is slightly more complex because I have a wide > landscape monitor and a tall portrait one and want different behaviour > in each: > > #+begin_src emacs-lisp > (defun esf/display-buffer-in-side-window (buffer alist) > (let ((fw (/ 80.0 (frame-width)))) > (display-buffer-in-side-window buffer > (if (> (frame-width) 120) > (list (cons 'window-width fw) > '(side . left) > '(slot . 0)) > '((window-height . 0.25) > (side . bottom) > (slot . 0)))))) > (setq display-buffer-alist > '(("^\\*Async Shell Command*" . (display-buffer-no-window)) > ("^magit-[a-z]+: " . (esf/display-buffer-in-side-window)) > ("\\*\\(Backtrace\\|Compile-Log\\|DICT .*\\|grep\\|[Hh]elp.*\\|Messages\\|Occur\\|tex-shell\\|vc-\\(diff\\|change-log\\)\\|Warnings\\|WoMan .*\\)\\*" > (esf/display-buffer-in-side-window)))) > #+end_src > > This doesn't pin to a specific frame but does make the pop-ups appear in > the same place always in each respectively frame. By the way, I use > exwm so I have one frame per monitor, full screen, generally. Thanks for the example and the implied teaching! I experimented with the use of display-buffer-alist and the org-goto UI. E.g. with the config: (defun experiment/202110141141 (buffer alist) (display-buffer-in-side-window buffer (list '(window-width . 23) '(side . right) '(slot . 0)))) (setq display-buffer-alist '(("\\*Org Help\\*" . (experiment/202110141141)))) AFAICS this has an effect for org-goto. The user can control the appearance of the org-goto UI. BTW I think the name *Org Help* for the UI buffer could be better. Since org-goto in main is still broken I'll commit the fix for org-goto which kicks out the use of the macro org-no-popups (but not the macro itself since it's used elsewhere AFAICS.) Max, Ihor! If you see the necessity of refinement please keep going! Best regards, -- Marco