]> code.delx.au - gnu-emacs/log
gnu-emacs
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.

10 years agoFix crash with insert-file-contents and misdecoded text.
Paul Eggert [Sun, 26 Jan 2014 00:32:30 +0000 (16:32 -0800)]
Fix crash with insert-file-contents and misdecoded text.

* fileio.c (Finsert_file_contents): Set CODING_MODE_LAST_BLOCK
before invoking decode_coding_gap, since there's just one block.

Fixes: debbugs:16286
10 years agoLink to info manual in `defgroup'.
Rüdiger Sonderfeld [Sat, 25 Jan 2014 19:15:42 +0000 (20:15 +0100)]
Link to info manual in `defgroup'.

* lisp/progmodes/ada-mode.el (ada):
* lisp/woman.el (woman): Link to info manual and Commentary section.

* lisp/url/url-vars.el (url):
* lisp/erc/erc.el (erc):
* lisp/progmodes/flymake.el (flymake):
* lisp/nxml/nxml-mode.el (nxml):
* lisp/net/eww.el (eww):
* lisp/speedbar.el (speedbar, speedbar-faces, speedbar-vc):
* lisp/htmlfontify.el (htmlfontify):
* lisp/ses.el (ses):
* lisp/epa.el (epa):
* lisp/ido.el (ido): Link to info manual.

10 years ago* progmodes/flymake.el (flymake-make-overlay): No rear advance.
Leo Liu [Sat, 25 Jan 2014 18:32:34 +0000 (02:32 +0800)]
* progmodes/flymake.el (flymake-make-overlay): No rear advance.

