]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years agoMerge from emacs-24; up to 2014-07-27T18:05:37Z!eliz@gnu.org
Glenn Morris [Thu, 16 Oct 2014 01:49:34 +0000 (21:49 -0400)]
Merge from emacs-24; up to 2014-07-27T18:05:37Z!eliz@gnu.org

9 years agoTabify recent ChangeLog change
Glenn Morris [Thu, 16 Oct 2014 01:47:10 +0000 (21:47 -0400)]
Tabify recent ChangeLog change

9 years ago* NEWS: Mention multipart/related.
Lars Magne Ingebrigtsen [Wed, 15 Oct 2014 21:55:10 +0000 (23:55 +0200)]
* NEWS: Mention multipart/related.

9 years ago* lisp/cedet/semantic/wisent/comp.el (wisent-defcontext): Move declarations
Stefan Monnier [Wed, 15 Oct 2014 21:46:47 +0000 (17:46 -0400)]
* lisp/cedet/semantic/wisent/comp.el (wisent-defcontext): Move declarations
outside of eval-when-compile.  Use `declare'.
(wisent-with-context): Add `defvar' declarations in case this macro is
used in a file compiled with lexical-binding.
(wisent-semantic-action-expand-body): Avoid add-to-list on local var.

9 years ago* bidi.c (bidi_find_bracket_pairs): Initialize local var.
Paul Eggert [Wed, 15 Oct 2014 17:53:04 +0000 (10:53 -0700)]
* bidi.c (bidi_find_bracket_pairs): Initialize local var.

This pacifies GCC 4.9.1 with --enable-gcc-warnings.
It's not clear to me whether the initialization is needed,
but it can't hurt so I played it safe.

9 years ago* configure.ac: Move the OSX 10.6 test.
Jan Djärv [Wed, 15 Oct 2014 17:42:05 +0000 (19:42 +0200)]
* configure.ac: Move the OSX 10.6 test.

9 years ago* .bzrignore: Add uni-brackets.el.
Stefan Monnier [Wed, 15 Oct 2014 17:33:27 +0000 (13:33 -0400)]
* .bzrignore: Add uni-brackets.el.

9 years ago* lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
Stefan Monnier [Wed, 15 Oct 2014 17:32:41 +0000 (13:32 -0400)]
* lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
Remove incorrect handling of eldoc-print-after-edit.
(eldoc-message-commands, eldoc-last-data): Use defvar.
* lisp/loadup.el (emacs-lisp/eldoc): Load it.
* src/lisp.mk (lisp): Add emacs-lisp/eldoc.elc.

9 years agosrc/ChangeLog: Fix a typo.
Eli Zaretskii [Wed, 15 Oct 2014 15:46:57 +0000 (18:46 +0300)]
src/ChangeLog: Fix a typo.

