]> git.eshelyaron.com Git - emacs.git/log
emacs.git
10 years agoMerge from emacs-24; up to 2014-07-28T06:28:15Z!dmantipov@yandex.ru
Glenn Morris [Mon, 20 Oct 2014 19:59:41 +0000 (20:59 +0100)]
Merge from emacs-24; up to 2014-07-28T06:28:15Z!dmantipov@yandex.ru

10 years agoNewsticker: fix broken image download via url-retrieve, again.
Ulf Jasper [Mon, 20 Oct 2014 19:47:51 +0000 (21:47 +0200)]
Newsticker: fix broken image download via url-retrieve, again.

* lisp/net/newst-backend.el
(newsticker--image-download-by-url-callback): Make this function
actually work: Check status properly, then save image.

10 years agoRestore temporarily reverted bytecomp change
Stefan Monnier [Mon, 20 Oct 2014 19:23:50 +0000 (20:23 +0100)]
Restore temporarily reverted bytecomp change

* lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg case.

Fixes: debbugs:18767
10 years agoAdd 24.4 release ChangeLog entries emacs-24.4
Glenn Morris [Mon, 20 Oct 2014 19:21:15 +0000 (20:21 +0100)]
Add 24.4 release ChangeLog entries

10 years ago* objects.texi (Type Predicates): Don't mention display-table-p.
Tom Tromey [Mon, 20 Oct 2014 19:20:29 +0000 (13:20 -0600)]
* objects.texi (Type Predicates): Don't mention display-table-p.

10 years agoTemporarily revert previous bytecomp change
Glenn Morris [Mon, 20 Oct 2014 19:19:15 +0000 (20:19 +0100)]
Temporarily revert previous bytecomp change

10 years agoNewsticker: fix broken image download via url-retrieve.
Ulf Jasper [Mon, 20 Oct 2014 18:39:58 +0000 (20:39 +0200)]
Newsticker: fix broken image download via url-retrieve.

* lisp/net/newst-backend.el
(newsticker--image-download-by-url-callback): Make this function
actually work: First save image then check status.

10 years ago* lisp/textmodes/css-mode.el (scss-mode): New major-mode.
Stefan Monnier [Mon, 20 Oct 2014 16:36:34 +0000 (12:36 -0400)]
* lisp/textmodes/css-mode.el (scss-mode): New major-mode.
(css-mode-syntax-table): Use d style comment, to ease the scss case.
(css-ident-re): Allow things like @-moz-keyframes.
(scss--hash-re): New const.
(css--font-lock-keywords): New function, extracted from
css-font-lock-keywords.
(css-font-lock-keywords): Use it.
(scss-mode-syntax-table, scss-font-lock-keywords): New vars.
(scss-smie--not-interpolation-p): New function.
(css-smie--forward-token, css-smie--backward-token): Use it.
(css-mode): Remove left-over code.
* test/indent/scss-mode.scss: New file.
* test/indent/css-mode.css: Add a few uneventful examples.

10 years agoSpelling and grammar fixes in comments.
Paul Eggert [Mon, 20 Oct 2014 16:00:35 +0000 (09:00 -0700)]
Spelling and grammar fixes in comments.

10 years ago* lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
Stefan Monnier [Mon, 20 Oct 2014 02:36:22 +0000 (22:36 -0400)]
* lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
case.

Fixes: debbugs:18767
10 years agoFix spelling error.
Jan Djärv [Sun, 19 Oct 2014 20:35:32 +0000 (22:35 +0200)]
Fix spelling error.

* NEWS: Teroffs and detachable tool bar for Gtk+ is gone.

10 years agosrc/ChangeLog: Remove stray duplicate entry.
Eli Zaretskii [Sun, 19 Oct 2014 19:13:29 +0000 (22:13 +0300)]
src/ChangeLog: Remove stray duplicate entry.

