From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#6931: 24.0.50; fringe-mode Date: Thu, 28 Apr 2016 00:48:27 +0200 Message-ID: <87lh3yr7lw.fsf@gnus.org> References: <1222E80F95BD4AF9835A8848BC30F17D@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461797363 3056 80.91.229.3 (27 Apr 2016 22:49:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2016 22:49:23 +0000 (UTC) Cc: 6931@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 00:49:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1avYGc-0000m0-K2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 00:49:10 +0200 Original-Received: from localhost ([::1]:45694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avYGb-0003H5-S8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Apr 2016 18:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avYGX-0003Du-QD for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 18:49:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avYGU-0004iG-KR for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 18:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avYGU-0004iC-HE for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 18:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1avYGU-0000O2-Cr for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 18:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Apr 2016 22:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6931 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6931-submit@debbugs.gnu.org id=B6931.14617973121440 (code B ref 6931); Wed, 27 Apr 2016 22:49:02 +0000 Original-Received: (at 6931) by debbugs.gnu.org; 27 Apr 2016 22:48:32 +0000 Original-Received: from localhost ([127.0.0.1]:50904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avYFz-0000N9-NY for submit@debbugs.gnu.org; Wed, 27 Apr 2016 18:48:31 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:51647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avYFy-0000N2-GX for 6931@debbugs.gnu.org; Wed, 27 Apr 2016 18:48:30 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avYFw-0004qy-15; Thu, 28 Apr 2016 00:48:29 +0200 In-Reply-To: <1222E80F95BD4AF9835A8848BC30F17D@us.oracle.com> (Drew Adams's message of "Fri, 27 Aug 2010 15:50:32 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116999 Archived-At: "Drew Adams" writes: > Command `fringe-mode' is not normal. It does not act as a normal mode > command. And its variable, `fringe-mode', does not act as a normal mode > variable. This is not good for users or for Lisp coders. If you are > going to keep this behavior, then do not use "-mode" in the name at all > - call it `fringe-mess' or something instead. > > Code that tests a mode variable should be able to treat a value of nil > as meaning that the mode is turned off. In this case, that would mean > there is no fringe. Not so, however. > > If you want the value of variable `fringe-mode' to provide the fringe > width also, then 0 and nil should give the same info: fringe is not > shown. If you want a special value that means "the default width", then > use the symbol `default' or something - do not use nil to mean a default > width of 8. > > This command and its variable are a mess. Yes, it's pretty confusing. Perhaps the `fringe-mode' command should be renamed to `choose-fringe-state' or something? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no