From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: unnecessary fringe-indicators defcustom creates trouble Date: Sun, 31 Jul 2005 21:47:03 -0500 (CDT) Message-ID: <200508010247.j712l3B02940@raven.dms.auburn.edu> References: <200507290113.j6T1Drc18126@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1122865380 6142 80.91.229.2 (1 Aug 2005 03:03:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2005 03:03:00 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 01 05:02:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DzQZn-0003iD-1k for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2005 05:02:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzQcP-00006c-NO for ged-emacs-devel@m.gmane.org; Sun, 31 Jul 2005 23:05:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DzQaK-00080z-Mk for emacs-devel@gnu.org; Sun, 31 Jul 2005 23:03:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DzQaC-0007yc-NP for emacs-devel@gnu.org; Sun, 31 Jul 2005 23:03:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzQaC-0007sM-5k for emacs-devel@gnu.org; Sun, 31 Jul 2005 23:03:16 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DzQWY-0003Na-4o; Sun, 31 Jul 2005 22:59:30 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j712l4qt002078; Sun, 31 Jul 2005 21:47:04 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j712l3B02940; Sun, 31 Jul 2005 21:47:03 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (rms@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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41394 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41394 Richard Stallman wrote: The reason for this is to make it simple to request the usual options. I do not see why you need a separate variable for that. Why can one not use indicate-empty-lines and indicate-buffer-boundaries to do that? Actually, I believe that the one option that makes sense for most people is to set indicate-empty-lines to t (which my patches allow to do via the menu bar). But if for some reason that would not be sufficient (for the menu bar) one could always (for instance) change the current three non-alist values of `indicate-buffer-boundaries' (left, right, other non-nil symbol) to the values used by `fringe-indicators' (left, right, box, mixed), thereby making fringe-indicators unnecessary, even for current menu-bar functionality. But I agree it shouldn't get in the way of setting the other variables directly, if you want to do that. So I propose this change. (I will also change the doc strings of default-indicate-empty-lines and default-indicate-buffer-boundaries.) Still looks very unnatural and contorted to me. But if you are going to do it that way, then the docstring of fringe-indicators should say that setting it to a value different from 'other outside Custom (or the menu bar) does not work. You would also need to change the Emacs manual and the `default-indicate-empty-lines' docstring. Another problem is that the first line of the indicate-empty-lines docstring is pretty self-explanatory. So somebody setting this through Custom may not click on MORE and see the warning about first setting fringe-indicators to 'other. Sincerely, Luc.