- 21 Dec, 2013 3 commits
-
-
Chong Yidong authored
* custom.el (custom-theme-recalc-face): Do nothing if the face is undefined. Thus, theme settings for undefined faces do not take effect until the faces are defined with defface, the same as with theme variables. * faces.el (face-spec-set): Use face-spec-recalc in all cases. (face-spec-reset-face): Don't assign extra properties in temacs. (face-spec-recalc): Apply X resources too.
-
Chong Yidong authored
* faces.el (face-spec-set): * cus-face.el (custom-theme-set-faces, custom-set-faces): * custom.el (defface): Doc fixes. Fixes: debbugs:16203
-
Chong Yidong authored
* lisp/indent.el (indent-rigidly-map): Add docstring, and move commands into named functions. (indent-rigidly-left, indent-rigidly-right) (indent-rigidly-left-to-tab-stop) (indent-rigidly-right-to-tab-stop): New functions. Decide on indentation direction based on bidi direction, and accumulate sequential commands in a single undo boundary. (indent-rigidly--pop-undo): New utility function. * doc/emacs/indent.texi (Indentation Commands): Document C-x TAB changes. * doc/lispref/text.texi (Region Indent): Note the new interactive behavior of indent-rigidly.
-
- 20 Dec, 2013 18 commits
-
-
Juanma Barranquero authored
-
Daniel Colascione authored
so that we don't reflow comments into the shebang line.
-
Juri Linkov authored
a position when `dired-directory' is non-nil. Check integer positions with `integerp'. (toggle-save-place, save-places-to-alist): Add check for `dired-directory'. (save-place-find-file-hook): Check integer positions with `integerp'. (save-place-dired-hook): Use `dired-goto-file' when `dired-filename' is found in the assoc list. Check integer positions with `integerp'. (dired-initial-position-hook): Rename from `dired-initial-point-hook'. * lisp/dired.el (dired-initial-position-hook): Rename back from `dired-initial-point-hook'. (dired-initial-position): Rename `dired-initial-point-hook' to `dired-initial-position-hook'. (dired-file-name-at-point): Doc fix. Fixes: debbugs:15329
-
Juri Linkov authored
(read-regexp-suggestions): New function. (read-regexp): Use `read-regexp-defaults-function' to get default values. Use `read-regexp-suggestions'. Add non-empty default to history for empty input. (occur-read-regexp-defaults-function): Remove function. (occur-read-primary-args): Use `regexp-history-last' instead of `occur-read-regexp-defaults-function'. * lisp/hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function. (hi-lock-line-face-buffer, hi-lock-face-buffer) (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of `hi-lock-read-regexp-defaults-function'. Doc fix. (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp' with `find-tag-default-as-symbol-regexp'. Doc fix. (hi-lock-read-regexp-defaults): Remove function. (hi-lock-regexp-okay): Add check for null. * lisp/progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for the arg DEFAULTS. Move formatting of the prompt to `read-regexp'. * lisp/subr.el (find-tag-default-as-symbol-regexp): New function. (find-tag-default-as-regexp): Move symbol regexp formatting to `find-tag-default-as-symbol-regexp'. Fixes: debbugs:14405
-
E Sabof authored
Fixes: debbugs:14179
-
Stephen Berman authored
* calendar/todo-mode.el: New implementation of item insertion commands and key bindings. (todo-key-prompt): New face. (todo-insert-item): New command. (todo-insert-item--parameters): New defconst, replacing defvar todo-insertion-commands-args-genlist. (todo-insert-item--param-key-alist): New defconst, replacing defvar todo-insertion-commands-arg-key-list. (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts. (todo-insert-item--argsleft, todo-insert-item--apply-args) (todo-insert-item--next-param): New functions. (todo-insert-item--args, todo-insert-item--argleft) (todo-insert-item--argsleft, todo-insert-item--newargsleft): New variables. (todo-key-bindings-t): Change binding of "i" from todo-insertion-map to todo-insert-item. (todo-powerset, todo-gen-arglists, todo-insertion-commands-args) (todo-insertion-command-name, todo-insertion-commands-names) (todo-define-insertion-command, todo-insertion-commands) (todo-insertion-key-bindings, todo-insertion-map): Remove.
-
Stephen Berman authored
* calendar/todo-mode.el: Bug fixes and new features. (todo-toggle-item-highlighting): Use eval-and-compile instead of eval-when-compile. (todo-move-category): Allow choosing a non-existing todo file to move the category to, and create that file. (todo-default-priority): New user option. (todo-set-item-priority): Use it. (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions. (desktop-restore-file-buffer): Declare. (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer. (todo-modes-set-2): Locally set desktop-save-buffer to todo-desktop-save-buffer. (todo-mode, todo-archive-mode, todo-filtered-items-mode) (auto-mode-alist): Add autoload cookie. Fixes: debbugs:15225
-
Bozhidar Batsov authored
(string-remove-suffix): New function.
-
Bozhidar Batsov authored
-
Martin Rudalics authored
Remove scroll_bar_actual_width from frames. * frame.h (struct frame): Remove scroll_bar_actual_width slot. * frame.c (Fscroll_bar_width): Return scroll bar area width. (x_figure_window_size): * nsterm.m (x_set_window_size): * widget.c (set_frame_size): * w32term.c (x_set_window_size): * xterm.c (x_set_window_size, x_set_window_size_1): Don't set scroll_bar_actual_width. Convert scroll_bar members to integers on Windows. * w32term.h (struct scroll_bar): Convert top, left, width, height, start, end and dragging to integers. * w32fns.c (w32_createscrollbar): Remove XINT conversions for scroll_bar members. * w32term.c (w32_set_scroll_bar_thumb) (w32_scroll_bar_handle_click): Remove XINT conversions for scroll_bar members. Treat bar->dragging as integer. (x_scroll_bar_create): Call ALLOCATE_PSEUDOVECTOR with "top" as first element. Remove XINT conversions for scroll_bar members. (w32_set_vertical_scroll_bar, x_scroll_bar_report_motion): Remove XINT conversions for scroll_bar members. Fix assignment for new window total sizes. * window.c (Fwindow_resize_apply_total): Assign values for minibuffer window. * window.el (window--pixel-to-size): Remove function. (window--pixel-to-total-1, window--pixel-to-total): Fix calculation of new total sizes.
-
Vitalie Spinu authored
Fixes: debbugs:16010
-
Chong Yidong authored
-
Dmitry Gutov authored
option. (ruby-smie--indent-to-stmt-p): Use it. (ruby-smie-rules): Revert the logic in the handling of `when'. Expand the `begin' clause to handle `ruby-align-to-stmt-keywords'. (ruby-deep-arglist, ruby-deep-indent-paren) (ruby-deep-indent-paren-style): Update docstrings to note that the vars don't have any effect with SMIE. * test/automated/ruby-mode-tests.el: Add tests for `ruby-align-to-stmt-keywords'. * test/indent/ruby.rb: Update examples to reflect the lack of change in default indentation of `begin' blocks. Fixes: debbugs:16182
-
Jay Belanger authored
`calc-context-sensitive-enter'. doc/misc/calc.texi (Stack Manipulation Commands): Mention using the variable `calc-context-sensitive-enter' for `calc-enter' and `calc-pop'.
-
Lars Magne Ingebrigtsen authored
-
Rüdiger Sonderfeld authored
* lisp/progmodes/octave.el (octave): Add link to manual and octave homepage. (octave-mode-menu): Link to octave-mode manual.
-
Leo Liu authored
insertion using skeleton-end-newline. Fixes: debbugs:16138
-
Juri Linkov authored
to add the face property to matches and titles. * lisp/hi-lock.el (hi-green): Use lighter color "light green" closer to the palette of other hi-lock colors. (hi-lock-set-pattern): Prepend hi-lock face to the existing face. Fixes: debbugs:14645
-
- 19 Dec, 2013 10 commits
-
-
Juri Linkov authored
Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035) (minibuffer-history-symbol): Move variable declaration closer to its usage. * lisp/isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'. (Bug#14785) * lisp/gnus/gnus.el (gnus-suppress-keymap): * lisp/gnus/gnus-art.el (gnus-article-mode-map): * lisp/gnus/gnus-group.el (gnus-group-mode-map): * lisp/gnus/gnus-sum.el (gnus-summary-mode-map, gnus-summary-backend-map): Remove [backspace] key binding because it shadows DEL (bug#16035). * lisp/gnus/mm-decode.el (mm-viewer-completion-map): Remove duplicate definition.
-
Juri Linkov authored
(log-edit-hook): Add it to :options. Fixes: debbugs:16170
-
Juri Linkov authored
command names and the last command. Always display additional formats of the integer result in the echo area, and insert them to the current buffer only with a zero prefix arg. Display character when char-displayable-p is non-nil. (eval-expression): With a zero prefix arg, set `print-length' and `print-level' to nil, and insert the integer values from `eval-expression-print-format' at the end. Doc fix. * lisp/emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg `eval-last-sexp-arg-internal'. Doc fix. (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to `eval-last-sexp-print-value'. Doc fix. (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'. Set `print-length' and `print-level' to nil when arg is zero. (eval-last-sexp): Doc fix. (eval-defun-2): Print the integer values from `eval-expression-print-format' at the end. * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print the integer values from `eval-expression-print-format' at the end. * lisp/ielm.el (ielm-eval-input): Print the integer values from `eval-expression-print-format' at the end. Fixes: debbugs:12985
-
Ted Zlatanov authored
* net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of 2013-12-11T19:01:44Z!tzz@lifelogs.com.
-
Stefan Monnier authored
(hl-line-highlight, global-hl-line-highlight): Use it. (hl-line-overlay): Use defvar-local. Fixes: debbugs:16192
-
Jan Djärv authored
* lisp/term/ns-win.el: Require dnd. (global-map): Remove drag items. (ns-insert-text, ns-set-foreground-at-mouse) (ns-set-background-at-mouse): Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame) (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame): New functions. * src/nsterm.h (KEY_NS_DRAG_FILE, KEY_NS_DRAG_COLOR, KEY_NS_DRAG_TEXT): Remove. * src/nsterm.m (Qfile, Qurl): New. (EV_MODIFIERS2): New macro. (EV_MODIFIERS): Use EV_MODIFIERS2. (ns_term_init): Remove font and color from DND, does not work on newer OSX, and other ports don't have them. (performDragOperation:): Handle modifiers used during drag. Use DRAG_N_DROP_EVENT instead of NS specific events. Remove global Lisp variables used to communicate with ns-win.el. Remove font and color handling. (syms_of_nsterm): Defsym Qfile and Qurl. Fixes: debbugs:8051
-
Glenn Morris authored
Fixes: debbugs:16121
-
Dmitry Gutov authored
keywords to their parent.
-
Dmitry Gutov authored
first arg to be a string (fixed dead code), or an operator symbol. (ruby-smie--forward-token): Tokenize ` @ ' before strings and operator symbols. (ruby-smie-rules): Remove parent token check in the `.' clause, it did nothing. Don't respond to `(:after ".")', it will be called with :before anyway. Remove the ` @ ' rule, it didn't seem to change anything. Only return indentation for binary operators when they are hanging. De-dent opening paren when its parent is `.', otherwise it looks bad when the dot is not at bol or eol. Fixes: debbugs:16182
-
Juri Linkov authored
* lisp/replace.el (query-replace-read-args): Split a non-negative arg and a negative arg into separate elements. (query-replace, query-replace-regexp, replace-string) (replace-regexp): Add arg `backward'. Doc fix. (replace-match-maybe-edit): When new arg `backward' is non-nil, move point to the beginning of the match. (replace-search, replace-highlight): Use new arg `backward' to set the value of `isearch-forward'. (perform-replace): Add arg `backward' and use it to perform replacement backward. * lisp/isearch.el (isearch-query-replace): Use a negative prefix arg to call `perform-replace' with a non-nil arg `backward'. Fixes: debbugs:14979
-
- 18 Dec, 2013 9 commits
-
-
Juri Linkov authored
to the default list. Move `log-edit-show-files' to the end. Add more available functions to options. (log-edit): Move default specific settings to `log-edit-insert-message-template'. Don't move point. (log-edit-insert-message-template): New function. (log-edit-insert-changelog): Add `save-excursion' and don't move point. Fixes: debbugs:16170
-
Juri Linkov authored
and "r" to help-go-forward for compatibity with Info. Fixes: debbugs:16178
-
Leo Liu authored
Fixes: debbugs:16186
-
Eli Zaretskii authored
src/ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f formats for displaying file sizes when the -s switch is given. Instead, compute a separate format for displaying the size in blocks, which is displayed in addition to the "regular" size. When -h is given in addition to -s, produce size in blocks in human-readable form as well.
-
Chong Yidong authored
* custom.el (custom-available-themes): Doc fix. Fixes: debbugs:15717
-
Tassilo Horn authored
* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference tables with ~\ref{...} instead of only \ref{...}.
-
Chong Yidong authored
Fixes: debbugs:14348
-
Chong Yidong authored
* lisp/custom.el (custom-push-theme): If custom--inhibit-theme-enable is non-nil, do not create a new entry in the symbol's theme-value or theme-face property; update theme-settings only. Fixes: debbugs:14664
-
Chong Yidong authored
Fixes: debbugs:15674
-