10 years agoFix handling of face attributes in Fx_create_frame (Bug#16529).
Martin Rudalics [Sat, 25 Jan 2014 14:39:49 +0000 (15:39 +0100)]
Fix handling of face attributes in Fx_create_frame (Bug#16529).

* w32fns.c (Fx_create_frame): Don't inhibit running Lisp code
too early.  Again run change_frame_size before assigning menu-
and tool-bar-lines.

10 years agoFix bug #16517 with display change on MS-Windows while in full-screen mode.
Fabrice Popineau [Sat, 25 Jan 2014 13:04:48 +0000 (15:04 +0200)]
Fix bug #16517 with display change on MS-Windows while in full-screen mode.

 src/w32term.c (w32_read_socket): When the WM_DISPLAYCHANGE message
 arrives, call x_check_fullscreen, in case the new display has a
 different resolution.

10 years agoFix bug #16479 with client connections while TTY menu is open.
Eli Zaretskii [Sat, 25 Jan 2014 08:25:51 +0000 (10:25 +0200)]
Fix bug #16479 with client connections while TTY menu is open.

 src/term.c (read_menu_input): If the selected frame changes, exit
 the menu.
 (tty_menu_show): If the selected frame changes while we displayed
 a menu, throw to top level.

10 years ago* doc/misc/cc-mode.texi (Minor Modes): Minor fix.
Xue Fuqiao [Sat, 25 Jan 2014 04:53:33 +0000 (12:53 +0800)]
* doc/misc/cc-mode.texi (Minor Modes): Minor fix.

10 years ago* src/eval.c (Fsignal): Fix `debug' handling to match 2013-10-03 change.
Stefan Monnier [Sat, 25 Jan 2014 03:48:29 +0000 (22:48 -0500)]
* src/eval.c (Fsignal): Fix `debug' handling to match 2013-10-03 change.

10 years agoTypo fix.
Xue Fuqiao [Sat, 25 Jan 2014 03:00:52 +0000 (11:00 +0800)]
Typo fix.

10 years ago* net/shr.el (shr-tag-img): Prefer the title over the alt text.
Adam Sjøgren [Sat, 25 Jan 2014 00:52:16 +0000 (17:52 -0700)]
* net/shr.el (shr-tag-img): Prefer the title over the alt text.

Fixes: debbugs:16537
10 years agoFix references in EIEIO documentation.
David Engster [Fri, 24 Jan 2014 22:15:29 +0000 (23:15 +0100)]
Fix references in EIEIO documentation.

* eieio.texi (Introduction): Fix references.

10 years agoFix bool-vector-count-population bug on MinGW64.
Paul Eggert [Fri, 24 Jan 2014 20:55:22 +0000 (12:55 -0800)]
Fix bool-vector-count-population bug on MinGW64.

* data.c (count_one_bits_word): Fix bug (negated comparison)
when BITS_PER_ULL < BITS_PER_BITS_WORD.

Fixes: debbugs:16535
10 years agoRemove stray ".".
Paul Eggert [Fri, 24 Jan 2014 18:36:44 +0000 (10:36 -0800)]
Remove stray ".".

10 years agoSpelling fix.
Paul Eggert [Fri, 24 Jan 2014 18:32:25 +0000 (10:32 -0800)]
Spelling fix.

10 years ago* editfns.c (Fconstrain_to_field): Fix typo in docstring.
Bastien Guerry [Fri, 24 Jan 2014 16:05:12 +0000 (17:05 +0100)]
* editfns.c (Fconstrain_to_field): Fix typo in docstring.

10 years ago* etc/NEWS: Fix typos
Glenn Morris [Fri, 24 Jan 2014 07:45:40 +0000 (23:45 -0800)]
* etc/NEWS: Fix typos

10 years ago* etc/NEWS.21: lesstif.org domain is defunct, use sourceforge site.
Glenn Morris [Fri, 24 Jan 2014 07:43:34 +0000 (23:43 -0800)]
* etc/NEWS.21: lesstif.org domain is defunct, use sourceforge site.

10 years ago* etc/NEWS: Small edits.
Glenn Morris [Fri, 24 Jan 2014 07:41:42 +0000 (23:41 -0800)]
* etc/NEWS: Small edits.

10 years agoMisc small doc updates
Glenn Morris [Fri, 24 Jan 2014 07:36:34 +0000 (23:36 -0800)]
Misc small doc updates

* doc/emacs/ack.texi (Acknowledgments): No longer mention obsolete terminal.el.

* doc/misc/efaq.texi (Termcap/Terminfo entries for Emacs):
Use M-x term rather than M-x terminal-emulator.

* etc/NEWS: Related markup.

10 years agoMisc small doc updates
Glenn Morris [Fri, 24 Jan 2014 07:29:39 +0000 (23:29 -0800)]
Misc small doc updates

* doc/emacs/ack.texi (Acknowledgments): No longer mention obsolete xesam.el.

* lisp/woman.el (woman-default-faces, woman-monochrome-faces):
Fix obsolescence specification.

* etc/NEWS: Related markup.

10 years ago* net/eww.el (eww-download-callback): Fix reference to eww-download-directory.
Juanma Barranquero [Fri, 24 Jan 2014 04:15:13 +0000 (05:15 +0100)]
* net/eww.el (eww-download-callback): Fix reference to eww-download-directory.

10 years agoSilence byte-compiler warning.
Juanma Barranquero [Fri, 24 Jan 2014 04:13:35 +0000 (05:13 +0100)]
Silence byte-compiler warning.

* emacs-lisp/bytecomp.el (byte-compile-file):
Remove unused local variable `file-name'.

10 years agoDoc updates for with-demoted-errors
Glenn Morris [Fri, 24 Jan 2014 04:11:48 +0000 (20:11 -0800)]
Doc updates for with-demoted-errors

* doc/lispref/control.texi (Handling Errors): Update with-demoted-errors.

* lisp/subr.el (with-demoted-errors): Doc fix.

* etc/NEWS: Related edit.

10 years ago* doc/misc/emacs-mime.texi (time-date): Use float-time.
Glenn Morris [Fri, 24 Jan 2014 03:57:53 +0000 (19:57 -0800)]
* doc/misc/emacs-mime.texi (time-date): Use float-time.

* etc/NEWS: Related edit.

10 years ago* xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction): Avoid
Dmitry Antipov [Fri, 24 Jan 2014 03:53:16 +0000 (07:53 +0400)]
* xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction): Avoid
undefined behavior by initializing display property bit of a
string processed by the bidirectional iterator.  For details, see
<http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01920.html>.

10 years ago* doc/lispref/files.texi (File Locks): Every platform supports locking now.
Glenn Morris [Fri, 24 Jan 2014 03:51:52 +0000 (19:51 -0800)]
* doc/lispref/files.texi (File Locks): Every platform supports locking now.

10 years ago* doc/emacs/files.texi (Interlocking): Copyedit.
Glenn Morris [Fri, 24 Jan 2014 03:34:31 +0000 (19:34 -0800)]
* doc/emacs/files.texi (Interlocking): Copyedit.

* etc/NEWS: Related small edits.

10 years agoDocument 2014-01-22T19:02:41Z!eggert@cs.ucla.edu better.
Paul Eggert [Thu, 23 Jan 2014 17:59:46 +0000 (09:59 -0800)]
Document 2014-01-22T19:02:41Z!eggert@cs.ucla.edu better.

10 years agoMinor cleanup of previous change.
Paul Eggert [Thu, 23 Jan 2014 17:27:37 +0000 (09:27 -0800)]
Minor cleanup of previous change.

* image.c (imagemagick_error, Fimagemagick_types):
Omit some recently-introduced and unnecessary casts and assignments.

10 years ago* lisp/emacs-lisp/cl-macs.el: Improve type->predicate mapping.
Stefan Monnier [Thu, 23 Jan 2014 15:01:41 +0000 (10:01 -0500)]
* lisp/emacs-lisp/cl-macs.el: Improve type->predicate mapping.
(cl--macroexp-fboundp): New function.
(cl--make-type-test): Use it.

Fixes: debbugs:16520
10 years agoFix two memory leaks discovered with Valgrind.
Dmitry Antipov [Thu, 23 Jan 2014 12:18:08 +0000 (16:18 +0400)]
Fix two memory leaks discovered with Valgrind.
* ftfont.c (ftfont_list) [HAVE_LIBOTF]: Call OTF_close.
* image.c (Fimagemagick_types): Call MagickRelinquishMemory.

10 years ago* doc/emacs/building.texi (Lisp Eval): Update prefix argument behavior
Glenn Morris [Thu, 23 Jan 2014 08:27:44 +0000 (00:27 -0800)]
* doc/emacs/building.texi (Lisp Eval): Update prefix argument behavior
of eval-expression, eval-last-sexp.

* etc/NEWS: Related edit.

10 years ago* emacs-lisp-intro.texi (lengths-list-file): Fix textual parentheses.
Glenn Morris [Thu, 23 Jan 2014 08:21:53 +0000 (00:21 -0800)]
* emacs-lisp-intro.texi (lengths-list-file): Fix textual parentheses.

10 years agoDoc fixes related to zero prefix argument of eval-expression etc
Glenn Morris [Thu, 23 Jan 2014 07:53:56 +0000 (23:53 -0800)]
Doc fixes related to zero prefix argument of eval-expression etc

* emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
* simple.el (eval-expression): Doc fixes.

10 years agoMerge from gnulib.
Paul Eggert [Thu, 23 Jan 2014 02:48:44 +0000 (18:48 -0800)]
Merge from gnulib.

This incorporates:
2014-01-22 qacl: check for fchmod
* m4/acl.m4: Update from gnulib.

10 years ago* etc/NEWS: Small edits
Glenn Morris [Thu, 23 Jan 2014 02:38:18 +0000 (21:38 -0500)]
* etc/NEWS: Small edits

10 years ago* etc/PROBLEMS: Remove more obsolete stuff, modernize exec-shield a bit,
Glenn Morris [Thu, 23 Jan 2014 02:11:13 +0000 (21:11 -0500)]
* etc/PROBLEMS: Remove more obsolete stuff, modernize exec-shield a bit,
downplay LessTif (Motif is free software now).

10 years ago* etc/TODO: Addition.
Glenn Morris [Thu, 23 Jan 2014 02:09:55 +0000 (21:09 -0500)]
* etc/TODO: Addition.

10 years agoDownplay LessTif in docs, since Motif is now free software,
Glenn Morris [Thu, 23 Jan 2014 02:09:31 +0000 (21:09 -0500)]
Downplay LessTif in docs, since Motif is now free software,
and even http://lesstif.sourceforge.net/ recommends it over LessTif.

10 years agoUpdate EIEIO documentation.
David Engster [Wed, 22 Jan 2014 21:50:47 +0000 (22:50 +0100)]
Update EIEIO documentation.

* eieio.texi (Introduction): Move introductory paragraph about
EIEIO and CLOS from 'Building Classes' to here.
(Documentation): Remove, since eieio-doc is not part of Emacs.
(Class Values, CLOS compatibility): Mention that
`describe-function' will also give information about classes.

10 years agoTweak earlier version.el change
Glenn Morris [Wed, 22 Jan 2014 21:14:34 +0000 (16:14 -0500)]
Tweak earlier version.el change

10 years ago* lisp/emacs-lisp/authors.el (authors-fixed-entries): Addition.
Glenn Morris [Wed, 22 Jan 2014 20:05:03 +0000 (15:05 -0500)]
* lisp/emacs-lisp/authors.el (authors-fixed-entries): Addition.

10 years agoFix MS-Windows build in lib-src broken by last commit.
Eli Zaretskii [Wed, 22 Jan 2014 19:38:31 +0000 (21:38 +0200)]
Fix MS-Windows build in lib-src broken by last commit.

 lib-src/update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
 instead of fchmod.

10 years agoChangeLog fix.
Glenn Morris [Wed, 22 Jan 2014 19:26:45 +0000 (14:26 -0500)]
ChangeLog fix.

* lisp/ChangeLog: The installed change was based on this one:
http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00372.html

* etc/NEWS: Fix based on the fact that this does not work out of the box,
unless you fetch the notes, as described in
  http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00015.html
Seems very non-intuitive to me...

10 years ago* lisp/emacs-lisp/package.el: Write files silently.
Stefan Monnier [Wed, 22 Jan 2014 19:22:45 +0000 (14:22 -0500)]
* lisp/emacs-lisp/package.el: Write files silently.
(package-autoload-ensure-default-file)
(package-generate-description-file, package--write-file-no-coding)
(package-install-from-archive, package--download-one-archive):
Tell `write-region' to stay quiet.
(package-menu-mode, package-menu--print-info): Omit the Archive column
if there's only one archive.
(package-all-keywords, package--has-keyword-p): Remove dead code.

10 years agoFix miscellaneous update-game-score bugs.
Paul Eggert [Wed, 22 Jan 2014 19:02:41 +0000 (11:02 -0800)]
Fix miscellaneous update-game-score bugs.

* configure.ac (difftime): Remove.
* lib/update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
(read_score) [HAVE_GETDELIM]: Don't access uninitialized storage.
(read_scores, write_scores): Check for fclose failure.
(write_scores): Use fchmod, not chmod, to avoid a race.
(lock_file): Fix test for out-of-date lock file; it was reversed.
Use ordinary subtraction rather than difftime; since we're already
assuming POSIX we don't need to worry about the possibility of
time_t being a magic cookie.

10 years ago* lisp/version.el (emacs-bzr-version-bzr): Fix typo.
Glenn Morris [Wed, 22 Jan 2014 18:29:40 +0000 (13:29 -0500)]
* lisp/version.el (emacs-bzr-version-bzr): Fix typo.

10 years ago* version.el (emacs-repository-get-version): Avoid error if .git exists but
Glenn Morris [Wed, 22 Jan 2014 17:34:27 +0000 (09:34 -0800)]
* version.el (emacs-repository-get-version): Avoid error if .git exists but
the git executable is not found.

10 years agoFixes for emacs-repository-get-version
Glenn Morris [Wed, 22 Jan 2014 17:26:14 +0000 (09:26 -0800)]
Fixes for emacs-repository-get-version

* lisp/version.el (emacs-repository-get-version):
Check either .bzr or .git, but not both.
Make the git case actually use the DIR argument, and return nil
rather than the empty string.

* etc/NEWS: Don't mention that emacs-repository-version works for git,
because it only returns nil (since it uses %N and there seem to be no
notes in the git version of the Emacs repo.)
No idea why this change is in trunk during a feature freeze anyway.

10 years agoFixes in window size functions around Bug#16430 and Bug#16470.
Martin Rudalics [Wed, 22 Jan 2014 10:29:23 +0000 (11:29 +0100)]
Fixes in window size functions around Bug#16430 and Bug#16470.

* window.c (Fwindow_pixel_width, Fwindow_pixel_height)
(Fwindow_mode_line_height, Fwindow_header_line_height)
(Fwindow_right_divider_width, Fwindow_bottom_divider_width):
Minor doc-string adjustments.
(Fwindow_total_height, Fwindow_total_width): New argument ROUND.
Rewrite doc-strings.
(window_body_height, window_body_width): Do not count partially
visible lines/columns when PIXELWISE is nil (Bug#16470).
(Qfloor, Qceiling): New symbols.
* window.el (window-total-size, window-size): New argument
ROUND.
(window--min-delta-1, window-min-delta, window--max-delta-1): Be
more conservative when calculating the numbers of lines or
columns a window can shrink (Bug#16430).
(fit-window-to-buffer): Simplify code.
* term.el (term-window-width): Call window-body-width again.

10 years ago* automated/file-notify-tests.el (file-notify-test02-events):
Michael Albinus [Wed, 22 Jan 2014 10:02:46 +0000 (11:02 +0100)]
* automated/file-notify-tests.el (file-notify-test02-events):
Hide Bug#16519, until it is solved.

10 years agoSome doc for image-format-suffixes
Glenn Morris [Wed, 22 Jan 2014 08:30:00 +0000 (00:30 -0800)]
Some doc for image-format-suffixes

* doc/lispref/display.texi (ImageMagick Images):
Expand on image-format-suffixes.

* lisp/image.el (image-format-suffixes): Doc fix.

* etc/NEWS: Related markup.

10 years ago* lisp/international/quail.el (quail-define-package): Doc fix.
Glenn Morris [Wed, 22 Jan 2014 07:55:53 +0000 (23:55 -0800)]
* lisp/international/quail.el (quail-define-package): Doc fix.

* etc/NEWS: Related edit.

10 years agoauthors.el small additions
Glenn Morris [Wed, 22 Jan 2014 07:35:50 +0000 (23:35 -0800)]
authors.el small additions

* lisp/emacs-lisp/authors.el (authors-valid-file-names):
(authors-renamed-files-alist): Additions.

* lisp/ChangeLog.5, etc/ChangeLog: Clarify old entries.

10 years agoUnduplicate the lib-src/ and etc/ ChangeLogs
Glenn Morris [Wed, 22 Jan 2014 02:44:44 +0000 (21:44 -0500)]
Unduplicate the lib-src/ and etc/ ChangeLogs

* lisp/emacs-lisp/authors.el (authors-valid-file-names): Related additions.

10 years ago* lisp/vc/vc-git.el (vc-git-print-log): Remove --follow;
Glenn Morris [Wed, 22 Jan 2014 02:01:40 +0000 (21:01 -0500)]
* lisp/vc/vc-git.el (vc-git-print-log): Remove --follow;
reverts 2014-01-09 change.

Fixes: debbugs:16422
10 years agoSet Maintainer: FSF in some files
Glenn Morris [Wed, 22 Jan 2014 01:54:10 +0000 (20:54 -0500)]
Set Maintainer: FSF in some files

10 years agoFix some function declarations
Glenn Morris [Wed, 22 Jan 2014 01:50:40 +0000 (20:50 -0500)]
Fix some function declarations

* lisp/calc/calc-embed.el (thing-at-point-looking-at):
* lisp/emacs-lisp/map-ynp.el (x-popup-dialog):
* lisp/obsolete/lmenu.el (x-popup-dialog):
* lisp/emacs-lisp/package.el (url-recreate-url):
* lisp/mail/mailclient.el (clipboard-kill-ring-save):
* lisp/subr.el (x-popup-dialog): Update declaration.

* lisp/mail/rmail.el (rmail-mime-message-p):
* lisp/window.el (tool-bar-lines-needed): Remove unnecessary declaration.

10 years agoChangeLog fixes
Glenn Morris [Wed, 22 Jan 2014 01:43:37 +0000 (20:43 -0500)]
ChangeLog fixes

10 years agoFix here-doc highlighting
Daniel Colascione [Tue, 21 Jan 2014 23:42:59 +0000 (15:42 -0800)]
Fix here-doc highlighting

10 years agoChangeLog fix
Glenn Morris [Tue, 21 Jan 2014 17:21:19 +0000 (09:21 -0800)]
ChangeLog fix

10 years agoFix bug #16509 with segfault in an assertion when exiting due to missing font.
Eli Zaretskii [Tue, 21 Jan 2014 16:08:31 +0000 (18:08 +0200)]
Fix bug #16509 with segfault in an assertion when exiting due to missing font.

 src/w32fns.c (unwind_create_frame): Avoid crashing inside assertion
 when the image cache is not yet allocated.