* bug#8157: mode related?
2011-03-02 21:51 bug#8157: emacs 23.1 hung on windows 7 Tony An
@ 2011-03-03 18:27 ` Tony An
2011-03-03 18:54 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Tony An @ 2011-03-03 18:27 UTC (permalink / raw)
To: 8157@debbugs.gnu.org
My instinct tells me that this hanging might be due to the LaTex mode is not doing well with other minor mode, but of course I might be totally wrong. Just in case, this is the mode I was in when the hung happened, repeatedly.
Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption
Column-Number Display-Time File-Name-Shadow Flyspell Font-Lock
Global-Auto-Composition Global-Font-Lock Line-Number Menu-Bar
Mouse-Wheel Shell-Dirtrack Show-Paren Tool-Bar Tooltip Transient-Mark
(Information about these minor modes follows the major mode info.)
LaTeX mode:
Major mode for editing files of input for LaTeX.
Makes $ and } display the characters they match.
Makes " insert `` when it seems to be the beginning of a quotation,
and '' when it appears to be the end; it inserts " only after a \.
Use C-c C-r to run LaTeX on the current region, plus the preamble
copied from the top of the file (containing \documentstyle, etc.),
running LaTeX under a special subshell. C-c C-b does the whole buffer.
C-c C-f saves the buffer and then processes the file.
C-c C-p prints the .dvi file made by any of these.
C-c C-v previews the .dvi file made by any of these.
C-c TAB runs bibtex on the file of the current buffer.
Use M-x tex-validate-buffer to check buffer for paragraphs containing
mismatched $'s or braces.
Special commands:
key binding
--- -------
C-c Prefix Command
C-j tex-terminate-paragraph
ESC Prefix Command
" tex-insert-quote
$ skeleton-pair-insert-maybe
( skeleton-pair-insert-maybe
[ skeleton-pair-insert-maybe
{ skeleton-pair-insert-maybe
<C-return> tex-feed-input
C-c C-b tex-buffer
C-c C-c tex-compile
C-c C-e latex-close-block
C-c C-f tex-file
C-c TAB tex-bibtex-file
C-c C-k tex-kill-job
C-c C-l tex-recenter-output-buffer
C-c RET tex-feed-input
C-c C-o latex-insert-block
C-c C-p tex-print
C-c C-q tex-show-print-queue
C-c C-r tex-region
C-c C-s latex-split-block
C-c C-u tex-goto-last-unclosed-latex-block
C-c C-v tex-view
C-c { tex-insert-braces
C-c } up-list
M-TAB ispell-complete-word
(that binding is currently shadowed by another mode)
M-RET latex-insert-item
Mode variables:
latex-run-command
Command string used by C-c C-r or C-c C-b.
tex-directory
Directory in which to create temporary files for LaTeX jobs
run by C-c C-r or C-c C-b.
tex-dvi-print-command
Command string used by C-c C-p to print a .dvi file.
tex-alt-dvi-print-command
Alternative command string used by C-c C-p (when given a prefix
argument) to print a .dvi file.
tex-dvi-view-command
Command string used by C-c C-v to preview a .dvi file.
tex-show-queue-command
Command string used by C-c C-q to show the print
queue that C-c C-p put your job on.
Entering Latex mode runs the hook `text-mode-hook', then
`tex-mode-hook', and finally `latex-mode-hook'. When the special
subshell is initiated, `tex-shell-hook' is run.
Auto-Composition minor mode (no indicator):
Toggle Auto Composition mode.
With ARG, turn Auto Composition mode off if and only if ARG is a non-positive
number; if ARG is nil, toggle Auto Composition mode; anything else turns Auto
Composition on.
When Auto Composition is enabled, text characters are automatically composed
by functions registered in `composition-function-table' (which see).
You can use `global-auto-composition-mode' to turn on
Auto Composition mode in all buffers (this is the default).
(fn &optional ARG)
Auto-Compression minor mode (no indicator):
Toggle automatic file compression and uncompression.
With prefix argument ARG, turn auto compression on if positive, else off.
Return the new status of auto compression (non-nil means on).
Auto-Encryption minor mode (no indicator):
Toggle automatic file encryption and decryption.
With prefix argument ARG, turn auto encryption on if positive, else off.
Return the new status of auto encryption (non-nil means on).
Column-Number minor mode (no indicator):
Toggle Column Number mode.
With ARG, turn Column Number mode on if ARG is positive,
otherwise turn it off. When Column Number mode is enabled, the
column number appears in the mode line.
Display-Time minor mode (no indicator):
Toggle display of time, load level, and mail flag in mode lines.
With a numeric arg, enable this display if arg is positive.
When this display is enabled, it updates automatically every minute.
If `display-time-day-and-date' is non-nil, the current day and date
are displayed as well.
This runs the normal hook `display-time-hook' after each update.
File-Name-Shadow minor mode (no indicator):
Toggle File-Name Shadow mode.
When active, any part of a filename being read in the minibuffer
that would be ignored (because the result is passed through
`substitute-in-file-name') is given the properties in
`file-name-shadow-properties', which can be used to make
that portion dim, invisible, or otherwise less visually noticeable.
With prefix argument ARG, turn on if positive, otherwise off.
Returns non-nil if the new state is enabled.
Flyspell minor mode (indicator Fly):
Minor mode performing on-the-fly spelling checking.
Ispell is automatically spawned on background for each entered words.
The default flyspell behavior is to highlight incorrect words.
With no argument, this command toggles Flyspell mode.
With a prefix argument ARG, turn Flyspell minor mode on iff ARG is positive.
Bindings:
M-$: correct words (using Ispell).
M-x flyspell-auto-correct-word: automatically correct word.
M-x flyspell-auto-correct-previous-word: automatically correct the last misspelled word.
M-x flyspell-correct-word (or down-mouse-2): popup correct words.
Hooks:
This runs `flyspell-mode-hook' after flyspell is entered.
Remark:
`flyspell-mode' uses `ispell-mode'. Thus all Ispell options are
valid. For instance, a personal dictionary can be used by
invoking `ispell-change-dictionary'.
Consider using the `ispell-parser' to check your text. For instance
consider adding:
(add-hook 'tex-mode-hook (function (lambda () (setq ispell-parser 'tex))))
in your .emacs file.
M-x flyspell-region checks all words inside a region.
M-x flyspell-buffer checks the whole buffer.
Font-Lock minor mode (no indicator):
Toggle Font Lock mode.
With arg, turn Font Lock mode off if and only if arg is a non-positive
number; if arg is nil, toggle Font Lock mode; anything else turns Font
Lock on.
(Font Lock is also known as "syntax highlighting".)
When Font Lock mode is enabled, text is fontified as you type it:
- Comments are displayed in `font-lock-comment-face';
- Strings are displayed in `font-lock-string-face';
- Certain other expressions are displayed in other faces according to the
value of the variable `font-lock-keywords'.
To customize the faces (colors, fonts, etc.) used by Font Lock for
fontifying different parts of buffer text, use M-x customize-face.
You can enable Font Lock mode in any major mode automatically by turning on in
the major mode's hook. For example, put in your ~/.emacs:
(add-hook 'c-mode-hook 'turn-on-font-lock)
Alternatively, you can use Global Font Lock mode to automagically turn on Font
Lock mode in buffers whose major mode supports it and whose major mode is one
of `font-lock-global-modes'. For example, put in your ~/.emacs:
(global-font-lock-mode t)
Where major modes support different levels of fontification, you can use
the variable `font-lock-maximum-decoration' to specify which level you
generally prefer. When you turn Font Lock mode on/off the buffer is
fontified/defontified, though fontification occurs only if the buffer is
less than `font-lock-maximum-size'.
To add your own highlighting for some major mode, and modify the highlighting
selected automatically via the variable `font-lock-maximum-decoration', you can
use `font-lock-add-keywords'.
To fontify a buffer, without turning on Font Lock mode and regardless of buffer
size, you can use M-x font-lock-fontify-buffer.
To fontify a block (the function or paragraph containing point, or a number of
lines around point), perhaps because modification on the current line caused
syntactic change on other lines, you can use M-o M-o.
See the variable `font-lock-defaults-alist' for the Font Lock mode default
settings. You can set your own default settings for some mode, by setting a
buffer local value for `font-lock-defaults', via its mode hook.
The above is the default behavior of `font-lock-mode'; you may specify
your own function which is called when `font-lock-mode' is toggled via
`font-lock-function'.
Global-Auto-Composition minor mode (no indicator):
Toggle Auto-Composition mode in every possible buffer.
With prefix ARG, turn Global-Auto-Composition mode on if and only if ARG is positive.
Auto-Composition mode is enabled in all buffers where `turn-on-auto-composition-if-enabled' would do it.
See `auto-composition-mode' for more information on Auto-Composition mode.
(fn &optional ARG DUMMY)
Global-Font-Lock minor mode (no indicator):
Toggle Font-Lock mode in every possible buffer.
With prefix ARG, turn Global-Font-Lock mode on if and only if ARG is positive.
Font-Lock mode is enabled in all buffers where `turn-on-font-lock-if-desired' would do it.
See `font-lock-mode' for more information on Font-Lock mode.
Line-Number minor mode (no indicator):
Toggle Line Number mode.
With ARG, turn Line Number mode on if ARG is positive, otherwise
turn it off. When Line Number mode is enabled, the line number
appears in the mode line.
Line numbers do not appear for very large buffers and buffers
with very long lines; see variables `line-number-display-limit'
and `line-number-display-limit-width'.
Menu-Bar minor mode (no indicator):
Toggle display of a menu bar on each frame.
This command applies to all frames that exist and frames to be
created in the future.
With a numeric argument, if the argument is positive,
turn on menu bars; otherwise, turn off menu bars.
Mouse-Wheel minor mode (no indicator):
Toggle mouse wheel support.
With prefix argument ARG, turn on if positive, otherwise off.
Return non-nil if the new state is enabled.
Shell-Dirtrack minor mode (no indicator):
Turn directory tracking on and off in a shell buffer.
The `dirtrack' package provides an alternative implementation of this
feature - see the function `dirtrack-mode'.
Show-Paren minor mode (no indicator):
Toggle Show Paren mode.
With prefix ARG, turn Show Paren mode on if and only if ARG is positive.
Returns the new status of Show Paren mode (non-nil means on).
When Show Paren mode is enabled, any matching parenthesis is highlighted
in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time.
Tool-Bar minor mode (no indicator):
Toggle use of the tool bar.
With numeric ARG, display the tool bar if and only if ARG is positive.
See `tool-bar-add-item' and `tool-bar-add-item-from-menu' for
conveniently adding tool bar items.
Tooltip minor mode (no indicator):
Toggle Tooltip mode.
With ARG, turn Tooltip mode on if and only if ARG is positive.
When this minor mode is enabled, Emacs displays help text
in a pop-up window for buttons and menu items that you put the mouse on.
(However, if `tooltip-use-echo-area' is non-nil, this and
all pop-up help appears in the echo area.)
When Tooltip mode is disabled, Emacs displays one line of
the help text in the echo area, and does not make a pop-up window.
Transient-Mark minor mode (no indicator):
Toggle Transient Mark mode.
With ARG, turn Transient Mark mode on if ARG is positive, off otherwise.
In Transient Mark mode, when the mark is active, the region is highlighted.
Changing the buffer "deactivates" the mark.
So do certain other operations that set the mark
but whose main purpose is something else--for example,
incremental search, <, and >.
You can also deactivate the mark by typing C-g or
M-ESC ESC.
Many commands change their behavior when Transient Mark mode is in effect
and the mark is active, by acting on the region instead of their usual
default part of the buffer's text. Examples of such commands include
M-;, M-x flush-lines, M-x keep-lines, M-%, C-M-%, M-x ispell, and C-_.
Invoke C-h d and type "transient" or
"mark.*active" at the prompt, to see the documentation of
commands which are sensitive to the Transient Mark mode.
^ permalink raw reply [flat|nested] 6+ messages in thread