GNU bug report logs - #35592
Use display-buffer-in-direction for completion-like windows

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sun, 5 May 2019 20:43:01 UTC

Severity: normal

Full log


Message #17 received at 35592 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 35592 <at> debbugs.gnu.org
Subject: Re: bug#35592: Use display-buffer-in-direction for completion-like
 windows
Date: Wed, 08 May 2019 22:32:10 +0300
>> Only a small plea: could you please add an alias ‘(direction . bottom)’
>> as a shorthand for ‘(direction . below) (window . main)’
>>
>> Similarly:
>> top = (direction . above) (window . main)
>> bottom = (direction . below) (window . main)
>> leftmost = (direction . left) (window . main)
>> rightmost = (direction . right) (window . main)
>
> Patch attached.

Thanks!  I tested it, and it works nicely.

> But notice that these semantically clash with what you
> earlier wanted for 'split-window':
>
> 		    ((eq side 'above) 'top)
> 		    ((eq side 'below) 'bottom)

I remember that recently you added these aliases:

  up -> above
  down -> below

that fits well into this scheme.

But I don't know about

  above -> top
  below -> bottom

These are some earlier additions.  Is there a problem with these aliases?




This bug report was last modified 6 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.