emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: customize location and shape of a new window in a frame


From: Eric Abrahamsen
Subject: Re: customize location and shape of a new window in a frame
Date: Wed, 12 Sep 2018 13:12:18 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On 09/12/18 15:36 PM, N. Jackson wrote:
> At 14:22 -0700 on Tuesday 2018-09-11, Eric Abrahamsen wrote:
>>
>> Assuming the user is running BBDB with Gnus, Gnus has its own window
>> layout system, and you need to work with that. Usually that looks like:
>>
>> (add-to-list 'gnus-window-to-buffer
>>        `(bbdb-gnus . "*BBDB*"))
>>
>> (gnus-add-configuration
>>   (article
>>     ,(cond
>>       (gnus-use-trees
>>        '(vertical 1.0
>>                (summary 0.25 point)
>>                (tree 0.25)
>>                (horizontal 1.0
>>                            (article 1.0)
>>                            (bbdb-gnus 0.4))))
>>       (t
>>        '(vertical 1.0
>>                (summary 0.25 point)
>>                (horizontal 1.0
>>                            (article 1.0)
>>                            (bbdb-gnus 0.4))))))
>
> Evaluating the second form gives:
>
> Debugger entered--Lisp error: (void-function article)
>   (article ,(cond (gnus-use-trees '(vertical 1.0 (summary 0.25 point)
> (tree 0.25) (horizontal 1.0 (article 1.0) (bbdb-gnus 0.4)))) (t
> '(vertical 1.0 (summary 0.25 point) (horizontal 1.0 (article 1.0)
> (bbdb-gnus 0.4))))))
>   eval((article ,(cond (gnus-use-trees '(vertical 1.0 (summary 0.25
> point) (tree 0.25) (horizontal 1.0 ... ...))) (t '(vertical 1.0
> (summary 0.25 point) (horizontal 1.0 ... ...))))) nil)

Yup, that was a cut-and-paste problem from my larger config. Just stick
a ` before the "(article" part.

Sorry about that,
Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]