1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
Commit graph

103349 commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
16c1ad08dc (wait_reading_process_output): Add comment and URL. 2011-11-21 21:39:44 +01:00
Lars Magne Ingebrigtsen
261b6fd466 Fix asynchrounous GnuTLS socket handling on some versions of the GnuTLS library.
Some versions of the GnuTLS library doesn't respons to poll reliably.
Work around this by checking all GnuTLS sockets explicitly from the
idle loop.
2011-11-21 19:21:42 +01:00
Jan Djärv
e7cfd277bd * xterm.c (x_clear_frame): Reinstate the XClearWindow call. 2011-11-21 19:01:04 +01:00
Stefan Monnier
f04a3be94b * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify. 2011-11-21 09:22:02 -05:00
Martin Rudalics
90151a1e95 Fix windows.texi typos. 2011-11-21 08:28:06 +01:00
Chong Yidong
0cbaa1d539 * doc/emacs/mark.texi (Global Mark Ring): Fix global mark ring description.
Fixes: debbugs:10032
2011-11-21 14:16:49 +08:00
Chong Yidong
a9b9b7f5b1 More updates to Windows chapter of Lisp manual.
* doc/lispref/windows.texi (Splitting Windows): Fix error in documentation of
window-combination-limit.
(Cyclic Window Ordering): Minor fixes to next-window,
one-window-p, and get-lru-window docs.  Don't document
window-list-1.
(Buffers and Windows): Copyedits.
(Choosing Window): Document special handling of special-display-*.
(Choosing Window Options): Fix display-buffer-reuse-frames doc.
Don't document even-window-heights, which is going away.  Clarify
which options are obeyed by which action functions.

* src/window.c (Fnext_window, Fprevious_window): Doc fix.
2011-11-21 14:05:16 +08:00
Bill Wohler
06b08b8892 * NEWS, MH-E-NEWS: Update for MH-E release 8.3.1. 2011-11-20 12:32:21 -08:00
Bill Wohler
721b7c9880 * mh-e.el (Version, mh-version): Update for release 8.3.1. 2011-11-20 12:31:38 -08:00
Stefan Monnier
f4e90db08b * doc/lispref/display.texi (Invisible Text): Clarify point adjustment.
Fixes: debbugs:10072
2011-11-20 15:21:22 -05:00
Stefan Monnier
7978747fec * lisp/vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use force-same-window. 2011-11-20 15:17:46 -05:00
Stefan Monnier
b0d15b4f05 * src/window.c (get_phys_cursor_glyph): Fix Lisp_Object/int mixup. 2011-11-20 15:17:13 -05:00
Glenn Morris
f5a96a4fe8 Removed deleted command from gnus.texi.
* doc/misc/gnus.texi (Group Information):
Remove gnus-group-fetch-faq, command deleted 2010-09-24.
2011-11-20 12:14:54 -08:00
Juanma Barranquero
fe7a3057a3 Fix typos. 2011-11-20 20:35:27 +01:00
Glenn Morris
09f5d05492 Auto-commit of loaddefs files. 2011-11-20 06:27:56 -05:00
Glenn Morris
2db1a74f95 Auto-commit of generated files. 2011-11-20 06:21:03 -05:00
Martin Rudalics
d2999b1a52 Remove term "status" with "window combination limits".
* window.c (Fset_window_combination_limit): Rename argument
STATUS to LIMIT.
(Vwindow_combination_limit): Remove "status" from doc-string.
* windows.texi (Resizing Windows, Splitting Windows): Remove
term "status" when talking about combination limits.
2011-11-20 11:57:04 +01:00
Andreas Schwab
f6cba7e085 * org-list.el (org-list-send-item): Use sort instead of sort*. 2011-11-20 10:44:39 +01:00
Andreas Schwab
d5ff9cd046 * configure.in: Remove reference to src/m/ibms390.h.
* admin/CPP-DEFINES (VIRT_ADDR_VARIES): Remove.

