[Bug: 21.5-b21] Is outline mode broken in xemacs-21.5.21

Vahik Manookian manook at nortel.com
Tue Jul 11 15:42:02 EDT 2006


================================================================
Dear Bug Team!

I recognize this could be a support question, but it may not, please
see Problem 1. I've also checked the xemacs archive from 2000 to now
but I couldn't find any reports/help on this.

I've been trying to extend the outline mode without any luck.
I've tried playing with outline-regexp but never got anywhere.

I use xemacs-21.5-b21 and I followed
http://www.emacswiki.org/cgi-bin/wiki/OutlineMode
to set outline mode. I added the following to the end of my file:

Local Variables:
mode: outline
End:

Problem 1: If "mode: outline-minor" it appears that the outline mode
does not work. If "mode: outline" then everything is fine. That is to
say each "*" is recognized as a header and the colour of the fonts
changes accordingly.

Now I am trying to extend this for my cheat-sheets.
I would like to have something like this:

- This would be the description of what I want to do.
  The xemacs would recognize the '-' as a heading.
> This would be the command that I have to execute. The xemacs would
  recognize the '>' as a heading.

As an example:

- To launch an xterm with a geometry 120x40:
> xterm -geometry 120x40

Problem 2: If I add outline-regexp: "[*\f]+" after mode: ouline, the
outline mode works fine. But if I add any other pattern it seems the
outline mode does not take affect (the default behaviour is retained).
If "mode: outline-minor" then by chainging the pattern I also loose
the default behaviour.

Some examples of patterns that I used are:

outline-regexp: " *[A-Z ]+"
- from http://www.emacswiki.org/cgi-bin/wiki/OutlineMode
- and typing "A this didn't work, that is to say the color of
  the font did not change"

outline-regexp: " *\\([A-Za-z]\\|[IVXivx0-9]+\\)\\. *"
- from http://www.emacswiki.org/cgi-bin/wiki/OutlineMode
- and typing "I.  blah blah didn't work, that is to say the color of
  the font did not change"

outline-regexp: "[-\f]+"
- what I want to do and this didn't work either.

outline-regexp: "[>\f]+"
- what I want to do and this didn't work either.

================================================================

System Info to help track down your bug:
---------------------------------------

uname -a: SunOS wcars2at 5.8 Generic_117350-25 sun4u sparc SUNW,Sun-Blade-1500 Solaris

./configure '--prefix=/localdisk/vahik/05septBuild' '--enable-menubars=lucid' '--enable-scrollbars=lucid' '--enable-dialogs=lucid' '--enable-widgets=lucid' 'CC=gcc'


