diff options
| author | Glenn Morris | 2013-02-22 09:13:05 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-02-22 09:13:05 -0800 |
| commit | bba90ab24e80476efcad6b6a770fd5fda522a621 (patch) | |
| tree | 73bc6cb08174ab2e568c6cf2f642a73895634ed3 | |
| parent | d78cf5edf9b4aebfc6a5821d88ba1ee3eb00aebb (diff) | |
| parent | cee1a690ee32abe67ef2d43fb9a9ad9f792de405 (diff) | |
| download | emacs-bba90ab24e80476efcad6b6a770fd5fda522a621.tar.gz emacs-bba90ab24e80476efcad6b6a770fd5fda522a621.zip | |
Merge from emacs-24; up to 2012-12-22T02:59:08Z!cyd@gnu.org
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/ack.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/emacs.texi | 2 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/flymake.texi | 16 | ||||
| -rw-r--r-- | etc/DEBUG | 33 | ||||
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/isearch.el | 14 | ||||
| -rw-r--r-- | lisp/replace.el | 1 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 5 |
10 files changed, 72 insertions, 25 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 83d5b1d25ed..33f530cbadc 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * ack.texi (Acknowledgments): | ||
| 4 | * emacs.texi (Acknowledgments): Small updates. | ||
| 5 | |||
| 1 | 2013-02-21 Glenn Morris <rgm@gnu.org> | 6 | 2013-02-21 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * files.texi (File Conveniences): Not just GIFs can be animated. | 8 | * files.texi (File Conveniences): Not just GIFs can be animated. |
diff --git a/doc/emacs/ack.texi b/doc/emacs/ack.texi index 718a51c60db..17309f74408 100644 --- a/doc/emacs/ack.texi +++ b/doc/emacs/ack.texi | |||
| @@ -202,7 +202,7 @@ Andrew Choi and Yamamoto Mitsuharu wrote the Carbon support, used | |||
| 202 | prior to Emacs 23 for Mac OS. | 202 | prior to Emacs 23 for Mac OS. |
| 203 | 203 | ||
| 204 | @item | 204 | @item |
| 205 | Chong Yidong was the Emacs co-maintainer from Emacs 23 onwards. He made many | 205 | Chong Yidong was the Emacs co-maintainer from Emacs 23 to 24.3. He made many |
| 206 | improvements to the Emacs display engine. He also wrote | 206 | improvements to the Emacs display engine. He also wrote |
| 207 | @file{tabulated-list.el}, a generic major mode for lists of data; | 207 | @file{tabulated-list.el}, a generic major mode for lists of data; |
| 208 | and improved support for themes and packages. | 208 | and improved support for themes and packages. |
| @@ -825,7 +825,7 @@ facility. He also wrote @code{ebrowse}, the C@t{++} browser; | |||
| 825 | and @file{rx.el}, a regular expression constructor. | 825 | and @file{rx.el}, a regular expression constructor. |
| 826 | 826 | ||
| 827 | @item | 827 | @item |
| 828 | Stefan Monnier was the Emacs co-maintainer from Emacs 23 onwards. He added | 828 | Stefan Monnier was the Emacs (co-)maintainer from Emacs 23 onwards. He added |
| 829 | support for Arch and Subversion to VC, re-wrote much of the Emacs server | 829 | support for Arch and Subversion to VC, re-wrote much of the Emacs server |
| 830 | to use the built-in networking primitives, and re-wrote the abbrev and | 830 | to use the built-in networking primitives, and re-wrote the abbrev and |
| 831 | minibuffer completion code for Emacs 23. He also wrote @code{PCL-CVS}, | 831 | minibuffer completion code for Emacs 23. He also wrote @code{PCL-CVS}, |
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index 4f11da8032a..bda7c0821c0 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi | |||
| @@ -1375,7 +1375,7 @@ Engster, Hans Henrik Eriksen, Michael Ernst, Ata Etemadi, Frederick | |||
| 1375 | Farnbach, Oscar Figueiredo, Fred Fish, Steve Fisk, Karl Fogel, Gary | 1375 | Farnbach, Oscar Figueiredo, Fred Fish, Steve Fisk, Karl Fogel, Gary |
| 1376 | Foster, Eric S. Fraga, Romain Francoise, Noah Friedman, Andreas | 1376 | Foster, Eric S. Fraga, Romain Francoise, Noah Friedman, Andreas |
| 1377 | Fuchs, Shigeru Fukaya, Hallvard Furuseth, Keith Gabryelski, Peter S. | 1377 | Fuchs, Shigeru Fukaya, Hallvard Furuseth, Keith Gabryelski, Peter S. |
| 1378 | Galbraith, Kevin Gallagher, Kevin Gallo, Juan León Lahoz García, | 1378 | Galbraith, Kevin Gallagher, Fabián E. Gallina, Kevin Gallo, Juan León Lahoz García, |
| 1379 | Howard Gayle, Daniel German, Stephen Gildea, Julien Gilles, David | 1379 | Howard Gayle, Daniel German, Stephen Gildea, Julien Gilles, David |
| 1380 | Gillespie, Bob Glickstein, Deepak Goel, David De La Harpe Golden, Boris | 1380 | Gillespie, Bob Glickstein, Deepak Goel, David De La Harpe Golden, Boris |
| 1381 | Goldowsky, David Goodger, Chris Gray, Kevin Greiner, Michelangelo Grigni, Odd | 1381 | Goldowsky, David Goodger, Chris Gray, Kevin Greiner, Michelangelo Grigni, Odd |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 4f827073b2f..9a4f4c10610 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-02-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * flymake.texi (Syntax check statuses): Fix multitable continued rows. | ||
| 4 | |||
| 1 | 2013-02-21 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2013-02-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * Makefile.in (html): New rule. | 7 | * Makefile.in (html): New rule. |
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index 79259a76503..5dedda16ee1 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi | |||
| @@ -210,14 +210,14 @@ The following statuses are defined. | |||
| 210 | @multitable @columnfractions 0.25 0.75 | 210 | @multitable @columnfractions 0.25 0.75 |
| 211 | @item Flymake* or Flymake:E/W* | 211 | @item Flymake* or Flymake:E/W* |
| 212 | @tab Flymake is currently running. For the second case, E/W contains the | 212 | @tab Flymake is currently running. For the second case, E/W contains the |
| 213 | error and warning count for the previous run. | 213 | error and warning count for the previous run. |
| 214 | 214 | ||
| 215 | @item Flymake | 215 | @item Flymake |
| 216 | @tab Syntax check is not running. Usually this means syntax check was | 216 | @tab Syntax check is not running. Usually this means syntax check was |
| 217 | successfully passed (no errors, no warnings). Other possibilities are: | 217 | successfully passed (no errors, no warnings). Other possibilities are: |
| 218 | syntax check was killed as a result of executing | 218 | syntax check was killed as a result of executing |
| 219 | @code{flymake-compile}, or syntax check cannot start as compilation | 219 | @code{flymake-compile}, or syntax check cannot start as compilation |
| 220 | is currently in progress. | 220 | is currently in progress. |
| 221 | 221 | ||
| 222 | @item Flymake:E/W | 222 | @item Flymake:E/W |
| 223 | @tab Number of errors/warnings found by the syntax check process. | 223 | @tab Number of errors/warnings found by the syntax check process. |
| @@ -232,9 +232,9 @@ OFF for the buffer. | |||
| 232 | @multitable @columnfractions 0.25 0.75 | 232 | @multitable @columnfractions 0.25 0.75 |
| 233 | @item CFGERR | 233 | @item CFGERR |
| 234 | @tab Syntax check process returned nonzero exit code, but no | 234 | @tab Syntax check process returned nonzero exit code, but no |
| 235 | errors/warnings were reported. This indicates a possible configuration | 235 | errors/warnings were reported. This indicates a possible configuration |
| 236 | error (for example, no suitable error message patterns for the | 236 | error (for example, no suitable error message patterns for the |
| 237 | syntax check tool). | 237 | syntax check tool). |
| 238 | 238 | ||
| 239 | @item NOMASTER | 239 | @item NOMASTER |
| 240 | @tab Flymake was unable to find master file for the current buffer. | 240 | @tab Flymake was unable to find master file for the current buffer. |
| @@ -8,17 +8,28 @@ See the end of the file for license conditions. | |||
| 8 | read the Windows-specific section near the end of this document.] | 8 | read the Windows-specific section near the end of this document.] |
| 9 | 9 | ||
| 10 | ** When you debug Emacs with GDB, you should start it in the directory | 10 | ** When you debug Emacs with GDB, you should start it in the directory |
| 11 | where the executable was made. That directory has a .gdbinit file | 11 | where the executable was made (the 'src' directory in the Emacs source |
| 12 | that defines various "user-defined" commands for debugging Emacs. | 12 | tree). That directory has a .gdbinit file that defines various |
| 13 | (These commands are described below under "Examining Lisp object | 13 | "user-defined" commands for debugging Emacs. (These commands are |
| 14 | values" and "Debugging Emacs Redisplay problems".) | 14 | described below under "Examining Lisp object values" and "Debugging |
| 15 | 15 | Emacs Redisplay problems".) | |
| 16 | ** When you are trying to analyze failed assertions, it will be | 16 | |
| 17 | essential to compile Emacs either completely without optimizations or | 17 | Some GDB versions by default do not automatically load .gdbinit files |
| 18 | at least (when using GCC) with the -fno-crossjumping option. Failure | 18 | in the directory where you invoke GDB. With those versions of GDB, |
| 19 | to do so may make the compiler recycle the same abort call for all | 19 | you will see a warning when GDB starts, like this: |
| 20 | assertions in a given function, rendering the stack backtrace useless | 20 | |
| 21 | for identifying the specific failed assertion. | 21 | warning: File ".../src/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". |
| 22 | |||
| 23 | There are several ways to overcome that difficulty, they are all | ||
| 24 | described in the node "Auto-loading safe path" in the GDB user manual. | ||
| 25 | |||
| 26 | ** When you are trying to analyze failed assertions or backtraces, it | ||
| 27 | will be essential to compile Emacs either completely without | ||
| 28 | optimizations (set CFLAGS to "-O0 -g3") or at least (when using GCC) | ||
| 29 | with the -fno-crossjumping option in CFLAGS. Failure to do so may | ||
| 30 | make the compiler recycle the same abort call for all assertions in a | ||
| 31 | given function, rendering the stack backtrace useless for identifying | ||
| 32 | the specific failed assertion. | ||
| 22 | 33 | ||
| 23 | ** It is a good idea to run Emacs under GDB (or some other suitable | 34 | ** It is a good idea to run Emacs under GDB (or some other suitable |
| 24 | debugger) *all the time*. Then, when Emacs crashes, you will be able | 35 | debugger) *all the time*. Then, when Emacs crashes, you will be able |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6496fe998d3..1555dfc43b6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2013-02-22 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * isearch.el (isearch-lazy-highlight-new-loop): | ||
| 4 | Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end' | ||
| 5 | to `isearch-other-end' if it is not nil. (Bug#13402) | ||
| 6 | |||
| 7 | * replace.el (replace-highlight): Let-bind `isearch-other-end' | ||
| 8 | to `match-beg'. | ||
| 9 | |||
| 10 | * textmodes/ispell.el (ispell-highlight-spelling-error-overlay): | ||
| 11 | Let-bind `isearch-other-end' to `start', `isearch-forward' to t | ||
| 12 | and `isearch-error' to nil. | ||
| 13 | |||
| 1 | 2013-02-22 Michael Albinus <michael.albinus@gmx.de> | 14 | 2013-02-22 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 15 | ||
| 3 | * net/tramp.el (tramp-tramp-file-p): Fix docstring. | 16 | * net/tramp.el (tramp-tramp-file-p): Fix docstring. |
diff --git a/lisp/isearch.el b/lisp/isearch.el index 31b1918429f..b36b250738a 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -2961,8 +2961,15 @@ by other Emacs features." | |||
| 2961 | (setq isearch-lazy-highlight-window (selected-window) | 2961 | (setq isearch-lazy-highlight-window (selected-window) |
| 2962 | isearch-lazy-highlight-window-start (window-start) | 2962 | isearch-lazy-highlight-window-start (window-start) |
| 2963 | isearch-lazy-highlight-window-end (window-end) | 2963 | isearch-lazy-highlight-window-end (window-end) |
| 2964 | isearch-lazy-highlight-start (point) | 2964 | ;; Start lazy-highlighting at the beginning of the found |
| 2965 | isearch-lazy-highlight-end (point) | 2965 | ;; match (`isearch-other-end'). If no match, use point. |
| 2966 | ;; One of the next two variables (depending on search direction) | ||
| 2967 | ;; is used to define the starting position of lazy-highlighting | ||
| 2968 | ;; and also to remember the current position of point between | ||
| 2969 | ;; calls of `isearch-lazy-highlight-update', and another variable | ||
| 2970 | ;; is used to define where the wrapped search must stop. | ||
| 2971 | isearch-lazy-highlight-start (or isearch-other-end (point)) | ||
| 2972 | isearch-lazy-highlight-end (or isearch-other-end (point)) | ||
| 2966 | isearch-lazy-highlight-wrapped nil | 2973 | isearch-lazy-highlight-wrapped nil |
| 2967 | isearch-lazy-highlight-last-string isearch-string | 2974 | isearch-lazy-highlight-last-string isearch-string |
| 2968 | isearch-lazy-highlight-case-fold-search isearch-case-fold-search | 2975 | isearch-lazy-highlight-case-fold-search isearch-case-fold-search |
| @@ -3060,6 +3067,9 @@ Attempt to do the search exactly the way the pending Isearch would." | |||
| 3060 | (overlay-put ov 'priority 1000) | 3067 | (overlay-put ov 'priority 1000) |
| 3061 | (overlay-put ov 'face lazy-highlight-face) | 3068 | (overlay-put ov 'face lazy-highlight-face) |
| 3062 | (overlay-put ov 'window (selected-window)))) | 3069 | (overlay-put ov 'window (selected-window)))) |
| 3070 | ;; Remember the current position of point for | ||
| 3071 | ;; the next call of `isearch-lazy-highlight-update' | ||
| 3072 | ;; when `lazy-highlight-max-at-a-time' is too small. | ||
| 3063 | (if isearch-lazy-highlight-forward | 3073 | (if isearch-lazy-highlight-forward |
| 3064 | (setq isearch-lazy-highlight-end (point)) | 3074 | (setq isearch-lazy-highlight-end (point)) |
| 3065 | (setq isearch-lazy-highlight-start (point))))) | 3075 | (setq isearch-lazy-highlight-start (point))))) |
diff --git a/lisp/replace.el b/lisp/replace.el index 0b8aaa7d349..7f9ea869333 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -2203,6 +2203,7 @@ make, or the user didn't cancel the call." | |||
| 2203 | replace-regexp-lax-whitespace) | 2203 | replace-regexp-lax-whitespace) |
| 2204 | (isearch-case-fold-search case-fold-search) | 2204 | (isearch-case-fold-search case-fold-search) |
| 2205 | (isearch-forward t) | 2205 | (isearch-forward t) |
| 2206 | (isearch-other-end match-beg) | ||
| 2206 | (isearch-error nil)) | 2207 | (isearch-error nil)) |
| 2207 | (isearch-lazy-highlight-new-loop range-beg range-end)))) | 2208 | (isearch-lazy-highlight-new-loop range-beg range-end)))) |
| 2208 | 2209 | ||
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index dbcf3910db8..50a10dba9a2 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -2602,7 +2602,10 @@ The variable `ispell-highlight-face' selects the face to use for highlighting." | |||
| 2602 | (regexp-quote (buffer-substring-no-properties start end)) | 2602 | (regexp-quote (buffer-substring-no-properties start end)) |
| 2603 | "\\b")) | 2603 | "\\b")) |
| 2604 | (isearch-regexp t) | 2604 | (isearch-regexp t) |
| 2605 | (isearch-case-fold-search nil)) | 2605 | (isearch-case-fold-search nil) |
| 2606 | (isearch-forward t) | ||
| 2607 | (isearch-other-end start) | ||
| 2608 | (isearch-error nil)) | ||
| 2606 | (isearch-lazy-highlight-new-loop | 2609 | (isearch-lazy-highlight-new-loop |
| 2607 | (if (boundp 'reg-start) reg-start) | 2610 | (if (boundp 'reg-start) reg-start) |
| 2608 | (if (boundp 'reg-end) reg-end))) | 2611 | (if (boundp 'reg-end) reg-end))) |