unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8666: 23.2; LaTeX mode fill-paragraph command does not work in captions
@ 2011-05-12 21:21 Worik Stanton
  2011-05-12 23:00 ` bug#8666: Supplementry info Worik Stanton
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Worik Stanton @ 2011-05-12 21:21 UTC (permalink / raw)
  To: 8666

When editing the caption fro a float (a figure or table) using M-q to
run fill paragraph does not adjust the text.

Running 'fill-paragraph' directly does not work either

worik.stanton@gmail.com


In GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4)
  of 2011-04-04 on rothera, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11001000
configured using `configure  '--build' 'i686-linux-gnu' '--build' 
'i686-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var/lib' 
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' 
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 
'build_alias=i686-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 
'CPPFLAGS=''

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: en_NZ.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default enable-multibyte-characters: t

Major mode: LaTeX

Minor modes in effect:
   diff-auto-refine-mode: t
   shell-dirtrack-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> ) C-x C-s <down> <down> <down>
<down> <right> C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-x C-s <up> <up> <return> i n
SPC t a b l e SPC \ r e f <down> <down> <down> <down>
<down> <left> <left> <left> C-k C-y <up> <up> <up>
<up> <up> C-y SPC a n d SPC f i g u r e SPC <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <backspace> <down> <down> <down>
<down> <down> <left> <return> <tab> <up> <up> <tab>
M-q C-x C-s <up> <right> <right> <right> <right> <right>
<right> [ ] <left> 5 - - D a y SPC M o v i n g SPC
A v e r a g e SPC 0 . 0 0 1 SPC B a n d SPC $ \ p m
0 . 0 0 0 5 $ SPC N e i g h b o u r h o o d SPC A n
a l y s i s M-q <right> <return> <tab> <right> <return>
<tab> M-q C-x C-s <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <send-emacs-bug-report>
C-g C-g C-h m <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> C-h
k M-q <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>

Recent messages:
Wrote /home/worik/Documents/Research/Masters/Thesis/Dissertation.tex
Saving file 
/home/worik/Documents/Research/Masters/Thesis/Dissertation.tex...
Wrote /home/worik/Documents/Research/Masters/Thesis/Dissertation.tex
Mark set [2 times]
Saving file 
/home/worik/Documents/Research/Masters/Thesis/Dissertation.tex...
Wrote /home/worik/Documents/Research/Masters/Thesis/Dissertation.tex
Saving file 
/home/worik/Documents/Research/Masters/Thesis/Dissertation.tex...
Wrote /home/worik/Documents/Research/Masters/Thesis/Dissertation.tex
Quit [2 times]
Type C-x 4 C-o RET to restore the other window, C-M-v to scroll help.

Load-path shadows:
/usr/share/emacs/23.2/site-lisp/auctex/multi-prompt hides 
/usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs/23.2/site-lisp/auctex/font-latex hides 
/usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs/23.2/site-lisp/auctex/context hides 
/usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs/23.2/site-lisp/auctex/tex-fold hides 
/usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs/23.2/site-lisp/auctex/texmathp hides 
/usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs/23.2/site-lisp/auctex/latex hides 
/usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs/23.2/site-lisp/auctex/tex-fptex hides 
/usr/share/emacs/site-lisp/auctex/tex-fptex
/usr/share/emacs/23.2/site-lisp/auctex/tex-buf hides 
/usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs/23.2/site-lisp/auctex/tex-mik hides 
/usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs/23.2/site-lisp/auctex/bib-cite hides 
/usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs/23.2/site-lisp/auctex/tex-bar hides 
/usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs/23.2/site-lisp/auctex/tex-info hides 
/usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs/23.2/site-lisp/auctex/context-en hides 
/usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs/23.2/site-lisp/auctex/tex hides 
/usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs/23.2/site-lisp/auctex/tex-style hides 
/usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs/23.2/site-lisp/auctex/tex-jp hides 
/usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs/23.2/site-lisp/auctex/toolbar-x hides 
/usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs/23.2/site-lisp/auctex/context-nl hides 
/usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs/23.2/site-lisp/auctex/tex-font hides 
/usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs23/site-lisp/ess/noweb-mode hides 
/usr/share/emacs/site-lisp/noweb-mode
/usr/share/emacs/23.2/site-lisp/debian-startup hides 
/usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides 
/usr/share/emacs/23.2/lisp/textmodes/flyspell
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides 
/usr/share/emacs/23.2/lisp/textmodes/ispell
/usr/share/emacs/23.2/site-lisp/octave3.2-emacsen/octave-mod hides 
/usr/share/emacs/23.2/lisp/progmodes/octave-mod
/usr/share/emacs/23.2/site-lisp/octave3.2-emacsen/octave-inf hides 
/usr/share/emacs/23.2/lisp/progmodes/octave-inf