XEmacs 21.5-b21 "corn" (+CVS-20050527) configured for `sparc-sun-solaris2.8'.

  WARNING: --------------------------------------------------------------
  WARNING: This was produced from a new autoconf-2.5 based configuration.
  WARNING: If this configuration seems buggy then copy etc/configure-2.13
  WARNING: to configure and try again.  Also please report the bug.
  WARNING: --------------------------------------------------------------

Compilation Environment and Installation Defaults:
  Source code location:              /localdisk/vahik/05septBuild/sources/xemacs-21.5.21
  Installation prefix:               /localdisk/vahik/05septBuild
  Runtime library search path:       /usr/ccs/lib:/usr/openwin/lib:/localdisk/vahik/05septBuild/lib/gcc/sparc-sun-solaris2.8/4.0.1/../../..
  Operating system description file: `s/sol2.h'
  Machine description file:          `m/sparc.h'
  Compiler version:                  gcc (GCC) 4.0.1
    - GCC specs file:                specs.
    - Compiler command:              gcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wunused-parameter -g  
  libc version:                      SUNWcsl 11.8.0,REV=2000.01.08.18.12
  Relocating allocator for buffers:  yes
  GNU version of malloc:             yes

Window System:
  Compiling in support for the X window system:
    - X Windows headers location:                 /usr/openwin/include
    - X Windows libraries location:               /usr/openwin/lib
    - Handling WM_COMMAND properly.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  Using Motif native widgets.

TTY:

Images:
  Compiling in support for GIF  images (builtin).
  Compiling in support for XPM  images.
  Compiling in support for PNG  images.
  Compiling in support for JPEG images.
  Compiling in support for TIFF images.

Sound:
  Compiling in support for sound (native).

Databases:
  Compiling in support for DBM.
  Compiling in support for LDAP.

Internationalization:

Mail:
  Compiling in support for "file" mail spool file locking method.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for ToolTalk.
  Compiling in support for dynamic shared object modules.
  Using the new GC algorithms.
  WARNING: ---------------------------------------------------------
  WARNING: The new algorithms are experimental. They are enabled by
  WARNING: default for this release. Use `--disable-kkcc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Using the new allocator.
  WARNING: ---------------------------------------------------------
  WARNING: The new allocator is experimental. It is enabled by
  WARNING: default for this release. Use `--disable-mc-alloc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Compiling in support for extra debugging code.
  Compiling in support for runtime error checking.
  WARNING: ---------------------------------------------------------
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------



Load-Path Lisp Shadows:
----------------------
(/localdisk/vahik/lib/xemacs/xemacs-packages/lisp/build/build-report
/localdisk/vahik/lib/xemacs-21.5-b21/lisp/build-report
/localdisk/vahik/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/localdisk/vahik/lib/xemacs-21.5-b21/lisp/regexp-opt
/localdisk/vahik/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/localdisk/vahik/lib/xemacs-21.5-b21/lisp/easy-mmode
/localdisk/vahik/lib/xemacs-21.5-b21/lisp/custom
~manook/.xemacs/custom)


Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.16 upstream: 2.112)
(xwem ver: 1.21 upstream: lg at xwem.org--2005/xwem--main--2.1--versionfix-1)
(xslt-process ver: 1.11 upstream: regular)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.14 upstream: lg at xwem.org--2005/xlib--main--2.1--version-0)
(xetla ver: 1.0 upstream: steve at eicq.org--2005/xetla--main--1.0--version-0)
(xemacs-devel ver: 1.7 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.97 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.31 upstream: 4.0pre47)
(vm ver: 7.22 upstream: 7.17)
(viper ver: 1.4 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.2 upstream: 3.33.2)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.41 upstream: No-Upstream-Ver)
(tramp ver: 1.25 upstream: 2.0.49)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.38 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.88 upstream: No-Upstream-Ver)
(texinfo ver: 1.29 upstream: No-Upstream-Ver)
(supercite ver: 1.2 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.27 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.11 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.17 upstream: No-Upstream-Ver)
(sh-script ver: 1.18 upstream: 2.0e)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.19 upstream: 1.4.2)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.15 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.19 upstream: 1.0.8)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.02 upstream: 1.20)
(python-modes ver: 1.06 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.44 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.05 upstream: No-Upstream-Ver)
(pgg ver: 1.05 upstream: 0.1)
(perl-modes ver: 1.08 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.66 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.36 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.46 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.29 upstream: 7.4.2)
(mew ver: 1.19 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.73 upstream: No-Upstream-Ver)
(liece ver: 1.14 upstream: 1.4.9)
(jde ver: 1.48 upstream: 2.3.2)
(ispell ver: 1.31 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.13 upstream: 2.111)
(idlwave ver: 1.32 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.07 upstream: 1.45)
(gnus ver: 1.85 upstream: 5.10.7)
(gnats ver: 1.17 upstream: 3.101)
(general-docs ver: 1.04 upstream: No-Upstream-Ver)
(games ver: 1.15 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.04 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(ess ver: 1.16 upstream: 5.2.7)
(eshell ver: 1.1 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(erc ver: 0.17 upstream: Version 5.0 Revision: 1.757)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.24 upstream: No-Upstream-Ver)
(ediff ver: 1.53 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.19 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.17 upstream: 7.13)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(crisp ver: 1.15 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.1 upstream: /main/laptop/165)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.21 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.26 upstream: 2.34)
(auctex ver: 1.46 upstream: 11.55)
(apel ver: 1.29 upstream: 10.2)
(ada ver: 1.14 upstream: 2.27)
(Sun ver: 1.16 upstream: No-Upstream-Ver)



Installed Modules:
-----------------


Features:
--------

(mail-abbrevs xemacsbug shadow sendmail rfc822 annotations
cheatSheet-mode efs-cu blink-cursor paren blink-paren pending-del
test-my-function-mode outline luanch-rlogin-mode luanch-telnet-mode
luanch-tip-port-mode luanch-xterm-mode scroll-down-mode scroll-up-mode
function-scope-mode trim-trailing-space-mode load-emacs-mode
open-all-files-mode open-chkd-files-mode open-swch-file-mode
passport-make-mode navigate-method-mode bounce-sexp-mode font-lock
cus-face zenirc-autoloads xwem-autoloads xslt-process-autoloads
xslide-autoloads xlib-autoloads xetla-autoloads xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads
tm-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads riece-autoloads
reftex-autoloads re-builder-autoloads python-modes-autoloads
psgml-dtds-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
oo-browser-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads liece-autoloads
jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hyperbole-autoloads
hm--html-menus-autoloads haskell-mode-autoloads gnus-autoloads
gnats-autoloads general-docs-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
ess-autoloads eshell-autoloads escreen-autoloads erc-autoloads
emerge-autoloads elib-autoloads eieio-autoloads efs-autoloads
edt-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads docbookide-autoloads dired-autoloads
dictionary-autoloads debug-autoloads crisp-autoloads cookie-autoloads
clearcase-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads ada-autoloads Sun-autoloads
modules-autoloads auto-autoloads loadhist rsz-minibuf auto-show
fontl-hooks x-iso8859-1 code-cmds gutter-items menubar-items x-menubar
mode-motion mouse behavior itimer auto-save lisp-mode easymenu
easy-mmode iso8859-1 page buff-menu lib-complete cus-file derived
newcomment env text-props frame obsolete cus-start custom widget
cl-extra cl cl-19 packages backquote tooltalk unicode lucid-scrollbars
cut-buffer lucid-menubars motif-dialogs x c-balloon-help tty-frames
tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
dbm md5 xemacs gutter tiff png gif jpeg xpm xbm lisp-float-type
file-coding usg-unix-v dialog devices window-system base64)


Recent keystrokes:
-----------------

f6 button1 button1up f3 f3 f6 button1 button1up button1 
button1up C-f6 RET f5 up RET down button1 button1up 
; ; ; SPC end SPC * * * down SPC * * * down SPC * * 
* home ; ; ; SPC up left left left left ; ; ; SPC f6 
C-f5 Sh-f4 C-f6 RET f5 up RET button1 button1up DEL 
DEL DEL DEL down DEL DEL DEL DEL down DEL DEL DEL DEL 
right right right right right left f3 up end left left 
left left up left left left f3 down right right right 
f3 f6 misc-user


Recent messages (most recent first):
-----------------------------------

Warning: 

Defaulting to the GNU Emacs-derived `sendmail.el' mail client. This facility,
while part of base XEmacs, is heinously underfeatured, and not going to get
better in the medium term. We include it so that bug reports work without
packages; we suggest that you choose and/or install one of the other mail
clients from packages if you're doing something other than M-x
report-xemacs-bug , or even if you are reporting bugs regularly.

To choose a package from those installed, click on "Options" ->
"Internet" -> "Compose Mail With ..." and decide on one from the
list. Gnus and VM are full-featured and have active user communities.

To disable this warning and stick with the old behavior, you can explicitly
initialize `mail-user-agent' to 'sendmail-user-agent . 
Loading xemacsbug...done
Loading xemacsbug...
Wrote /home/manook/testCheatSheetXemacs
Quit
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Wrote /home/manook/testCheatSheetXemacs
Quit
Loading annotations...done





More information about the XEmacs-Beta mailing list