1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

103302 Commits

Author SHA1 Message Date
Eli Zaretskii
7430c2a179 Revert last commit. 2011-11-19 10:39:42 +02:00
Paul Eggert
61ccba97a1 Fix minor problems found by static checking.
* dispextern.h, xdisp.c (row_hash): Declare extern only if XASSERTS.
* dispnew.c (verify_row_hash): Now static.
2011-11-18 10:29:29 -08:00
Dmitry Antipov
2071918ec9 * src/keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs. 2011-11-18 11:50:16 -05:00
Stefan Monnier
2ad52c605c * lisp/emacs-lisp/smie.el: Improve warnings and conflict detection.
(smie-warning-count): New var.
(smie-set-prec2tab): Use it.
(smie-bnf->prec2): Improve warnings.  Add docstring.
(smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
(smie-bnf--set-class): New function.
(smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
corner case.
2011-11-18 11:30:43 -05:00
Stefan Monnier
b50a28de87 * src/intervals.c: Fix grafting over the whole buffer.
(graft_intervals_into_buffer): Simplify.

Fixes: debbugs:10071
2011-11-18 11:00:40 -05:00
Stefan Monnier
6944dbc18a * lisp/progmodes/compile.el: Obey compilation-first-column in dest buffer.
(compilation-error-properties, compilation-move-to-column):
Handle compilation-first-column while in the target buffer.
2011-11-18 10:09:42 -05:00
Stefan Monnier
c400c4d798 * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
Don't hardcode point-min==1.
2011-11-18 10:06:20 -05:00
Stefan Monnier
6dbe3e96cf * lisp/eshell/esh-cmd.el (eshell-do-eval): Handle `setq'.
(eshell-rewrite-for-command): Remove workaround.
(eshell-do-pipelines, eshell-do-pipelines-synchronously)
(eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
* lisp/eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.

Fixes: debbugs:9907
2011-11-18 09:49:42 -05:00
Stefan Monnier
cbe71af350 * lisp/files-x.el (modify-file-local-variable): Obey commenting conventions. 2011-11-18 09:34:39 -05:00
Eli Zaretskii
68c95424af Add assertion for hash values of rows.
src/dispnew.c (add_row_entry): Add xassert to verify that ROW's hash code
 is valid.
2011-11-18 14:41:36 +02:00
Eli Zaretskii
015137db60 Fix another crash due to incorrect hash value of glyph rows, bug #10035.
src/dispnew.c (swap_glyph_pointers): Swap the used[] arrays and the
 hash values of the two rows.
 (copy_row_except_pointers): Preserve the used[] arrays and the
 hash values of the two rows.
 src/xdisp.c (row_hash): New function, body extracted from
 compute_line_metrics.
 (compute_line_metrics): Call row_hash, instead of computing the
 hash code inline.
 src/dispnew.c (verify_row_hash): Call row_hash for computing the
 hash code of a row, instead of duplicating code from xdisp.c.
 src/dispextern.h (row_hash): Add prototype.
2011-11-18 14:21:42 +02:00
Tassilo Horn
a2addb0464 Work around GTK bug crashing emacs GTK builds.
* frame.c (delete_frame): Don't delete the terminal when the last
X frame is closed if emacs is built with GTK toolkit.
2011-11-18 10:36:59 +01:00
Paul Eggert
3ed8598c49 Spelling fixes. 2011-11-18 00:31:02 -08:00
Glenn Morris
5c3a902f0f Typo fix. 2011-11-18 00:25:45 -08:00
Glenn Morris
a8e1496d75 autoload.el fix for bug#10049
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
Ignore buffer-local generated-autoload-file if it is the same
as the global value.
2011-11-17 16:34:16 -05:00
Paul Eggert
c5e87d104b Spelling fixes. 2011-11-17 09:40:48 -08:00
Juanma Barranquero
df85d31593 Fix typos. 2011-11-17 13:16:44 +01:00
Glenn Morris
aa7f581c4d Auto-commit of loaddefs files. 2011-11-17 06:22:38 -05:00
Martin Rudalics
a0c2d0aea2 Rename window-splits to window-combination-resize.
* window.c (Vwindow_splits): Rename to
Vwindow_combination_resize.  Suggested by Juri Linkov.
(Fsplit_window_internal): Use Vwindow_combination_resize instead
of Vwindow_splits.
* window.el (window-resize, delete-window, split-window):
Replace window-splits by window-combination-resize.
* cus-start.el (window-splits): Replace by
window-combination-resize.
* windows.texi (Resizing Windows, Splitting Windows)
(Deleting Windows): Use term window-combination-resize instead
of window-splits.
2011-11-17 11:27:56 +01:00
Paul Eggert
4c36be58ca Spelling fixes. 2011-11-17 01:09:20 -08:00
Glenn Morris
b6e63cbebd * doc/emacs/regs.texi (Bookmarks): Small fixes related to saving. (Bug#10058) 2011-11-16 22:23:50 -05:00
Glenn Morris
35c0bac81a Small fix for sh-font-lock-keywords-var bash entry.
* lisp/progmodes/sh-script.el (sh-font-lock-keywords-var):
Make bash entry derive from sh entry, not shell entry.
2011-11-16 21:38:54 -05:00
Michael Albinus
d0c8fc8abb * net/tramp.el (tramp-handle-file-truename): Cache only the local
file name.

* net/tramp-cache.el (tramp-flush-file-property): Flush also
properties of linked files.  (Bug#9879)
2011-11-16 22:32:46 +01:00
Glenn Morris
9d0cfcd67d ChangeLog fixes:
python-pdbtrack-stack-entry-regexp was not changed.
Mark an odd kind of change with no real attribution as tiny.
Remove conflict marker.
2011-11-16 10:21:51 -08:00
Juanma Barranquero
7877f37394 Fix typos. 2011-11-16 18:47:25 +01:00
Ken Manheimer
10649b828d * python.el (python-pdbtrack-stack-entry-regexp)
(python-pdbtrack-input-prompt, python-pdbtrack-track-stack-file):
Adjust to recognize ipdb as well as regular python pdb prompts.
Adjustments shamelessly taken exactly as suggested in EmacsWiki
page: http://www.emacswiki.org/PythonProgrammingInEmacs#toc14

* allout-widgets.el: (file metadata): Attribute copyright to FSF
and collapse date sequence, obscure author/maintainer email
address better, remove extra version line, track relocation of
author's allout webpage.

* allout.el: (file metadata): Attribute copyright to FSF
and collapse date sequence, obscure author/maintainer email
address better, track relocation of author's allout webpage.
2011-11-16 11:47:28 -05:00
Ken Manheimer
8642c2163e * python.el (python-pdbtrack-stack-entry-regexp)
(python-pdbtrack-input-prompt, python-pdbtrack-track-stack-file):
Adjust to recognize ipdb as well as regular python pdb prompts.
Adjustments shamelessly taken exactly as suggested in EmacsWiki
page: http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
2011-11-16 11:37:48 -05:00
Juanma Barranquero
58179ccebd Fix typos. 2011-11-16 13:34:47 +01:00
Glenn Morris
110490118e Auto-commit of loaddefs files. 2011-11-16 06:22:17 -05:00
Martin Rudalics
b6f6789018 Rename window-nest to window-combination-limit.
* window.h (window): Rename slot "nest" to "combination_limit".
* window.c (Fwindow_nest): Rename to Fwindow_combination_limit.
(Fset_window_nest): Rename to Fset_window_combination_limit.
(Vwindow_nest): Rename to Vwindow_combination_limit.
(recombine_windows, make_parent_window, make_window)
(Fsplit_window_internal, saved_window)
(Fset_window_configuration, save_window_save): Rename all
occurrences of window_nest to window_combination_limit.
* window.el (split-window, window-state-get-1)
(window-state-put-1, window-state-put-2): Rename occurrences of
window-nest to window-combination-limit.
* cus-start.el (window-nest): Rename to
window-combination-limit.
* windows.texi (Resizing Windows, Splitting Windows): Rename
occurrences of window-nest to window-combination-limit.
2011-11-16 11:10:40 +01:00
Chong Yidong
ce7ddba001 * autoconf.el (autoconf-mode): Fix comment-start-skip regexp.
Fixes: debbugs:10033
2011-11-16 11:17:29 +08:00
Stefan Monnier
3ae704f4fd * lisp/tmm.el (tmm-prompt): Use minibuffer-with-setup-hook.
`completing-read' will remove *Completions* and will preserve
current-buffer for us.
(tmm-add-prompt): Users of *Completions* will always (re)set its
major mode.
(tmm-old-comp-map): Remove.

Fixes: debbugs:10053
2011-11-15 21:26:00 -05:00
Glenn Morris
6ad1cdded9 Try to stop rmailedit destroying mime messages (bug#9840)
* lisp/mail/rmailedit.el: Require rmailmm when compiling.
(rmail-old-mime-state): New declaration.
(rmail-edit-current-message): If editing a mime message,
edit the "raw" message from the mbox buffer.
(rmail-cease-edit): Handle mime messages.
2011-11-15 21:06:06 -05:00
Glenn Morris
d20faa20cf Add optional arguments to rmailmm to force state, not just toggle.
* lisp/mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
which wasn't being used.  Add optional arg to force given state.
(rmail-mime): Add optional arg to force given state.
2011-11-15 18:36:54 -05:00
Eli Zaretskii
b018182ccd Update information about PNG libraries for MS-Windows.
admin/nt/README-ftp-server: Update the information about PNG libraries.
 nt/README.W32: Update the GTK Windows download URL for libpng.
2011-11-15 20:08:38 +02:00
Paul Eggert
303ad84515 Undo a bad spelling fix.
I did not realize the comment was in Latin.
2011-11-15 09:46:34 -08:00
Juanma Barranquero
c701515351 Fix typos. 2011-11-15 18:37:37 +01:00
Glenn Morris
dcecfb4cb4 Auto-commit of loaddefs files. 2011-11-15 06:23:14 -05:00
Glenn Morris
45261b503c Small rmail and rmailmm changes, many doc fixes.
* lisp/mail/rmail.el (rmail-file-coding-system): It's only ever used
in a boolean sense, so just make it a boolean, and fix the doc.
(rmail-show-mime-function, rmail-mime-feature)
(rmail-require-mime-maybe): Doc fixes.
(rmail-show-message-1): Check rmail-show-mime-function is non-nil.

* lisp/mail/rmailmm.el (rmail-show-mime): Doc fix.
2011-11-15 00:23:03 -08:00
Paul Eggert
da6062e6ea Spelling fixes. 2011-11-14 23:55:13 -08:00
Glenn Morris
672b871d98 rmailmm doc fixes.
* lisp/mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
(rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
(rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
(rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
(rmail-mime, rmail-show-mime): Doc fixes.
2011-11-14 23:45:45 -08:00
Glenn Morris
f6aa5bb177 ns-win.el fix for bug#10051
* lisp/term/ns-win.el (mode-line-frame-identification): Leave it alone.
2011-11-14 20:04:06 -05:00
Juanma Barranquero
0d26e0b62b Fix typos. 2011-11-15 01:54:19 +01:00
Glenn Morris
947cd66b96 * lisp/simple.el (mark-whole-buffer): Doc fix. (Bug#10023) 2011-11-14 19:38:10 -05:00
Glenn Morris
447f30f64b rmailout fix for bug#9978.
* lisp/mail/rmailout.el (rmail-output-to-rmail-buffer):
Handle empty buffers.
2011-11-14 19:34:01 -05:00
Paul Eggert
91af3942e9 Spelling fixes. 2011-11-14 15:59:56 -08:00
Dan Nicolaescu
5ef215d874 * lib-src/Makefile.in (all): Make sure "all" is the first target. 2011-11-14 15:54:16 -07:00
Juanma Barranquero
0b381c7eb8 Fix typos. 2011-11-14 22:00:24 +01:00
Paul Eggert
8350f087ef Spelling fixes. 2011-11-14 12:23:26 -08:00
Eli Zaretskii
322ad6ec0e Fix bug #10035 with assertion violation in row_equal_p.
src/xdisp.c (display_line): Move the call to
 highlight_trailing_whitespace before the call to
 compute_line_metrics, since the latter needs to see the final
 faces of all the glyphs to compute ROW's hash value.  Fixes
 assertion violations in row_equal_p.
2011-11-14 22:15:38 +02:00