undo problem in shell

2005-04-04 Thread Joakim Verona
Symptoms: I ran a filesystem check command in an emacs shell-mode buffer: /sbin/reiserfsck /dev/mapper/media2-lvol1 this comand does a lot of output, writing progress by moving the cursor with ansi escapes to beginning of line and writing over the same line over and over again. this works,

ISO 8859-13/iso-latin-7 encoding incorrect

2005-04-04 Thread Peter Dyballa
Hello! Few characters are not correctly coded: = 250 = 168 = A8 = C3 98 = U+00D8 : LATIN CAPITAL LETTER O WITH STROKE is shown as (DIAERESIS). C-u C-x = gives: character: (04250, 2216, 0x8a8, U+00A8) charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1):

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Luc Teirlinck
Stefan Monnier wrote: Does it make sense to have a :group for buffer-local minor modes? I believe that currently, for a buffer-local minor mode foo-mode, define-minor-mode does not define a defcustom for the mode variable, but defines one for foo-mode-hook. I believe that this hook is

Re: Ediff frequently crashes emacs.

2005-04-04 Thread Peter Seibel
[EMAIL PROTECTED] (Kim F. Storm) writes: Peter Seibel [EMAIL PROTECTED] writes: Okay, here you go: (gdb) xbacktrace internal-lisp-face-p facep check-face face-name ediff-set-fine-diff-properties-in-one-buffer Now we are getting closer!!! Unfortunately, not quite close enough, as I

Re: gnus-carpal-mode and mouse-autoselect-window

2005-04-04 Thread Richard Stallman
It seems to me as if set-window-point and goto-char don't do the same thing. set-window-point basically executes the following statements: --- snip --- if (w == XWINDOW (selected_window) XBUFFER (w-buffer) == current_buffer) Fgoto_char (pos); else

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Lute Kamstra
There seem to be 85 calls to define-minor-mode in the Emacs sources. I guess the first order of business would be to make sure each of them has an explicit :group. I'll check them. Done. If somebody wants to double-check, I committed these changes: 2005-04-04 Lute Kamstra [EMAIL

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Stefan Monnier
rms didn't like this new behavior so the second patch I posted (and did not install yet) merely changes the behavior of define-major-mode back to the situation before 2005-03-31. So implying that my (second) patch has big consequences is not really fair. I didn't realize you hadn't installed

Re: problems with latest CVS emacs under Mac OS X (carbon variant)

2005-04-04 Thread Artemio Gonzalez Lopez
On Apr 3, 2005, at 3:15 AM, Nick Roberts wrote: Read INSTALL.CVS in the emacs directory. You need to do 'make recompile' in your lisp directory and 'make' in your src directory (as tooltip is loaded thru loadup.el at compile time). Nick, Thanks a lot for your help. Unfortunately, make bootstrap

Re: Ediff frequently crashes emacs.

2005-04-04 Thread Peter Seibel
I have no idea if this is related--seems like it could be. Anyway, this time my ediffing signalled an error which dropped my in the elisp debugger since I had debug-on-error turned on. Below is the stack trace. After quiting out of the elisp debugger I was able to continue using ediff. -Peter

Re: magic-mode-alist barely documented

2005-04-04 Thread Richard Stallman
I will document magic-mode-alist in Choosing Modes. ___ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

org.el in CVS emacs at 2005-04-03

2005-04-04 Thread Loyd Fueston
This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Richard Stallman
The whole point of the use of custom-current-group is to try and default to the group that was defined in the current file. Such a group is unlikely to be bogus. My decision is to move away from such file-position-dependent defaults. ___

Re: Ediff frequently crashes emacs.

