From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: customize location and shape of a new window in a frame Date: Wed, 12 Sep 2018 13:12:18 -0700 Message-ID: <87o9d2eaql.fsf@ericabrahamsen.net> References: <9755.9843.306611.23448@gargle.gargle.HOWL> <87y3c7pw4w.fsf@ericabrahamsen.net> <87h8iuik3g.fsf@moondust.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536783088 28701 195.159.176.226 (12 Sep 2018 20:11:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2018 20:11:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "N. Jackson" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 12 22:11:24 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0BTw-0007NG-7B for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2018 22:11:24 +0200 Original-Received: from localhost ([::1]:38248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0BW2-0000pR-GL for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2018 16:13:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0BUw-0000ni-Fn for emacs-devel@gnu.org; Wed, 12 Sep 2018 16:12:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0BUs-0003Ui-Ey for emacs-devel@gnu.org; Wed, 12 Sep 2018 16:12:26 -0400 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]:55366) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g0BUs-0003UR-9e for emacs-devel@gnu.org; Wed, 12 Sep 2018 16:12:22 -0400 Original-Received: from localhost (50-251-205-17-static.hfc.comcastbusiness.net [50.251.205.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id DA6BFC2B80; Wed, 12 Sep 2018 20:12:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1536783141; bh=Gm6DUztfhOSe+7ziY45DNB0OB5G6MZKqASpH2t2r56E=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BRzr36wIehjr4LYHmPb7hAMpcE1zKRXPfTu/LGgr8kE8rimODI/kkT8FailYTp4Tn DqMtT8AhqrfgvZJ389joD/kmNIROppOtWLKzIB3jdIUGvzXA8Wm5eN+9GNNl1eRSzL ct8LjPvYlOzl7PcK0H/7x7sD5z3Rsd3iK+nN/Rl0= In-Reply-To: <87h8iuik3g.fsf@moondust.localdomain> (N. Jackson's message of "Wed, 12 Sep 2018 15:36:35 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 50.56.99.223 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229723 Archived-At: 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