* src/m/ibms390.h: Remove.
* src/m/ibms390x.h: Don't include "ibms390.h".
2011-11-20 10:24:06 +01:00
Paul Eggert
40ba43b4b7 Spelling fixes. 2011-11-19 23:30:16 -08:00
Chong Yidong
24901d610c * lisp/window.el (replace-buffer-in-windows): Restore interactive spec.
(Probably inadvertently removed when converting to Lisp.)
2011-11-20 14:37:46 +08:00
Stefan Monnier
24f3d7b94b * lisp/electric.el (electric-indent-mode): Fix last change (too optimistic). 2011-11-20 01:29:57 -05:00
Stefan Monnier
a5bb9bd3a8 * src/fileio.c (Finsert_file_contents): Add missing gcpro1 variable.
Suggested by Dmitry Antipov <dmantipov@yandex.ru>.
2011-11-19 23:34:32 -05:00
Stefan Monnier
bac7ff225f * lisp/emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
(byte-compile-global-not-obsolete-vars): New var.
(byte-compile-check-variable, byte-compile-make-obsolete-variable):
Use it.
(byte-compile-warn-obsolete): Align text with the one in *Help*.
2011-11-19 23:33:36 -05:00
Juanma Barranquero
cd1181dbec Fix typos. 2011-11-20 04:48:53 +01:00
Paul Eggert
17e845af73 Standardize on VIRT_ADDR_VARIES behavior.
Otherwise, valgrind does not work on some platforms.
Problem reported by Andreas Schwab in
<http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00081.html>.
* puresize.h (pure, PURE_P): Always behave as if VIRT_ADDR_VARIES
is set, removing the need for VIRT_ADDRESS_VARIES.
(PURE_P): Use a more-efficient implementation that needs just one
comparison, not two: on x86-64 with GCC 4.6.2, this cut down the
number of instructions from 6 (xorl, cmpq, jge, xorl, cmpq, setge)
to 4 (xorl, subq, cmpq, setbe).
* alloc.c (pure): Always extern now, since that's the
VIRT_ADDR_VARIES behavior.
(PURE_POINTER_P): Use a single comparison, not two, for
consistency with the new puresize.h.
* lisp.h (PNTR_COMPARISON_TYPE): Remove; no longer needed.
* m/ibms390.h, m/intel386.h, m/template.h, s/cygwin.h, s/hpux10-20.h:
Remove VIRT_ADDR_VARIES no longer needed.