2005-04-04 Thread Kim F. Storm
Peter Seibel [EMAIL PROTECTED] writes: Okay, here you go: (gdb) xbacktrace internal-lisp-face-p facep check-face face-name ediff-set-fine-diff-properties-in-one-buffer Now we are getting closer!!! Unfortunately, not quite close enough, as I don't see any of the involved functions

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Stefan Monnier
* diff-mode.el (diff-minor-mode): Specify :group. * font-core.el (font-lock-mode): Specify :group. * reveal.el (reveal-mode): Specify :group. * smerge-mode.el (smerge-mode): Specify :group. [...] Does it make sense to have a :group for buffer-local minor modes?

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Lute Kamstra
Luc Teirlinck [EMAIL PROTECTED] writes: After Lute's patch the define-minor-mode for `diff-minor-mode' would have to be given an explicit :group, or diff-minor-mode-hook would be moved from the diff-mode group (where it belongs) to the bogus diff-minor group (if I understood Lute's patch

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Richard Stallman
After Lute's patch the define-minor-mode for `diff-minor-mode' would have to be given an explicit :group, or diff-minor-mode-hook would be moved from the diff-mode group (where it belongs) to the bogus diff-minor group (if I understood Lute's patch correctly). I am now

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Lute Kamstra
Richard Stallman [EMAIL PROTECTED] writes: There seem to be 85 calls to define-minor-mode in the Emacs sources. I guess the first order of business would be to make sure each of them has an explicit :group. I'll check them. Lute. ___

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Richard Stallman
define-generic-mode didn't have any defcustom forms in the past. I added one for the mode hook variable a few days ago. So the change I propose is backward compatible. Ok, please do it. ___ Emacs-pretest-bug mailing list

Re: Can't save in iso-8859-13

2005-04-04 Thread Kenichi Handa
In article [EMAIL PROTECTED], Peter Dyballa [EMAIL PROTECTED] writes: Am 04.04.2005 um 03:19 schrieb Kenichi Handa: The above script outputs raw bytes 0..255, which is not a valid utf-8 code expected in *shell* buffer. So, Emacs decodes them as raw-byte characters (i.e. characters

Re: Ediff frequently crashes emacs.

2005-04-04 Thread Kim F. Storm
Peter Seibel [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Kim F. Storm) writes: What happens if you don't use byte-compiled ediff? Try adding this to your .emacs and rerun the test: (load ediff-init.el) (load ediff-diff.el) So, by chance or not, it crashed almost right away after I

Re: Problem with string to fontset conversion

2005-04-04 Thread Jan D.
BTW, I googled for Missing charsets in String to FontSet conversion. Similar problems have been reported for several other applications. The missing charset is just a warning. But the Cannot convert string ... to type FontSet is a hard failure. We could try to create a fontset, and if that fail

Re: Problem with string to fontset conversion

2005-04-04 Thread Stefan Monnier
(gdb) r -q -xrm Emacs*fontSet: -*-helvetica-medium-r-*--*-120-*-*-*-*-*-*,*' Starting program: /home/kfs/fsf/latest/src/emacs -q -xrm Emacs*fontSet: -*-helvetica-medium-r-*--*-120-*-*-*-*-*-*,*' Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string

Re: Problem with string to fontset conversion

2005-04-04 Thread Jan D.
That is truly odd. How come the XIM code doesn't trigger this same problem? I think the XIM code explicitly names the charset it wants. But our XIM code calls XCreateFontSet, just like Xt code. And browsing the Xt source, the Cannot convert string to FontSet message seems to be generated when

Infinite loop in vhdl-fixup-whitespace-region

2005-04-04 Thread Lawrence Mitchell
Trying to align a region in VHDL mode (using `vhdl-align-region') results in an infinite loop when trying to fix the whitespace around operator symbols. The culprit is an incorrect goto-char in `vhdl-fixup-whitespace-region', the patch below fixes things Index: lisp/progmodes/vhdl-mode.el

Re: Ediff frequently crashes emacs.

2005-04-04 Thread Peter Seibel
[EMAIL PROTECTED] (Kim F. Storm) writes: Peter Seibel [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Kim F. Storm) writes: What happens if you don't use byte-compiled ediff? Try adding this to your .emacs and rerun the test: (load ediff-init.el) (load ediff-diff.el) So, by chance or not,

Re: Ediff frequently crashes emacs.

2005-04-04 Thread Peter Seibel
[EMAIL PROTECTED] (Kim F. Storm) writes: Please continue to send traps. Here's another one, still using ediff loaded from source. I'm going to take that out next time I restart emacs because it mostly just seems to mean longer backtraces to paste into these message. -Peter [EMAIL PROTECTED]

Re: undo problem in shell

2005-04-04 Thread Richard Stallman
this works, but after some time emacs hangs. I attached gdb and found it hangs around here: Program received signal SIGTSTP, Stopped (user). 0x0819f18a in truncate_undo_list (b=0x9430a08) at undo.c:366 Of course, that will eventually be called, but if it hangs, that is a bug.

Re: Inherited face appears as a function in customize-face buffer

2005-04-04 Thread Richard Stallman
It looks clean to me. I have never understood widgets very well, so I don't know whether it is correct. But if it seems to work better than the present code, it must be a step forward. I wish someone here had enough expertise to be able to assure us it is correct--but I think nobody does. So

Re: Default :group in lisp/emacs-lisp/easy-mmode.el.

2005-04-04 Thread Richard Stallman
I think the current situation is best, it fixed the bug that the behavior was different when loading the .el file than when loading the .elc file. Sorry, I've decided I won't let this change remain installed. We will not move towards increased use of custom-current-group. If there was a