10 years ago* gtkutil.c (create_dialog): Don't use gtk_dialog_get_action_area on
Jan Djärv [Sun, 19 Oct 2014 17:27:53 +0000 (19:27 +0200)]
* gtkutil.c (create_dialog): Don't use gtk_dialog_get_action_area on
Gt+ >= 3.12, or gtk_misc_set_alignment on Gtk+ >= 3.14.
(make_widget_for_menu_item): Don't use gtk_misc_set_alignment on
Gtk+ >= 3.14 (Bug#18674).
(update_frame_tool_bar): Don't use  gtk_misc_set_padding on
Gtk+ >= 3.14 (Bug#18674).

* gtkutil.c (xg_update_menubar, xg_update_menu_item): Only call
g_object_notify for label if Gtk+ >= 2.16 (Bug#16522).

10 years ago* src/xterm.c (handle_one_xevent): Check return value from
Jan Djärv [Sun, 19 Oct 2014 17:07:54 +0000 (19:07 +0200)]
* src/xterm.c (handle_one_xevent): Check return value from
x_handle_net_wm_state, remove net_wm_state_hidden_seen.
(get_current_wm_state): Remove net_wm_state_hidden_seen setting.

* src/xterm.h (x_output): Remove net_wm_state_hidden_seen.

Fixes: debbugs:18722
10 years ago* NEWS: Teroffs and detachable tool bar for Gtk+ is gone.
Jan Djärv [Sun, 19 Oct 2014 17:07:32 +0000 (19:07 +0200)]
* NEWS: Teroffs and detachable tool bar for Gtk+ is gone.

10 years agoNewsticker: Show feedicons in treeview. Small fix in opml export.
Ulf Jasper [Sun, 19 Oct 2014 16:50:15 +0000 (18:50 +0200)]
Newsticker: Show feedicons in treeview.  Small fix in opml export.

* etc/images/newsticker/README: Add rss-feed.png, rss-feed.svg.

* etc/images/newsticker/rss-feed.png: New.

* etc/images/newsticker/rss-feed.svg: New.

* lisp/net/newst-backend.el: Require url-parse.
(newsticker--get-news-by-wget): Store feed name as process property.
(newsticker--sentinel): Read feed name from process property.
(newsticker--sentinel-work): Rename argument name to feed-name.
Rename variable imageurl to image-url.  Pick icon url from Atom
1.0 data.  Launch download of feed icon.
(newsticker--get-icon-url-atom-1.0): New.
(newsticker--unxml)
(newsticker--unxml-node)
(newsticker--unxml-attribute): Documentation.
(newsticker--icons-dir): New.
(newsticker--image-get): New arguments FILENAME and DIRECTORY.
Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
(newsticker--image-download-by-wget): New.  Use process properties
for storing informations.
(newsticker--image-sentinel): Read informations from process properties.
(newsticker--image-save)
(newsticker--image-remove)
(newsticker--image-download-by-url)
(newsticker--image-download-by-url-callback): New.
(newsticker-opml-export): Handle url list entries containing a
function instead of an url string.

* lisp/net/newst-reader.el (newsticker-html-renderer): Whitespace.
(newsticker--print-extra-elements)
(newsticker--do-print-extra-element): Documentation
(newsticker--image-read): Optionally limit image height.  Use
imagemagick if possible.
(newsticker--icon-read): New.

* lisp/net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
(newsticker--treeview-tree-expand): Use feed icons in treeview.
(newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
(newsticker--tree-widget-leaf-icon): Use feed icon.

10 years ago* gtkutil.c (create_dialog): Don't use gtk_dialog_get_action_area on
Jan Djärv [Sun, 19 Oct 2014 16:28:49 +0000 (18:28 +0200)]
* gtkutil.c (create_dialog): Don't use gtk_dialog_get_action_area on
Gt+ >= 3.12, or gtk_misc_set_alignment on Gtk+ >= 3.14.
(make_widget_for_menu_item): Don't use gtk_misc_set_alignment on
Gtk+ >= 3.14 (Bug#18674).
(update_frame_tool_bar): Don't use  gtk_misc_set_padding on
Gtk+ >= 3.14 (Bug#18674).

10 years agoMerge from gnulib.
Paul Eggert [Sun, 19 Oct 2014 06:33:40 +0000 (23:33 -0700)]
Merge from gnulib.

This incorporates:
2014-10-18 readlinkat: port to AIX 7.1
2014-10-07 fcntl: fix error reporting by dupfd
* lib/fcntl.c, lib/readlinkat.c, lib/unistd.in.h, m4/readlinkat.m4:
* m4/unistd_h.m4: Update from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

10 years ago* lisp/emacs-lisp/eieio: A bit more cleanup, removing compat code.
Stefan Monnier [Sun, 19 Oct 2014 02:14:58 +0000 (22:14 -0400)]
* lisp/emacs-lisp/eieio: A bit more cleanup, removing compat code.

* lisp/emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
(eieio--with-scoped-class): Use `declare'.
(eieio-defclass): Remove compatibility code.
(no-method-definition, no-next-method, inconsistent-class-hierarchy)
(invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
* lisp/emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
Use help-function-arglist instead.

10 years ago* gtkutil.c: Remove no-longer-used code.
Paul Eggert [Sat, 18 Oct 2014 19:07:17 +0000 (12:07 -0700)]
* gtkutil.c: Remove no-longer-used code.

(xg_update_menubar): Remove unused local and unnecessary call to
gtk_menu_item_get_submenu.
(XG_TOOL_BAR_PROXY_BUTTON, xg_tool_bar_proxy_callback)
(xg_get_tool_bar_widgets, xg_tool_bar_proxy_help_callback)
(TOOLBAR_TOP_WIDGET): Remove; no longer used.

10 years ago* cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
Jan Djärv [Sat, 18 Oct 2014 16:26:47 +0000 (18:26 +0200)]
* cus-start.el (x-gtk-whole-detached-tool-bar): Remove.

10 years ago* xfns.c (syms_of_xfns): Remove x-gtk-whole-detached-tool-bar.
Jan Djärv [Sat, 18 Oct 2014 16:25:24 +0000 (18:25 +0200)]
* xfns.c (syms_of_xfns): Remove x-gtk-whole-detached-tool-bar.

10 years agoHandle deprecated Gtk+ stuff for version <= 3.10
Jan Djärv [Sat, 18 Oct 2014 16:19:53 +0000 (18:19 +0200)]
Handle deprecated Gtk+ stuff for version <= 3.10

* lisp/term/x-win.el (x-gtk-stock-map): Add icon names suggested as
replacements to stock names before stock names in a list.
Cdr may be a list, each name is tried in turn until one is found.

* src/gtkutil.c (XG_TEXT_CANCEL, XG_TEXT_OPEN, XG_TEXT_OK): New defines
to handle Gtk versions.
(xg_get_file_with_chooser): Use them.
(xg_have_tear_offs, tearoff_remove, tearoff_activate): Remove
(create_menus): Remove teroff argument and code.
Remove call to gtk_menu_set_title.
(xg_update_menubar, xg_update_submenu): Remove tearoff code.  Adjust
args to create_menus.
(xg_tool_bar_menu_proxy, xg_tool_bar_detach_callback)
(xg_tool_bar_attach_callback, TOOLBAR_TOP_WIDGET): Remove.
(xg_pack_tool_bar): Replace TOOLBAR_TOP_WIDGET, remove detach code.
(xg_make_tool_item): Remove detach code.
(xg_update_tool_bar_sizes): Replace TOOLBAR_TOP_WIDGET.
(find_icon_from_name): New function.
(update_frame_tool_bar): Remove GtkStockItem code, move to
find_icon_from_name.  Let stock be a list of icon names to try.
Only use gtk_image_new_from_stock on Gtk+ < 3.10.
Replace TOOLBAR_TOP_WIDGET.
(free_frame_tool_bar, xg_change_toolbar_position ): Replace
TOOLBAR_TOP_WIDGET.
(xg_initialize): Remove tearoff code.

* src/gtkutil.h (xg_have_tear_offs): Remove declaration.

* src/xmenu.c (set_frame_menubar): Remove GTK block that calls
xg_have_tear_offs.

* src/xterm.h (handlebox_widget): Remove.

10 years agoA better fix for drawing hollow cursor on X on 1-pixel thin space characters.
Eli Zaretskii [Sat, 18 Oct 2014 13:09:18 +0000 (16:09 +0300)]
A better fix for drawing hollow cursor on X on 1-pixel thin space characters.

 src/xterm.c (x_draw_bar_cursor, x_draw_hollow_cursor): Subtract 1
 pixel from the window's cursor glyph width, since X renders hollow
 blocks 1 pixel wider than the 'width' parameter.
 src/xdisp.c (get_phys_cursor_geometry): Don't subtract 1 pixel from
 glyph->pixel_width; this is now done in xterm.c.

10 years agoFix bidi reordering of bracket characters in isolates.
Eli Zaretskii [Sat, 18 Oct 2014 12:47:57 +0000 (15:47 +0300)]
Fix bidi reordering of bracket characters in isolates.

 src/bidi.c (bidi_cache_find): Rename the argument NEUTRALS_OK to
 RESOLVED_ONLY; when non-zero, return from the cache only fully
 resolved states.  All callers changed.
 (CANONICAL_EQU): New macro.
 (PUSH_BPA_STACK): Use it to push onto the BPA stack the canonical
 equivalent of the paired closing bracket character.
 (bidi_find_bracket_pairs): Set the bracket_pairing_pos member to
 the default non-negative value, to be checked later in
 bidi_resolve_brackets.  Use CANONICAL_EQU to test candidate
 characters against those pushed onto the BPA stack.
 (bidi_record_type_for_neutral): New function.
 (bidi_resolve_brackets): Record next_for_neutral and
 prev_for_neutral when embedding level gets pushed.  Force
 resolution of bracket pairs when entering a level run that was not
 yet BPA-resolved.
 (bidi_resolve_neutral): Add assertions before calling
 bidi_resolve_neutral_1.
 (bidi_level_of_next_char): Remove the code that attempted to
 resolve unresolved neutrals; that is now done by
 bidi_resolve_neutral.

10 years agoAdd support for canonically equivalent bracket characters.
Eli Zaretskii [Sat, 18 Oct 2014 11:07:44 +0000 (14:07 +0300)]
Add support for canonically equivalent bracket characters.

10 years agoMove cache retrieval on forwards scans to bidi_resolve_brackets.
Eli Zaretskii [Sat, 18 Oct 2014 10:23:29 +0000 (13:23 +0300)]
Move cache retrieval on forwards scans to bidi_resolve_brackets.

10 years agoCheck that a "macro" found near point-min isn't a ## operator. Fixes
Alan Mackenzie [Sat, 18 Oct 2014 10:02:59 +0000 (10:02 +0000)]
Check that a "macro" found near point-min isn't a ## operator.  Fixes
bug #18749.
progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
(c-beginning-of-macro): Use the above new function.

10 years agoFix processing of brackets in isolates and crash in w32select.c.
Eli Zaretskii [Sat, 18 Oct 2014 07:10:38 +0000 (10:10 +0300)]
Fix processing of brackets in isolates and crash in w32select.c.

10 years agoEnsure 8-byte stack alignment in w32select's callback.
Eli Zaretskii [Sat, 18 Oct 2014 06:40:04 +0000 (09:40 +0300)]
Ensure 8-byte stack alignment in w32select's callback.

 src/w32select.c (owner_callback): Mark with ALIGN_STACK attribute.

10 years agonet/gnutls.el: pass correct data to `gnutls-boot'.
Ted Zlatanov [Sat, 18 Oct 2014 01:02:30 +0000 (21:02 -0400)]
net/gnutls.el: pass correct data to `gnutls-boot'.

* net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
correct data to `gnutls-boot'.
Reported by Toke Høiland-Jørgensen <toke@toke.dk>.

10 years agoAdd a 'big-indent style to `whitespace-mode'.
Michal Nazarewicz [Sat, 18 Oct 2014 00:23:03 +0000 (20:23 -0400)]
Add a 'big-indent style to `whitespace-mode'.

* lisp/whitespace.el (whitespace-style, whitespace-big-indent)
(whitespace-big-indent-regexp, whitespace-style-value-list)
(whitespace-toggle-option-alist, whitespace-interactive-char)
(whitespace-toggle-options)
(global-whitespace-toggle-options, whitespace-help-text)
(whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
style to `whitespace-mode' to indicate that the line indentation
is too deep.  By default, 32 SPACEs or four TABs are considered
too many but `whitespace-big-indent-regexp' can be configured.

10 years agoMention new whitespace-mode option: big-indent.
Michal Nazarewicz [Sat, 18 Oct 2014 00:22:13 +0000 (20:22 -0400)]
Mention new whitespace-mode option: big-indent.

* etc/NEWS: Mention new whitespace-mode option: big-indent.

10 years ago* configure.ac: Simplify OS X $canonical tests.
Glenn Morris [Fri, 17 Oct 2014 18:05:48 +0000 (14:05 -0400)]
* configure.ac: Simplify OS X $canonical tests.

* etc/NEWS: Clarify OS X entries.

10 years agoMerge from emacs-24; up to 2014-07-28T02:47:29Z!fgallina@gnu.org
Glenn Morris [Fri, 17 Oct 2014 16:14:37 +0000 (09:14 -0700)]
Merge from emacs-24; up to 2014-07-28T02:47:29Z!fgallina@gnu.org

10 years agoRegenerate ldefs-boot emacs-24.4-rc1
Glenn Morris [Fri, 17 Oct 2014 16:08:40 +0000 (09:08 -0700)]
Regenerate ldefs-boot

10 years agoFix lisp/ChangeLog entry added in 2014-10-17T07:20:51Z!mina86@mina86.com
Michal Nazarewicz [Fri, 17 Oct 2014 07:28:25 +0000 (09:28 +0200)]
Fix lisp/ChangeLog entry added in 2014-10-17T07:20:51Z!mina86@mina86.com

10 years agotildify.el (tildify--pick-alist-entry): rename from tildify-mode-alist
Michal Nazarewicz [Fri, 17 Oct 2014 07:20:51 +0000 (09:20 +0200)]
tildify.el (tildify--pick-alist-entry): rename from tildify-mode-alist

tildify-mode-alist does not really describe what the functino does so
rename it to tildify--pick-alist-entry.  This also makes it clear that
the function is an internal one.

10 years agoFix display on X of 1-pixel R2L characters.
Eli Zaretskii [Fri, 17 Oct 2014 06:43:36 +0000 (09:43 +0300)]
Fix display on X of 1-pixel R2L characters.

 src/xterm.c (x_draw_hollow_cursor): Fix display of hollow cursor on
 1-pixel R2L characters.
 Reported by Dmitry Antipov <dmantipov@yandex.ru>, see
 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00518.html.

10 years ago* lisp/emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
Stefan Monnier [Fri, 17 Oct 2014 05:09:24 +0000 (01:09 -0400)]
* lisp/emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
* lisp/emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
(list-of): New type.
(eieio--typep): Remove.
(eieio-perform-slot-validation): Use cl-typep instead.
* lisp/emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
(defclass, defgeneric, defmethod): Add doc-string position.
(with-slots): Require cl-lib.
* lisp/emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).

10 years agoBump version to 24.4
Glenn Morris [Fri, 17 Oct 2014 04:56:41 +0000 (21:56 -0700)]
Bump version to 24.4
Regenerate ldefs-boot and AUTHORS

10 years agolisp/gnus/message.el (message-insert-signature): Make signature respect format=flowed
Jorge A. Alfaro Murillo [Thu, 16 Oct 2014 22:12:47 +0000 (22:12 +0000)]
lisp/gnus/message.el (message-insert-signature): Make signature respect format=flowed

10 years agolisp/gnus/gnus-icalendar.el: Support vcal format timezones
Sylvain Chouleur [Thu, 16 Oct 2014 22:12:03 +0000 (22:12 +0000)]
lisp/gnus/gnus-icalendar.el: Support vcal format timezones

10 years agoTrigger showing when point is in the "periphery" of a line or just
Alan Mackenzie [Thu, 16 Oct 2014 20:29:44 +0000 (20:29 +0000)]
Trigger showing when point is in the "periphery" of a line or just
inside a paren.
paren.el (show-paren-style, show-paren-delay)
(show-paren-priority, show-paren-ring-bell-on-mismatch): Remove
superfluous :group specifications.
(show-paren-when-point-inside-paren)
(show-paren-when-point-in-periphery): New customizable variables.
(show-paren-highlight-openparen): Make into a defcustom.
(show-paren--unescaped-p, show-paren--categorize-paren)
(show-paren--locate-near-paren): New defuns.
(show-paren--default): Refaactor and trigger on more paren
positions.
(show-paren-function): Small consequential changes.

10 years ago* files.el (auto-mode-alist): Use javascript-mode for .jsm
Tom Tromey [Thu, 16 Oct 2014 19:56:43 +0000 (13:56 -0600)]
* files.el (auto-mode-alist): Use javascript-mode for .jsm
(bug #18719).

10 years agoPre-load uni-brackets.el, which is always needed for redisplay.
Eli Zaretskii [Thu, 16 Oct 2014 16:42:59 +0000 (19:42 +0300)]
Pre-load uni-brackets.el, which is always needed for redisplay.

 lisp/international/characters.el (bracket-type): Force pre-loading of
 uni-brackets.el.

10 years agoFix a typo in a comment.
Eli Zaretskii [Thu, 16 Oct 2014 14:56:57 +0000 (17:56 +0300)]
Fix a typo in a comment.

10 years agoCherry-pick a fix from trunk; fix level handling in bidi_resolve_brackets.
Eli Zaretskii [Thu, 16 Oct 2014 13:18:00 +0000 (16:18 +0300)]
Cherry-pick a fix from trunk; fix level handling in bidi_resolve_brackets.

10 years agosrc/bidi.c (bidi_find_bracket_pairs): Avoid a loop that does nothing useful.
Eli Zaretskii [Thu, 16 Oct 2014 06:55:34 +0000 (09:55 +0300)]
src/bidi.c (bidi_find_bracket_pairs): Avoid a loop that does nothing useful.

10 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

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

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

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

10 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
10 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
10 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
10 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

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

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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

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

10 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.

10 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

10 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.

10 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.

10 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.

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

10 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 ='.

10 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.