Fixes: debbugs:10042
2011-11-19 19:19:22 -08:00
Paul Eggert
615a3b8d0d Merge from trunk. 2011-11-19 19:07:02 -08:00
Paul Eggert
e1dbe924b5 Spelling fixes. 2011-11-19 18:29:42 -08:00
Glenn Morris
7fb18e9ef9 Small rmail fixes.
* lisp/mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
(rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
Doc fixes.
(rmail-decode-mime-charset): Mark as obsolete.

* lisp/mail/rmailsum.el (rmail-message-regexp-p-1):
* lisp/mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
Before using mime functions, check they are set.

Fixes: debbugs:10077
2011-11-19 18:23:48 -08:00
Juri Linkov
d5a6b3badf * lisp/info.el (Info-finder-find-node): Use `package--builtins' instead
of `package-alist'.  Use node names formed by the pattern "Keyword "
and the keyword name.
2011-11-20 01:34:40 +02:00
Andreas Schwab
e981b61f0f * lisp/progmodes/sh-script.el (sh-assignment-regexp): Add entry for
bash.
2011-11-20 00:05:41 +01:00
Juri Linkov
3ffbc301c0 Don't kill the *info* buffer in `Info-revert-find-node'.
Add `revert-buffer' to defcustom `Info-hide-node-references'.

* lisp/info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
that calls `revert-buffer' on all Info buffers. 
(Info-revert-find-node): Remove let-bindings `old-buffer-name',
`old-history', `old-history-forward'.  Add let-binding
`window-selected'.  Remove calls to `kill-buffer',
`switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
before calling `Info-find-node', so `Info-find-node-2' will reread
the Info file.  Restore window positions only when `window-selected'
is non-nil.

Fixes: debbugs:9915
2011-11-19 23:43:40 +02:00
Juri Linkov
30c621331d * lisp/isearch.el (isearch-lazy-highlight-new-loop):
Remove condition `(not isearch-error)'. 

* lisp/misearch.el (multi-isearch-search-fun): Add condition
`(not bound)' to ignore lazy-highlighting search.
Add the search-failed message "end of multi" when the end of
multi-sequence is reached.  Uncapitalize the search-failed
message "Repeat for next buffer".

* lisp/info.el (Info-search): Add the search-failed message
"end of the manual" when the end of the manual is reached
in Isearch mode.

Fixes: debbugs:9918
2011-11-19 23:03:12 +02:00
Juri Linkov
645ca9cf37 Replace delete' with remove' in info.el.
* lisp/info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
Use non-destructive `remove' instead of `delete' because
`Info-history-list' stored to `Info-isearch-initial-history-list' in
`Info-isearch-start' might need to be restored in `Info-isearch-end'.
2011-11-19 22:14:56 +02:00
Juri Linkov
df754f6672 * lisp/isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
to nil instead of binding `search-ring' and `regexp-search-ring'.

Fixes: debbugs:9185
2011-11-19 21:59:37 +02:00
Eli Zaretskii
0e23d96a60 Fix bug #10076 with vertical cursor motion in hscrolled windows.
lisp/simple.el (line-move): Force movement by logical lines for any
 hscrolled window, not only when auto-hscroll-mode is on.
 (line-move-visual): Update doc string to that effect.
2011-11-19 21:49:56 +02:00
Eli Zaretskii
f8fe6f9674 Fix bug #10075 with cursor drawing in an hscrolled window.
src/xdisp.c (x_write_glyphs, draw_phys_cursor_glyph)
 (erase_phys_cursor, update_window_cursor, show_mouse_face)
 (cursor_in_mouse_face_p): If the cursor position is out of bounds,
 behave as if the cursor position were at the window margin.
 src/window.c (get_phys_cursor_glyph): If the window is hscrolled,
 and the cursor position is out of bounds, behave as if the cursor
 position were at the window margin.
2011-11-19 17:50:23 +02:00
Chong Yidong
c7635a977e Change arg names of walk-windows etc from "proc" to "fun".
They shouldn't be named "proc" since they are not processes.

* lisp/window.el (walk-window-tree-1, walk-window-tree)
(walk-window-subtree, walk-windows): Change argument name.
2011-11-19 23:22:08 +08:00
Eli Zaretskii
78c79eb51b Add a coding cookie to subr.el. 2011-11-19 15:17:13 +02:00
Andreas Schwab
8a6ccb6681 * language/european.el (macintosh): Define as alias for mac-roman. 2011-11-19 14:13:48 +01:00
Eli Zaretskii
49ae5b39fa Fix bug #9520 with MIME display toggling.
lisp/mail/rmailmm.el (rmail-mime-display-header)
 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
 of a raw aref.
 (rmail-mime-entity-segment): To get past the tagline, move forward
 2 more lines, to account for the 2 empty lines that precede and
 follow the line with the buttons.
 (rmail-mime-update-tagline): Move one more line, to get past the
 empty line that follows the buttons in the tagline.
2011-11-19 13:49:54 +02:00
Chong Yidong
7bf54975ca More updates to Window chapter of Lisp manual.
* doc/lispref/windows.texi (Splitting Windows): Clarify role of window
parameters in split-window.  Shorten the example.
(Deleting Windows): Rewrite intro to handle internal windows.  Fix
delete-windows-on doc.
(Selecting Windows): Copyedits.
2011-11-19 19:11:38 +08:00
Chong Yidong
df05a53c61 * window.c (Fwindow_combination_limit): Make first arg non-optional
since it is meaningless for live windows like the selected window.
2011-11-19 19:09:10 +08:00
Martin Rudalics
c56cad4ac0 Prefix a few more internal functions with "window--".
* window.el (window-max-delta-1, window-min-delta-1)
(window-min-size-1, window-state-get-1, window-state-put-1)
(window-state-put-2): Use "window--" prefix.
2011-11-19 11:53:05 +01:00
Paul Eggert
5396468298 Spelling fixes. 2011-11-19 01:18:31 -08:00
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