bpt/emacs.git
11 years ago* lisp/subr.el (set-temporary-overlay-map): Doc fix.
Glenn Morris [Wed, 14 Nov 2012 08:29:25 +0000 (00:29 -0800)]
* lisp/subr.el (set-temporary-overlay-map): Doc fix.

* etc/NEWS: Related edit.

11 years ago* doc/lispref/keymaps.texi (Searching Keymaps, Tool Bar): Untabify examples
Glenn Morris [Wed, 14 Nov 2012 08:18:12 +0000 (00:18 -0800)]
* doc/lispref/keymaps.texi (Searching Keymaps, Tool Bar): Untabify examples
so they align better in info.

11 years ago* doc/misc/erc.texi: Use @code{nil} rather than just "nil".
Glenn Morris [Tue, 13 Nov 2012 08:16:58 +0000 (00:16 -0800)]
* doc/misc/erc.texi: Use @code{nil} rather than just "nil".

11 years agoDocument erc-lurker-hide-list
Glenn Morris [Tue, 13 Nov 2012 08:14:15 +0000 (00:14 -0800)]
Document erc-lurker-hide-list

* doc/misc/erc.texi (Options): Make a start by adding erc-hide-list,
erc-lurker-hide-list.

* etc/NEWS: Related edit.

11 years ago* doc/misc/erc.texi (Connecting): Add brief section on passwords.
Glenn Morris [Tue, 13 Nov 2012 08:05:42 +0000 (00:05 -0800)]
* doc/misc/erc.texi (Connecting): Add brief section on passwords.

* etc/NEWS: Related edit.

11 years ago* nsterm.m (hold_event): Send SIGIO to make sure ns_read_socket is
Jan Djärv [Tue, 13 Nov 2012 07:56:15 +0000 (08:56 +0100)]
* nsterm.m (hold_event): Send SIGIO to make sure ns_read_socket is
called.

Fixes: debbugs:12834

