- 20 Dec, 2013 11 commits
-
-
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 17 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
-
Chong Yidong authored
Fixes: debbugs:7593
-
Kazuhiro Ito authored
Fixes: debbugs:13914
-
Shigeru Fukaya authored
* apropos.el (apropos-words-to-regexp): Fix algorithm. Fixes: debbugs:13946
-
Glenn Morris authored
-
Glenn Morris authored
* src/lread.c (Fload): Pass load_prefer_newer to openp. Don't bother checking mtime if openp already did it. (openp): Add `newer' argument, to check all suffixes and find the newest file. (syms_of_lread) <load_prefer_newer>: New option. * src/callproc.c (call_process): * src/charset.c (load_charset_map_from_file): * src/emacs.c (init_cmdargs): * src/image.c (x_create_bitmap_from_file, x_find_image_file): * src/lisp.h (openp): * lread.c (Flocate_file_internal): * src/process.c (Fformat_network_address): * src/sound.c (Fplay_sound_internal): * src/w32.c (check_windows_init_file): * src/w32proc.c (sys_spawnve): Update for new arg spec of openp. * lisp/Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t. * etc/NEWS: Mention this. Fixes: debbugs:2061
-
Le Wang authored
Fixes: debbugs:13404
-
Chong Yidong authored
-
Glenn Morris authored
Only mention enable-multibyte-characters if non-standard.
-
- 17 Dec, 2013 2 commits
-
-
Juri Linkov authored
before deletion to not show irrelevant errors if it doesn't exist.
-
Juri Linkov authored
* lisp/startup.el (fancy-startup-screen, fancy-about-screen): Set browse-url-browser-function to eww-browse-url locally. (Bug#14751) * lisp/net/browse-url.el (browse-url-browser-function): Move `eww' closer to similar functions. * lisp/net/eww.el (browse-web): Add alias to `eww'. (eww-mode-map): Bind "r" to `eww-forward-url' like in Info. Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
-