all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathias Dahl <brakjoller@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: predictive mode and 'ã'
Date: Mon, 16 Jul 2007 18:16:08 +0200	[thread overview]
Message-ID: <uy7hg8gtz.fsf@gmail.com> (raw)
In-Reply-To: 1184333068.581937.161990@r34g2000hsd.googlegroups.com

weber <hugows@gmail.com> writes:

> Hello folks.
> I'm trying to start using predictive and have this annoying problem.
> It looks like predictive considers portuguese characters like ã or ó
> as end-of-word characters (I have to type them pressing ~ then a,
> maybe that's a problem?)
>
> Here's the situation: when I type 'n', predictive suggests '(0)
> nil'.  If I continue typing 'não' , I end up getting 'nilão'. The
> nil is inserted...

I had the exact same problem and, Toby, the author, helped me debug
it. I don't remember the exact cause, but it didn't help playing with
syntax tables ("some maybe almost might be possibly bug"). Instead I
had to do this, which works and which I hope will help you as well:

(eval-after-load "predictive"
  '(progn
     (completion-define-word-constituent-binding (kbd "é") ?é)
     (completion-define-word-constituent-binding (kbd "å") ?å)
     (completion-define-word-constituent-binding (kbd "ä") ?ä)
     (completion-define-word-constituent-binding (kbd "ö") ?ö)
     (completion-define-word-constituent-binding (kbd "Å") ?Å)
     (completion-define-word-constituent-binding (kbd "Ä") ?Ä)
     (completion-define-word-constituent-binding (kbd "Ö") ?Ö)))

/Mathias

      parent reply	other threads:[~2007-07-16 16:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 13:24 predictive mode and 'ã' weber
2007-07-14 10:14 ` Anselm Helbig
2007-07-15  0:42   ` Rupert
2007-07-16 16:16 ` Mathias Dahl [this message]

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

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

  git send-email \
    --in-reply-to=uy7hg8gtz.fsf@gmail.com \
    --to=brakjoller@gmail.com \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.