11 years agoPreserve window-point-insertion-type when copying window-point markers. (Bug#12588)
Martin Rudalics [Tue, 13 Nov 2012 07:40:07 +0000 (08:40 +0100)]
Preserve window-point-insertion-type when copying window-point markers. (Bug#12588)

* window.el (record-window-buffer)
(display-buffer-record-window): When copying the markers to
window-point preserve window-point-insertion-type. (Bug#12588)

11 years agoDocument new erc module "notifications"
Glenn Morris [Tue, 13 Nov 2012 03:40:44 +0000 (19:40 -0800)]
Document new erc module "notifications"

* doc/misc/erc.texi (Modules): Undocument obsolete "hecomplete".
Add "notifications".

* lisp/erc/erc.el (erc-modules): Add "notifications".  Tweak "hecomplete" doc.

* etc/NEWS: Related edit.

11 years agoRemove placeholder ses.el NEWS entry
Glenn Morris [Tue, 13 Nov 2012 03:16:17 +0000 (19:16 -0800)]
Remove placeholder ses.el NEWS entry
Will move to trunk NEWS, since emacs-24 version is apparently
not-ready-for-use; ref
http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00221.html

11 years agoUse new names for hooks rather than obsolete aliases
Glenn Morris [Tue, 13 Nov 2012 03:11:46 +0000 (19:11 -0800)]
Use new names for hooks rather than obsolete aliases

* lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
* lisp/cedet/semantic/util.el (semantic-describe-buffer):
* lisp/cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token)
(semantic-default-c-setup):
* lisp/emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
* lisp/gnus/gnus-diary.el (nndiary-request-create-group-functions)
(nndiary-request-update-info-functions)
(gnus-subscribe-newsgroup-functions)
(nndiary-request-accept-article-functions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
Use new names for hooks rather than obsolete aliases.

* lisp/arc-mode.el:
* lisp/emacs-lisp/checkdoc.el: Related comments.

* etc/NEWS: Related markup.

11 years ago* lisp/emacs-lisp/gv.el (gv-define-simple-setter): One more fix.
Stefan Monnier [Mon, 12 Nov 2012 21:31:15 +0000 (16:31 -0500)]
* lisp/emacs-lisp/gv.el (gv-define-simple-setter): One more fix.

Fixes: debbugs:12871

11 years agoDoc fix for gdb-stopped-functions.
Chong Yidong [Mon, 12 Nov 2012 19:54:37 +0000 (03:54 +0800)]
Doc fix for gdb-stopped-functions.

* building.texi (Multithreaded Debugging): gdb-stopped-hooks is
actually named gdb-stopped-functions.

11 years agoNEWS updates for the ever-changing python.el
Glenn Morris [Mon, 12 Nov 2012 19:44:39 +0000 (14:44 -0500)]
NEWS updates for the ever-changing python.el

11 years agolisp/ansi-color.el (ansi-color-apply-sequence): Implement SGR codes 39 and 49.
Wolfgang Jenkner [Mon, 12 Nov 2012 17:12:33 +0000 (18:12 +0100)]
lisp/ansi-color.el (ansi-color-apply-sequence): Implement SGR codes 39 and 49.

This fixes bug#12792.  Also, treat unimplemented parameters as 0,
thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.

11 years ago* lisp/cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
Stefan Monnier [Mon, 12 Nov 2012 16:50:08 +0000 (11:50 -0500)]
* lisp/cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
* lisp/cedet/semantic/grammar.el (semantic-grammar-mode):
* lisp/cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
(semantic-show-parser-state-mode): Avoid obsolete name
semantic-edits-new-change-hooks.

Fixes: debbugs:12869

11 years agoFix bug #12867 with crashes due to large field width in mode-line format.
Eli Zaretskii [Mon, 12 Nov 2012 15:25:34 +0000 (17:25 +0200)]
Fix bug #12867 with crashes due to large field width in mode-line format.

 src/xdisp.c (decode_mode_spec): Limit the value of WIDTH argument
 passed to pint2str and pint2hrstr to be at most the size of the
 frame's decode_mode_spec_buffer.  This avoids crashes with very
 large values of FIELD_WIDTH argument to decode_mode_spec.

11 years agoFix end-of-defun misbehavior.
Fabián Ezequiel Gallina [Mon, 12 Nov 2012 13:26:50 +0000 (10:26 -0300)]
Fix end-of-defun misbehavior.
* progmodes/python.el (python-nav-beginning-of-defun): Rename from
python-beginning-of-defun-function.  Handle nested defuns
correctly.
(python-nav-end-of-defun): Rename from
python-end-of-defun-function.  Ensure forward movement.
(python-info-current-defun): Reimplemented to work as intended
with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
parent defuns as soon as possible.

11 years agoDocument flymake fringe bitmaps
Glenn Morris [Mon, 12 Nov 2012 08:42:27 +0000 (00:42 -0800)]
Document flymake fringe bitmaps

* doc/misc/flymake.texi (Customizable variables)
(Highlighting erroneous lines): Mention flymake-error-bitmap,
flymake-warning-bitmap, and flymake-fringe-indicator-position.

* lisp/progmodes/flymake.el (flymake-error-bitmap)
(flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
(flymake-error-bitmap, flymake-warning-bitmap): Fix :types.

* etc/NEWS: Related markup.

11 years agoMention a few more gv.el features in the lispref
Glenn Morris [Mon, 12 Nov 2012 08:23:23 +0000 (00:23 -0800)]
Mention a few more gv.el features in the lispref

* doc/lispref/variables.texi (Adding Generalized Variables):
At least mention gv-define-expander and gv-letplace.

11 years ago* doc/emacs/misc.texi (Single Shell): Mention async-shell-command-buffer.
Glenn Morris [Mon, 12 Nov 2012 08:18:38 +0000 (00:18 -0800)]
* doc/emacs/misc.texi (Single Shell): Mention async-shell-command-buffer.

* etc/NEWS: Related markup.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-move-to-block): When moving
Dmitry Gutov [Mon, 12 Nov 2012 01:11:06 +0000 (05:11 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-move-to-block): When moving
backward, always stop at indentation.  Reverts the change from
2012-08-12T22:06:56Z!monnier@iro.umontreal.ca.

Fixes: debbugs:12851

11 years agoAdd ibuffer-filter-by-derived-mode to ibuffer menu and doc
Glenn Morris [Sun, 11 Nov 2012 02:22:26 +0000 (18:22 -0800)]
Add ibuffer-filter-by-derived-mode to ibuffer menu and doc

* lisp/ibuffer.el (ibuffer-mode-map, ibuffer-mode):
Add ibuffer-filter-by-derived-mode.

* etc/NEWS: Related markup.

11 years agoFix ibuffer menu typo
Glenn Morris [Sun, 11 Nov 2012 02:18:14 +0000 (18:18 -0800)]
Fix ibuffer menu typo

* lisp/ibuffer.el (ibuffer-mode-map): Don't have two menu items with
the same name shadowing each other.

11 years agoNEWS markup
Glenn Morris [Sun, 11 Nov 2012 02:12:56 +0000 (18:12 -0800)]
NEWS markup

11 years agoNEWS markup
Glenn Morris [Sun, 11 Nov 2012 02:03:45 +0000 (18:03 -0800)]
NEWS markup

11 years ago* lisp/window.el (with-temp-buffer-window): Doc tweak.
Glenn Morris [Sun, 11 Nov 2012 01:47:56 +0000 (17:47 -0800)]
* lisp/window.el (with-temp-buffer-window): Doc tweak.

11 years agoDocument debugger-bury-or-kill
Glenn Morris [Sun, 11 Nov 2012 01:16:25 +0000 (17:16 -0800)]
Document debugger-bury-or-kill

* doc/lispref/debugging.texi (Using Debugger): Mention debugger-bury-or-kill.

* lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.

* etc/NEWS: Related edit.

11 years ago* doc/lispref/debugging.texi (Error Debugging): Mention debug-on-message.
Glenn Morris [Sun, 11 Nov 2012 00:58:51 +0000 (16:58 -0800)]
* doc/lispref/debugging.texi (Error Debugging): Mention debug-on-message.

* etc/NEWS: Related markup.

11 years agoFix more custom :versions
Glenn Morris [Sun, 11 Nov 2012 00:43:54 +0000 (16:43 -0800)]
Fix more custom :versions

* lisp/help.el (temp-buffer-max-height):
* lisp/window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
Fix :version.

11 years ago* lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
Glenn Morris [Sun, 11 Nov 2012 00:40:37 +0000 (16:40 -0800)]
* lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.

11 years agoDocument new error symbol and function user-error
Glenn Morris [Sun, 11 Nov 2012 00:37:40 +0000 (16:37 -0800)]
Document new error symbol and function user-error

* doc/lispref/control.texi (Signaling Errors):
* doc/lispref/debugging.texi (Error Debugging):
* doc/lispref/errors.texi (Standard Errors): Add user-error.

* etc/NEWS: Related markup.

11 years agoFormatting tweak for variables.texi
Glenn Morris [Sun, 11 Nov 2012 00:20:51 +0000 (16:20 -0800)]
Formatting tweak for variables.texi

* doc/lispref/variables.texi (Adding Generalized Variables):
Use standard formatting for common lisp note about setf functions.

11 years agoAdd missing make-local-variable calls in srt-mode.el
Glenn Morris [Sat, 10 Nov 2012 23:43:47 +0000 (15:43 -0800)]
Add missing make-local-variable calls in srt-mode.el

* lisp/cedet/srecode/srt-mode.el (srecode-template-mode):
Don't change global values of comment-start, comment-end.

Fixes: debbugs:12781

11 years agoBackport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to
Leo Liu [Sat, 10 Nov 2012 14:55:09 +0000 (22:55 +0800)]
Backport: * lisp/ido.el (ido-set-matches-1): Fix split-string args to
avoid performance issue.

Fixes: debbugs:12796

11 years agoFix earlier NEWS change
Glenn Morris [Sat, 10 Nov 2012 01:50:56 +0000 (20:50 -0500)]
Fix earlier NEWS change

11 years agoMake term-default-fg-color, term-default-bg-color obsolete
Glenn Morris [Sat, 10 Nov 2012 01:48:44 +0000 (20:48 -0500)]
Make term-default-fg-color, term-default-bg-color obsolete

* lisp/term.el (term-default-fg-color, term-default-bg-color):
Make obsolete, rather than just saying "deprecated" in the doc.

11 years agoFace names should not end in -face (term-face)
Glenn Morris [Sat, 10 Nov 2012 01:40:48 +0000 (20:40 -0500)]
Face names should not end in -face (term-face)

* lisp/term.el (term): Rename from `term-face'.
(term-current-face, ansi-term-color-vector)
(term-default-fg-color, term-default-bg-color, term-ansi-reset):
Update all users.

* doc/emacs/misc.texi (Terminal emulator): Rename `term-face' to `term'.

* etc/NEWS: Related edit.

11 years agoMore small NEWS copyedits
Glenn Morris [Sat, 10 Nov 2012 01:36:05 +0000 (20:36 -0500)]
More small NEWS copyedits

11 years agoSmall NEWS update re profiling
Glenn Morris [Fri, 9 Nov 2012 08:42:54 +0000 (00:42 -0800)]
Small NEWS update re profiling

The previously described sequence start, stop, report does nothing.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00010.html

11 years agoMore updates for the URL library manual.
Chong Yidong [Fri, 9 Nov 2012 08:34:17 +0000 (16:34 +0800)]
More updates for the URL library manual.

* url.texi (Introduction): Move url-configuration-directory to
Customization node.
(Parsed URIs): Split into its own node.
(URI Encoding): New node.
(Defining New URLs): Remove empty chapter.
(Retrieving URLs): Add an introduction.  Doc fix for url-retrieve.
Improve docs for url-queue-*.
(Supported URL Types): Copyedits.  Delete empty subnodes.

11 years agoTrivial NEWS copyedits
Glenn Morris [Fri, 9 Nov 2012 08:30:48 +0000 (00:30 -0800)]
Trivial NEWS copyedits

11 years agoTrivial NEWS copyedits
Glenn Morris [Fri, 9 Nov 2012 08:22:44 +0000 (00:22 -0800)]
Trivial NEWS copyedits

11 years agoSmall NEWS edits
Glenn Morris [Fri, 9 Nov 2012 08:11:23 +0000 (00:11 -0800)]
Small NEWS edits

* etc/NEWS: Mention erc-desktop-notifications.
Remove empty section "New Modes and Packages" (all covered elsewhere).

* etc/GNUS-NEWS: Mention gnus-notifications.

11 years agoSome small updates for the Acknowledgments sections in the manual
Glenn Morris [Fri, 9 Nov 2012 08:03:58 +0000 (00:03 -0800)]
Some small updates for the Acknowledgments sections in the manual

* doc/emacs/emacs.texi (Acknowledgments): Add profiler author.
* doc/emacs/ack.texi (Acknowledgments): Add some recent contributions.

11 years ago* server.el (server-create-window-system-frame): Improved comment.
Jan Djärv [Fri, 9 Nov 2012 06:28:27 +0000 (07:28 +0100)]
* server.el (server-create-window-system-frame): Improved comment.

11 years ago* server.el (server-create-window-system-frame): Handle Nextstep
Jan Djärv [Thu, 8 Nov 2012 19:25:39 +0000 (20:25 +0100)]
* server.el (server-create-window-system-frame): Handle Nextstep
specially.

Fixes: debbugs:12780

11 years agoUpdate the URL library manual.
Chong Yidong [Thu, 8 Nov 2012 19:03:49 +0000 (03:03 +0800)]
Update the URL library manual.

* doc/misc/url.texi (Introduction): Rename from Getting Started.
Rewrite the introduction.
(URI Parsing): Rewrite.  Omit the obsolete attributes slot.

11 years agoMake report-emacs-bug-query-existing-bugs obsolete (bug#7449)
Glenn Morris [Thu, 8 Nov 2012 18:35:08 +0000 (13:35 -0500)]
Make report-emacs-bug-query-existing-bugs obsolete (bug#7449)

* lisp/mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
Unautoload, and make obsolete.

11 years agoRewrite and rename diff-delete-trailing-whitespace.
Chong Yidong [Thu, 8 Nov 2012 17:31:53 +0000 (01:31 +0800)]
Rewrite and rename diff-delete-trailing-whitespace.

* lisp/vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
rename from diff-remove-trailing-whitespace (Bug#12831).

* files.texi (Diff Mode): Doc fixes for
diff-delete-trailing-whitespace.

11 years ago* lisp/emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
Stefan Monnier [Thu, 8 Nov 2012 14:36:47 +0000 (09:36 -0500)]
* lisp/emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
miscompilation of trace.el.

11 years ago* doc/emacs/trouble.texi (Crashing): Copyedits.
Chong Yidong [Thu, 8 Nov 2012 10:35:40 +0000 (18:35 +0800)]
* doc/emacs/trouble.texi (Crashing): Copyedits.

11 years agoDocument diff-remove-trailing-whitespace
Glenn Morris [Thu, 8 Nov 2012 08:14:23 +0000 (00:14 -0800)]
Document diff-remove-trailing-whitespace

* doc/emacs/files.texi (Diff Mode): Trailing whitespace updates.

* lisp/vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.

* etc/NEWS: Related markup.

11 years agoTweak previous change
Glenn Morris [Thu, 8 Nov 2012 04:20:00 +0000 (20:20 -0800)]
Tweak previous change

11 years agoDirect ERC news to the main NEWS file
Glenn Morris [Thu, 8 Nov 2012 04:19:38 +0000 (20:19 -0800)]
Direct ERC news to the main NEWS file

11 years ago* lisp/emacs-lisp/gv.el (gv-define-simple-setter): Fix last change.
Stefan Monnier [Thu, 8 Nov 2012 01:24:14 +0000 (20:24 -0500)]
* lisp/emacs-lisp/gv.el (gv-define-simple-setter): Fix last change.

Fixes: debbugs:12812

11 years agoNEWS edit
Glenn Morris [Wed, 7 Nov 2012 22:27:39 +0000 (17:27 -0500)]
NEWS edit

11 years ago* cl.texi (Obsolete Setf Customization): Updates for define-setf-method.
Glenn Morris [Wed, 7 Nov 2012 22:23:34 +0000 (17:23 -0500)]
* cl.texi (Obsolete Setf Customization): Updates for define-setf-method.

* etc/NEWS: Related markup.

11 years ago* misc.texi (Terminal emulator): Document Term mode faces.
Chong Yidong [Wed, 7 Nov 2012 21:04:52 +0000 (05:04 +0800)]
* misc.texi (Terminal emulator): Document Term mode faces.

11 years agoFix and docfix for the minibuffer-eldef-shorten-default feature.
Chong Yidong [Wed, 7 Nov 2012 20:43:38 +0000 (04:43 +0800)]
Fix and docfix for the minibuffer-eldef-shorten-default feature.

* lisp/minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
a defcustom with an appropriate :set function.
(minibuffer-default--in-prompt-regexps): New function.

* doc/emacs/mini.texi (Basic Minibuffer): New node.  Document
minibuffer-electric-default-mode.

* doc/emacs/display.texi (Visual Line Mode): Fix index entry.

11 years ago* doc/lispref/searching.texi (Replacing Match): Document \? in replace-match.
Chong Yidong [Wed, 7 Nov 2012 15:46:35 +0000 (23:46 +0800)]
* doc/lispref/searching.texi (Replacing Match): Document \? in replace-match.

11 years agoFix and rewrite doc on window recombining facilities.
Martin Rudalics [Wed, 7 Nov 2012 09:41:52 +0000 (10:41 +0100)]
Fix and rewrite doc on window recombining facilities.

* window.c (Fsplit_window_internal): Set combination limit of
new parent window to t iff Vwindow_combination_limit is t;
fixing a regression introduced with the change from 2012-09-22.
(Fwindow_combination_limit, Fset_window_combination_limit): Fix
doc-strings.

* elisp.texi (Top): Add Recombining Windows to menu.
* windows.texi (Recombining Windows): New subsection.
(Splitting Windows): Rewrite text on handling of window
combinations and move it to new subsection.

11 years agoMore cl-lib and gv doc updates
Glenn Morris [Wed, 7 Nov 2012 08:56:16 +0000 (00:56 -0800)]
More cl-lib and gv doc updates

* lisp/emacs-lisp/cl.el (define-setf-expander, defsetf)
(define-modify-macro): Doc fixes.

* doc/misc/cl.texi (Obsolete Setf Customization):
Give defsetf gv.el replacements.

* etc/NEWS: Related edit.

11 years agoNEWS edit
Glenn Morris [Wed, 7 Nov 2012 08:32:34 +0000 (00:32 -0800)]
NEWS edit

11 years ago* cl.texi (Obsolete Setf Customization): Give define-modify-macro replacement.
Glenn Morris [Wed, 7 Nov 2012 08:28:34 +0000 (00:28 -0800)]
* cl.texi (Obsolete Setf Customization): Give define-modify-macro replacement.

11 years agoDoc improvements for Buffer Menu.
Chong Yidong [Wed, 7 Nov 2012 06:54:43 +0000 (14:54 +0800)]
Doc improvements for Buffer Menu.

* buffers.texi (Several Buffers): List Buffer Menu command anmes,
and index the keybindings.  Document tabulated-list-sort.
(Kill Buffer): Capitalize Buffer Menu.

* trouble.texi (Memory Full): Capitalize Buffer Menu.

11 years agoDocument setf-local, defvar-local, and some doc updates for setf.
Chong Yidong [Wed, 7 Nov 2012 05:22:10 +0000 (13:22 +0800)]
Document setf-local, defvar-local, and some doc updates for setf.

* doc/lispref/edebug.texi (Specification List): setf is no longer CL-only.

* doc/lispref/lists.texi (List Elements, List Variables): Clarify descriptions
of push and pop for generalized variables.

* doc/lispref/variables.texi (Creating Buffer-Local): Document setq-local and
defvar-local.
(Setting Generalized Variables): Arrange table alphabetically.

11 years agoSmall doc updates for generalized variables
Glenn Morris [Wed, 7 Nov 2012 04:37:07 +0000 (20:37 -0800)]
Small doc updates for generalized variables

* lisp/emacs-lisp/gv.el (gv-letplace): Fix doc typo.
(gv-define-simple-setter): Update doc of `fix-return'.

* doc/lispref/variables.texi (Adding Generalized Variables):
Update description of FIX-RETURN expansion.

* doc/misc/cl.texi (Obsolete Setf Customization):
Revert defsetf example to the more correct let rather than prog1.

11 years ago* lisp/emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
Stefan Monnier [Wed, 7 Nov 2012 03:39:33 +0000 (22:39 -0500)]
* lisp/emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
twice when `fix-return' is set.

Fixes: debbugs:12813

11 years ago* lisp/emacs-lisp/cl.el (defsetf): Pass the third arg to
Stefan Monnier [Wed, 7 Nov 2012 03:14:27 +0000 (22:14 -0500)]
* lisp/emacs-lisp/cl.el (defsetf): Pass the third arg to
gv-define-simple-setter.

Fixes: debbugs:12812

11 years agoFix bug #12811 with scrolling under scroll-up/down-aggressively.
Eli Zaretskii [Tue, 6 Nov 2012 16:36:02 +0000 (18:36 +0200)]
Fix bug #12811 with scrolling under scroll-up/down-aggressively.

 src/xdisp.c (try_scrolling): Fix correction of aggressive-scroll
 amount when the scroll margins are too large.  When scrolling
 backwards in the buffer, give up if cannot reach point or the
 scroll margin within a reasonable number of screen lines.  Fixes
 point position in window under scroll-up/down-aggressively when
 point is positioned many lines beyond the window top/bottom.

11 years agoMinor rephrasing of previous variables.texi change
Glenn Morris [Tue, 6 Nov 2012 08:02:25 +0000 (00:02 -0800)]
Minor rephrasing of previous variables.texi change

11 years agoMore small cl.texi updates
Glenn Morris [Tue, 6 Nov 2012 02:49:57 +0000 (21:49 -0500)]
More small cl.texi updates

* doc/misc/cl.texi (Setf Extensions): Remove obsolete reference.
(Obsolete Setf Customization):
Mention simple defsetf replaced by gv-define-simple-setter.

11 years agoRemoved some doubly-deleted, commented out stuff from cl.texi
Glenn Morris [Tue, 6 Nov 2012 02:30:16 +0000 (21:30 -0500)]
Removed some doubly-deleted, commented out stuff from cl.texi

11 years ago* doc/misc/cl.texi (Overview): Mention EIEIO here, as well as the appendix.
Glenn Morris [Tue, 6 Nov 2012 02:28:48 +0000 (21:28 -0500)]
* doc/misc/cl.texi (Overview): Mention EIEIO here, as well as the appendix.

11 years agoUndocument get-setf-method, no longer exists
Glenn Morris [Tue, 6 Nov 2012 02:22:07 +0000 (21:22 -0500)]
Undocument get-setf-method, no longer exists

* doc/misc/cl.texi (Obsolete Setf Customization):
Undocument get-setf-method, since it no longer exists.

* etc/NEWS: Mention this.

11 years agoMove note on lack of setf functions from cl.texi to lispref
Glenn Morris [Tue, 6 Nov 2012 02:03:34 +0000 (21:03 -0500)]
Move note on lack of setf functions from cl.texi to lispref

* doc/lispref/variables.texi (Adding Generalized Variables):
Move note on lack of setf functions to here...

* doc/misc/cl.texi (Obsolete Setf Customization): ... from here.

11 years ago* lisp/woman.el (woman-decode-region): Disable adaptive-fill when rendering.
Stefan Monnier [Tue, 6 Nov 2012 01:49:44 +0000 (20:49 -0500)]
* lisp/woman.el (woman-decode-region): Disable adaptive-fill when rendering.

Fixes: debbugs:12756

11 years agoAdd some documentation on defining new generalized variables
Glenn Morris [Tue, 6 Nov 2012 01:42:17 +0000 (20:42 -0500)]
Add some documentation on defining new generalized variables

* doc/lispref/variables.texi (Setting Generalized Variables):
Split most of previous contents into this subsection.
(Adding Generalized Variables): New subsection.

* doc/lispref/elisp.texi:
Add Generalized Variables subsections to detailed menu.

* etc/NEWS: Mention some gv.el macros by name.

11 years ago* lisp/emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
Glenn Morris [Tue, 6 Nov 2012 01:36:44 +0000 (20:36 -0500)]
* lisp/emacs-lisp/gv.el (gv-define-setter): Fix doc typo.

11 years agoClarify documentation of scroll-step, per bug #12801.
Eli Zaretskii [Mon, 5 Nov 2012 18:01:20 +0000 (20:01 +0200)]
Clarify documentation of scroll-step, per bug #12801.

 doc/emacs/display.texi (Auto Scrolling): Clarify that scroll-step is
 ignored when scroll-conservatively is set to a non-zero value.

11 years agoFix bug #12774 with crashes in ralloc.c.
Eli Zaretskii [Mon, 5 Nov 2012 17:23:25 +0000 (19:23 +0200)]
Fix bug #12774 with crashes in ralloc.c.

 src/ralloc.c (relinquish): If real_morecore fails to return memory
 to the system, don't crash; instead, leave the last heap
 unchanged and return.

11 years ago* frames.texi (Initial Parameters): Doc fix.
Chong Yidong [Mon, 5 Nov 2012 14:30:58 +0000 (22:30 +0800)]
* frames.texi (Initial Parameters): Doc fix.

Fixes: debbugs:12144

11 years ago* dired.texi (Dired Updating): Doc fix.
Chong Yidong [Mon, 5 Nov 2012 14:13:26 +0000 (22:13 +0800)]
* dired.texi (Dired Updating): Doc fix.

Fixes: debbugs:11744

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Mon, 5 Nov 2012 12:20:41 +0000 (07:20 -0500)]
Auto-commit of loaddefs files.

11 years agoMisc small cl doc fixes
Glenn Morris [Mon, 5 Nov 2012 08:29:12 +0000 (00:29 -0800)]
Misc small cl doc fixes

* emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.

* emacs-lisp/cl-extra.el (cl-prettyexpand):
* emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
* emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
(cl-the, cl-compiler-macroexpand): Add basic doc strings.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 4 Nov 2012 12:22:06 +0000 (07:22 -0500)]
Auto-commit of loaddefs files.

11 years agoFurther small cl.texi changes
Glenn Morris [Sat, 3 Nov 2012 18:55:29 +0000 (11:55 -0700)]
Further small cl.texi changes

* doc/misc/cl.texi (Creating Symbols, Random Numbers):
De-emphasize internal variables cl--gensym-counter and cl--random-state.

* etc/NEWS: Related edits.

Fixes: debbugs:12788

11 years agoRename cl-loop-handler, cl-loop-for-handler back to their original names
Glenn Morris [Sat, 3 Nov 2012 18:32:09 +0000 (11:32 -0700)]
Rename cl-loop-handler, cl-loop-for-handler back to their original names

* lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause):
Rename handler properties back from cl-- to cl-.

Fixes: debbugs:12788

11 years agoMore general edits for cl.texi Appendices
Glenn Morris [Sat, 3 Nov 2012 18:23:38 +0000 (11:23 -0700)]
More general edits for cl.texi Appendices

11 years ago* lisp/emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
Glenn Morris [Sat, 3 Nov 2012 18:03:39 +0000 (11:03 -0700)]
* lisp/emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.

11 years agoFurther edits for doc/misc/cl.texi
Glenn Morris [Sat, 3 Nov 2012 17:56:30 +0000 (10:56 -0700)]
Further edits for doc/misc/cl.texi

* cl.texi: Further general copyedits.
(List Functions): Remove copy-tree, standard elisp for some time.
(Efficiency Concerns): Comment out examples that no longer apply.
(Compiler Optimizations): Rename from "Optimizing Compiler"; reword.

11 years ago* lispref/objects.texi: Fix last change.
Chong Yidong [Sat, 3 Nov 2012 16:54:11 +0000 (00:54 +0800)]
* lispref/objects.texi: Fix last change.

11 years agoAdapt MSDOS port to latest changes.
Eli Zaretskii [Sat, 3 Nov 2012 13:58:33 +0000 (15:58 +0200)]
Adapt MSDOS port to latest changes.

 config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed.

 msdos/sedlibmk.inp: Sync with changes in lib/Makefile.in.
 (HAVE_DECL_ENVIRON, GNULIB_ENVIRON): Edit to require declaration
 through lib/unistd.h.
 msdos/sed1v2.inp: Sync with changes in src/Makefile.in.
 msdos/sed2v2.inp: Sync with changes in src/config.in.

 src/lisp.mk: Adjust comments to the fact that term/internal is now
 loaded from loadup.el.
 src/msdos.c (msdos_abort): Rename from emacs_abort, and make static.
 (msdos_fatal_signal): New function.
 (XMenuActivate): Adjust the call to kbd_buffer_events_waiting to
 its argument list.
 src/conf_post.h (_GL_EXECINFO_INLINE) [MSDOS]: Define to "inline"
 for GCC versions before 4.
 (emacs_raise): Define to call msdos_fatal_signal.

 lisp/term/pc-win.el: Don't load term/internal from here.
 lisp/loadup.el: Load term/internal from here.

11 years agoLoad term/internal from loadup.el.
Eli Zaretskii [Sat, 3 Nov 2012 13:56:02 +0000 (15:56 +0200)]
Load term/internal from loadup.el.

11 years agoAdapt the MSDOS build to the latest changes on mainline.
Eli Zaretskii [Sat, 3 Nov 2012 13:48:33 +0000 (15:48 +0200)]
Adapt the MSDOS build to the latest changes on mainline.

11 years ago* progmodes/python.el (inferior-python-mode): Fix hang in
Fabián Ezequiel Gallina [Sat, 3 Nov 2012 12:20:02 +0000 (09:20 -0300)]
* progmodes/python.el (inferior-python-mode): Fix hang in
jit-lock.

Fixes: debbugs:12645

11 years agoBackport from trunk.
Jan Djärv [Sat, 3 Nov 2012 11:33:28 +0000 (12:33 +0100)]
Backport from trunk.

* widget.c (resize_cb): New function.
(EmacsFrameRealize): Add resize_cb as event handler.
(EmacsFrameResize): Check if all is up to date before changing frame
size.

Fixes: debbugs:12733

11 years agoClarify documentation about escape sequences in strings.
Chong Yidong [Sat, 3 Nov 2012 11:02:43 +0000 (19:02 +0800)]
Clarify documentation about escape sequences in strings.

* objects.texi (General Escape Syntax): Clarify the explanation of
escape sequences.
(Non-ASCII in Strings): Clarify when a string is unibyte vs
multibyte.  Hex escapes do not automatically make a string multibyte.

11 years agoDoc changes related to displaying buffers and quitting windows.
Martin Rudalics [Sat, 3 Nov 2012 10:47:03 +0000 (11:47 +0100)]
Doc changes related to displaying buffers and quitting windows.

* window.el (switch-to-visible-buffer)
(switch-to-buffer-preserve-window-point): Fix doc-strings.

* windows.texi (Switching Buffers): Document option
switch-to-buffer-preserve-window-point.
(Display Action Functions): Document window-height and
window-width alist entries.
(Display Action Functions): Document
display-buffer-below-selected and
display-buffer-in-previous-window.
(Quitting Windows): Document quit-restore-window.  Rewrite
section.
(Window Configurations): In window-state-get mention that
argument window must be valid.
(Window Parameters): Document quit-restore window parameter
(Bug#12158).

11 years agoFix bidi initialization in init_from_display_pos.
Eli Zaretskii [Sat, 3 Nov 2012 09:25:34 +0000 (11:25 +0200)]
Fix bidi initialization in init_from_display_pos.

 src/xdisp.c (init_from_display_pos): Fix initialization of the bidi
 iterator when starting in the middle of a display or overlay
 string.

Fixes: debbugs:12745