On Sat, Jan 15, 2000 at 09:04:42PM +0100, Byrial Jensen wrote:
> On Sat, Jan 15, 2000 at 18:54:59 +0200, Marius Gedminas wrote:
> > There is no `help' function in editor context (BTW `editor' is a very
> > misleading name.  Until today I thought it meant that mutt had a very
> > basic (maybe like ed(1)) internal editor for composing messages :-)
> 
> It has. Use "set editor=builtin" to use it.

This doesn't work in 1.1.2i.  After

    :set editor=builtin

trying to edit a message results in an error from the shell

    builtin: /tmp/mutt-mg-6883-75: not a shell builtin

BTW I also tried :set editor="" and mutt segfaulted:

Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libslang.so.1...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
#0  0x400d6a93 in strchr () from /lib/libc.so.6
(gdb) bt
#0  0x400d6a93 in strchr () from /lib/libc.so.6
#1  0x400 in ?? ()
#2  0x808e73a in mutt_expand_file_fmt (dest=0xbfffe69c "\220\226\r\b<çÿ¿ÿ",
    destlen=1024, fmt=0x0, src=0xbfffec94 "/tmp/mutt-mg-6883-114")
    at muttlib.c:584
#3  0x8057545 in mutt_edit_file (editor=0x0,
    data=0xbfffec94 "/tmp/mutt-mg-6883-114") at curs_lib.c:133
#4  0x808f3da in edit_one_message (ctx=0x80ba440, cur=0x80efcd8)
    at editmsg.c:91
<F2>#5  0x808f872 in mutt_edit_message (ctx=0x80ba440, hdr=0x80efcd8)
    at editmsg.c:193
#6  0x805bb39 in mutt_index_menu () at curs_main.c:1568
#7  0x806ac46 in main (argc=1, argv=0xbffffb94) at main.c:724

Marius Gedminas
-- 
Hacking graphics in X is like finding sqrt(pi) with roman numerals.
                -- man xdaliclock

Reply via email to