9 years ago* lisp/progmodes/m4-mode.el (m4-syntax-propertize): New var.
Stefan Monnier [Wed, 15 Oct 2014 15:28:35 +0000 (11:28 -0400)]
* lisp/progmodes/m4-mode.el (m4-syntax-propertize): New var.
(m4-mode): Use it.
(m4--quoted-p): New function.
(m4-font-lock-keywords): Don't handle #..\n comments any more.
(m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
for most special characters.

9 years ago* lisp/progmodes/compile.el (compilation--previous-directory): Simplify.
Stefan Monnier [Wed, 15 Oct 2014 15:25:47 +0000 (11:25 -0400)]
* lisp/progmodes/compile.el (compilation--previous-directory): Simplify.
(compilation-next-error): Ensure the parse before we look at
compilation-message property.

9 years agocus-edit.el (custom-command-apply): Specify the return value in the doc
Alan Mackenzie [Wed, 15 Oct 2014 15:23:27 +0000 (15:23 +0000)]
cus-edit.el (custom-command-apply): Specify the return value in the doc
string.
(Custom-reset-standard): Save custom-file (e.g. .emacs) only when
custom-command-apply has returned non-nil.

9 years agoUpdate the bidirectional reordering engine for Unicode 6.3 and 7.0.
Eli Zaretskii [Wed, 15 Oct 2014 14:11:25 +0000 (17:11 +0300)]
Update the bidirectional reordering engine for Unicode 6.3 and 7.0.

 src/bidi.c (bidi_ignore_explicit_marks_for_paragraph_level): Remove
 variable.
 (bidi_get_type): Return the isolate initiators and terminator
 types.
 (bidi_isolate_fmt_char, bidi_paired_bracket_type)
 (bidi_fetch_char_skip_isolates, find_first_strong_char)
 (bidi_find_bracket_pairs, bidi_resolve_brackets): New functions.
 (bidi_set_sos_type): Renamed from bidi_set_sor_type and updated
 for the new features.
 (bidi_push_embedding_level, bidi_pop_embedding_level): Update to
 push and pop correctly for isolates.
 (bidi_remember_char): Modified to accept an additional argument
 and record the bidi type according to its value.
 (bidi_cache_iterator_state): Accept an additional argument to only
 update an existing state.  Handle the new members of struct bidi_it.
 (bidi_cache_find): Arguments changed: no lnger accepts a level,
 instead accepts a flag telling it whether it is okay to return
 unresolved neutrals.
 (bidi_initialize): Initiate and staticpro the bracket-type uniprop
 table.  Initialize new isolate-related members.
 (bidi_paragraph_init): Some code factored out into
 find_first_strong_char.
 (bidi_resolve_explicit_1): Function deleted, its code incorporated
 into bidi_resolve_explicit.
 (bidi_resolve_explicit): Support the isolate initiators and
 terminator.  Fix handling of embeddings and overrides according to
 new UBA requirements.  Record information about previously seen
 characters here (moved from bidi_level_of_next_char).
 (bidi_resolve_weak): Adapt to changes in struct members.
 (FLAG_EMBEDDING_INSIDE, FLAG_OPPOSITE_INSIDE, MAX_BPA_STACK)
 (STORE_BRACKET_CHARPOS, PUSH_BPA_STACK): New macros.
 (bidi_resolve_neutral): Call bidi_resolve_brackets to handle the
 paired bracket resolution.  Handle isolate initiators and
 terminator.
 (bidi_type_of_next_char): Remove unneeded code for BN limit.
 (bidi_level_of_next_char): Move the code that records information
 about previous characters to bidi_resolve_explicit.  Fix logic of
 resolving neutrals and make sure their cache entries are updated.
 Remove now unneeded special handling of PDF level.
 src/dispextern.h (struct glyph): Enlarge the width of resolved_level.
 (BIDI_MAXDEPTH): New macro, renamed from BIDI_MAXLEVEL and
 enlarged per Unicode 6.3.
 (enum bidi_bracket_type_t): New data type.
 (struct bidi_saved_info): Leave only 2 type members out of 4.
 Remove bytepos.
 (struct bidi_stack): Add members necessary to support isolating
 sequences.
 (struct bidi_it): Add new members necessary to support isolating
 sequences and bracket pair resolution.
 src/xdisp.c (Fbidi_resolved_levels): New function.
 (syms_of_xdisp): Defsubr it.
 (append_glyph, append_composite_glyph, produce_image_glyph)
 (append_stretch_glyph, append_glyphless_glyph): Convert aborts to
 assertions.
 (syms_of_xdisp) <inhibit-bidi-mirroring>: New variable.
 src/term.c (append_glyph, append_composite_glyph)
 (append_glyphless_glyph): Convert aborts to assertions.
 src/.gdbinit (pgx): Display the character codepoint, resolved level,
 and bidi type also for glyphless glyphs.

 lisp/simple.el (what-cursor-position): Update to support the new bidi
 characters.
 lisp/descr-text.el (describe-char): Update to support the new bidi
 characters.

 admin/unidata/unidata-gen.el (unidata-prop-alist): New properties
 'paired-bracket' and 'bracket-type', in support of the UBA 6.3.
 (unidata-gen-table): Support PROP-IDX being a function.
 (unidata-describe-bidi-bracket-type, unidata-gen-brackets-list)
 (unidata-gen-bracket-type-list): New functions.
 (unidata-check): Support checking the 'bracket-type' attribute.
 (unidata-gen-files): Don't create backups for uni-*.el files.
 admin/unidata/Makefile.in (${unidir}/charprop.el): Depend on
 BidiMirroring.txt and BidiBrackets.txt.
 admin/unidata/BidiBrackets.txt: New file, from Unicode.

 etc/NEWS: Mention the UBA implementation update.
 etc/HELLO: Remove now unneeded directional control characters.

 doc/lispref/nonascii.texi (Character Properties): Document the new
 properties 'bracket-type' and 'paired-bracket'.
 doc/lisprefdisplay.texi (Bidirectional Display): Update the version of the
 UBA to which we are conforming.

 test/BidiCharacterTest.txt: New file, from Unicode.
 test/biditest.el: New file.

9 years agoAvoid unwanted point motion in Fline_beginning_position.
Dmitry Antipov [Wed, 15 Oct 2014 13:37:10 +0000 (17:37 +0400)]
Avoid unwanted point motion in Fline_beginning_position.
* lisp.h (scan_newline_from_point): Add prototype.
* search.c (scan_newline_from_point): New function, refactored from...
* cmds.c (Fforward_line): ...adjusted user.
* editfns.c (Fline_beginning_position): Use scan_newline_from_point
and simplify the former since the latter doesn't move point.

9 years agoMerge from trunk.
Eli Zaretskii [Wed, 15 Oct 2014 13:16:10 +0000 (16:16 +0300)]
Merge from trunk.

9 years agoFix initialization of flags when pushing BPA stack.
Eli Zaretskii [Wed, 15 Oct 2014 12:23:59 +0000 (15:23 +0300)]
Fix initialization of flags when pushing BPA stack.

9 years agoRewrote bracket resolution to match subtleties of Reference Implementation.
Eli Zaretskii [Wed, 15 Oct 2014 10:22:15 +0000 (13:22 +0300)]
Rewrote bracket resolution to match subtleties of Reference Implementation.

9 years agoRewrite ChangeLog release notes to be less confusing
Glenn Morris [Wed, 15 Oct 2014 07:22:14 +0000 (00:22 -0700)]
Rewrite ChangeLog release notes to be less confusing

9 years ago* nextstep/README: Move most contents into INSTALL.
Glenn Morris [Wed, 15 Oct 2014 07:19:22 +0000 (00:19 -0700)]
* nextstep/README: Move most contents into INSTALL.
Remove license notice from file, since it is now trivial.

9 years ago* admin/notes/versioning: Relocate and rewrite.
Glenn Morris [Wed, 15 Oct 2014 07:12:31 +0000 (00:12 -0700)]
* admin/notes/versioning: Relocate and rewrite.

9 years agoRemove some admin/notes files
Glenn Morris [Wed, 15 Oct 2014 07:07:29 +0000 (00:07 -0700)]
Remove some admin/notes files

* admin/notes/lel-TODO: Remove.  This has not turned out to be a
useful way to get things documented.

* admin/notes/exit-value, admin/notes/iftc: Remove.
These don't seem to have any particular relationship to Emacs development.

9 years ago* README: Remove some unnecessary detail.
Glenn Morris [Wed, 15 Oct 2014 07:03:28 +0000 (00:03 -0700)]
* README: Remove some unnecessary detail.

9 years ago* INSTALL: Remove the "by hand" sections.
Glenn Morris [Wed, 15 Oct 2014 07:02:43 +0000 (00:02 -0700)]
* INSTALL: Remove the "by hand" sections.
No-one needs to know those details, and this file is too long already.

9 years agoMerge from emacs-24; up to 2014-07-27T09:41:59Z!ttn@gnu.org
Glenn Morris [Wed, 15 Oct 2014 02:42:58 +0000 (19:42 -0700)]
Merge from emacs-24; up to 2014-07-27T09:41:59Z!ttn@gnu.org

9 years ago* lisp/emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
Stefan Monnier [Wed, 15 Oct 2014 02:00:20 +0000 (22:00 -0400)]
* lisp/emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
Backported.

Fixes: debbugs:18688
9 years ago* lisp/progmodes/elisp-mode.el (elisp--local-variables-1):
Stefan Monnier [Wed, 15 Oct 2014 01:56:56 +0000 (21:56 -0400)]
* lisp/progmodes/elisp-mode.el (elisp--local-variables-1):
Handle quoted expressions.

Fixes: debbugs:18688
9 years ago* lisp/erc/erc-track.el (erc-modified-channels-display): Update mode line
Ivan Shmakov [Wed, 15 Oct 2014 01:15:40 +0000 (21:15 -0400)]
* lisp/erc/erc-track.el (erc-modified-channels-display): Update mode line
more frequently.

Fixes: debbugs:18510
9 years agolisp/gnus/gnus-start.el: Optionally check the newsrc.eld file's timestamp before...
Ted Zlatanov [Tue, 14 Oct 2014 22:13:44 +0000 (22:13 +0000)]
lisp/gnus/gnus-start.el: Optionally check the newsrc.eld file's timestamp before saving it

9 years agoMore INSTALL trivia
Glenn Morris [Tue, 14 Oct 2014 21:18:15 +0000 (17:18 -0400)]
More INSTALL trivia

9 years agoINSTALL trivia.
Glenn Morris [Tue, 14 Oct 2014 21:05:33 +0000 (17:05 -0400)]
INSTALL trivia.

9 years agoFix display of R2L entries in tabulated-list-mode.
Eli Zaretskii [Tue, 14 Oct 2014 19:29:47 +0000 (22:29 +0300)]
Fix display of R2L entries in tabulated-list-mode.

 lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Force
 bidi-paragraph-direction to 'left-to-right'.  This fixes
 buffer-menu display when the first buffer happens to start with
 R2L letter.

9 years agoMerge from trunk and resolve conflicts.
Eli Zaretskii [Tue, 14 Oct 2014 18:10:37 +0000 (21:10 +0300)]
Merge from trunk and resolve conflicts.

9 years agoFix etc/tutorials/TUTORIAL.he, again.
Eli Zaretskii [Tue, 14 Oct 2014 17:59:39 +0000 (20:59 +0300)]
Fix etc/tutorials/TUTORIAL.he, again.

9 years ago* etc/NXML-NEWS: Add standard copyright and license notice.
Glenn Morris [Tue, 14 Oct 2014 16:09:09 +0000 (09:09 -0700)]
* etc/NXML-NEWS: Add standard copyright and license notice.

9 years ago* configure.ac: Require OSX >= 10.6 even if --with-ns is not given.
Jan Djärv [Tue, 14 Oct 2014 15:31:44 +0000 (17:31 +0200)]
* configure.ac: Require OSX >= 10.6 even if --with-ns is not given.

9 years agoFix resolution of neutrals that came out of the cache.
Eli Zaretskii [Tue, 14 Oct 2014 13:32:53 +0000 (16:32 +0300)]
Fix resolution of neutrals that came out of the cache.

9 years agoImplement inhibit-bidi-mirroring; improve biditest.el.
Eli Zaretskii [Tue, 14 Oct 2014 13:17:16 +0000 (16:17 +0300)]
Implement inhibit-bidi-mirroring; improve biditest.el.

9 years agoCleanup terminal handling code.
Dmitry Antipov [Tue, 14 Oct 2014 12:45:41 +0000 (16:45 +0400)]
Cleanup terminal handling code.
* dispextern.h (get_named_tty): Remove prototype but...
* termhooks.h (get_named_terminal): ...resurrect it under
more meaningful name.
(get_terminal): Likewise, but with...
(decode_live_terminal): ...this name.
(decode_tty_terminal): Add prototype.
* term.c (get_tty_terminal): Remove.
(get_named_tty): Remove.
(Ftty_display_color_p, Ftty_display_color_cells, Ftty_type)
(Fcontrolling_tty_p, Fsuspend_tty, Fresume_tty):
Use decode_tty_terminal.
(Ftty_no_underline, Ftty_top_frame): Use decode_live_terminal.
* terminal.c (get_terminal): Refactor to...
(decode_terminal, decode_live_terminal): ...new functions.
(decode_tty_terminal): Replacement for get_tty_terminal.
(get_named_terminal): Likewise for get_named_tty.
* coding.c (Fset_terminal_coding_system_internal)
(Fterminal_coding_system, Fset_keyboard_coding_system_internal):
(Fkeyboard_coding_system):
* composite.c (Fcomposition_get_gstring):
* dispnew.c (Fsend_string_to_terminal):
* frame.c (Fmake_terminal_frame):
* nsfns.m (check_ns_display_info):
* w32fns.c, xfns.c (check_x_display_info):
* xselect.c (frame_for_x_selection): Use decode_live_terminal.
* keyboard.c (handle_interrupt_signal, handle_interrupt)
(Fset_quit_char): Use get_named_terminal.
(Fset_output_flow_control, Fset_input_meta_mode):
Use decode_tty_terminal.

9 years ago* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Michael Albinus [Tue, 14 Oct 2014 11:59:16 +0000 (13:59 +0200)]
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Reduce the amount of set environment variable commands.

9 years agoIncrease 'level' in glyph struct; convert bad type aborts into assertions.
Eli Zaretskii [Tue, 14 Oct 2014 09:16:02 +0000 (12:16 +0300)]
Increase 'level' in glyph struct; convert bad type aborts into assertions.

9 years ago* configure.ac: apple-darwin powerpc is unported.
Jan Djärv [Tue, 14 Oct 2014 05:07:21 +0000 (07:07 +0200)]
* configure.ac: apple-darwin powerpc is unported.

9 years agoMerge from emacs-24; up to 2014-07-27T01:00:26Z!fgallina@gnu.org
Glenn Morris [Mon, 13 Oct 2014 20:55:41 +0000 (16:55 -0400)]
Merge from emacs-24; up to 2014-07-27T01:00:26Z!fgallina@gnu.org

9 years agoTweak previous authors.el change
Glenn Morris [Mon, 13 Oct 2014 19:52:43 +0000 (15:52 -0400)]
Tweak previous authors.el change

9 years agoSmall authors.el updates
Glenn Morris [Mon, 13 Oct 2014 19:32:14 +0000 (15:32 -0400)]
Small authors.el updates

* lisp/emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
(authors-obsolete-files-regexps): Additions.
(authors-no-scan-regexps): New constant.
(authors-no-scan-file-p): New function.
(authors): Respect authors-no-scan-file-p.

9 years agoChangeLog fix
Glenn Morris [Mon, 13 Oct 2014 19:17:46 +0000 (15:17 -0400)]
ChangeLog fix

Ref: http://lists.gnu.org/archive/html/emacs-orgmode/2014-01/msg00165.html
http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=65cf7047bf885959a5e03b5aa9346b55a600fcab

9 years agoFix org/ChangeLog wrt latest Org Sync.
Bastien Guerry [Mon, 13 Oct 2014 16:44:30 +0000 (18:44 +0200)]
Fix org/ChangeLog wrt latest Org Sync.

9 years agoFix bug #18699 with startup aborts of 32-bit MinGW64 build.
Eli Zaretskii [Mon, 13 Oct 2014 12:44:03 +0000 (15:44 +0300)]
Fix bug #18699 with startup aborts of 32-bit MinGW64 build.

 src/w32term.h (ALIGN_STACK): Use _WIN64, not _W64, to distinguish
 between 32-bit and 64-bit MinGW builds.

9 years agoRemove unneeded directional marks from etc/HELLO.
Eli Zaretskii [Mon, 13 Oct 2014 12:36:00 +0000 (15:36 +0300)]
Remove unneeded directional marks from etc/HELLO.

9 years agoFix commentary to last commit.
Eli Zaretskii [Mon, 13 Oct 2014 12:29:26 +0000 (15:29 +0300)]
Fix commentary to last commit.

9 years agoFix display of LRI, RLI, and FSI by 'C-x ='.
Eli Zaretskii [Mon, 13 Oct 2014 12:27:19 +0000 (15:27 +0300)]
Fix display of LRI, RLI, and FSI by 'C-x ='.

9 years agoFixed BPA stack overflow and infloop with nested brackets.
Eli Zaretskii [Mon, 13 Oct 2014 11:26:58 +0000 (14:26 +0300)]
Fixed BPA stack overflow and infloop with nested brackets.

9 years agoFix display of TUTORIA.he jumbled by BPA.
Eli Zaretskii [Mon, 13 Oct 2014 07:39:03 +0000 (10:39 +0300)]
Fix display of TUTORIA.he jumbled by BPA.

9 years agoUpdate NEWS and lispref docs.
Eli Zaretskii [Mon, 13 Oct 2014 06:50:16 +0000 (09:50 +0300)]
Update NEWS and lispref docs.

9 years ago* NEWS: Move and clarify OSX >= 10.6.
Jan Djärv [Mon, 13 Oct 2014 06:09:05 +0000 (08:09 +0200)]
* NEWS: Move and clarify OSX >= 10.6.

9 years agoMerge from emacs-24; up to 2014-07-26T12:14:42Z!schwab@linux-m68k.org
Glenn Morris [Mon, 13 Oct 2014 01:47:48 +0000 (18:47 -0700)]
Merge from emacs-24; up to 2014-07-26T12:14:42Z!schwab@linux-m68k.org

9 years agoUpdate doc/ make dist rules
Glenn Morris [Mon, 13 Oct 2014 01:40:56 +0000 (18:40 -0700)]
Update doc/ make dist rules

* emacs/Makefile.in (dist):
* lispintro/Makefile.in (dist):
* lispref/Makefile.in (dist):
* misc/Makefile.in (dist): Update for new output variables.

9 years agoMerge from emacs-24; up to 2014-07-26T11:58:24Z!schwab@linux-m68k.org
Glenn Morris [Sun, 12 Oct 2014 22:56:45 +0000 (15:56 -0700)]
Merge from emacs-24; up to 2014-07-26T11:58:24Z!schwab@linux-m68k.org

9 years agoSync Org 8.2.10
Bastien Guerry [Sun, 12 Oct 2014 22:25:24 +0000 (00:25 +0200)]
Sync Org 8.2.10

9 years ago* editfns.c (dump_tz_string): No longer const.
Paul Eggert [Sun, 12 Oct 2014 20:36:49 +0000 (13:36 -0700)]
* editfns.c (dump_tz_string): No longer const.

It might be modified.

9 years agoSpelling fixes.
Paul Eggert [Sun, 12 Oct 2014 20:09:15 +0000 (13:09 -0700)]
Spelling fixes.

9 years ago* admin/make-tarball.txt: Small additions.
Glenn Morris [Sun, 12 Oct 2014 18:41:05 +0000 (11:41 -0700)]
* admin/make-tarball.txt: Small additions.

9 years ago* net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
Michael Albinus [Sun, 12 Oct 2014 18:27:37 +0000 (20:27 +0200)]
* net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".

9 years agoIgnore test/biditest.txt.
Eli Zaretskii [Sun, 12 Oct 2014 18:19:41 +0000 (21:19 +0300)]
Ignore test/biditest.txt.

9 years ago* nsmenu.m (clear): Assume OS X 10.6 or later.
Paul Eggert [Sun, 12 Oct 2014 18:02:47 +0000 (11:02 -0700)]
* nsmenu.m (clear): Assume OS X 10.6 or later.

9 years agoFix bidi_cache_find when NEUTRALS_OK is false; RLI no longer aborts.
Eli Zaretskii [Sun, 12 Oct 2014 17:13:14 +0000 (20:13 +0300)]
Fix bidi_cache_find when NEUTRALS_OK is false; RLI no longer aborts.

9 years agoRefactored saving prev info, resolve_neutrals, and high-level cache access.
Eli Zaretskii [Sun, 12 Oct 2014 16:23:43 +0000 (19:23 +0300)]
Refactored saving prev info, resolve_neutrals, and high-level cache access.

9 years agoFix import completion.
Fabián Ezequiel Gallina [Sun, 12 Oct 2014 15:12:04 +0000 (12:12 -0300)]
Fix import completion.

* lisp/progmodes/python.el (python-shell-completion-get-completions):
Fix import case regexp.

Fixes: debbugs:18582
9 years agoUpdate doc to say Mac OS X 10.6 or later now required.
Paul Eggert [Sun, 12 Oct 2014 14:56:58 +0000 (07:56 -0700)]
Update doc to say Mac OS X 10.6 or later now required.

* doc/emacs/macos.texi (Mac OS / GNUstep, Mac / GNUstep Basics)
(Mac / GNUstep Customization):
* nextstep/README: Mac OS X 10.6 or later now required.

9 years agoRequire OSX >= 10.6. Remove PowerPC unexec code.
Jan Djärv [Sun, 12 Oct 2014 08:35:50 +0000 (10:35 +0200)]
Require OSX >= 10.6.  Remove PowerPC unexec code.

* configure.ac: Require OSX 10.6.  Remove NSInteger test,
use nsfont for Gnustep, macfont for OSX.

* etc/NEWS: OSX required is 10.6 or newer.

* src/Makefile.in: Replace nsfont.o macfont.o with ns_fontfile in
comment.

* src/macfont.h (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_FORMAT_BITMAP)
(mac_font_copy_non_synthetic_table): Remove versions for OSX < 10.6

* src/nsfns.m: Always include src/macfont.h on COCOA.
(ns_filename_from_panel, ns_directory_from_panel)
(Fx_create_frame, Fns_popup_font_panel, ns_run_file_dialog)
(Fns_read_file_name, Fns_list_services): Remove code for OSX < 10.6

* src/nsterm.m: Always include src/macfont.h on COCOA.
(ns_update_auto_hide_menu_bar, ns_draw_fringe_bitmap)
(ns_dumpglyphs_image, ns_check_menu_open)
(applicationDidFinishLaunching)
(antialiasThresholdDidChange:)
(keyDown:, toggleFullScreen:, setPosition:portion:whole:): Remove
checks for OSX <= 10.5/10.6.
(changeFont:): Use macfont on COCOA, nsfont on GNUSTEP.
(syms_of_nsterm): Call syms_of_macfont on COCOA, syms_of_nsfont on
GNUSTEP.

* src/macfont.m: Remove >= 1050 check.
(macfont_create_family_with_symbol)
(macfont_get_glyph_for_character)
(mac_font_get_glyphs_for_variants)
(mac_ctfont_create_available_families, syms_of_macfont): Remove
code for OSX < 10.6.
(mac_font_family_group, mac_font_family_compare): Remove, only used
for OSX < 10.6.

* src/nsimage.m (allocInitFromFile:): Remove code for OSX < 10.6.

* src/nsmenu.m (NSMenuDidBeginTrackingNotification): Remove.
(x_activate_menubar, trackingNotification:): Remove check for
OSX >= 10.5.
(menuNeedsUpdate:): Remove check for OSX < 10.5.

* src/nsterm.h (MAC_OS_X_VERSION_10_4, MAC_OS_X_VERSION_10_5): Remove.
(NS_HAVE_NSINTEGER): Remove block.
Remove >= OSX 10.6 tests.

* src/unexmacosx.c: Remove include ppc/reloc.h.
(unrelocate, copy_dysymtab): Remove PPC code.
(rebase_reloc_address): Remove, only used for PPC:

9 years agoFix putenv race conditions with undefined behavior.
Paul Eggert [Sun, 12 Oct 2014 06:09:50 +0000 (23:09 -0700)]
Fix putenv race conditions with undefined behavior.

Do all putenv calls before Emacs creates any threads.
Use a safer way to modify the TZ environment variable in the
presence of multiple threads.  For further thread-safety,
prefer localtime_r and gmtime_r to localtime and gmtime,
and prefer struct tm's tm_gmtoff (if available) to calling
both localtime_r and gmtime_r.
* configure.ac (LOCALTIME_CACHE): Remove.
We needn't worry about SunOS 4 any more; Sun dropped support in 2003.
All uses of LOCALTIME_CACHE removed.  This simplifies the fix.
(tzalloc): Add check for this function.
* admin/merge-gnulib (GNULIB_MODULES): Add time_r, since Emacs now
calls localtime_r and gmtime_r directly.
* src/dbusbind.c (Fdbus__init_bus): Move xputenv call from here ...
(init_dbusbind): ... to this new function.
* src/emacs.c (main) [HAVE_DBUS]: Call it before creating threads.
* src/xterm.c (x_term_init): Move xputenv call from here ...
(init_xterm): ... to this new function.
* src/emacs.c (main) [USE_GTK]: Call it before creating threads.
* src/editfns.c (HAVE_TM_GMTOFF): Default to false.
(dump_tz_string): New constant.
(init_editfns): Use it.  This centralizes the dump_tz stuff.
Call set_time_zone_rule here, so that its xputenv is done
before Emacs goes multithreaded.
(mktime_z) [!HAVE_TZALLOC]: New function, which is typically
thread-safe enough for Emacs.
(format_time_string, Fdecode_time, Fcurrent_time_string)
(Fcurrent_time_zone):
Prefer localtime_r and gmtime_r, which are more thread-safe, to
localtime and gmtime.  Remove now-unnecessary calls to block_input.
(tm_gmtoff): New static function.
(Fdecode_time, Fcurrent_time_zone): Use it.
(Fencode_time): Use mktime_z, for better thread-safety.
(set_time_zone_rule): Now static.  Rewrite to be mostly thread-safe,
i.e., not quite thread-safe but good enough for Emacs typical usage.
Do not reclaim storage that is in the environment; let it leak.
Always call tzset, since localtime_r does not.
* src/emacs.c (dump_tz, Fdump_emacs) [HAVE_TZSET]: Remove dump_tz stuff.
This is now done in init_editfns.
* src/systime.h (mktime_z, timezone_t, tzalloc, tzfree) [!HAVE_TZALLOC]:
New macros and declarations, for platforms lacking tzalloc & friends.

Fixes: debbugs:8705
9 years agoMerge Org 8.2.9
Bastien Guerry [Sun, 12 Oct 2014 05:18:57 +0000 (07:18 +0200)]
Merge Org 8.2.9

9 years agoFix ns-use-fullscreen-animation again... add boolean.
Jan Djärv [Sat, 11 Oct 2014 20:00:59 +0000 (22:00 +0200)]
Fix ns-use-fullscreen-animation again...  add boolean.

* cus-start.el (all): Add missing ns and boolean to
ns-use-fullscreen-animation.

9 years ago* cus-start.el (all): Add missing ns to ns-use-fullscreen-animation.
Jan Djärv [Sat, 11 Oct 2014 19:58:02 +0000 (21:58 +0200)]
* cus-start.el (all): Add missing ns to ns-use-fullscreen-animation.

9 years ago* configure.ac (LD_SWITCH_SYSTEM_TEMACS) [CYGWIN]: Set stack size to 8 MB. (Bug...
Ken Brown [Sat, 11 Oct 2014 17:16:12 +0000 (13:16 -0400)]
* configure.ac (LD_SWITCH_SYSTEM_TEMACS) [CYGWIN]: Set stack size to 8 MB.  (Bug#18438)

9 years agoFix last change
Leo Liu [Sat, 11 Oct 2014 14:27:47 +0000 (22:27 +0800)]
Fix last change

9 years ago* progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
Leo Liu [Sat, 11 Oct 2014 14:11:03 +0000 (22:11 +0800)]
* progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
Use strings.
(cfengine3-create-imenu-index): New function.
(cfengine3-mode): Use it for `imenu-create-index-function'.
(cfengine-auto-mode): Improve and prefer cfengine3-mode when
buffer is empty.

9 years agoReset bracket_resolved bit earlier; remove bytepos from bidi_saved_info.
Eli Zaretskii [Sat, 11 Oct 2014 14:10:46 +0000 (17:10 +0300)]
Reset bracket_resolved bit earlier; remove bytepos from bidi_saved_info.

9 years agoRename type_after_w1 into type_after_wn.
Eli Zaretskii [Sat, 11 Oct 2014 12:24:30 +0000 (15:24 +0300)]
Rename type_after_w1 into type_after_wn.

9 years agoReset the bracket_resolved flag before advancing to next character.
Eli Zaretskii [Sat, 11 Oct 2014 12:21:26 +0000 (15:21 +0300)]
Reset the bracket_resolved flag before advancing to next character.

9 years ago* cus-start.el (all): Add ns-use-fullscreen-animation.
Jan Djärv [Sat, 11 Oct 2014 08:28:11 +0000 (10:28 +0200)]
* cus-start.el (all): Add ns-use-fullscreen-animation.

9 years agoFix mailaddress
Jan Djärv [Sat, 11 Oct 2014 08:24:56 +0000 (10:24 +0200)]
Fix mailaddress

9 years agoFix mailaddress.
Jan Djärv [Sat, 11 Oct 2014 08:22:00 +0000 (10:22 +0200)]
Fix mailaddress.

9 years agoDrop support for deprecated (since 23.1) forms of diary-display-function
Glenn Morris [Sat, 11 Oct 2014 02:54:11 +0000 (19:54 -0700)]
Drop support for deprecated (since 23.1) forms of diary-display-function

* lisp/calendar/diary-lib.el (diary-display-function):
Drop support for deprecated nil and list forms.
(diary-list-entries): Update for the above.

* lisp/calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.

9 years agoFix port to Debian GNU/kFreeBSD 7 (wheezy).
Paul Eggert [Fri, 10 Oct 2014 18:02:09 +0000 (11:02 -0700)]
Fix port to Debian GNU/kFreeBSD 7 (wheezy).

* process.c (accept4) [!HAVE_ACCEPT4]: New macro.

Fixes: debbugs:18666
9 years ago* lisp/erc/erc.el: Fix paren typo in previous.
Glenn Morris [Fri, 10 Oct 2014 16:53:19 +0000 (12:53 -0400)]
* lisp/erc/erc.el: Fix paren typo in previous.

9 years agoFix assertion violations due to unresolvable neutrals in cache.
Eli Zaretskii [Fri, 10 Oct 2014 13:31:23 +0000 (16:31 +0300)]
Fix assertion violations due to unresolvable neutrals in cache.

9 years agoOnly initialize erc-last-saved-position if not already a marker.
Ivan Shmakov [Fri, 10 Oct 2014 13:16:12 +0000 (09:16 -0400)]
Only initialize erc-last-saved-position if not already a marker.

Fixes: debbugs:16145
9 years ago* lisp/window.el (temp-buffer-window-show): Make BUFFER a required arg.
Leo Liu [Fri, 10 Oct 2014 12:39:49 +0000 (20:39 +0800)]
* lisp/window.el (temp-buffer-window-show): Make BUFFER a required arg.

Fixes: debbugs:18656
9 years agoFixed crash at startup by starting bidi_bracket_type_t from 1, not zero.
Eli Zaretskii [Fri, 10 Oct 2014 09:38:48 +0000 (12:38 +0300)]
Fixed crash at startup by starting bidi_bracket_type_t from 1, not zero.

9 years ago[maint] Start Emacs versioning doc; nfc.
Thien-Thi Nguyen [Fri, 10 Oct 2014 07:54:08 +0000 (09:54 +0200)]
[maint] Start Emacs versioning doc; nfc.

* admin/versioning: New file.

9 years ago* lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo.
Stefan Monnier [Fri, 10 Oct 2014 04:03:27 +0000 (00:03 -0400)]
* lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo.
Reported by Arni Magnusson <arnima@hafro.is>.
* lisp/progmodes/prolog.el (prolog-electric--underscore): Same.

Fixes: debbugs:18622
9 years ago* lisp/select.el (gui-selection-exists-p-alist): New method.
Stefan Monnier [Fri, 10 Oct 2014 03:28:24 +0000 (23:28 -0400)]
* lisp/select.el (gui-selection-exists-p-alist): New method.
* lisp/menu-bar.el (menu-bar-edit-menu, clipboard-yank):
* lisp/simple.el (deactivate-mark): Use it.
* lisp/term/x-win.el (gui-selection-exists-p):
* lisp/term/w32-win.el (gui-selection-exists-p):
* lisp/term/pc-win.el (gui-selection-exists-p):
* lisp/term/ns-win.el (gui-selection-exists-p): Provide a backend instance.

9 years agoAllow Info-fontify-maximum-menu-size to specify unlimited
Glenn Morris [Fri, 10 Oct 2014 03:24:41 +0000 (20:24 -0700)]
Allow Info-fontify-maximum-menu-size to specify unlimited

* lisp/info.el (Info-fontify-maximum-menu-size): Fix :type.
Allow t to mean no limit.
(Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.

9 years ago* lisp/info.el (Info-fontify-maximum-menu-size): Bump to 400k.
Glenn Morris [Fri, 10 Oct 2014 01:11:24 +0000 (21:11 -0400)]
* lisp/info.el (Info-fontify-maximum-menu-size): Bump to 400k.

Fixes: debbugs:16227
9 years agoAdded BPA. Emacs aborts at startup.
Eli Zaretskii [Thu, 9 Oct 2014 17:54:42 +0000 (20:54 +0300)]
Added BPA.  Emacs aborts at startup.

9 years ago* doc/emacs/help.texi: Avoid overfull hbox.
Glenn Morris [Thu, 9 Oct 2014 17:39:07 +0000 (13:39 -0400)]
* doc/emacs/help.texi: Avoid overfull hbox.

9 years ago* doc/lispref/control.texi: Avoid overfull hbox.
Glenn Morris [Thu, 9 Oct 2014 17:36:02 +0000 (13:36 -0400)]
* doc/lispref/control.texi: Avoid overfull hbox.

9 years ago* doc/lispref/elisp.texi (DATE): Bump to October 2014.
Glenn Morris [Thu, 9 Oct 2014 16:07:40 +0000 (09:07 -0700)]
* doc/lispref/elisp.texi (DATE): Bump to October 2014.
I still have no idea what this is for, but newer is better!

9 years agoSpelling fixes.
Paul Eggert [Thu, 9 Oct 2014 15:59:41 +0000 (08:59 -0700)]
Spelling fixes.

9 years ago* src/frame.c (Fmouse_pixel_position): Call Vmouse_position_function.
Stefan Monnier [Thu, 9 Oct 2014 13:50:10 +0000 (09:50 -0400)]
* src/frame.c (Fmouse_pixel_position): Call Vmouse_position_function.

Fixes: debbugs:18638