From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Newsgroups: gmane.emacs.devel Subject: Re: bidi-display-reordering is now non-nil by default Date: Tue, 02 Aug 2011 12:27:18 +0200 Message-ID: <87sjpk3y7t.fsf@gmail.com> References: <83fwlqe2xy.fsf@gnu.org> <20110731.005516.149395323.wl@gnu.org> <20110731.082721.451360942.wl@gnu.org> <87d3gp3zkd.fsf@stupidchicken.com> <83oc09auwt.fsf@gnu.org> <87aabskh1u.fsf@gnus.org> <87hb6046vb.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1312281131 31994 80.91.229.12 (2 Aug 2011 10:32:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2011 10:32:11 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 02 12:32:07 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QoCGd-0005CP-2o for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2011 12:32:07 +0200 Original-Received: from localhost ([::1]:53629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoCGc-0005wd-EB for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2011 06:32:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoCGZ-0005wP-I1 for emacs-devel@gnu.org; Tue, 02 Aug 2011 06:32:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QoCGY-00051F-D4 for emacs-devel@gnu.org; Tue, 02 Aug 2011 06:32:03 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:63417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoCGU-0004ug-CT; Tue, 02 Aug 2011 06:31:58 -0400 Original-Received: by fxg9 with SMTP id 9so7007131fxg.0 for ; Tue, 02 Aug 2011 03:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; bh=25FZUVwZOfFSKQfBhD/zsjpD1fS2QbWsRX7mbr907Cg=; b=ajerNn/JHJ7DaE6DhhIKXrerv8CsnstXrVtaJH+hRSjGBAZ32H+OXD7wr0NLOjfORr 1kxR6FuT8qwWVNOI7Yyd+g0BHMdqrjYrklDcG89PvdjevKtg/a048OuUZepJwogQUerv vqFMjdhUMRwJN0i5XEcuKXW4Bzow5MhbmE8V8= Original-Received: by 10.223.159.197 with SMTP id k5mr7958025fax.50.1312281117098; Tue, 02 Aug 2011 03:31:57 -0700 (PDT) Original-Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id n27sm3410558faa.28.2011.08.02.03.31.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Aug 2011 03:31:55 -0700 (PDT) In-Reply-To: (Eli Zaretskii's message of "Tue, 02 Aug 2011 03:43:32 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142682 Archived-At: On Tue, 02 Aug 2011 09:43:32 +0200 Eli Zaretskii wrote: >> From: David Kastrup >> Date: Tue, 02 Aug 2011 09:20:24 +0200 >>=20 >> > * If this mode is appropriate only for specially-prepared text, th= en >> > the major mode command symbol should have a property named >> > `mode-class' with value `special', put on as follows: >> > >> > (put 'funny-mode 'mode-class 'special) >> > >> > This tells Emacs that new buffers created while the current buff= er >> > is in Funny mode should not inherit Funny mode, in case the >> > default value of `major-mode' is `nil'. Modes such as Dired, >> > Rmail, and Buffer List use this feature. >> > >> > Huh? "New buffers created while the current buffer is in Funny >> > mode"? "Should not inherit Funny mode"? "In case the default >> > value is non-nil"? I cannot make heads or tails out of this >> > description, and saying that a few modes use this feature really >> > doesn't help to understand it. >>=20 >> "Funny mode" is a place holder, something like $mode. > > Yes, I understood that, but the text still made no sense. > >> Anyway, the key point is "specially-prepared", meaning that the skeleton >> of the text is provided by the mode itself. > > Thanks, I begin to see the light now. But still, what does the manual > mean by "should not inherit", and what is the importance of the > default value of major-mode? What about having a look at the relevant documentation? ;-) (describe-variable 'major-mode): Symbol for current buffer's major mode. The default value (normally `fundamental-mode') affects new buffers. A value of nil means to use the current buffer's major mode, provided it is not marked as "special". --=20 =C5=A0t=C4=9Bp=C3=A1n