* David Kastrup <[EMAIL PROTECTED]> wrote: >> Today when I was editing source code and tried to type pi/2 in a >> buffer, Emacs replaced it with some special character that appeared >> as "1/2" as a single character. > Unlikely. Let me name a few things that might have happened: > a) you use Leim (C-\) for input of international characters and the > transliteration for ½ is /2. Leim is not on unless you enable it. It > should be easy to find an input method that suits your bill better. > b) you use font-lock-mode in LaTeX and write something like ^2, in > which case a subscript 2 appears. font-lock-mode is not turned on by > default. Even if you turn it on, you can remove the script > highlighting.
None of the above? I've never (intentionally) used Leim, and I didn't type C-\ before the /2. I had font-lock-mode on, but wasn't in Latex mode. I was in Python mode, and I typed nothing other than pi/2, which got translated to "pi(one_half_as_one_character)" And another thing: when I type " or ', Emacs seems to think that I'm trying to input a special character. If I type 'a, I get an angstrom symbol, even though (again) I'm editing python code and I'm just trying to type a string that starts with a. >> The other day I was editing Lisp code and found that instead of the >> usual paren highlighting, Emacs was highlighting the entire enclosed >> expression. > I don't get that here. What did you switch on to get it? This suddenly appeared after updating software, in this case on an OS X machine. I didn't enable any switch (myself), I just got it. > But they are rarely on by default. I'm afraid I have to disagree. All three of the above issues appeared after version upgrades: the first two on a Linux machine, the last on an OS X laptop. Maybe there are 3000 new features, and these are the three that are on by default, in which case I guess you'd be right, in principle. Greg _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs