emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bidi-display-reordering is now non-nil by default


From: Eli Zaretskii
Subject: Re: bidi-display-reordering is now non-nil by default
Date: Tue, 02 Aug 2011 03:43:32 -0400

> From: David Kastrup <address@hidden>
> Date: Tue, 02 Aug 2011 09:20:24 +0200
> 
> >     * If this mode is appropriate only for specially-prepared text, then
> >       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 buffer
> >       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.
> 
> "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?

> Given that the standard user interface of Emacs is English,
> left-to-right mode as a default seems reasonable.  Should the
> specially prepared text be R2L (namely a user interface _not_ in
> English, or customizable), the mode writer would be aware of it.

Yes, I agree.

So if we don't decide to set the paragraph direction L2R by default, I
will look into setting it in any `special' mode (among others).

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]