unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: bidi, auto-composition-mode [core dump]
Date: Sun, 25 Apr 2010 18:13:56 +0200	[thread overview]
Message-ID: <4BD46A44.4040903@alice.it> (raw)
In-Reply-To: <83ljcg4wen.fsf@gnu.org>

Il 21/04/2010 18.12, Eli Zaretskii ha scritto:
>> Date: Wed, 21 Apr 2010 10:05:30 +0200
>> From: Angelo Graziosi<angelo.graziosi@alice.it>
>> CC: emacs-devel@gnu.org
>>
>> OK. In my $HOME/.emacs.d/init.el file I have added this:
>>
>> ;; Use C-x 8 RET RIGHT-TO-LEFT MARK to write from right to left
>> (setq-default bidi-display-reordering t)
>>
>> Then, in Emacs, I do this
>>
>> C-x C-f foo.txt
>> C-x 8 RET RIGHT-TO-LEFT MARK
>
> Thanks, now everything is clear.  Emacs composes the RIGHT-TO-LEFT
> MARK (and other zero-width characters) with the next character, and
> compositions don't yet work with bidi reordering.  The effect is
> indeed duplication of characters.  You can see another example of this
> problem in HELLO, in the Arabic and Hebrew lines -- they also use RLM.

Just now, I have discovered (with rev. 100032) that Emacs does not like 
any more this:

(setq-default bidi-display-reordering t)

in my initialization file: it aborts!

To reproduce: add the above to .emacs (or to .emacs.d/init.el) file; 
then 'short circuit' the desktop file, if any. For example renaming it:

mv desktop desktop.save

In this way Emacs should starts with the 'scratch' buffer.

Then

$ emacs &

aborts. If you want to use the desktop file, after Emacs is started, you 
should switch buffer up to the 'scratch', for example clicking with 
mouse-1 on buffer name in the mode line: then switching from 'Messages' 
buffer to scratch' causes Emacs to abort.

In short, Emacs does not like the above (setq...) in .emacs and the 
'scratch' buffer.

I have verified this both on GNU/Linux Kubuntu 9.10 and on Cygwin.

Ciao,
Angelo.




  reply	other threads:[~2010-04-25 16:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20 23:00 bidi, auto-composition-mode Angelo Graziosi
2010-04-21  3:09 ` Eli Zaretskii
2010-04-21  8:05   ` Angelo Graziosi
2010-04-21 16:12     ` Eli Zaretskii
2010-04-25 16:13       ` Angelo Graziosi [this message]
2010-04-25 16:22         ` bidi, auto-composition-mode [core dump] Eli Zaretskii
2010-04-25 17:14           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BD46A44.4040903@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).