summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix port to 32-bit AIX with xlc.Paul Eggert2014-05-307-13/+32
| | | | | | | | | | | | | This doesn't fix Bug#17598, but it does fix a regression since Emacs built with xlc until recently, and perhaps it'll help us fix Bug#17598. * configure.ac (GC_SETJMP_WORKS): Define for AIX, too. Merge from gnulib, incorporating: 2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1 * lib/ftoastr.c: Update from gnulib. * src/alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE. * src/conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty. * src/lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum, to work around a compiler bug in IBM xlc 12.1.
* Fix typo in previousGlenn Morris2014-05-291-1/+1
|
* package.el: Fix some version tagsGlenn Morris2014-05-292-3/+8
| | | | | * lisp/emacs-lisp/package.el (package-check-signature) (package-unsigned-archives): Fix :version.
* Fix bug #17588 with mouse highlight when an X frame is redisplayed frequently.Eli Zaretskii2014-05-292-1/+13
| | | | | | src/xterm.c (x_update_window_end): Don't invalidate the entire mouse-highlight info, just signal frame_up_to_date_hook that mouse highlight needs to be redisplayed.
* * lisp/subr.el (sit-for): Don't run input-methods.Stefan Monnier2014-05-292-1/+10
| | | | Fixes: debbugs:15614
* Do not mention individual ns options in the manualGlenn Morris2014-05-283-26/+11
| | | | | | | * doc/emacs/macos.texi (Mac / GNUstep Customization): Mention ns custom group. (Customization options specific to Mac OS / GNUstep): Remove section. * etc/NEWS: Related markup.
* Port the GDB-visible symbols to AIX.Paul Eggert2014-05-282-4/+38
| | | | | | | | | | Without them, GDB doesn't work to debug Emacs, since the AIX linker optimizes away the relevant external symbols. Use enums instead; this suffices for the AIX port, which is 32-bit-only anyway. * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros. (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them. (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): New macros.
* Remove pointless FOR-RELEASE noteGlenn Morris2014-05-281-2/+0
|
* * lisp/cus-start.el: Fix some :version numbers.Glenn Morris2014-05-282-6/+10
|
* Try to document some OS X changesGlenn Morris2014-05-283-9/+34
| | | | | | | | | I can't test any of this, but no-one else seems to care, so this is what you get. * doc/emacs/macos.texi (Mac / GNUstep Customization): Mention some new features. * etc/NEWS: Related edits.
* * html2text.el (html2text-get-attr): Fix typo when splitting value fromAndreas Schwab2014-05-282-1/+6
| | | | attribute. (Bug#17613)
* * lisp/simple.el (deactivate-mark): Set mark-active to nil even if deactivationStefan Monnier2014-05-272-11/+11
| | | | | is done via setting transient-mark-mode to nil, since one is buffer-local and the other is global.
* * lisp/emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assumeStefan Monnier2014-05-272-8/+15
| | | | | | there can't be more than 2 arguments. Fixes: debbugs:17584
* Spelling fix.Paul Eggert2014-05-261-1/+1
|
* Doc updates re filter-buffer-substringGlenn Morris2014-05-266-52/+72
| | | | | | | | | | | | | * lisp/simple.el (filter-buffer-substring-functions) (filter-buffer-substring-function, buffer-substring-filters) (filter-buffer-substring, buffer-substring--filter): Doc fixes. * doc/lispref/text.texi (Buffer Contents): Update for filter-buffer-substring changes. * doc/lispref/hooks.texi: Remove old comment. * etc/NEWS: Related markup.
* Doc updates re completion-in-region-functionGlenn Morris2014-05-263-6/+13
| | | | | | | * lisp/minibuffer.el (completion-in-region-functions, completion-in-region) (completion--in-region): Doc fixes. * doc/lispref/hooks.texi: Update comment.
* Doc updates re abbrev-expand-functionGlenn Morris2014-05-267-30/+49
| | | | | | | | | | | * doc/emacs/abbrevs.texi (Expanding Abbrevs): Update re abbrev-expand-function. * doc/lispref/abbrevs.texi (Abbrev Expansion): Update for expand-abbrev changes. * doc/lispref/functions.texi (Advising Functions): Standardize menu case. * lisp/abbrev.el (abbrev-expand-functions, abbrev-expand-function) (expand-abbrev, abbrev--default-expand): Doc fixes.
* Include sources used to create macuvs.h.Paul Eggert2014-05-2611-93/+27874
| | | | | | | | | | | | | | | | | * admin/unidata/IVD_Sequences.txt: New file. * admin/unidata/Makefile.in (${top_srcdir}/src/macuvs.h): New rule. (all): Build it. (extraclean): Remove it. * admin/unidata/README: Mention BidiMirroring.txt and IVD_Sequences.txt. * admin/unidata/copyright.html: Update to current version from Unicode Consortium. * admin/unidata/uvs.el: Rename from admin/mac/uvs.el. (uvs-print-table-ivd): Output a header in the form that unidata-gen.el generates. * lisp/international/README: Refer to the Unicode Terms of Use rather than copying it bodily here, as that simplifies maintenance. * src/Makefile.in ($(srcdir)/macuvs.h): New rule. * src/macuvs.h: Use automatically-generated header.
* * etc/FOR-RELEASE: Mention generated files.Glenn Morris2014-05-251-0/+4
|
* * admin/mac/uvs.el: New file. Generates ../src/macuvs.h. (Backport from trunk)YAMAMOTO Mitsuharu2014-05-252-0/+217
|
* Fix bug #17585 with incorrect vertical motion when linum-mode is on.Eli Zaretskii2014-05-252-1/+7
| | | | | | src/xdisp.c (move_it_in_display_line_to): Don't record wrap position if we are iterating over an object that generates glyphs for marginal areas.
* * cus-face.el (custom-face-attributes): Add :distant-foreground.Andreas Schwab2014-05-252-0/+8
|
* Remove interactive specification from window--dump-frame.Martin Rudalics2014-05-252-1/+5
| | | | | * window.el (window--dump-frame): Remove interactive specification.
* NEWS markup fixGlenn Morris2014-05-241-1/+0
|
* Specify coding if Latin-1 Emacs would misinterpret.Paul Eggert2014-05-247-2/+18
| | | | | | | * doc/misc/htmlfontify.texi, doc/misc/org.texi: * etc/ETAGS.EBNF, etc/NEWS, etc/ORG-NEWS: Add "coding: utf-8". Fixes: debbugs:17575
* * xdisp.c (safe__call1, safe__eval): Now static.Paul Eggert2014-05-242-2/+6
|
* Fix last commits in xdisp.c, which caused a crash at startup on w32.Eli Zaretskii2014-05-242-8/+23
| | | | | | | | src/xdisp.c (safe__call): Accept va_list argument instead of '...'. (safe_call, safe__call1): Construct a va_list argument for safe_call. (safe_call1): Call safe_call instead of safe__call directly. Fixes: debbugs:17577
* Fix bug#17510 with a pointer freed more than once (Cygwin-w32-build).Ken Brown2014-05-242-0/+10
| | | | | | * src/w32term.c (x_delete_display) [CYGWIN]: Don't free dpyinfo->w32_id_name, to make sure it doesn't get freed more than once.
* * src/xdisp.c: Bind inhibit-quit during pre-redisplay-function.Stefan Monnier2014-05-242-6/+33
| | | | | | | | | (safe__call, safe__call1, safe__eval): New functions. (safe_call): Use it. (prepare_menu_bars): Use it for pre-redisplay-function. (display_mode_element): Same for `:eval'. Fixes: debbugs:17577
* Small fix for he-line-search-regexp Glenn Morris2014-05-232-1/+6
| | | | | | | * lisp/hippie-exp.el (he-line-search-regexp): Handle comint-prompt-regexp containing subgroups. Fixes: debbugs:17529
* todo-mode.el: Remove dependence on auto-mode-alist.Stephen Berman2014-05-234-133/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * calendar/todo-mode.el: Remove dependence on auto-mode-alist, to avoid errors when trying to create or visit a file foo.todo located outside to todo-directory, and to allow having such files without them being tied to Todo mode. (todo-show, todo-move-category, todo-merge-category, todo-find-archive) (todo-archive-done-item, todo-find-filtered-items-file) (todo-filter-items, todo-find-item, todo-diary-goto-entry) (todo-category-completions, todo-read-category): When visiting a Todo file, make sure we're in the right mode and the buffer local variables are set. (todo-make-categories-list, todo-reset-nondiary-marker) (todo-reset-done-string, todo-reset-comment-string): After processing all Todo files, kill the buffers of those files that weren't being visited before the processing. (todo-display-as-todo-file, todo-add-to-buffer-list) (todo-visit-files-commands): Comment out. (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook. (auto-mode-alist): Remove add-to-list calls making Todo file extensions unrestrictedly tied to Todo modes. * doc/misc/todo-mode.texi: Update in light of changes due to bug#17482. Replace numerous mistaken uses of literal quotes with proper Texinfo markup. (Todo Mode Entry Points): Comment out reference to using find-file or Dired to visit Todo files, since this has been disabled (bug#17482).
* * lisp/emacs-lisp/nadvice.el (advice--member-p): Change second arg.Stefan Monnier2014-05-233-6/+18
| | | | | | | (advice-function-member-p): Tell it to check both names and functions. (advice--add-function): Adjust call accordingly. Fixes: debbugs:17531
* * calendar/todo-mode.el: Miscellaneous bug fixes.Stephen Berman2014-05-232-119/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (todo-delete-file): When deleting an archive but not its todo file, make sure to update the todo file's category sexp. (todo-move-category): Keep the moved category's name unless the file moved to already has a category with that name. If the numerically last category of the source file was moved, make the first category current to avoid selecting a nonexisting category. (todo-merge-category): Fix implementation to make merging to a category in another file work as documented. Eliminate now insufficient and unnecessary renaming of archive category, correct document string accordingly, and clarify it. If the numerically last category of the source file was merged, make the first category current to avoid selecting a nonexisting category. (todo-archive-done-item): When there are marked items and point happens to be on an unmarked item, ignore the latter. Don't leave point below last item after archiving marked items. (todo-unarchive-items): Fix logic to ensure unarchiving an item from an archive with only one category deletes the archive only when the category is empty after unarchiving. Make sure the todo file's category sexp is updated. (todo-read-file-name): Allow an existing file name even when it is not required (todo-move-category needs this to work as documented). (todo-add-file): Call todo-validate-name to reject the name of an existing todo file (needed due to fix in todo-read-file-name). (todo-reset-nondiary-marker): Also reset in filtered items files. (todo-reset-done-string, todo-reset-comment-string): Also reset in regexp filtered items files. (todo-reset-highlight-item): Also reset in filtered items files. Fix incorrect variable reference in document string.
* * window.el (window--dump-frame): Avoid error in --without-x builds.Glenn Morris2014-05-212-1/+7
|
* Fix port to 32-bit AIX.Paul Eggert2014-05-214-3/+16
| | | | | | | | | | * configure.ac (opsys): On Power Architecture, treat release 7 of AIX like releases 5 and 6. * src/unexaix.c (copy_text_and_data): Don't add text_scnptr to ptr twice. _text already includes this offset. (unrelocate_symbols): Don't cast 64-bit integer to pointer. Fixes: debbugs:17540
* * lisp/nxml/nxml-mode.el (xml-mode): Only define this alias once.Glenn Morris2014-05-212-2/+7
|
* Fix bug #17532 with unclear docs of setting frame's font.Eli Zaretskii2014-05-215-8/+25
| | | | | | | | lisp/frame.el (set-frame-font): Doc fix. lisp/menu-bar.el (menu-set-font): Doc fix. doc/emacs/frames.texi (Fonts): Clarify which frames are affected by setting font from the menu and in default-frame-alist.
* Fix bug #17539 with infinite recursion during scroll commands.Eli Zaretskii2014-05-212-5/+17
| | | | | | src/xdisp.c (move_it_in_display_line_to): Avoid infinite recursion: when closest_pos is identical to to_charpos, don't recurse, since we already tried that, and failed.
* Replace uses of `save-buffer' with `write-region'Dmitry Gutov2014-05-212-9/+16
| | | | | | | | | | * lisp/emacs-lisp/package.el (package--download-one-archive): Use `write-region' instead of `save-buffer' to avoid running various hooks. (describe-package-1): Same. Insert newline at the end of the buffer if appropriate. Fixes: debbugs:17155
* * lisp/avoid.el (mouse-avoidance-banish-position): Fix defcustom :optionsJuri Linkov2014-05-212-3/+6
| | | | | | to allow changing its value with `set-variable'. Fixes: debbugs:17439
* * lisp/avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.Juri Linkov2014-05-212-11/+15
| | | | | | | (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'. Add more modifiers: meta, control, shift, hyper, super, alt. Fixes: debbugs:17439
* * lisp/progmodes/scheme.el (scheme-mode-syntax-table): Remove hack forStefan Monnier2014-05-202-31/+35
| | | | | | | | | #; comments. (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment): New functions. (scheme-mode-variables): Set syntax-propertize-function instead of font-lock-syntactic-face-function. (scheme-font-lock-syntactic-face-function): Delete.
* * lisp/emacs-lisp/lisp.el (end-of-defun): Ensure we move.Stefan Monnier2014-05-202-13/+27
| | | | Fixes: debbugs:17274
* Fix bug #17524 with crashes in creating a new frame with invalid font.Eli Zaretskii2014-05-202-1/+21
| | | | | | | | src/w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: If we are unwinding when frame's faces were not initialized yet, increment the frame's image-cache reference count before calling x_free_frame_resources. Don't dereference dpyinfo->terminal->image_cache if it is NULL.
* * lisp/vc/vc-rcs.el: Comment.Glenn Morris2014-05-201-4/+3
|
* Fix rcs2log problems with CVS.Paul Eggert2014-05-202-16/+53
| | | | | | | | | Problem reported by Glenn Morris in <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>. Plus, fix some security and filename quoting problems. * rcs2log (logdir): Prefer mktemp if available. (logdir, llogdir): Work even if TMPDIR begins with '-' or has spaces. (output_authors, main awk script): Parse more-recent CVS output format.
* src/lisp.h: Fix typos in a comment.Eli Zaretskii2014-05-191-2/+2
|
* Spelling fix.Paul Eggert2014-05-181-1/+1
|
* * mouse.el: Remove old comment.Glenn Morris2014-05-181-2/+0
|
* * configure.ac (INSTALL_INFO): Revert to just checking for "install-info".Glenn Morris2014-05-182-1/+11
|