- 18 Oct, 2014 12 commits
-
-
Jan Djärv authored
-
Jan Djärv authored
* 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.
-
Eli Zaretskii authored
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.
-
Eli Zaretskii authored
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.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Alan Mackenzie authored
bug #18749. progmodes/cc-engine.el (c-macro-is-genuine-p): New function. (c-beginning-of-macro): Use the above new function.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
src/w32select.c (owner_callback): Mark with ALIGN_STACK attribute.
-
Ted Zlatanov authored
* 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>.
-
Michal Nazarewicz authored
* 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.
-
Michal Nazarewicz authored
* etc/NEWS: Mention new whitespace-mode option: big-indent.
-
- 17 Oct, 2014 8 commits
-
-
Glenn Morris authored
* etc/NEWS: Clarify OS X entries.
-
Glenn Morris authored
-
Glenn Morris authored
-
Michal Nazarewicz authored
-
Michal Nazarewicz authored
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.
-
Eli Zaretskii authored
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.
-
Stefan Monnier authored
* 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 ..) ..).
-
Glenn Morris authored
Regenerate ldefs-boot and AUTHORS
-
- 16 Oct, 2014 10 commits
-
-
Jorge A. Alfaro Murillo authored
-
Sylvain Chouleur authored
-
Alan Mackenzie authored
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.
-
Tom Tromey authored
(bug #18719).
-
Eli Zaretskii authored
lisp/international/characters.el (bracket-type): Force pre-loading of uni-brackets.el.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Glenn Morris authored
-
Glenn Morris authored
-
- 15 Oct, 2014 10 commits
-
-
Lars Magne Ingebrigtsen authored
-
Stefan Monnier authored
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.
-
Paul Eggert authored
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.
-
Jan Djärv authored
-
Stefan Monnier authored
-
Stefan Monnier authored
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.
-
Eli Zaretskii authored
-
Stefan Monnier authored
(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.
-
Stefan Monnier authored
(compilation-next-error): Ensure the parse before we look at compilation-message property.
-
Alan Mackenzie authored
string. (Custom-reset-standard): Save custom-file (e.g. .emacs) only when custom-command-apply has returned non-nil.
-