From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tony An Newsgroups: gmane.emacs.bugs Subject: bug#8157: mode related? Date: Thu, 3 Mar 2011 18:27:00 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299177428 25188 80.91.229.12 (3 Mar 2011 18:37:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 18:37:08 +0000 (UTC) To: "8157@debbugs.gnu.org" <8157@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 03 19:37:03 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PvDOV-0001Z6-Ov for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 19:37:00 +0100 Original-Received: from localhost ([127.0.0.1]:44113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvDOV-0005iU-3X for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 13:36:59 -0500 Original-Received: from [140.186.70.92] (port=36398 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvDON-0005cO-O1 for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2011 13:36:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvDOL-0000qd-M3 for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2011 13:36:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvDOL-0000qV-K9 for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2011 13:36:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PvDFq-0008U1-Dr; Thu, 03 Mar 2011 13:28:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Tony An Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Mar 2011 18:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8157 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 8157-submit@debbugs.gnu.org id=B8157.129917683832552 (code B ref 8157); Thu, 03 Mar 2011 18:28:02 +0000 Original-Received: (at 8157) by debbugs.gnu.org; 3 Mar 2011 18:27:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PvDF7-0008Sy-Ot for submit@debbugs.gnu.org; Thu, 03 Mar 2011 13:27:18 -0500 Original-Received: from va3ehsobe003.messaging.microsoft.com ([216.32.180.13] helo=VA3EHSOBE003.bigfish.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PvDF5-0008Sn-9A for 8157@debbugs.gnu.org; Thu, 03 Mar 2011 13:27:17 -0500 Original-Received: from mail163-va3-R.bigfish.com (10.7.14.242) by VA3EHSOBE003.bigfish.com (10.7.40.23) with Microsoft SMTP Server id 14.1.225.8; Thu, 3 Mar 2011 18:27:09 +0000 Original-Received: from mail163-va3 (localhost.localdomain [127.0.0.1]) by mail163-va3-R.bigfish.com (Postfix) with ESMTP id 4CDE9F004B1 for <8157@debbugs.gnu.org>; Thu, 3 Mar 2011 18:27:09 +0000 (UTC) X-SpamScore: 0 X-BigFish: S0(zzzz1202hzzz2fh2a8h668h62h) X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:mercav05r.na.sas.com; RD:mercav05r.na.sas.com; EFVD:NLI Original-Received: from mail163-va3 (localhost.localdomain [127.0.0.1]) by mail163-va3 (MessageSwitch) id 1299176828542176_13821; Thu, 3 Mar 2011 18:27:08 +0000 (UTC) Original-Received: from VA3EHSMHS012.bigfish.com (unknown [10.7.14.237]) by mail163-va3.bigfish.com (Postfix) with ESMTP id 817461A10051 for <8157@debbugs.gnu.org>; Thu, 3 Mar 2011 18:27:08 +0000 (UTC) Original-Received: from mercav05r.na.sas.com (149.173.6.149) by VA3EHSMHS012.bigfish.com (10.7.99.22) with Microsoft SMTP Server (TLS) id 14.1.225.8; Thu, 3 Mar 2011 18:27:01 +0000 X-TM-IMSS-Message-ID: <1f152c9f0004c035@mercav05r.na.sas.com> Original-Received: from MERCHUB01R.na.SAS.com ([10.19.10.47]) by mercav05r.na.sas.com ([10.16.10.186]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 AES128-SHA (128/128)) id 1f152c9f0004c035 ; Thu, 3 Mar 2011 13:27:01 -0500 Original-Received: from MERCMBX05D.na.SAS.com ([169.254.2.167]) by MERCHUB01R.na.SAS.com ([10.19.10.47]) with mapi id 14.01.0218.012; Thu, 3 Mar 2011 13:27:00 -0500 Thread-Topic: mode related? Thread-Index: AcvZ0JUyHSTbBckqRQ+J3AgBeZXwYQ== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.101.134] X-OriginatorOrg: sas.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 03 Mar 2011 13:28:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44590 Archived-At: My instinct tells me that this hanging might be due to the LaTex mode is no= t 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= .=20 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 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-positi= ve number; if ARG is nil, toggle Auto Composition mode; anything else turns Au= to Composition on. When Auto Composition is enabled, text characters are automatically compose= d 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= . =20 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 mis= spelled 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 F= ont Lock mode in buffers whose major mode supports it and whose major mode is o= ne 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 highlighti= ng 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 bu= ffer 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 cause= d 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'.=20 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-composi= tion-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 positi= ve. Font-Lock mode is enabled in all buffers where `turn-on-font-lock-if-desire= d' 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.