[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie: Interactive goto-line ?!
From: |
David Kastrup |
Subject: |
Re: Newbie: Interactive goto-line ?! |
Date: |
27 Feb 2004 19:22:54 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > If one happens to have sane bold and italic fonts, probably not the
> > worst idea.
>
> Such things don't just happen. I actually made up my own italics
> version of misc-fixed-semicondensed since it didn't exist.
> Nowadays, it comes standard so I ditched my home-grown font.
If it comes standard in the intl-fonts collection, one could rely on
it sufficiently to work.
> >> Have you tried my new doctex-mode ? It's not using AUCTeX so
> >> it's probably no good for you, but you might like the idea. The
> >> thing in CVS? That merely fiddles with fontlock, right?
>
> Right. Tho not the faces part of font-lock, but the syntactic part
> (the face part then automatically follows from it).
>
> >> I don't hack on such docs enough to have a good feel for what
> >> would be really useful, tho. The idea is just to try and turn
> >> those "code in comment" back into non-comments.
>
> > We (actually, mostly Ralf Angeli) currently are working on filling
> > and insertion and other stuff in AUCTeX that will accept comments
> > as a separate syntax domain with regard to LaTeX command insertion
> > and indentation. Separate branch named new-fill, currently. Very
> > impressive.
>
> I don't actually understand what that means. Can you show an
> example?
Pick some arbitrary .dtx code:
% Now redefine "\@tabarray" to restore "\hline" and "\multicolumn" so
% that arrays and tabulars nested in longtable (or in page headings on
% longtable pages) work out OK. Saving the original definitions done
% here so that you can load the \package{array} package before or after
% \package{longtable}.
% \begin{macrocode}
\let\LT@@tabarray\@tabarray
\let\LT@@hl\hline
\def\@tabarray{%
\let\hline\LT@@hl
% \end{macrocode}
%\begin{verbatim}
% \let\multicolumn\LT@mcol
%\end{verbatim}
% \begin{macrocode}
\LT@@tabarray}%
\let\\\LT@tabularcr\let\tabularnewline\\%
\def\newpage{\noalign{\break}}%
% \end{macrocode}
% \changes{v4.05}{1996/11/12}
% {\cs{nopagebreak} and \cs{pagebreak} added}
% More or less standard definitions, but first start a "\noalign".
% \begin{macrocode}
\def\pagebreak{\noalign{\ifnum`}=0\fi\@testopt{\LT@no@pgbk-}4}%
\def\nopagebreak{\noalign{\ifnum`}=0\fi\@testopt\LT@no@pgbk4}%
% \end{macrocode}
%
% \begin{macrocode}
\let\hline\LT@hline \let\kill\LT@kill\let\caption\LT@caption
\@tempdima\ht\strutbox
% \end{macrocode}
%
With regard to indentation and environment completion, the comments
are one domain that is not interested in unmatched braced and
environments in the code, and vice versa.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: Newbie: Interactive goto-line ?!, (continued)
- Re: Newbie: Interactive goto-line ?!, Alan Mackenzie, 2004/02/27
- Re: Newbie: Interactive goto-line ?!, Eli Zaretskii, 2004/02/27
- Re: Newbie: Interactive goto-line ?!, Johan Bockgård, 2004/02/27
- Re: Newbie: Interactive goto-line ?!, David Kastrup, 2004/02/27
- Re: Newbie: Interactive goto-line ?!, Johan Bockgård, 2004/02/27
- Re: Newbie: Interactive goto-line ?!, Kai Grossjohann, 2004/02/29
- Re: Newbie: Interactive goto-line ?!, Floyd L. Davidson, 2004/02/29
- Re: Newbie: Interactive goto-line ?!, Stefan Monnier, 2004/02/27
- Re: Newbie: Interactive goto-line ?!, David Kastrup, 2004/02/27
- Re: Newbie: Interactive goto-line ?!, Stefan Monnier, 2004/02/27
- Re: Newbie: Interactive goto-line ?!,
David Kastrup <=
- Re: Newbie: Interactive goto-line ?!, Stefan Monnier, 2004/02/27
- Re: Newbie: Interactive goto-line ?!, Eli Zaretskii, 2004/02/26
- Message not available
- Re: Newbie: Interactive goto-line ?!, David Kastrup, 2004/02/26
- Re: Newbie: Interactive goto-line ?!, Kevin Rodgers, 2004/02/26
- Re: Newbie: Interactive goto-line ?!, Eli Zaretskii, 2004/02/27
- Message not available
- Re: Newbie: Interactive goto-line ?!, Stefan Monnier, 2004/02/27
- Re: Newbie: Interactive goto-line ?!, Eli Zaretskii, 2004/02/27
- Message not available
- Re: Newbie: Interactive goto-line ?!, Dan Katz, 2004/02/26
- Re: Newbie: Interactive goto-line ?!, Kevin Rodgers, 2004/02/25
- Re: Newbie: Interactive goto-line ?!, Floyd Davidson, 2004/02/25