bpt/emacs.git
10 years agoImprove window dividers code.
Martin Rudalics [Tue, 4 Feb 2014 07:36:58 +0000 (08:36 +0100)]
Improve window dividers code.

* faces.el (window-divider): New default value.  Rewrite
doc-string.
(window-divider-first-pixel, window-divider-last-pixel): New
faces.
* dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID
and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID.
* w32term.c (w32_draw_window_divider): Handle first and last
pixels specially.
* w32term.h (w32_fill_area_abs): New function.
* xdisp.c (x_draw_right_divider): Don't draw over bottom
divider.
* xfaces.c (realize_basic_faces): Handle new face ids.
* xfns.c (Fx_create_frame): Call x_default_parameter for right
and bottom divider width.
* xterm.c (x_draw_window_divider): Handle first and last pixels
specially.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
Dmitry Gutov [Mon, 3 Feb 2014 15:59:39 +0000 (17:59 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
`protected' and `public' can also be called without arguments.

10 years ago* eval.c (call_debugger): Grow specpdl if the debugger was
Dmitry Antipov [Mon, 3 Feb 2014 09:37:43 +0000 (13:37 +0400)]
* eval.c (call_debugger): Grow specpdl if the debugger was
entered due to specpdl overflow (Bug#16603) and allow more
specpdl space for the debugger itself.

10 years agoTidy up some -to-register function argument specs
Glenn Morris [Mon, 3 Feb 2014 07:56:44 +0000 (23:56 -0800)]
Tidy up some -to-register function argument specs

* lisp/register.el (window-configuration-to-register)
(frame-configuration-to-register): Unadvertise unused argument.

* lisp/frameset.el (frameset-to-register): Remove unused argument.

10 years agoRevert earlier desktop-auto-save doc changes
Glenn Morris [Mon, 3 Feb 2014 07:35:44 +0000 (23:35 -0800)]
Revert earlier desktop-auto-save doc changes

I don't understand this feature.

10 years ago* doc/misc/cl.texi (Blocks and Exits): Tweak earlier change.
Glenn Morris [Mon, 3 Feb 2014 07:26:59 +0000 (23:26 -0800)]
* doc/misc/cl.texi (Blocks and Exits): Tweak earlier change.

10 years ago* print.c (Fexternal_debugging_output): Add cast to pacify
Dmitry Antipov [Mon, 3 Feb 2014 07:05:28 +0000 (11:05 +0400)]
* print.c (Fexternal_debugging_output): Add cast to pacify
--enable-gcc-warnings.

10 years agoSome doc for desktop-auto-save-timeout
Glenn Morris [Mon, 3 Feb 2014 03:12:29 +0000 (19:12 -0800)]
Some doc for desktop-auto-save-timeout

* doc/emacs/misc.texi (Saving Emacs Sessions):
Mention desktop-auto-save-timeout.

* lisp/desktop.el (desktop-save-mode): Doc fix.

* etc/NEWS: Related edit.

10 years ago* doc/misc/cl.texi (Blocks and Exits): Mention cl-tagbody.
Glenn Morris [Mon, 3 Feb 2014 02:58:13 +0000 (18:58 -0800)]
* doc/misc/cl.texi (Blocks and Exits): Mention cl-tagbody.

* etc/NEWS: Related edit.

10 years ago* etc/NEWS: Mention register-read-with-preview.
Glenn Morris [Mon, 3 Feb 2014 01:03:11 +0000 (17:03 -0800)]
* etc/NEWS: Mention register-read-with-preview.

10 years agoBe more consistent in using register-read-with-preview to read registers
Glenn Morris [Mon, 3 Feb 2014 00:40:49 +0000 (16:40 -0800)]
Be more consistent in using register-read-with-preview to read registers

* frameset.el (frameset-to-register):
* kmacro.el (kmacro-to-register):
* register.el (increment-register):
* calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
(calc-append-to-register, calc-prepend-to-register):
* play/gametree.el (gametree-layout-to-register)
(gametree-apply-register-layout):
* textmodes/picture.el (picture-clear-rectangle-to-register)
(picture-yank-rectangle-from-register):
* vc/emerge.el (emerge-combine-versions-register):
Use register-read-with-preview to read registers.

* cedet/semantic/senator.el (senator-copy-tag-to-register):
Use register-read-with-preview, if available.

* calculator.el, emulation/viper-cmd.el: Comments.

10 years agoFix `electric-pair-backward-delete-char' error at bob
João Távora [Mon, 3 Feb 2014 00:28:57 +0000 (00:28 +0000)]
Fix `electric-pair-backward-delete-char' error at bob

* lisp/elec-pair.el (electric-pair-backward-delete-char): Don't error
when at beginning of (possibly narrowed) buffer.

10 years agoMake help-at-point stuff also look just before point
Daniel Colascione [Sun, 2 Feb 2014 22:21:33 +0000 (14:21 -0800)]
Make help-at-point stuff also look just before point

10 years agoc-parse-state. Don't "append-lower-brace-pair" in certain
Alan Mackenzie [Sun, 2 Feb 2014 16:28:52 +0000 (16:28 +0000)]
c-parse-state.  Don't "append-lower-brace-pair" in certain
circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
recognised as a comment.

* progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
as well as normal comment starter.
(c-parse-state-get-strategy): Extra return possibility
'back-and-forward.
(c-remove-stale-state-cache): Extra element CONS-SEPARATED in
return value list to indicate replacement of a brace-pair cons
with its car.
(c-parse-state-1): With 'back-and-forward, only call
c-append-lower-brace-pair-to state-cache when cons-separated.

10 years agoDisallow suspend-emacs under NS
Jan Djärv [Sun, 2 Feb 2014 14:10:50 +0000 (15:10 +0100)]
Disallow suspend-emacs under NS

* term/ns-win.el (ns-suspend-error): New function.
(ns-initialize-window-system): Add ns-suspend-error to
suspend-hook.

Fixes: debbugs:16612

10 years agoIn Fx_create_frame of w32fns.c process frame alpha earlier. (Bug#16619)
Martin Rudalics [Sun, 2 Feb 2014 13:00:41 +0000 (14:00 +0100)]
In Fx_create_frame of w32fns.c process frame alpha earlier.  (Bug#16619)

* w32fns.c (Fx_create_frame): Process frame alpha earlier.  (Bug#16619)

10 years agoMake loading cc-mode silent
Daniel Colascione [Sun, 2 Feb 2014 10:25:29 +0000 (02:25 -0800)]
Make loading cc-mode silent

10 years agoTweak comint docstring to suggest remap bindings
Daniel Colascione [Sun, 2 Feb 2014 07:51:26 +0000 (23:51 -0800)]
Tweak comint docstring to suggest remap bindings

10 years agoregister.el doc fixes
Glenn Morris [Sun, 2 Feb 2014 03:42:20 +0000 (19:42 -0800)]
register.el doc fixes

* lisp/register.el (register-read-with-preview, point-to-register)
(window-configuration-to-register, frame-configuration-to-register)
(jump-to-register, number-to-register, view-register, insert-register)
(copy-to-register, append-to-register, prepend-to-register)
(copy-rectangle-to-register): Doc fixes.

10 years ago* lisp/help-fns.el (help-C-file-name): Handle advised functions.
Stefan Monnier [Sun, 2 Feb 2014 02:25:05 +0000 (21:25 -0500)]
* lisp/help-fns.el (help-C-file-name): Handle advised functions.
* lisp/emacs-lisp/find-func.el (find-function-C-source): Idem.
* lisp/emacs-lisp/nadvice.el (advice--cd*r): New function.
* help-fns.el (describe-function-1): Use it.

Fixes: debbugs:16478

10 years ago* doc/misc/efaq-w32.texi (Tramp ssh): Remove deleted tramp methods.
Glenn Morris [Sun, 2 Feb 2014 01:16:18 +0000 (17:16 -0800)]
* doc/misc/efaq-w32.texi (Tramp ssh): Remove deleted tramp methods.

* etc/NEWS: Related edits.

10 years agoregister preview fixes
Glenn Morris [Sun, 2 Feb 2014 01:04:08 +0000 (17:04 -0800)]
register preview fixes

* doc/emacs/regs.texi (Registers): Mention previewing.

* lisp/register.el (register-preview-default): New function,
split from register-preview.
(register-preview-function): Rename from register-preview-functions,
make it not a hook.
(register-preview): Use register-preview-function.
(register-read-with-preview): Error on non-character event.

* etc/NEWS: Related markup.

Fixes: debbugs:16595

10 years agoAttempt to solve bug #16615 by using a more accurate function prototype.
Eli Zaretskii [Sat, 1 Feb 2014 20:10:37 +0000 (22:10 +0200)]
Attempt to solve bug #16615 by using a more accurate function prototype.

 src/w32fns.c (Ffile_system_info): Use WINAPI in the function
 pointers that get the address of GetDiskFreeSpaceEx.

10 years agoFix bug#16610
Dmitry Gutov [Sat, 1 Feb 2014 17:06:08 +0000 (19:06 +0200)]
Fix bug#16610

* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): For built-ins
that require arguments, check that they're followed by something that
looks like argument.

10 years agoFix bug#16609
Dmitry Gutov [Sat, 1 Feb 2014 14:54:58 +0000 (16:54 +0200)]
Fix bug#16609

* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
`:' before binary operators.  Don't check for `:'
before `[' and `(', or their syntax status.  A percent literal
can't end with either.

10 years agoFix bug #16448 with non-ASCII error messages in batch mode.
Eli Zaretskii [Sat, 1 Feb 2014 11:53:10 +0000 (13:53 +0200)]
Fix bug #16448 with non-ASCII error messages in batch mode.

 src/print.c (Fexternal_debugging_output): If the argument character
 is non-ASCII, encode it with the current locale's encoding before
 writing the result to the terminal.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 1 Feb 2014 11:17:37 +0000 (06:17 -0500)]
Auto-commit of loaddefs files.

10 years agoFix bug #16558 with w32-shell-execute on remote file names.
Eli Zaretskii [Sat, 1 Feb 2014 09:22:51 +0000 (11:22 +0200)]
Fix bug #16558 with w32-shell-execute on remote file names.

 src/w32fns.c (Fw32_shell_execute): Don't call file-exists-p for
 DOCUMENT that is a "remote" file name, i.e. a file-handler exists
 for it.

10 years agonnir mark update fix
Lars Ingebrigtsen [Sat, 1 Feb 2014 08:26:31 +0000 (00:26 -0800)]
nnir mark update fix

* nnir.el (nnir-request-update-mark): Don't try to update the source
group if we can't find it (bug#16611).

10 years agoCheck in forgotten ChangeLog entry from previous nbutlast change
Lars Ingebrigtsen [Sat, 1 Feb 2014 07:55:57 +0000 (23:55 -0800)]
Check in forgotten ChangeLog entry from previous nbutlast change

10 years ago* subr.el (butlast): Document what an omitted N means.
Lars Ingebrigtsen [Sat, 1 Feb 2014 07:54:29 +0000 (23:54 -0800)]
* subr.el (butlast): Document what an omitted N means.

* subr.el (butlast): Document what an omitted N means.
(nbutlast): Ditto.

Fixes: debbugs:13437

10 years agoMake shr respect privacy when viewing documents with SVG images
Lars Ingebrigtsen [Fri, 31 Jan 2014 21:44:11 +0000 (13:44 -0800)]
Make shr respect privacy when viewing documents with SVG images

(shr-tag-svg): Respect `shr-inhibit-images'.
(shr-dom-to-xml): Respect `shr-blocked-images'.

Fixes: debbugs:15882

10 years agoMake shr-generic into a defsusbt to make the stack shallower
Lars Ingebrigtsen [Fri, 31 Jan 2014 21:08:13 +0000 (13:08 -0800)]
Make shr-generic into a defsusbt to make the stack shallower

* net/shr.el (shr-generic): Make into a defsubst to make the stack
depth shallower.

10 years agoFixup the documentation for the previous change
Dmitry Gutov [Fri, 31 Jan 2014 17:33:12 +0000 (19:33 +0200)]
Fixup the documentation for the previous change

* etc/NEWS: Mention `ruby-align-chained-calls'.

* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): Update the
  docstring and add :version tag.

Fixes: debbugs:16593

10 years agoImplement user option ruby-align-chained-calls
Dmitry Gutov [Fri, 31 Jan 2014 17:13:49 +0000 (19:13 +0200)]
Implement user option ruby-align-chained-calls

* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
(ruby-smie-grammar): Make "." right-associative.  Make its priority
lower than the ternary and all binary operators.
(ruby-smie-rules): Indent "(" relative to the first non-"."
parent, or the first "." parent at indentation.  Use
`ruby-align-chained-calls' for indentation of "." tokens.

* test/automated/ruby-mode-tests.el (ruby-align-chained-calls):
New test.

Fixes: debbugs:16593

10 years agolisp/gnus/nnimap.el (nnimap-transform-headers): Partially revert mistakenly checked...
Lars Ingebrigtsen [Fri, 31 Jan 2014 10:13:28 +0000 (10:13 +0000)]
lisp/gnus/nnimap.el (nnimap-transform-headers): Partially revert mistakenly checked-in test code from last checkin

10 years agoMisc small fixes.
Juri Linkov [Fri, 31 Jan 2014 09:41:54 +0000 (11:41 +0200)]
Misc small fixes.

* doc/lispref/searching.texi (String Search): Incremental word search fixes.

* lisp/sort.el (delete-duplicate-lines): Remove `:weakness 'key'
from `make-hash-table'.

* lisp/textmodes/ispell.el (ispell-init-process): Change message format
to be consistent with other messages.

10 years agolisp/gnus/nnimap.el (nnimap-transform-headers): Fix Davmail header parsing
Lars Ingebrigtsen [Fri, 31 Jan 2014 08:33:13 +0000 (08:33 +0000)]
lisp/gnus/nnimap.el (nnimap-transform-headers): Fix Davmail header parsing

10 years agoDelete Selection mode doc updates
Glenn Morris [Fri, 31 Jan 2014 07:28:17 +0000 (23:28 -0800)]
Delete Selection mode doc updates

* lisp/delsel.el (delete-selection-mode): Doc fix.

* doc/misc/efaq.texi (Replacing highlighted text):
Update delete-selection-mode doc.

* etc/NEWS: Related edit.

10 years agotrace.el doc updates
Glenn Morris [Fri, 31 Jan 2014 07:15:54 +0000 (23:15 -0800)]
trace.el doc updates

* lisp/emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
(trace-function-background): Doc fixes.

Commentary update for this package now using nadvice.el, not advice.el.

* etc/NEWS: Related edits.

10 years ago* lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.
Glenn Morris [Fri, 31 Jan 2014 06:39:51 +0000 (22:39 -0800)]
* lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.

* etc/NEWS: Related markup.

10 years ago* lisp/ido.el (ido-use-virtual-buffers): Doc fix.
Glenn Morris [Fri, 31 Jan 2014 06:34:44 +0000 (22:34 -0800)]
* lisp/ido.el (ido-use-virtual-buffers): Doc fix.
Reset :version, since the default value has not changed.

* etc/NEWS: Related edits.

10 years agoSome doc related to register-preview
Glenn Morris [Fri, 31 Jan 2014 06:20:29 +0000 (22:20 -0800)]
Some doc related to register-preview

* lisp/register.el (register-preview-delay, register-read-with-preview):
Doc fixes.

* etc/NEWS: Related edits.

10 years agoChangeLog fixes
Glenn Morris [Fri, 31 Jan 2014 02:43:03 +0000 (21:43 -0500)]
ChangeLog fixes

10 years agoFix for c-submit-bug-report and reporter.el void-variable handling
Glenn Morris [Fri, 31 Jan 2014 02:39:40 +0000 (21:39 -0500)]
Fix for c-submit-bug-report and reporter.el void-variable handling

* lisp/mail/reporter.el (reporter-dump-variable): In case of void-variable,
do not mess with mail-buffer position (fixes 2009-11-03 change).

* lisp/progmodes/cc-mode.el (c-submit-bug-report):
Check auto-fill-mode is bound.

Fixes: debbugs:16592

10 years agoFix for fancy-splash image inconsistency
Darren Hoo [Fri, 31 Jan 2014 01:58:51 +0000 (20:58 -0500)]
Fix for fancy-splash image inconsistency

* lisp/startup.el (fancy-splash-image-file): New function,
split from fancy-splash-head.
(fancy-splash-head, use-fancy-splash-screens-p): Use it,
so that we are both using the same image.

Fixes: debbugs:16574

10 years agoMisc bugfixes made in Gnus master
Gnus developers [Fri, 31 Jan 2014 01:56:00 +0000 (01:56 +0000)]
Misc bugfixes made in Gnus master

2014-01-31 Alex Schroeder <alex@gnu.org> (tiny change)
  * gnus-tut.txt (Message-ID): Typo fix (bug#15556).
2014-01-31 Dave Abrahams <dave@boostpro.com>
  * gnus-salt.el (gnus-tree-highlight-article): Don't move point around
  in the summary buffer (bug#13769).
2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
  * gnus-art.el (gnus-article-setup-buffer): Refresh the summary buffer
  name if we're using a single article buffer. Otherwise, it may point
  to a killed buffer (bug#13756).
2014-01-30 Lars Ingebrigtsen <larsi@gnus.org>
  * nnmail.el (nnmail-split-it): Instead of redoing the search to restore
  the match data, just save and restore it explictly (bug#12375).
  * gnus-sum.el (gnus-summary-read-group-1): Initialize the spam code if
  that's needed.
  * spam.el (spam-initialize): Allow calling repeatedly, but only run the
  the code once (bug#9069).

10 years agoRevert last commit in mouse.el.
Eli Zaretskii [Thu, 30 Jan 2014 17:42:48 +0000 (19:42 +0200)]
Revert last commit in mouse.el.

10 years agoDon't ignore SIGPROF in subprocesses
Andreas Schwab [Thu, 30 Jan 2014 17:22:30 +0000 (18:22 +0100)]
Don't ignore SIGPROF in subprocesses

* process.c (create_process): Reset SIGPROF handler in the child.
* callproc.c (call_process): Likewise.

10 years agoIn mouse-drag-line obey window-resize-pixelwise (Bug#16594).
Martin Rudalics [Thu, 30 Jan 2014 13:19:19 +0000 (14:19 +0100)]
In mouse-drag-line obey window-resize-pixelwise (Bug#16594).

* mouse.el (mouse-drag-line): When window-resize-pixelwise is
nil call adjust-window-trailing-edge with suitable arguments
(Bug#16594).

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 30 Jan 2014 11:19:16 +0000 (06:19 -0500)]
Auto-commit of loaddefs files.

10 years ago* etc/NEWS: ElDoc related edit.
Glenn Morris [Thu, 30 Jan 2014 07:54:28 +0000 (23:54 -0800)]
* etc/NEWS: ElDoc related edit.

* lisp/emacs-lisp/eldoc.el: Related commentary.

10 years ago* lisp/simple.el (eval-expression): Doc fix.
Glenn Morris [Thu, 30 Jan 2014 07:48:06 +0000 (23:48 -0800)]
* lisp/simple.el (eval-expression): Doc fix.

* etc/NEWS: Add missing entry.

10 years agoReplace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'
Glenn Morris [Thu, 30 Jan 2014 07:42:57 +0000 (23:42 -0800)]
Replace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'

* lisp/hexl.el (hexl-mode-hook):
* lisp/ielm.el (ielm-mode-hook):
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
(lisp-interaction-mode-hook):
* lisp/progmodes/cfengine.e (cfengine3-documentation-function):
Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.

* lisp/emacs-lisp/eldoc.el: Same in commentary.

10 years ago* eieio-opt.el (eieio-help-generic): Fix last change.
Stefan Monnier [Thu, 30 Jan 2014 04:13:00 +0000 (23:13 -0500)]
* eieio-opt.el (eieio-help-generic): Fix last change.

Fixes: debbugs:16584

10 years ago* lisp/emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
Stefan Monnier [Thu, 30 Jan 2014 04:02:28 +0000 (23:02 -0500)]
* lisp/emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
is a symbol.

Fixes: debbugs:16584

10 years ago* doc/misc/sem-user.texi (Include paths): Fix a Texinfo command.
Xue Fuqiao [Thu, 30 Jan 2014 03:41:34 +0000 (11:41 +0800)]
* doc/misc/sem-user.texi (Include paths): Fix a Texinfo command.

10 years ago* lisp/help.el (help-for-help-internal): Add "P" to text.
Glenn Morris [Thu, 30 Jan 2014 02:40:19 +0000 (21:40 -0500)]
* lisp/help.el (help-for-help-internal): Add "P" to text.

10 years ago* xmenu.c (create_and_show_popup_menu): Port comment to C89.
Paul Eggert [Wed, 29 Jan 2014 18:39:11 +0000 (10:39 -0800)]
* xmenu.c (create_and_show_popup_menu): Port comment to C89.

10 years agoFix printing empty Lisp strings.
Eli Zaretskii [Wed, 29 Jan 2014 18:17:20 +0000 (20:17 +0200)]
Fix printing empty Lisp strings.

 src/.gdbinit (xprintstr, xprintbytestr): Don't use repetition count
 of zero to print strings, GDB doesn't like it.

10 years agosrc/indent.c (current_column_1): Correct commentary.
Eli Zaretskii [Wed, 29 Jan 2014 18:04:11 +0000 (20:04 +0200)]
src/indent.c (current_column_1): Correct commentary.

10 years agoFix bug #16576 with PRINTCHARFUN that conses output a lot.
Eli Zaretskii [Wed, 29 Jan 2014 17:52:16 +0000 (19:52 +0200)]
Fix bug #16576 with PRINTCHARFUN that conses output a lot.

 src/print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE, not
 STRING_CHAR_AND_LENGTH, so that if the string is relocated by GC,
 we still use correct addresses.

10 years agomerge trunk
Kenichi Handa [Wed, 29 Jan 2014 13:39:00 +0000 (22:39 +0900)]
merge trunk

10 years agoFix bug#16286 by the different way than 2014-01-26T00:32:30Z!eggert@cs.ucla.edu to...
Kenichi Handa [Wed, 29 Jan 2014 13:21:25 +0000 (22:21 +0900)]
Fix bug#16286 by the different way than 2014-01-26T00:32:30Z!eggert@cs.ucla.edu to preserve the code detection behavior of 24.3.

10 years agoIn x_set_tool_bar_lines of w32fns.c don't clear area on frames that are not visible.
Martin Rudalics [Wed, 29 Jan 2014 10:29:14 +0000 (11:29 +0100)]
In x_set_tool_bar_lines of w32fns.c don't clear area on frames that are not visible.

* w32fns.c (x_set_tool_bar_lines): Don't clear area on frames
that are not visible.

10 years ago* etc/NEWS: Don't use a separate section for single entries
Glenn Morris [Wed, 29 Jan 2014 08:36:32 +0000 (00:36 -0800)]
* etc/NEWS: Don't use a separate section for single entries

10 years ago* lisp/hippie-exp.el: Header comment changes.
Glenn Morris [Wed, 29 Jan 2014 08:31:50 +0000 (00:31 -0800)]
* lisp/hippie-exp.el: Header comment changes.
Remove pointless+wrong "last change" header.
Set Maintainer to FSF, since original author has made no changes in 16+ years.

10 years agoSome doc for cycle-spacing
Glenn Morris [Wed, 29 Jan 2014 08:27:55 +0000 (00:27 -0800)]
Some doc for cycle-spacing

* lisp/simple.el (just-one-space, cycle-spacing): Doc fixes.

* doc/emacs/killing.texi (Deletion): Mention cycle-spacing.

* doc/lispref/text.texi: Comment.

* etc/NEWS: Related edits.

10 years ago* xmenu.c (create_and_show_popup_menu): Handle case when no key
Jan Djärv [Wed, 29 Jan 2014 08:23:59 +0000 (09:23 +0100)]
* xmenu.c (create_and_show_popup_menu): Handle case when no key
is grabbed.

Fixes: debbugs:16565

10 years agoFix Fwindow_text_pixel_size and fit-frame-to-buffer.
Martin Rudalics [Tue, 28 Jan 2014 09:45:37 +0000 (10:45 +0100)]
Fix Fwindow_text_pixel_size and fit-frame-to-buffer.

* xdisp.c (last_max_ascent): Re-remove after erroneously
reintroducing it on 2013-11-30 and abolishing Dmitry's removal
from 2013-03-29.
(move_it_to): Re-remove reference to last_max_ascent.
(Fwindow_text_pixel_size): Add iterator's max_ascent and
max_descent here instead of calling line_bottom_y.  Fix
doc-string.

* window.el (fit-frame-to-buffer): Fix calculations for margins and
height constraints.

10 years ago* xfaces.c (free_frame_faces): Adjust comment.
Dmitry Antipov [Tue, 28 Jan 2014 07:43:24 +0000 (11:43 +0400)]
* xfaces.c (free_frame_faces): Adjust comment.

10 years agoAggregate hideif parser enhancements for a complete supporting of C/C++
Luke Lee [Tue, 28 Jan 2014 07:02:34 +0000 (15:02 +0800)]
Aggregate hideif parser enhancements for a complete supporting of C/C++
expressions and operator precedence. Also apply code review changes.

* lisp/progmodes/hideif.el : Related enhancements.

10 years ago* terminal.c (initial_free_frame_resources): New function.
Dmitry Antipov [Tue, 28 Jan 2014 05:55:06 +0000 (09:55 +0400)]
* terminal.c (initial_free_frame_resources): New function.
(init_initial_terminal): Install new hook to free face cache
on initial frame and avoid memory leak.  For details, see
<http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01974.html>.

10 years agoTweak previous fill-single-char-nobreak-p doc change
Glenn Morris [Tue, 28 Jan 2014 03:00:20 +0000 (22:00 -0500)]
Tweak previous fill-single-char-nobreak-p doc change

10 years agoDoc for fill-single-char-nobreak-p
Glenn Morris [Tue, 28 Jan 2014 02:50:16 +0000 (21:50 -0500)]
Doc for fill-single-char-nobreak-p

* doc/emacs/text.texi (Fill Commands): Mention fill-single-char-nobreak-p.

* lisp/textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.

* etc/NEWS: Related edit.

10 years ago* doc/emacs/indent.texi: Fix typo in previous
Glenn Morris [Tue, 28 Jan 2014 02:17:51 +0000 (21:17 -0500)]
* doc/emacs/indent.texi: Fix typo in previous

10 years ago* doc/emacs/indent.texi (Tab Stops): Updates for new tab-stop behavior.
Glenn Morris [Tue, 28 Jan 2014 02:16:13 +0000 (21:16 -0500)]
* doc/emacs/indent.texi (Tab Stops): Updates for new tab-stop behavior.

* etc/NEWS: Related markup.

10 years agoSome doc related to tab-stops
Glenn Morris [Tue, 28 Jan 2014 01:49:02 +0000 (20:49 -0500)]
Some doc related to tab-stops

* doc/lispref/text.texi (Indent Tabs): Update related to tab-stops.

* lisp/indent.el (tab-stop-list): Doc fix.  Add :version.

10 years ago* lisp/vc/pcvs.el (cvs-append-to-ignore): Add compatibility alias.
Glenn Morris [Tue, 28 Jan 2014 00:39:50 +0000 (19:39 -0500)]
* lisp/vc/pcvs.el (cvs-append-to-ignore): Add compatibility alias.
(vc-editable-p, vc-checkout): Remove unused declarations.

* etc/NEWS: Small edits.

10 years ago* etc/NEWS: Small edits
Glenn Morris [Mon, 27 Jan 2014 22:27:16 +0000 (17:27 -0500)]
* etc/NEWS: Small edits

10 years agoSpelling fix.
Paul Eggert [Mon, 27 Jan 2014 22:22:17 +0000 (14:22 -0800)]
Spelling fix.

10 years ago* etc/NEWS: Tiny edits.
Glenn Morris [Mon, 27 Jan 2014 22:05:52 +0000 (17:05 -0500)]
* etc/NEWS: Tiny edits.

10 years ago* lisp/dired.el (dired-hide-details-mode): Don't autoload it,
Glenn Morris [Mon, 27 Jan 2014 21:42:53 +0000 (16:42 -0500)]
* lisp/dired.el (dired-hide-details-mode): Don't autoload it,
since it cannot be used outside Dired buffers anyway.

10 years agoSmall doc updates for CUA and dired
Glenn Morris [Mon, 27 Jan 2014 21:26:48 +0000 (16:26 -0500)]
Small doc updates for CUA and dired

* doc/emacs/dired.texi (Misc Dired Features): Copyedits for hide-details.

* lisp/dired.el (dired-hide-details-hide-symlink-targets)
(dired-hide-details-hide-information-lines)
(dired-hide-details-mode): Doc fixes.

* lisp/emulation/cua-base.el (cua-mode): Doc fix.

* etc/NEWS: Related edits.

* lisp/ChangeLog: Comment changes do not need ChangeLog entries.

10 years ago* etc/NEWS: Small calc edits.
Glenn Morris [Mon, 27 Jan 2014 19:56:13 +0000 (14:56 -0500)]
* etc/NEWS: Small calc edits.

In general, it is not necessary for NEWS to repeat information from an
option's doc-string.  All NEWS really has to do is advertise that the
option exists.

10 years ago* automated/file-notify-tests.el (file-notify--deftest-remote):
Michael Albinus [Mon, 27 Jan 2014 19:10:02 +0000 (20:10 +0100)]
* automated/file-notify-tests.el (file-notify--deftest-remote):
Do not skip when the local test has failed.  They are unrelated.
(file-notify--wait-for-events): Use `sit-for'.  Let-bind
`noninteractive' to nil, otherwise `sit-for' could be degraded to
`sleep-for'.
(file-notify-test02-events): Check for `file-remote-p' instead of
`file-notify--test-remote-enabled'.

10 years ago* whitespace.el (whitespace-enable-predicate): fix sense of comment.
Reuben Thomas [Mon, 27 Jan 2014 12:30:17 +0000 (12:30 +0000)]
* whitespace.el (whitespace-enable-predicate): fix sense of comment.
  Fixes bug #16564, from change of 2013-03-10.

10 years ago* lread.c (oblookup): Fix comment to match code.
Paul Eggert [Mon, 27 Jan 2014 05:29:30 +0000 (21:29 -0800)]
* lread.c (oblookup): Fix comment to match code.

10 years ago* doc/emacs/buffers.texi (List Buffers): Tiny edit.
Glenn Morris [Mon, 27 Jan 2014 02:03:26 +0000 (18:03 -0800)]
* doc/emacs/buffers.texi (List Buffers): Tiny edit.

10 years agoDoc, comment, etc updates for increased use of locate-user-emacs-file
Glenn Morris [Mon, 27 Jan 2014 02:02:28 +0000 (18:02 -0800)]
Doc, comment, etc updates for increased use of locate-user-emacs-file

This should have been a prerequisite for making these changes in the
first place.

* doc/emacs/calendar.texi (Time Intervals):
* doc/misc/idlwave.texi (Lesson III---User Catalog, Online Help)
(Starting the Shell, Catalogs, User Catalog):
* doc/misc/remember.texi (Quick Start):
* doc/misc/viper.texi:
* doc/misc/vip.texi (Customization, Customizing Constants)
(Customizing Key Bindings): Update for files being in ~/.emacs.d/.

* lisp/ido.el (ido-save-directory-list-file):
* lisp/saveplace.el (save-place-file):
* lisp/calendar/timeclock.el (timeclock-file):
* lisp/net/quickurl.el (quickurl-url-file):
* lisp/obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
* lisp/progmodes/idlwave.el (idlwave-config-directory):
* lisp/textmodes/remember.el (remember-data-file):
Bump :version.

* lisp/shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
* lisp/strokes.el (strokes-file): Doc fix.  Bump :version.
(strokes-help): Doc fix.
* lisp/emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
* lisp/emulation/viper.el (viper): Doc fix for custom group.
(top-level): Remove oh-so-no-longer-relevant text about vip.
* lisp/obsolete/otodo-mode.el (todo-prefix): Doc fix.

* etc/NEWS: Related edits.

10 years ago* etc/TODO: Addition.
Glenn Morris [Mon, 27 Jan 2014 00:36:40 +0000 (16:36 -0800)]
* etc/TODO: Addition.

10 years ago* data.c (Fstring_to_number): Document results if unparsable.
Paul Eggert [Sun, 26 Jan 2014 19:44:23 +0000 (11:44 -0800)]
* data.c (Fstring_to_number): Document results if unparsable.

Fixes: debbugs:16551

10 years ago* file-notify-tests.el (file-notify-test02-events): Let it fail in the
Michael Albinus [Sun, 26 Jan 2014 16:29:50 +0000 (17:29 +0100)]
* file-notify-tests.el (file-notify-test02-events): Let it fail in the
local case only.

10 years ago* automated/file-notify-tests.el (file-notify-test02-events):
Michael Albinus [Sun, 26 Jan 2014 16:20:13 +0000 (17:20 +0100)]
* automated/file-notify-tests.el (file-notify-test02-events):
Let test case fail for Bug#16519.

10 years ago* xterm.c (x_focus_changed): Check for non-X terminal-frame
Jan Djärv [Sun, 26 Jan 2014 12:17:55 +0000 (13:17 +0100)]
* xterm.c (x_focus_changed): Check for non-X terminal-frame

Fixes: debbugs:16540

10 years agoDoc updates for opascal.el
Glenn Morris [Sun, 26 Jan 2014 03:39:34 +0000 (19:39 -0800)]
Doc updates for opascal.el

* lisp/progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
Doc fix.  Make obsolete.
(opascal-mode): No longer mention opascal-tab-always-indents in doc.

* doc/emacs/ack.texi (Acknowledgments):
* doc/emacs/programs.texi (Program Modes):
Update for delphi.el -> opascal.el renaming.

* etc/NEWS: Edits.

10 years agoWhen decoding, prefer ptrdiff_t to int for buffer positions etc.
Paul Eggert [Sun, 26 Jan 2014 01:20:24 +0000 (17:20 -0800)]
When decoding, prefer ptrdiff_t to int for buffer positions etc.

* coding.c (detect_coding_utf_8, emacs_mule_char)
(detect_coding_iso_2022, encode_coding_iso_2022, check_ascii)
(check_utf_8, decode_coding):
* coding.h (struct coding_system.errors):
Use ptrdiff_t, not int, for integer values derived from buffer and
string positions.

10 years ago* doc/emacs/misc.texi (Sorting): Add findex for reverse-region.
Glenn Morris [Sun, 26 Jan 2014 01:11:10 +0000 (17:11 -0800)]
* doc/emacs/misc.texi (Sorting): Add findex for reverse-region.

10 years agoSome doc for delete-duplicate-lines
Glenn Morris [Sun, 26 Jan 2014 01:10:18 +0000 (17:10 -0800)]
Some doc for delete-duplicate-lines

* doc/emacs/killing.texi (Deletion): Mention delete-duplicate-lines.

* lisp/sort.el (delete-duplicate-lines): Doc fix.

* etc/NEWS: Related edit.

10 years agoFix ChangeLog typos.
Juanma Barranquero [Sun, 26 Jan 2014 00:47:40 +0000 (01:47 +0100)]
Fix ChangeLog typos.