Features:
(shadow mail-extr message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils texmathp doc-view image-mode ps-mode
emacsbug newcomment ispell help-mode view dired ess-roxy hideshow imenu
diff-mode multi-isearch sort vc vc-dispatcher jka-compr ediff-merg
ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff
vc-rcs preview prv-emacs byte-opt tex-bar tex-buf toolbar-x noutline
outline font-latex bytecomp byte-compile latex easy-mmode edmacro kmacro
tex-style tex advice help-fns advice-preload latexenc saveplace
ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv
ess-noweb noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
ess-sas-a executable shell ess-arc-d ess-vst-d ess-xls-d ess-lsp-l
ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp5-d
ess-sp3-d ess-r-d ess-r-args assoc ess-s-l ess-inf ess-utils comint ring
ess-mode noweb-mode ess ess-custom regexp-opt easymenu ess-compat
ess-site preview-latex tex-site auto-loads tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#8666: Supplementry info
  2011-05-12 21:21 bug#8666: 23.2; LaTeX mode fill-paragraph command does not work in captions Worik Stanton
@ 2011-05-12 23:00 ` Worik Stanton
  2011-05-12 23:41 ` bug#8666: More data Worik Stanton
  2011-05-13  1:24 ` bug#8666: Another case Worik Stanton
  2 siblings, 0 replies; 8+ messages in thread
From: Worik Stanton @ 2011-05-12 23:00 UTC (permalink / raw)
  To: 8666

fill-paragraph did not work for the following....

\begin{figure}[!h]
   \includegraphics[height=.5\textheight, 
angle=270]{Fragments/S99/res2MA001B.a.Vhist.eps}
   \caption[2--Day Moving Average Random Sampling histogram of returns,  
July 1962--1986]{2--Day
     moving average with 0.001 band, period July 1962--1986 .
     Histogram of volatility improvements.  70 samples
     \label{FIG:2 Day MA Random Hist Returns B}}
\end{figure}

But for the following now it did...

\begin{figure}[!h]
   \includegraphics[height=.5\textheight, 
angle=270]{Fragments/S99/res2MA001B.a.Vhist.eps}
   \caption[2--Day Moving Average Random Sampling histogram of returns,  
July 1962--1986]
   {2--Day
     moving average with 0.001 band, period July 1962--1986 .
     Histogram of volatility improvements.  70 samples
     \label{FIG:2 Day MA Random Hist Returns B}}
\end{figure}

I had to call it separately for the short and long captions, but it worked.

cheers
Worik





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#8666: More data...
  2011-05-12 21:21 bug#8666: 23.2; LaTeX mode fill-paragraph command does not work in captions Worik Stanton
  2011-05-12 23:00 ` bug#8666: Supplementry info Worik Stanton
@ 2011-05-12 23:41 ` Worik Stanton
  2011-05-13  1:24 ` bug#8666: Another case Worik Stanton
  2 siblings, 0 replies; 8+ messages in thread
From: Worik Stanton @ 2011-05-12 23:41 UTC (permalink / raw)
  To: 8666

The following did not adjust using fill-paragraph

\begin{table}[!h]
   \input{Fragments/S99/20110512the5Day0.001BMA...1996}
   \caption[5--Day moving average with 0.001 band: DJIA]
   {
     Trading the Dow Jones Industrial
     Averages index using a 5--Day Moving Average signal and a band of 
0.001.  There are more
     trades using the band than without the band (see table
     \ref{TAB:5 Day MA DJIA}) because with the band the rule trades out
     of the market between being long and short or vice versa
     \label{TAB:5 Day MA 0.001B DJIA}
   }
\end{table}






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#8666: Another case
  2011-05-12 21:21 bug#8666: 23.2; LaTeX mode fill-paragraph command does not work in captions Worik Stanton
  2011-05-12 23:00 ` bug#8666: Supplementry info Worik Stanton
  2011-05-12 23:41 ` bug#8666: More data Worik Stanton
@ 2011-05-13  1:24 ` Worik Stanton
  2011-05-13  1:52   ` Glenn Morris
  2 siblings, 1 reply; 8+ messages in thread
From: Worik Stanton @ 2011-05-13  1:24 UTC (permalink / raw)
  To: 8666

fill-paragraph does not work here either


\begin{table}[!h]
   \input{Fragments/S99/20110510the5DayMA...1996}
   \caption[DJIA 5--Day Moving Average]
   {
     Trading the Dow Jones Industrial
     Averages
     index using a 5--Day Moving Average signal
     \label{TAB:5 Day MA DJIA}
   }
\end{table}






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#8666: Another case
  2011-05-13  1:24 ` bug#8666: Another case Worik Stanton
@ 2011-05-13  1:52   ` Glenn Morris
       [not found]     ` <4DCC93C8.3010204@gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2011-05-13  1:52 UTC (permalink / raw)
  To: Worik Stanton; +Cc: 8666


Your examples work fine for me using Debian's Emacs 23.3 started with -Q.
Your initial report indicates you are using AUCTeX.
If it works for you when you use Emacs's latex-mode, then please report
this to the AUCTeX maintainers.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#8666: Another case
       [not found]     ` <4DCC93C8.3010204@gmail.com>
@ 2011-05-13  2:22       ` Glenn Morris
  2011-05-13  2:29         ` Worik Stanton
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2011-05-13  2:22 UTC (permalink / raw)
  To: Worik Stanton; +Cc: 8666


Please keep 8666@debbugs cc'd.

Worik Stanton wrote (on Fri, 13 May 2011 at 14:13 +1200):

> On 13/05/11 13:52, Glenn Morris wrote:
> > Your examples work fine for me using Debian's Emacs 23.3 started with -Q.
> > Your initial report indicates you are using AUCTeX.
> > If it works for you when you use Emacs's latex-mode, then please report
> > this to the AUCTeX maintainers.
> >
> OK.  How do I switch to that mode?

You test it by starting emacs with the -Q option.
For a more specific solution, find however you enable AUCTeX in your
configuration and ... don't.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#8666: Another case
  2011-05-13  2:22       ` Glenn Morris
@ 2011-05-13  2:29         ` Worik Stanton
  2011-05-19  7:03           ` bug#8666: Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Worik Stanton @ 2011-05-13  2:29 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 8666

On 13/05/11 14:22, Glenn Morris wrote:
> Please keep 8666@debbugs cc'd.
>
> Worik Stanton wrote (on Fri, 13 May 2011 at 14:13 +1200):
>
>> On 13/05/11 13:52, Glenn Morris wrote:
>>> Your examples work fine for me using Debian's Emacs 23.3 started with -Q.
>>> Your initial report indicates you are using AUCTeX.
>>> If it works for you when you use Emacs's latex-mode, then please report
>>> this to the AUCTeX maintainers.
>>>
>> OK.  How do I switch to that mode?
> You test it by starting emacs with the -Q option.
> For a more specific solution, find however you enable AUCTeX in your
> configuration and ... don't.
That is cool.  Being busy writing I'll take the path of least resistance 
and report the bug to bug-auctex@gnu.org.  Which means I do not have to 
restart!-)

Worik






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#8666:
  2011-05-13  2:29         ` Worik Stanton
@ 2011-05-19  7:03           ` Glenn Morris
  0 siblings, 0 replies; 8+ messages in thread
From: Glenn Morris @ 2011-05-19  7:03 UTC (permalink / raw)
  To: 8666-done

notfound 8666 23.2
stop

Moved to AUCTeX list:

http://lists.gnu.org/archive/html/bug-auctex/2011-05/msg00002.html





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-05-19  7:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 21:21 bug#8666: 23.2; LaTeX mode fill-paragraph command does not work in captions Worik Stanton
2011-05-12 23:00 ` bug#8666: Supplementry info Worik Stanton
2011-05-12 23:41 ` bug#8666: More data Worik Stanton
2011-05-13  1:24 ` bug#8666: Another case Worik Stanton
2011-05-13  1:52   ` Glenn Morris
     [not found]     ` <4DCC93C8.3010204@gmail.com>
2011-05-13  2:22       ` Glenn Morris
2011-05-13  2:29         ` Worik Stanton
2011-05-19  7:03           ` bug#8666: Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).