emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

paragraph-start and fill-paragraph in texinfo-mode


From: Joseph Kiniry
Subject: paragraph-start and fill-paragraph in texinfo-mode
Date: Sun, 11 Sep 2005 23:10:53 +0100
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/22.0.50 (darwin)

When using texinfo-mode for the first time in Emacs 22.x I found that
fill-paragraph no longer worked.

Tracing fill-paragraph shows that forward-paragraph is not working
properly, perhaps due to paragraph-separate/paragraph-start not being
defined properly.  Attempting to use forward-paragraph always skips to
the end of the file.  forward-page works properly, on the other hand.

In a texinfo buffer (the buffer-local variable) paragraph-start is 
defined as 
  "\\|@[a-zA-Z]*[ \n]\\|[      ]*\\(//+\\|\\**\\)[     ]*\\|^\f"
which is correct according to texinfo.el, as it appends the first
clause to the default paragraph-start
  "[    ]*\\(//+\\|\\**\\)[     ]*\\|^\f"

whose definition I honestly find surprising.  Why are two or more
slashes or zero or more asterisks special markers in text-mode?

Thanks,
Joe
-- 
Joseph Kiniry
School of Computer Science and Informatics
UCD Dublin
http://secure.ucd.ie/
http://srg.cs.ucd.ie/


In GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.1.0)
 of 2005-05-12 on hoser.apple.com
Distributor `Apple Computers', version 10.4.2
configured using `configure '--prefix=/opt/local' '--without-x' '--with-carbon' 
'--enable-carbon-app=/opt/local/var/db/dports/build/file._Users_Shared_Src_darwinports_dports_editors_emacs/work/destroot/Applications/DarwinPorts'
 'CFLAGS=-I/opt/local/include' 'CPPFLAGS=-I/opt/local/include' 
'LDFLAGS=-L/opt/local/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  encoded-kbd-mode: t
  checkdoc-minor-mode: t
  display-time-mode: t
  show-paren-mode: t
  erc-autojoin-mode: t
  erc-button-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-fill-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  eldoc-mode: t
  semantic-decoration-mode: t
  semantic-idle-completions-mode: t
  semantic-idle-summary-mode: t
  semantic-idle-scheduler-mode: t
  mouse-wheel-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  next-error-follow-minor-mode:  Fol

Recent input:
C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s 
C-s C-s C-s C-s C-s C-a C-x o C-x d C-a C-k / o p t 
/ l o c a l / s h a r e / e m a c s <return> ESC x 
g r e p - t r e e <return> p a r a g r a p h - s t 
a r t <return> <return> <return> <down-mouse-1> <mouse-1> 
<help-echo> C-v <help-echo> <down-mouse-2> <mouse-2> 
<help-echo> <help-echo> C-s C-w C-w C-s C-s C-r C-r 
C-r C-a <help-echo> <menu-bar> <help-menu> <report
-emacs-bug>

Recent messages:
Quit
Type C-x 4 b RET to restore the other window.  C-M-v to scroll the help. [2 
times]
fill-column: Column beyond which automatic line-wrapping should happen.
Quit
Fontifying *grep*... (regexps...........)
Mark saved where search started
Fontifying *grep*... (regexps...........)
Mark set
I-search: paragraph-start [2 times]
Loading emacsbug...done





reply via email to

[Prev in Thread] Current Thread [Next in Thread]