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

114863 commits

Author SHA1 Message Date
Glenn Morris
7b997b1458 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.
2014-01-22 00:30:00 -08:00
Glenn Morris
44e76f9dd1 * lisp/international/quail.el (quail-define-package): Doc fix.
* etc/NEWS: Related edit.
2014-01-21 23:55:53 -08:00
Glenn Morris
73c1c6d795 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.
2014-01-21 23:35:50 -08:00
Glenn Morris
7bfc1caa62 Unduplicate the lib-src/ and etc/ ChangeLogs
* lisp/emacs-lisp/authors.el (authors-valid-file-names): Related additions.
2014-01-21 21:44:44 -05:00
Glenn Morris
85a5f61f29 * lisp/vc/vc-git.el (vc-git-print-log): Remove --follow;
reverts 2014-01-09 change.

Fixes: debbugs:16422
2014-01-21 21:01:40 -05:00
Glenn Morris
213763c134 Set Maintainer: FSF in some files 2014-01-21 20:54:10 -05:00
Glenn Morris
cc0f2ece47 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.
2014-01-21 20:50:40 -05:00
Glenn Morris
1bf6ecf2b3 ChangeLog fixes 2014-01-21 20:43:37 -05:00
Daniel Colascione
00d2a6bb26 Fix here-doc highlighting 2014-01-21 15:42:59 -08:00
Glenn Morris
79b61bccf8 ChangeLog fix 2014-01-21 09:21:19 -08:00
Eli Zaretskii
f7551c6c33 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.
2014-01-21 18:08:31 +02:00
Michael Albinus
63389c254e * automated/file-notify-tests.el
(file-notify--test-local-enabled): Fix error in logic.
(file-notify--wait-for-events): New defmacro.
(file-notify-test02-events): Make short breaks between file operations.
Use `file-notify--wait-for-events'.  Check, that events have arrived.
(file-notify-test03-autorevert): Use `file-notify--wait-for-events'.
2014-01-21 14:31:39 +01:00
Stefan Monnier
dd9d2e9d1e * lisp/emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
(eldoc--message-command-p): New function.
(eldoc-display-message-p): Use it.
(eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
message is not automatically erased for us.
(eldoc-print-current-symbol-info): Erase previous message, if any.
2014-01-21 08:09:55 -05:00
Glenn Morris
38942b9cf5 ChangeLog fixes 2014-01-21 00:49:46 -08:00
Michael Albinus
ca4cfde314 * automated/comint-testsuite.el
(comint-testsuite-password-strings): Add localized examples.
2014-01-21 09:32:06 +01:00
Tassilo Horn
4ff0a0e5c0 Fix reftex-create-bibtex-file autoload.
* lisp/textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
specify it's an interactive function.
2014-01-21 09:26:31 +01:00
Tassilo Horn
e7d807cae8 Fix regex used for searching citation keys.
* lisp/textmodes/reftex-cite.el (reftex-all-used-citation-keys): Fix
regex used for scanning for citation keys which failed for
citations with optional arguments.
2014-01-21 09:18:30 +01:00
Dmitry Antipov
5004c3bfbb * buffer.c (Fkill_buffer): When killing an indirect buffer,
re-attach intervals to its base buffer (Bug#16502).
* intervals.c (set_interval_object): Move from here...
* intervals.h (set_interval_object): ... to here.  Fix comments.
2014-01-21 06:28:57 +04:00
Leo Liu
8750379121 * simple.el (read--expression): Don't enable eldoc-mode. 2014-01-21 09:58:16 +08:00
Glenn Morris
2fb6d9c6d6 ChangeLog fixes 2014-01-20 17:39:59 -05:00
Paul Eggert
cec62009bb Merge from gnulib.
This incorporates:
2014-01-20 stdalign: port to HP-UX compilers
2014-01-16 strtoimax: port to platforms lacking 'long long'
2014-01-16 update from texinfo
* doc/misc/texinfo.tex, lib/stdalign.in.h, lib/strtoimax.c:
Update from gnulib.
2014-01-20 12:48:14 -08:00
Glenn Morris
2d3c36db70 * etc/NEWS: Small edits 2014-01-20 15:07:57 -05:00
Glenn Morris
64295f83c5 Do not document subr-x.el in the manuals
* doc/lispref/hash.texi (Other Hash): Do not mention subr-x.el functions;
reverts 2013-12-22 change.

* lisp/emacs-lisp/subr-x.el: Comment.

* etc/NEWS: Small related edits.
2014-01-20 15:05:04 -05:00
Glenn Morris
a6c4680aa2 Fix spelling of "GNUstep" 2014-01-20 14:44:56 -05:00
Stefan Monnier
6cc750eec4 * lisp/simple.el (move-beginning-of-line): Make sure we don't move forward.
Fixes: debbugs:16497
2014-01-20 14:15:10 -05:00
Paul Eggert
009581fa65 Apply previous change even if valgrind is not in use, since it avoids undefined behavior. This is simpler. 2014-01-20 08:55:28 -08:00
Paul Eggert
3c35702fe9 Pacify valgrind by initializing buffer redisplay bit.
Problem reported by Dmitry Antipov in
<http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01756.html>.
* alloc.c (USE_VALGRIND): Move this to ...
* conf_post.h (USE_VALGRIND): ... here.  Use booleans.
* buffer.c (Fget_buffer_create): Initialize redisplay bit
to pacify valgrind.
2014-01-20 08:47:41 -08:00
Juri Linkov
71f16bdad4 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
(save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
'dired-mode) before checking for dired-directory.

Fixes: debbugs:16477
2014-01-20 10:52:44 +02:00
Juri Linkov
3c5a4839a1 * lisp/indent.el (indent-line-to): Use backward-to-indentation
instead of back-to-indentation.

Fixes: debbugs:16461
2014-01-20 10:45:56 +02:00
Paul Eggert
21cf454545 Spelling fix. 2014-01-20 00:15:16 -08:00
Paul Eggert
f952002e0a Revert some of the CANNOT_DUMP fix.
Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
but fixing this can wait until after the next release.
* leim/Makefile.in (RUN_EMACS): Keep EMACSLOADPATH empty.
* lisp/Makefile.in (emacs): Keep EMACSLOADPATH empty.
* src/lread.c (init_lread): Fix typo: NILP, not !NILP.

Fixes: debbugs:16494
2014-01-19 23:56:28 -08:00
Glenn Morris
8251c3f8f5 * etc/NEWS: Small edits 2014-01-19 17:21:18 -08:00
Glenn Morris
2040a2feb2 * etc/NEWS: Small edits 2014-01-19 16:54:19 -08:00
Martin Rudalics
ad9eb30a3f Extend last fix of term-window-width (Bug#16470). 2014-01-19 17:59:51 +01:00
Eli Zaretskii
21f9541125 Fix Cygwin w32 build broken by last commit in w32font.c.
src/w32font.c (w32_load_unicows_or_gdi32, get_outline_metrics_w)
 (get_text_metrics_w, get_glyph_outline_w, get_char_width_32_w)
 [!WINDOWSNT]: These functions are no longer compiled on Cygwin;
 they are replaced by macros that expand into direct calls to the
 corresponding functions from GDI32.DLL.
 (globals_of_w32font) [WINDOWSNT]: Don't initialize g_b_* static
 variables in the Cygwin build, they are unused.
2014-01-19 17:42:48 +02:00
Kenichi Handa
75f3311ef7 merge trunk 2014-01-19 22:27:34 +09:00
Kenichi Handa
d25f735b87 composite.c (composition_update_it): Fix previous change. 2014-01-19 22:26:21 +09:00
Michael Albinus
9367550017 * eshell/esh-mode.el (eshell-password-prompt-regexp):
Use `password-word-equivalents'.
(eshell-watch-for-password-prompt): Let-bind `case-fold-search'
to t.  (Bug#5664, Bug#13124)
2014-01-19 14:23:18 +01:00
Alan Mackenzie
e3af763f4d Bind open-paren-in-column-0-is-defun-start to nil at some entry points.
* progmodes/cc-engine.el (c-invalidate-state-cache-1)
(c-parse-state-1, c-guess-basic-syntax):  Bind it here.
* progmodes/cc-mode.el (c-before-change, c-after-change)
(c-font-lock-fontify-region): Bind it here.
2014-01-19 12:32:47 +00:00
Martin Rudalics
4ff6d92ddd In term-window-width call window-text-width instead of window-width (Bug#16470).
* term.el (term-window-width): Call window-text-width instead of
window-width (Bug#16470).
2014-01-19 10:24:26 +01:00
Paul Eggert
d70efef4a8 update-game-score fixes for -m and integer overflow
* update-game-score.c: Include inttypes.h, stdbool.h.
(min): New macro, if not already defined.
(MAX_SCORES, main): Limit the maximum number of scores only from
limits imposed by the underyling platform, instead of the
arbitrary value 200.
(struct score_entry, main, read_score, write_score):
Scores are now intmax_t, not long.
(get_user_id): Reject user names containing spaces or newlines,
as they would mess up the score file.
Allow uids that don't fit in 'long'.
Increase the size of the buffer, to avoid overrun in weird cases.
(get_prefix, main): Use bool for boolean.
(main): Rewrite expr to avoid possibility of signed integer
overflow.  Don't allow newlines in data, as this would mess up
the score file.  Check for memory allocation failure when adding
the new score, or when unlockint the file.  Implement -m.
(read_score): Check for integer overflow when reading a score.
(read_score) [!HAVE_GETDELIM]: Check for integer overflow when
data gets very long.  Check only for space to delimit names,
since that's what's done in the HAVE_GETDELIM case.
(read_scores): New parameter ALLOC.  Change counts to ptrdiff_t.
All uses changed.  Use push_score to add individual scores;
that's simpler than repeating its contents.
(score_compare_reverse): Simplify.
(push_score): New parameter SIZE.  Change counts to ptrdiff_t.
All uses changed.  Check for integer overflow of size calculation.
(sort_scores, write_scores): Change counts to ptrdiff_t.
(unlock_file): Preserve errno on success, so that storage
exhaustion is diagnosed correctly.

Fixes: debbugs:16428
2014-01-19 00:50:53 -08:00
Paul Eggert
9a685cf6bd * simple.el (password-word-equivalents): Remove duplicates.
Sort, to make this easier next time.
Downcase.  Omit ": " after "jelszó".
2014-01-18 14:23:38 -08:00
Steinar Bang
ee1a30fb07 lisp/gnus/gnus-setup.el (gnus-use-sendmail): We never use sendmail for mail reading 2014-01-18 20:46:53 +00:00
Jan Djärv
5aa78c2dba * lisp/term/common-win.el (saved-region-selection): Defvar it.
(x-select-text): Set saved-region-selection.

Fixes: debbugs:16382
2014-01-18 16:11:03 +01:00
Eli Zaretskii
5197f0c2fe Fix file name handling on MS-Windows 9X.
src/w32.c (maybe_load_unicows_dll): New function.
 src/emacs.c (main) [WINDOWSNT]: Call maybe_load_unicows_dll early
 on, to make sure we can convert file names to and from UTF-8 on
 Windows 9X.  This fixes a failure to start up because Emacs cannot
 find term/w32-win.el.  Reported by oslsachem <oslsachem@gmail.com>.
 src/w32font.c [WINDOWSNT]: Include w32.h.
 (w32_load_unicows_or_gdi32): Call maybe_load_unicows_dll, instead
 of implementing the same stuff.
 Remove now unused g_b_init_is_windows_9x.
 src/w32.h (maybe_load_unicows_dll): Add prototype.

 nt/runemacs.c (ensure_unicows_dll): Don't tell in the message box
 that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
 w32.c:maybe_load_unicows_dll and its callers for the reason.
2014-01-18 13:46:22 +02:00
Glenn Morris
812a093042 ChangeLog and Author: header comment fixes 2014-01-17 20:51:38 -05:00
Glenn Morris
381c14687b * lisp/emacs-lisp/authors.el (authors-aliases): Add more entries 2014-01-17 20:50:56 -05:00
Glenn Morris
cabb250c0d Add some entries to authors.el variables
* lisp/emacs-lisp/authors.el (authors-aliases)
(authors-renamed-files-alist): Add some entries.
2014-01-17 20:29:25 -05:00
Glenn Morris
2e48fe3121 ChangeLog fixes 2014-01-17 20:27:51 -05:00
Michael Albinus
8953518079 Add :version tag to `tramp-password-prompt-regexp'. 2014-01-17 19:24:09 +01:00