From odonnellp at rogers.com Sun Feb 26 16:50:22 2017 Content-Type: multipart/mixed; boundary="===============3408256931379138398==" MIME-Version: 1.0 From: Paul O'Donnell To: xemacs-beta at xemacs.org Subject: auto-fill-mode removes har returns tha are already in the document Date: 2003-02-10 03:10:58 -0500 Message-ID: <1044864658.20837.38.camel@cpe024350002546.cpe.net.cable.rogers.com> --===============3408256931379138398== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --text follows this line--This bug report will be sent to the XEmacs Development Team, not to your local site managers!! Please write in English, because the XEmacs maintainers do not have translators to read other languages for them. Please describe as succinctly as possible: - What happened. - What you thought should have happened. - Precisely what you were doing at the time. Please also include any C or lisp back-traces that you may have. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dear Bug Team! I am having trouble with auto-fill-mode. Here is a recreation to demonstrate the "bug". I have the following html document, that looks like this. (Hard returns are entered after the closing 's and there is a tab before the opening
  • 's. Note the tags. I have just discovered that they are necessary to recreate this "bug?" since it works the way I expect it to when they are not there. When I turn on auto-fill-mode and use M-q, the hard returns are removed. (I am doing this in HTML mode). Here is the result. What happened to the hard return between the list elements? Thanks, Paul =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D System Info to help track down your bug: --------------------------------------- uname -a: Linux astest 2.4.9-e.8smp #1 SMP Fri Jul 19 15:38:30 EDT 2002 i686 unknown unknown GNU/Linux ./configure 'i386-redhat-linux-gnu' '--prefix=3D/usr' '--exec-prefix=3D/usr' '--bindir=3D/usr/bin' '--datadir=3D/usr/share' '--libdir=3D/usr/lib' '--mandir=3D/usr/share/man/man1' '--infodir=3D/usr/share/info' '--with-gpm=3Dno' '--with-sound=3Dnative' '--with-pop' '--mail-locking=3Dlockf' '--with-clash-detection' '--debug=3Dno' '--error-checking=3Dnone' '--with-mule=3Dyes' '--with-database=3Dberkdb' '--with-ldap=3Dyes' '--with-hesiod=3Dno' '--with-canna=3Dyes' '--with-wnn=3Dyes' '--with-widgets=3Dmotif' '--with-menubars=3Dlucid' '--with-scrollbars=3Dlucid' '--with-dialogs=3Dmot= if' '--with-xim=3Dxlib' '--with-msw=3Dno' '--with-xfs=3Dyes' '--pdump' XEmacs 21.4.8 "Honest Recruiter" configured for `i386-redhat-linux'. Compilation / Installation: Source code location: = /usr/src/build/141167-i386/BUILD/xemacs-21.4.8 Installation prefix: /usr Operating system description file: `s/linux.h' Machine description file: `m/intel386.h' Compiler: gcc -O2 -march=3Di386 -mcpu=3Di686 Relocating allocator for buffers: no GNU version of malloc: yes - Using Doug Lea's new malloc from the GNU C Library. Window System: Compiling in support for the X window system: - X Windows headers location: /usr/X11R6/include - X Windows libraries location: /usr/X11R6/lib - Handling WM_COMMAND properly. Using Lucid menubars. Using Lucid scrollbars. Using Motif dialog boxes. Using Motif native widgets. TTY: Compiling in support for ncurses. 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 Berkeley database. Compiling in support for LDAP. Compiling in support for PostgreSQL. - Using PostgreSQL header file: libpq-fe.h - Using PostgreSQL V7 bindings. Internationalization: Compiling in support for Mule (multi-lingual Emacs). Compiling in support for XIM (X11R5+ I18N input method). - Using raw Xlib to provide XIM support. - Using XFontSet to provide bilingual menubar. Compiling in support for Canna on Mule. Compiling in support for the WNN input method on Mule. Mail: Compiling in support for POP mail retrieval. Compiling in support for "lockf" mail spool file locking method. Other Features: Inhibiting IPv6 canonicalization at startup. Compiling in support for dynamic shared object modules. Using the new portable dumper. Load-Path Lisp Shadows: ---------------------- (/usr/lib/xemacs/mule-packages/lisp/skk/queue-m /usr/lib/xemacs/xemacs-packages/lisp/elib/queue-m /usr/lib/xemacs/xemacs-packages/lisp/flim/md5 /usr/lib/xemacs/xemacs-packages/lisp/gnus/md5 /usr/lib/xemacs/xemacs-packages/lisp/flim/smtpmail /usr/lib/xemacs/xemacs-packages/lisp/mail-lib/smtpmail /usr/lib/xemacs/xemacs-packages/lisp/gnus/smime /usr/lib/xemacs/xemacs-packages/lisp/semi/smime /usr/lib/xemacs/xemacs-packages/lisp/semi/signature /usr/lib/xemacs/xemacs-packages/lisp/tm/signature /usr/lib/xemacs/xemacs-packages/lisp/semi/mime-setup /usr/lib/xemacs/xemacs-packages/lisp/tm/mime-setup /usr/lib/xemacs/xemacs-packages/lisp/flim/mel-u /usr/lib/xemacs/xemacs-packages/lisp/tm/mel-u /usr/lib/xemacs/xemacs-packages/lisp/flim/mel-q /usr/lib/xemacs/xemacs-packages/lisp/tm/mel-q /usr/lib/xemacs/xemacs-packages/lisp/flim/mel-g /usr/lib/xemacs/xemacs-packages/lisp/tm/mel-g /usr/lib/xemacs/xemacs-packages/lisp/flim/mel /usr/lib/xemacs/xemacs-packages/lisp/tm/mel /usr/lib/xemacs/xemacs-packages/lisp/gnus/utf7 /usr/lib/xemacs/xemacs-packages/lisp/wl/utf7 /usr/lib/xemacs/xemacs-packages/lisp/apel/alist /usr/share/xemacs-21.4.8/lisp/alist) Installed XEmacs Packages: ------------------------- ((zenirc:version 1.13 :type regular) (xslt-process :version 1.1 :type regular) (xslide :version 1.02 :type regular) (xemacs-devel :version 1.47 :type single-file) (xemacs-base :version 1.66 :type regular) (w3 :version 1.25 :type regular) (vm :version 7.07 :type regular) (viper :version 1.34 :type regular) (view-process :version 1.11 :type regular) (vhdl :version 1.15 :type regular) (vc-cc :version 1.21 :type regular) (vc :version 1.33 :type regular) (tramp :version 1.05 :type regular) (tpu :version 1.12 :type regular) (tooltalk :version 1.13 :type regular) (tm :version 1.34 :type regular) (time :version 1.11 :type regular) (textools :version 1.12 :type regular) (text-modes :version 1.48 :type single-file) (texinfo :version 1.2 :type regular) (supercite :version 1.19 :type regular) (strokes :version 1.08 :type regular) (speedbar :version 1.23 :type regular) (sounds-wav :version 1.1 :type regular) (sounds-au :version 1.1 :type regular) (slider :version 1.13 :type regular) (sieve :version 1.07 :type regular) (sh-script :version 1.15 :type regular) (sgml :version 1.08 :type regular) (semantic :version 1.12 :type regular) (scheme :version 1.11 :type regular) (rmail :version 1.13 :type regular) (reftex :version 1.25 :type regular) (psgml :version 1.28 :type regular) (ps-print :version 1.04 :type regular) (prog-modes :version 1 .6 :type single-file) (pcomplete :version 1.01 :type regular) (pcl-cvs :version 1.63 :type regular) (pc :version 1.25 :type single-file) (os-utils :version 1.28 :type single-file) (net-utils :version 1.27 :type single-file) (mmm-mode :version 1.0 :type regular) (misc-games :version 1.15 :type single-file) (mine :version 1.14 :type regular) (mh-e :version 1.14 :type regular) (mailcrypt :version 2.11 :type regular) (mail-lib :version 1.47 :type regular) (jde :version 1.35 :type regular) (ispell :version 1.24 :type regular) (ilisp :version 1.27 :type regular) (igrep :version 1.08 :type regular) (idlwave :version 1.25 :type regular) (ibuffer :version 1.08 :type regular) (hm--html-menus :version 1.18 :type regular) (haskell-mode :version 1.04 :type regular) (gnus :version 1.62 :type regular) (gnats :version 1.15 :type regular) (games :version 1.13 :type regular) (fsf-compat :version 1.11 :type single-file) (frame-icon :version 1.09 :type regular) (forms :version 1.14 :type regular) (footnote :version 1.15 :type regular) (eudc :version 1.36 :type regular) (eterm :version 1.13 :type regular) (ess :version 1.02 :type regular) (eshell :version 1.03 :type regular) (emerge :version 1.09 :type regular) (elib :version 1.1 :type single-file) (eieio :version 1.02 :type regular) (efs :version 1.29 :type regular) (edt :version 1.12 :type regular) (edit-utils :version 1.89 :type single-file) (ediff :version 1.41 :type regular) (edebug :version 1.14 :type regular) (dired :version 1.12 :type regular) (dictionary :version 1.11 :type regular) (debug :version 1.15 :type regular) (crisp :version 1.12 :type regular) (cookie :version 1.14 :type regular) (clearcase :version 1.04 :type regular) (cc-mode :version 1.28 :type regular) (calendar :version 1.18 :type regular) (calc :version 1.23 :type regular) (c-support :version 1.16 :type single-file) (build :version 1.06 :type regular) (bbdb :version 1.21 :type regular) (auctex :version 1.32 :type regular) (ada :version 1.1 :type regular) (mule-ucs :version 1.04 :type regular) (mule-base :version 1.42 :type regular) (lookup :version 1.12 :type regular) (locale :version 1.18 :type regular) (leim :version 1.18 :type regular) (latin-unity :version 1.05 :type regular) (egg-its :version 1.26 :type regular) (edict :version 1.13 :type regular)) Features: -------- (psgml-dtd psgml-parse psgml-edit tempo psgml-xemacs sgml-mode psgml psgml-html efs-cu annotations mail-abbrevs xemacsbug shadow sendmail rfc822 font disp-table font-lock blink-cursor big-menubar time cus-face mwheel un-define mule-uni zenirc-autoloads xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads xemacs-base-autoloads wl-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 slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads semi-autoloads semantic-autoloads scheme-autoloads rmail-autoloads reftex-autoloads psgml-autoloads ps-print-autoloads prog-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads net-utils-autoloads mmm-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads ibuffer-autoloads hm--html-menus-autoloads haskell-mode-autoloads gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads frame-icon-autoloads forms-autoloads footnote-autoloads flim-autoloads eudc-autoloads eterm-autoloads ess-autoloads eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads edebug-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 skk-setup skk-autoloads mule-ucs-autoloads mule-base-autoloads lookup-autoloads locale-autoloads leim-autoloads latin-unity-autoloads egg-its-autoloads edict-autoloads lisp-autoloads loadhist auto-show fontl-hooks x-iso8859-1 canna-leim slovenian czech romanian ccl mule-help code-cmds gutter-items menubar-items x-menubar mode-motion mouse itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu lib-complete cus-file derived frame text-props obsolete cus-start custom widget cl-extra mini-cl cl cl-19 packages backquote very-early-lisp postgresqlv7 postgresql CANNA file-coding wnn mule 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 berkeley-db md5 xemacs xim gutter tiff png gif jpeg xpm xbm lisp-float-type linux dialog devices window-system base64) Recent keystrokes: ----------------- s e d , SPC a u t o - f i l l SPC BS - m o d e SPC = r e o BS m o v e s SPC t h BS BS h a r d SPC r e t = u r n s SPC t h a t SPC a r e SPC i n SPC a n d SPC = BS BS SPC h t m l SPC d o u c BS BS c u m e n t . < = / l i > button1 button1up C-x 1 button1 button1up button1 = button1up misc-user Recent messages (most recent first): ----------------------------------- Not over a window. Parsing prolog...done Loading psgml-dtd...done Loading psgml-dtd... External entity html not found Loading /usr/lib/xemacs/xemacs-packages/etc/psgml/CATALOG ... done Loading /usr/lib/xemacs/xemacs-packages/etc/psgml/CATALOG ... Loading /usr/share/sgml/docbook/xml-dtd-4.2-1.0-14/catalog ... done Loading /usr/share/sgml/docbook/xml-dtd-4.2-1.0-14/catalog ... Loading /etc/sgml/xml-docbook-4.2-1.0-14.cat ... done Loading /etc/sgml/xml-docbook-4.2-1.0-14.cat ... Loading /usr/share/sgml/docbook/sgml-dtd-4.0-1.0-14/catalog ... done Loading /usr/share/sgml/docbook/sgml-dtd-4.0-1.0-14/catalog ... Loading /etc/sgml/sgml-docbook-4.0-1.0-14.cat ... done Loading /etc/sgml/sgml-docbook-4.0-1.0-14.cat ... Loading /usr/share/sgml/docbook/sgml-dtd-4.1-1.0-14/catalog ... done Loading /usr/share/sgml/docbook/sgml-dtd-4.1-1.0-14/catalog ... Loading /etc/sgml/sgml-docbook-4.1-1.0-14.cat ... done Loading /etc/sgml/sgml-docbook-4.1-1.0-14.cat ... Loading /usr/share/sgml/docbook/sgml-dtd-3.0-1.0-14/catalog ... done --===============3408256931379138398==-- From stephen at xemacs.org Sun Feb 26 16:50:22 2017 Content-Type: multipart/mixed; boundary="===============6012098148251591805==" MIME-Version: 1.0 From: Stephen J. Turnbull To: xemacs-beta at xemacs.org Subject: Re: auto-fill-mode removes har returns tha are already in the document Date: 2003-02-10 18:13:19 +0900 Message-ID: <877kc8ijm8.fsf@tleepslib.sk.tsukuba.ac.jp> In-Reply-To: 1044864658.20837.38.camel@cpe024350002546.cpe.net.cable.rogers.com --===============6012098148251591805== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable >>>>> "Paul" =3D=3D Paul O'Donnell writes: Paul> When I turn on auto-fill-mode and use M-q, the hard returns In auto-fill-mode they're all hard returns. Emacs does know about soft and hard returns, but I don't know of any code that actually uses them. Paul> are removed. (I am doing this in HTML mode). Here is the Paul> result. You don't have an SGML declaration at the top of the file. In that case PSGML gives up and treats the file as plain text, so that paragraph breaks are specified by an empty line. There is an HTML-specific mode that probably works without a declaration, but PSGML is much better. Maybe if you just insert at the top of your file (and maybe type C-c C-p to get it parsed), everybody will be happy. (You need the psgml-data package installed, or you need to point PSGML at your local collection of DTDs. The former is easy, the latter is Truly Righteous.) -- = Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac= .jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JA= PAN Ask not how you can "do" free software business; ask what your business can "do for" free software. --===============6012098148251591805==--