From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: Re: BIDI, LaTeX (auctex) and the =?utf-8?B?wqtldmlswrs=?= backslash Date: Sat, 21 May 2016 20:20:27 +0000 Message-ID: <87twhr2mes.fsf@mat.ucm.es> References: <874m9r4it5.fsf@mat.ucm.es> <83iny771sf.fsf@gnu.org> <87y4732tmn.fsf@mat.ucm.es> <83futb6z0m.fsf@gnu.org> Reply-To: Uwe Brauer NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1463862057 29635 80.91.229.3 (21 May 2016 20:20:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 May 2016 20:20:57 +0000 (UTC) Cc: Uwe Brauer , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 21 22:20:51 2016 Return-path: Envelope-to: ged-emacs-devel@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 1b4DOD-0005xN-2S for ged-emacs-devel@m.gmane.org; Sat, 21 May 2016 22:20:49 +0200 Original-Received: from localhost ([::1]:41137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4DOC-0006DF-2u for ged-emacs-devel@m.gmane.org; Sat, 21 May 2016 16:20:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4DO5-0006Bb-R4 for emacs-devel@gnu.org; Sat, 21 May 2016 16:20:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4DO0-0002Ez-9z for emacs-devel@gnu.org; Sat, 21 May 2016 16:20:41 -0400 Original-Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:36713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4DO0-0002DJ-3f for emacs-devel@gnu.org; Sat, 21 May 2016 16:20:36 -0400 Original-Received: by mail-wm0-x235.google.com with SMTP id n129so25981209wmn.1 for ; Sat, 21 May 2016 13:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mat.ucm.es; s=google; h=from:to:cc:subject:references:reply-to:date:message-id:user-agent :mime-version; bh=nGGQGmA/sMSl2XjSHWr6i6tE3xB0dbzksiZzTDC7lBA=; b=CAECrcQ9I3+//ICYZgi8A+v1QehzicsXIRV3dXEoDqpVofP6vviOjNwDEjkCI83lxW jhT89r4baRUV7V61PpWtG1qiAkgtkPunpExJ8k5fN06NAtYDT2XpvlgsWIOzAONKoUVJ omP3EwMQW2i/MCHcl8FCj/1Cw3PHRZzXhW1IE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:reply-to:date :message-id:user-agent:mime-version; bh=nGGQGmA/sMSl2XjSHWr6i6tE3xB0dbzksiZzTDC7lBA=; b=PFmb80WGzkcz4fGP03hWdHcpLevDKrTO9Diy45ZtMXCJOUwy2ZZYSsHhx/CRZkxvUC NJLZWPWt4j1renIGbNpPn/NWB0dRuIm70smK2xECZvWs0/cXMWtFGkzJinAy6M4dUiTI JVNy1nRJM5Oq6UO6lFsaz2H1bwSkNlS9kEm5nuTi96eDsj1/lVOp+qO+aoMC28XO8xU8 jYwKYZjfL8VrdSgR5s0lze0eFEAnG4F1ceNhwFLTSwRScMzIz0rEuSCsHAe/CBxhk/5/ h30G8caQNKeEfgqop7nWVH/MrO2sCRFbH9RLQ9nfZJYFevlLna42NReNlwB61CcOlpB4 0EgA== X-Gm-Message-State: AOPr4FWpLAzSByJbYe2uVhewMxGLkBnpdKeLxU79R9j/KLmOB91+2GtsWQZNvqEp0ZabUUTM X-Received: by 10.194.89.33 with SMTP id bl1mr9021961wjb.43.1463862033099; Sat, 21 May 2016 13:20:33 -0700 (PDT) Original-Received: from Burrurr (84.red-79-153-137.dynamicip.rima-tde.net. [79.153.137.84]) by smtp.gmail.com with ESMTPSA id xt9sm26453780wjb.17.2016.05.21.13.20.30 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 21 May 2016 13:20:31 -0700 (PDT) X-Mailer: emacs 25.1.50.1 (via feedmail 11-beta-1 I) X-Hashcash: 1:20:160521:emacs-devel@gnu.org::Eib9sQfAQsQAAYjs:0000000000000000000000000000000000000000000SRr X-Hashcash: 1:20:160521:eliz@gnu.org::1o1W6I3FOs0e8vs2:000005JYf X-Hashcash: 1:20:160521:oub@mat.ucm.es::/DsSlCrQUTWOb1UO:00056Kc User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:203933 Archived-At: > No, the tables are global (they are quite large). > You want put-char-code-property, I think. (Never tried this myself.) I played a bit around with that (put-char-code-property ?\\ 'bidi-class 'L) (I am not sure whether to use L or LRO.) That works as expected, that is in latex buffer the backslash behaves now as I expect him to behave. Hm I could write a small hack to change back and forward between 'L and 'ON... > Did you try setting visual-order-cursor-movement non-nil? Maybe > that's all you need to solve your problems? I have set this always to t[1]. But my problem with writing Hebrew when bidi-paragraph-direction is set to left, is: - first the cursor sits fixed and spits the hebrew chars, which I find counter intuitive - worse: beginning-of-line and end-of-line are confusing in this setting Anyhow thanks for the hint with (put-char-code-property ?\\ 'bidi-class 'L) Footnotes: [1] in fact, if memory serves me well it was me who nagged so much that you finally implemented visual-order-cursor-movement :-D