|
|
Up |
|
|
  |
Author: Laura ConradLaura Conrad Date: Sep 11, 2008 13:34
>>>>> "Ted" == Ted Zlatanov lifelogs.com> writes:
LC> I don't read, and certainly don't type, Chinese. How do I tell the
LC> TeX input method:
LC> To stop accepting input when the character I want appears in the
LC> mini-buffer?
Ted> This should be automatic. If it's not, two or more rules
Ted> overlap and it may need to be fixed. Can you specify an
Ted> example?
I type C-\ and then \'e and I get é- in the minibuffer. If I type
anything else, I get some oriental character. For instance, \'ent
gives .$(Qr@.(B (which is a very pretty oriental character in the
emacs23 buffer, but not when I cut and paste it to here in emacs22.
LC> That in general I'm going to be using two-character sequences for
LC> Latin alphabets, and not typing Chinese?
Actually, I probably don't want this; I do use TeX input mode for
things like typing \copyright to get ©.
Ted> I think the TeX input method (as defined in leim/quail/latin-ltx.el)
Ted> doesn't have any Asian characters.
|
| Show full article (2.52Kb) |
|
| | 6 Comments |
|
  |
Author: James CloosJames Cloos Date: Sep 11, 2008 21:30
>>>>> "Laura" == Laura Conrad laymusic.org> writes:
Laura> I type C-\ and then \'e and I get é- in the minibuffer. If I type
Laura> anything else, I get some oriental character. For instance, \'ent
Laura> gives .$(Qr@.(B (which is a very pretty oriental character in the
Laura> emacs23 buffer, but not when I cut and paste it to here in emacs22.
I used to see that bug quite a bit some time back. I thought that it had
been squashed. And, indeed, it currently works for me.
Do you see the bug if you start emacs with -Q?
I don't remember with any certainty, but there might have been some
setting I used to use with 22 which 23 didn't need and which caused
that bug.
-JimC
--
James Cloos jhcloos.com> OpenPGP: 1024D/ED7DAEA6
|
| |
|
| | no comments |
|
  |
Author: Laura ConradLaura Conrad Date: Sep 12, 2008 04:19
>>>>> "James" == James Cloos jhcloos.com> writes:
>>>>> "Laura" == Laura Conrad laymusic.org> writes:
Laura> I type C-\ and then \'e and I get é- in the minibuffer. If I type
Laura> anything else, I get some oriental character. For instance, \'ent
Laura> gives .$(Qr@.(B (which is a very pretty oriental character in the
Laura> emacs23 buffer, but not when I cut and paste it to here in emacs22.
James> I used to see that bug quite a bit some time back. I thought that it had
James> been squashed. And, indeed, it currently works for me.
James> Do you see the bug if you start emacs with -Q?
No.
James> I don't remember with any certainty, but there might have been some
James> setting I used to use with 22 which 23 didn't need and which caused
James> that bug.
It looks like it's some of that UTF-8 stuff I quoted in my previous mail.
It was necessary to get UTF-8 encoding in 22, but isn't in 23. (At
least if you have your LOCALE and such set the way I do.)
I'll see if I have to put any of it back, and report, but it looks
from a quick test like things are fine if I take it all out.
Thanks,
|
| Show full article (1.44Kb) |
| no comments |
|
  |
Author: Ted ZlatanovTed Zlatanov Date: Sep 12, 2008 09:24
On Thu, 11 Sep 2008 16:34:47 -0400 Laura Conrad laymusic.org> wrote:
LC> (setq locale-coding-system 'utf-8)
LC> (set-terminal-coding-system 'utf-8)
LC> (set-keyboard-coding-system 'utf-8)
LC> (set-selection-coding-system 'utf-8)
LC> (prefer-coding-system 'utf-8)
LC> (setq default-input-method "TeX")
LC> It looks like it's some of that UTF-8 stuff I quoted in my previous mail.
LC> It was necessary to get UTF-8 encoding in 22, but isn't in 23. (At
LC> least if you have your LOCALE and such set the way I do.)
LC> I'll see if I have to put any of it back, and report, but it looks
LC> from a quick test like things are fine if I take it all out.
If this is indeed working for you, then the broken behavior may be a bug
or at least something that should be noted in the docs. None of those
functions and variables are deprecated.
Ted
|
| |
| no comments |
|
  |
Author: James CloosJames Cloos Date: Sep 12, 2008 10:42
LC> (setq locale-coding-system 'utf-8)
LC> (set-terminal-coding-system 'utf-8)
LC> (set-keyboard-coding-system 'utf-8)
LC> (set-selection-coding-system 'utf-8)
LC> (prefer-coding-system 'utf-8)
LC> It looks like it's some of that UTF-8 stuff I quoted in my previous mail.
Looking at my output from (describe-coding-system) suggests that setting
the keyboard coding system is the culprit. I have no-conversion there,
nil for inter-client cut-n-paste and utf-8-unix elsewhere. All w/o any
settings in ~/.emacs or my custom file.
-JimC
--
James Cloos jhcloos.com> OpenPGP: 1024D/ED7DAEA6
|
| |
| no comments |
|
  |
Author: Ted ZlatanovTed Zlatanov Date: Sep 15, 2008 10:56
On Sat, 13 Sep 2008 12:55:06 -0400 Laura Conrad laymusic.org> wrote:
>>>>>> "James" == James Cloos jhcloos.com> writes:
LC> (setq locale-coding-system 'utf-8)
LC> (set-terminal-coding-system 'utf-8)
LC> (set-keyboard-coding-system 'utf-8)
LC> (set-selection-coding-system 'utf-8)
LC> (prefer-coding-system 'utf-8)
LC> It looks like it's some of that UTF-8 stuff I quoted in my previous mail.
James> Looking at my output from (describe-coding-system) suggests that setting
James> the keyboard coding system is the culprit. I have no-conversion there,
James> nil for inter-client cut-n-paste and utf-8-unix elsewhere. All w/o any
James> settings in ~/.emacs or my custom file.
LC> Yes, that looks like the answer. I had commented out all of those
LC> settings, and didn't get the problem. If I put them all back except
LC> for set-keyboard-coding-system, I do get the problem.
LC> (For those who don't remember the beginning of the thread, the problem
LC> is that in TeX input mode, I expect to be able to type ént by typing
LC> "\'ent". When I have the problem, typing those four characters gives
LC> me some Chinese character.)
|
| Show full article (1.29Kb) |
| no comments |
|
  |
|
|
  |
Author: Laura ConradLaura Conrad Date: Sep 19, 2008 09:12
>>>>> "Ted" == Ted Zlatanov lifelogs.com> writes:
Ted> Could you submit an Emacs bug about it? It will improve the software
Ted> for other users. I could do it but you had the original report :)
I did that using the "Send bug report" option on the Help menu.
--
Laura (mailto:lconrad@ laymusic.org http://www.laymusic.org/ )
(617) 661-8097 233 Broadway, Cambridge, MA 02139
Strong hope is a much greater stimulant of life than any realized joy
could be.
Nietzsche
|
| |
| no comments |
|
RELATED THREADS |
  |
|
|
|