emacs-devel
[Top][All Lists]
Advanced

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

Re: Composing Hebrew diacriticals


From: Kenichi Handa
Subject: Re: Composing Hebrew diacriticals
Date: Fri, 14 May 2010 22:15:49 +0900

In article <address@hidden>, Yair F <address@hidden> writes:

> On Fri, May 14, 2010 at 5:35 AM, Miles Bader <address@hidden> wrote:
> > Yair F <address@hidden> writes:
>>> Consider this example: d̊̂ (d+ring above+circumflex) The user would
>>> like to remove the ring component. How can it be done?
> >
> > _Editing_ commands (e.g., DEL) work on the individual components, even
> > for composed characters -- so if you put d̊̂ in a buffer, position the
> > cursor after it, and hit DEL, it will remove just the last accent,
> > leaving "d̊".  This duality works pretty well I think, and seems
> > intuitive.
> >
> I still fail to understand how to directly access end edit individual 
> componens.
> In the example above how can the ring component can be directly edited
> without editing the circumflex?

> A base character composed with 3 marks is not that infrequent.

I used to use this code for debugging.  It allows you to put
point within a composition.  But, I found that it surely
moves point but the screen is not updated properly now.
I'll debug it after I finish more urgent tasks.

(defun forward-char-intrusive ()
  (interactive)
  (setq disable-point-adjustment t)
  (forward-char 1))

(defun backward-char-intrusive ()
  (interactive)
  (setq disable-point-adjustment t)
  (forward-char -1))

(global-set-key (kbd "C-S-f") 'forward-char-intrusive)
(global-set-key (kbd "C-S-b") 'backward-char-intrusive)

---
Kenichi Handa
address@hidden



reply via email to

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