From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: indicate-buffer-boundaries Date: Fri, 24 Sep 2004 19:40:15 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1096069301 32281 80.91.229.6 (24 Sep 2004 23:41:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2004 23:41:41 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 25 01:41:34 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAzh0-0001lq-00 for ; Sat, 25 Sep 2004 01:41:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAzn6-0001bT-K3 for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2004 19:47:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAzmF-0001CA-Om for emacs-devel@gnu.org; Fri, 24 Sep 2004 19:46:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAzmE-0001BW-I8 for emacs-devel@gnu.org; Fri, 24 Sep 2004 19:46:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAzmE-0001BD-0m for emacs-devel@gnu.org; Fri, 24 Sep 2004 19:46:58 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CAzfk-0004ZL-8N for emacs-devel@gnu.org; Fri, 24 Sep 2004 19:40:16 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CAzfj-00085a-Ou; Fri, 24 Sep 2004 19:40:15 -0400 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 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 Xref: main.gmane.org gmane.emacs.devel:27549 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27549 The interface for indicate-buffer-boundaries is really kludgy. I cleaned up the doc for it, but I would really rather make it simpler. A good way to make it simpler is to use an alist. Pick four suitable symbols, one for each of these icons. I suggest `top', `bottom', `up' and `down'. t can serve as a default for all four. In the alist, associate these symbols with either `left', `right' or `nil'. Instead of current (t . right), we would use ((top . left) (t . right)) or ((top . left) (bottom . right) (up . right) (down . right)) Instead of current (left . nil), we would use ((top . left) (bottom . left)). Isn't that clearer? It is much less ad-hoc.