summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/vc/vc-hg.el, lisp/vc/vc-git.el: Flush the 'vc-functions' cache.Stefan Monnier2018-01-182-0/+8
|
* Improve "*Process List*" and "*Local Variables*". (Bug#30016)Juri Linkov2018-01-182-4/+23
| | | | | | | | | | * lisp/files.el (save-buffers-kill-emacs): Display "*Process List*" buffer at bottom. (hack-local-variables-confirm): Display "*Local Variables*" buffer at bottom. * lisp/simple.el (process-menu-mode): Increase buffer column width from 15 to 25.
* Bind up/down in ecompleteLars Ingebrigtsen2018-01-181-4/+6
| | | | | * lisp/ecomplete.el (ecomplete-display-matches): Allow using up/down in addition to M-p/M-n.
* Fix some tooltip related problemsMartin Rudalics2018-01-181-8/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace 'tooltip' frame parameter with a 'tooltip' member in the frame structure. For GTK+ builds use 'tip_last_frame' to find the frame for which the currently visible tooltip was made. For modeline help-echoing have tooltips show applicable actions only. * lisp/bindings.el (mode-line-default-help-echo): New function as default value of homonymous option. * src/dispextern.h (tip_frame, tip_window): Remove declarations. * src/frame.c (make_frame): Initialize new frame structure member 'tooltip'. (Fframe_list, other_frames): Rewrite with new macro FRAME_TOOLTIP_P. * src/frame.h (struct frame): New member 'tooltip'. (FRAME_TOOLTIP_P): New macro. * src/gtkutil.c (xg_prepare_tooltip, xg_hide_tooltip): Rewrite using boolean return values. * src/nsfns.m (tip_frame): Remove declaration. * src/w32fns.c (w32_display_monitor_attributes_list) (w32_display_monitor_attributes_list_fallback): Rewrite with new macro FRAME_TOOLTIP_P. (tip_last_string, tip_last_frame, tip_last_parms): New Lisp scalars replacing Lisp vector last_show_tip_args. (x_create_tip_frame): Set new frame's 'tooltip' structure member to true. (x_hide_tip): Additionally test tip_frame for liveness. (Fx_show_tip): Handle last_show_tip_args to tip_last_frame, tip_last_string and tip_last_parms conversion. (syms_of_w32fns): staticpro tip_last_frame, tip_last_string and tip_last_parms instead of last_show_tip_args. * src/w32term.c (w32_read_socket, x_new_font): Rewrite with new macro FRAME_TOOLTIP_P. * src/w32term.h (tip_window): Add external declaration. * src/xdisp.c (x_consider_frame_title, prepare_menu_bars) (should_produce_line_number): Rewrite with new macro FRAME_TOOLTIP_P. (note_mode_line_or_margin_highlight): If `mode-line-default-help-echo' specifies a function, call it to produce help echo string. * src/xfns.c (x_make_monitor_attribute_list) (Fx_display_monitor_attributes_list): Rewrite with new macro FRAME_TOOLTIP_P. (tip_last_string, tip_last_frame, tip_last_parms): New Lisp scalars replacing Lisp vector last_show_tip_args. (x_create_tip_frame): Set new frame's 'tooltip' structure member to true. (x_hide_tip): Rewrite with additional tests of frames for liveness and taking into account that for GTK+ tips the reference frame is now stored in tip_last_frame instead of tip_frame. (Fx_show_tip): Handle last_show_tip_args to tip_last_frame, tip_last_string and tip_last_parms conversion. For GTK+ store FRAME argument in tip_last-frame. (syms_of_xfns): staticpro tip_last_frame, tip_last_string and tip_last_parms instead of last_show_tip_args. * src/xterm.c (x_update_begin, handle_one_xevent, x_new_font) (x_set_window_size): Rewrite with new macro FRAME_TOOLTIP_P. * src/xterm.h (tip_window): Add external declaration. * etc/NEWS: Mention new modeline tooltips behavior.
* Small cus-start fix for custom-delayed-init-variablesGlenn Morris2018-01-161-7/+9
| | | | | * lisp/cus-start.el (custom-delayed-init-variables): Only modify it during startup.
* Introduce a variable to control ecomplete sortingLars Ingebrigtsen2018-01-171-2/+29
| | | | | * lisp/ecomplete.el (ecomplete-sort-predicate): New variable. (ecomplete-get-matches): Use it.
* C++ Mode: Fontify correctly uniform initialisation with inner parentheses.Alan Mackenzie2018-01-161-24/+33
| | | | | | | | | | E.g.: someStruct x ( (nullptr != y) ? 3 : 4 ) Also fontify declarations of function pointers correctly. * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): While testing for a typeless declaration, additionally test the variable `got-prefix' to recognize a function pointer in parentheses. Allow c-fdoc-shift-type-backward to be invoked when we have nested parens.
* Add documentation to ecomplete.elLars Ingebrigtsen2018-01-161-0/+36
| | | | * lisp/ecomplete.el: Add doc strings and document the format.
* * lisp/ielm.el (ielm-eval-input): Use cl-print.Stefan Monnier2018-01-151-6/+17
|
* Merge from origin/emacs-26Glenn Morris2018-01-151-11/+3
|\ | | | | | | | | | | 98e5fb9bf3 (origin/emacs-26) Remove incorrect documentation in comint.el 8ba5b85161 An overdue update of src/emacs-icon.h 155b211133 Minor copyedit in ELisp manual
| * Remove incorrect documentation in comint.elCharles A. Roelli2018-01-151-11/+3
| | | | | | | | | | | | * lisp/comint.el (comint-interrupt-subjob, comint-kill-subjob) (comint-quit-subjob, comint-stop-subjob): Remove incorrect documentation. (Bug#30079)
| * Fix Bug#29149 in dired-aux.elShuguang Sun2018-01-141-4/+5
| | | | | | | | | | * lisp/dired-aux.el (dired-shell-stuff-it): Handle remote commands on w32 properly. (Bug#29149)
| * Fix Bug#29149 in shell.elMichael Albinus2018-01-141-2/+2
| | | | | | | | | | | | | | * lisp/shell.el (shell): Change order of `file-local-name' and `expand-file-name' calls. Otherwise, the local file name would be extended by a drive letter, even when it is a remote file, seen from w32. (Bug#29149)
| * ; * Update ldefs-boot.elNicolas Petton2018-01-131-14/+4
| |
| * ; * Update ldefs-boot.elNicolas Petton2018-01-121-4/+14
| |
* | Merge from origin/emacs-26Glenn Morris2018-01-155-18/+126
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c0cfa6455 * ChangeLog.3: Update 4387bb44ae Update authors bce51bd6f7 * lisp/gnus/message.el (message-do-auto-fill): Prevent do-... bd2a2a1e84 Improve documentation of etags 7ba75b9637 Teach etags new interpreters for some languages 1f7f03742d * lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-stri... dbb4aac212 * lisp/emacs-lisp/syntax.el (syntax-propertize): Fix bug#2... 80463a43da Improve documentation of fill-separate-heterogeneous-words... 4bd2416d55 Fix documentation of some x-* functions 9c2b11484f Inherit query-on-exit flag to stderr process (Bug#30031) 3efb1e7def Fix Bug#30057 a9b884c60f Tag some unstable tests, and skip by default (bug#24503) # Conflicts: # test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
| * * lisp/gnus/message.el (message-do-auto-fill): Prevent do-auto-fill fromKatsumi Yamaoka2018-01-121-1/+2
| | | | | | | | adding extra citation mark (bug#29767, but it is a different bug).
| * * lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-string' prop.Stefan Monnier2018-01-111-1/+2
| |
| * * lisp/emacs-lisp/syntax.el (syntax-propertize): Fix bug#29767Stefan Monnier2018-01-111-0/+8
| |
| * Improve documentation of fill-separate-heterogeneous-words-with-spaceCharles A. Roelli2018-01-101-4/+5
| | | | | | | | | | * lisp/textmodes/fill.el (fill-separate-heterogeneous-words-with-space): Fix grammar.
| * Fix documentation of some x-* functionsEli Zaretskii2018-01-101-12/+109
| | | | | | | | | | | | | | | | | | | | | | * lisp/term/pc-win.el (x-display-pixel-width) (x-display-pixel-height, x-display-planes) (x-display-color-cells, x-server-max-request-size) (x-server-vendor, x-server-version, x-display-screens) (x-display-mm-height, x-display-mm-width) (x-display-backing-store, x-display-visual-class): Provide doc strings, so that 'makedoc' produces non-empty documentation in etc/DOC for these functions. (Bug#30068)
* | * lisp/mail/smtpmail.el (smtpmail-send-data-1): No string-as-multibyteStefan Monnier2018-01-151-6/+6
| | | | | | | | | | | | This is not needed any more since unibyte strings will be sent as-is anyway by process-send-string. (smtpmail-via-smtp): Avoid set-buffer-process-coding-system.
* | (set-buffer-process-coding-system): Mark as interactive-only.Stefan Monnier2018-01-151-0/+1
| | | | | | | | | | * lisp/international/mule.el (set-buffer-process-coding-system): Mark as interactive-only.
* | Fix Bug#29149 in dired-aux.elShuguang Sun2018-01-131-4/+5
| | | | | | | | | | * lisp/dired-aux.el (dired-shell-stuff-it): Handle remote commands on w32 properly. (Bug#29149)
* | Fix Bug#29149 in shell.elMichael Albinus2018-01-131-2/+2
| | | | | | | | | | | | | | * lisp/shell.el (shell): Change order of `file-local-name' and `expand-file-name' calls. Otherwise, the local file name would be extended by a drive letter, even when it is a remote file, seen from w32. (Bug#29149)
* | Improve Tramp robustnessMichael Albinus2018-01-135-48/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-message, tramp-process-actions) (tramp-read-passwd, tramp-interrupt-process): * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch) (tramp-gvfs-maybe-open-connection): * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) (tramp-process-sentinel) (tramp-sh-handle-file-notify-add-watch) (tramp-barf-if-no-shell-prompt, tramp-maybe-open-connection) * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory) (tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl) (tramp-smb-maybe-open-connection): Use process property rather than connection property "vector". * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch): Fix scoping error. Let error traces use process buffer. * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch): Move "inotifywait" up. GVFS based monitoring is not stable. Let error traces use process buffer. (tramp-sh-gvfs-monitor-dir-process-filter): Check more error messages. (tramp-get-remote-gvfs-monitor-dir): Search also for "gio". * lisp/net/tramp.el (tramp-get-debug-buffer): Use `special-mode-map' as parent map in debug buffer. (tramp-message): Ensure, that proper process buffer is dumped in error case.
* | * lisp/frame.el (toggle-frame-maximized/fullscreen): Add frame arg.Juri Linkov2018-01-121-17/+16
| | | | | | | | (Bug#29986)
* | * lisp/windmove.el (windmove-default-keybindings): Allow list of modifiers.Juri Linkov2018-01-121-8/+10
| | | | | | | | (Bug#29985)
* | * lisp/mail/smtpmail.el: Use lexical-binding and cl-genericStefan Monnier2018-01-111-53/+57
| | | | | | | | | | | | | | | | | | (smtpmail-auth-supported): Mark it as non-constant. (smtpmail-try-auth-methods): Remove unused var 'ret'. Test non-nullness of mech user and password before calling smtpmail-try-auth-method. (smtpmail-try-auth-method): Make it into a generic function. (smtpmail-via-smtp): Remove unused var 'response-code'.
* | * lisp/org/org-element.el: Add comment about use of internal functionsStefan Monnier2018-01-111-0/+2
| |
* | Remove some more face aliases obsolete since 22.1Glenn Morris2018-01-103-5/+0
| | | | | | | | | | | | | | * lisp/generic-x.el (show-tabs-tab-face, show-tabs-space-face): * lisp/eshell/em-prompt.el (eshell-prompt-face): * lisp/vc/smerge-mode.el (smerge-base-face, smerge-markers-face): Remove face "-face" aliases, obsolete since 22.1.
* | Remove message.el face aliases obsolete since 22.1Glenn Morris2018-01-101-20/+0
| | | | | | | | | | * lisp/gnus/message.el: Remove face "-face" aliases, obsolete since 22.1.
* | Remove Gnus face aliases obsolete since 22.1Glenn Morris2018-01-105-192/+0
| | | | | | | | | | | | * lisp/gnus/gnus-art.el, lisp/gnus/gnus-cite.el: * lisp/gnus/gnus-srvr.el, lisp/gnus/gnus.el: * lisp/gnus/spam.el: Remove face "-face" aliases, obsolete since 22.1.
* | ; lisp/progmodes/cc-cmds.el: Comment.Glenn Morris2018-01-101-1/+1
| |
* | Remove obsolete variable sun-raw-prefix-hooksGlenn Morris2018-01-101-18/+1
| | | | | | | | | | * lisp/term/sun.el (sun-raw-prefix-hooks): Remove, obsolete since 21.1. (terminal-init-sun): No longer consult sun-raw-prefix-hooks.
* | * lisp/calendar/appt.el: Use lexical-bindingStefan Monnier2018-01-101-23/+21
| | | | | | | | | | | | (appt-display-message): Remove unused variable 'err'. (appt-check): Fix typo in search for a function on a hook. (number, original-date): Move declaration into 'appt-make-list'.
* | * lisp/calendar/diary-lib.el: Fix bug#30051Stefan Monnier2018-01-101-7/+11
| | | | | | | | | | (diary-list-entries): Dynamically bind 'number' and 'original-date' around diary-hook as documented in the docstring.
* | Remove some obsolete calendar functions and variablesGlenn Morris2018-01-093-14/+1
| | | | | | | | | | | | | | | | | | * lisp/calendar/cal-tex.el (cal-tex-list-holidays): Remove alias, obsolete since 24.4. * lisp/calendar/calendar.el (calendar-mode): No longer use calendar-font-lock-keywords. (calendar-font-lock-keywords): Delete variable, obsolete since 24.4. ; * lisp/calendar/holidays.el: Comment.
* | Remove some obsolete compat code in supercite.elGlenn Morris2018-01-091-11/+3
| | | | | | | | | | * lisp/mail/supercite.el (sc-ask, sc-cite-original): Remove obsolete compat code. This file uses modern features.
* | Remove some obsolete compat code in f90.elGlenn Morris2018-01-091-11/+4
| | | | | | | | | | | | * lisp/progmodes/f90.el (f90-mark-subprogram, f90-indent-region) (f90-fill-region): Remove obsolete compat code. This file uses modern features.
* | Remove some obsolete compat code in fortran.elGlenn Morris2018-01-091-6/+2
| | | | | | | | | | * lisp/progmodes/fortran.el (fortran-abbrev-start): Remove obsolete compat code. This file uses modern features.
* | Merge from origin/emacs-26Paul Eggert2018-01-098-43/+78
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7668717d6f Merge from Gnulib 9e4d523427 * lisp/epg.el (epg-start-sign): Replace obsolete functions. 26c58f31a8 Small fix for erc-logging-enabled 34b41e3bc6 Quieten semantic normal usage e25f961e37 Avoid irrelevant hyperlink in doc string of 'epa-pinentry-... ec2636513c * doc/misc/tramp.texi (Remote processes): Mention gdb rest... 918a052a42 Query background for gnome terminal version 3.22 (Bug#29716) 1dfc27576a Make pixel-wise scrolling less laggy f92264fc2a Fix child frame placement issues (bug#29953) a5f718c4c5 ; * doc/lispref/text.texi (Change Hooks): Fix last change. e876f5f9fb Describe the precise interaction of complex primitives wit... 3a22097cf6 Fix valgrind report in call-interactively d5f1c87bfe * src/editfns.c (Fsave_excursion): Doc fix. (Bug#30001) b8d74c4578 Fix mark-defun when there's no spaces between successive d... a377c652b5 Fix Dired display and operations on file names with raw bytes d9d6e8a04c ; Comments related to src/termcap.c f8a07fa6b1 Improve documentation of 'gdb-many-windows' f82400798e Fix failures in smerge-mode on MS-Windows
| * * lisp/epg.el (epg-start-sign): Replace obsolete functions.Glenn Morris2018-01-091-2/+2
| |
| * Small fix for erc-logging-enabledGlenn Morris2018-01-091-2/+3
| | | | | | | | | | * lisp/erc/erc-log.el (erc-logging-enabled): Respect buffer-locality of erc-enable-logging variable.
| * Quieten semantic normal usageGlenn Morris2018-01-091-1/+2
| | | | | | | | | | * lisp/cedet/semantic/lex.el (semantic-flex): Mark obsolete at compile time in the normal way, not at run-time. (Bug#30035)
| * Avoid irrelevant hyperlink in doc string of 'epa-pinentry-mode'Eli Zaretskii2018-01-081-2/+5
| | | | | | | | * lisp/epa.el (epa-pinentry-mode): Doc fix. (Bug#30025)
| * Query background for gnome terminal version 3.22 (Bug#29716)Noam Postavsky2018-01-071-1/+6
| | | | | | | | | | | | * lisp/term/xterm.el (xterm--version-handler): Use xterm--report-background-handler for terminals reporting minor version 4000 and above.
| * Make pixel-wise scrolling less laggyTak Kunihiro2018-01-071-23/+48
| | | | | | | | | | | | | | * lisp/pixel-scroll.el (pixel-dead-time, pixel-last-scroll-time): New variables. (pixel-scroll-up, pixel-scroll-down): Invoke 'scroll-up' or 'scroll-down' when called within 'pixel-dead-time'. (Bug#29737)
| * Fix mark-defun when there's no spaces between successive defuns.Alan Mackenzie2018-01-061-10/+8
| | | | | | | | | | | | | | | | | | | | | | The problem was a parse-partial-sexp call which tried to use the STOPBEFORE argument to detect non-syntactic WS. This fails on a "}", which does not begin a sexp. * lisp/emacs-lisp/lisp.h (beginning-of-defun--in-emptyish-line-p): Enhance to handle BOL being in a string. (beginning-of-defun-comments): Call the above function in place of the call to parse-partial-sexp.
| * Fix failures in smerge-mode on MS-WindowsEli Zaretskii2018-01-051-2/+4
| | | | | | | | | | | | | | | | | | * lisp/vc/smerge-mode.el (smerge--refine-chopup-region): Use utf-8-emacs-unix, not emacs-internal, to make the forced EOL convention explicit. (smerge-refine-regions): Use utf-8-emacs instead of emacs-internal, to allow decoding of non-Unix EOL conventions. (Bug#29916)