aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | * src/xdisp.c (Vmessage_stack): Fix comment to match code.Paul Eggert2018-02-111-4/+2
| |
* | Support standard Terminfo direct mode terminalsRami Ylimäki2018-02-102-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Latest Terminfo introduces terminal definitions that support direct color mode. The "Co"/"colors" capability is set to 0x1000000 on these terminals and Emacs is already compatible with them. However, if used Terminfo library hasn't been compiled with 32-bit value support, "Co"/"colors" is truncated to 0x7fff. In this case direct color mode support can be detected from the "RGB" capability flag. There are some minor problems if the color count isn't corrected from 0x7fff. First eight standard colors defined in xterm-standard-colors are shown correctly. However, their RGB values match the terminal settings, not the RGB values defined in xterm-standard-colors. Bright versions of these colors are shown incorrectly. They are interpreted as pixels #000008 - #000015, which are very dark shades of blue. * src/term.c (init_tty): Force terminal color count to 0x1000000 if "RGB" capability is present. * src/tparam.h: Define prototype for tigetflag. (Bug#30308) * doc/misc/efaq.texi (Colors on a TTY): Add information about direct mode terminals supported by Terminfo.
* | Avoid infinite recursion in file_directory_pEli Zaretskii2018-02-101-1/+1
| | | | | | | | | | | | * src/fileio.c (file_directory_p) [DOS_NT]: Call faccessat on MS-DOS as well, to avoid infinite recursion introduced by last change in this function.
* | Make tooltip code handle scenarios from Bug#30182 and Bug#30399Martin Rudalics2018-02-104-59/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move calculation of the mode line default help echo from note_mode_line_or_margin_highlight to display_mode_lines (Bug#30182). Fix cursor type for dragging the mode line. Normalize FRAME argument of Fx_show_tip before assigning it to tip_last_frame and handle the transition from GTK+ to Emacs tooltips and vice-versa in x_hide_tip (Bug#30399). * src/window.h (struct window): New Lisp member mode_line_help_echo. (wset_mode_line_help_echo): New function. * src/w32fns.c (Fx_show_tip): Normalize the FRAME argument bevore storing it in tip_last_frame (Bug#30399). * src/xdisp.c (display_mode_lines): Calculate mode line default help echo string here and store it in the window's mode_line_help_echo slot (Bug#30182). (note_mode_line_or_margin_highlight): Use value in window's mode_line_help_echo slot as mode line default help echo. When the window is resizable show a vertical drag cursor instead of the vertical scroll bar cursor. * src/xfns.c (x_hide_tip): Rewrite the GTK+ part to correctly handle the transition from GTK+ system to Emacs tooltips and vice-versa (Bug#30399). (Fx_show_tip): Normalize the FRAME argument bevore storing it in tip_last_frame (Bug#30399).
* | Merge from origin/emacs-26Glenn Morris2018-02-095-29/+41
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0276743 (origin/emacs-26) Doc string fix in latin-alt.el c9269af Minor improvements in package.texi 898a3e4 Minor improvement in Emacs user manual 8f7d718 * doc/lispref/anti.texi (Antinews): Replace 25.2 with 25.3. 989d0af Improve documentation of mini-window resizing 923e415 More changes in the Emacs manual 565adf2 Clarify that text-quoting-style doesn't affect *Info* (Bug#24... 2dd273b Mention that shell quoting of % on w32 may fail (Bug#19350) 19fa6d5 Fix --no-build-details for w32 and macOS 979944c * doc/lispref/anti.texi (Antinews): Add some more antinews. c2727e3 Fix crashes when run with --no-build-details dc08490 More changes for the manual 04c5bd5 Doc fixes for process functions (Bug#30349) e209034 Fix shr and CSS 4 color maps 5fe8192 Yet another round of improvements in the manual Conflicts: doc/emacs/files.texi test/lisp/subr-tests.el
| * Clarify that text-quoting-style doesn't affect *Info* (Bug#24519)Noam Postavsky2018-02-081-2/+2
| | | | | | | | | | * src/doc.c (syms_of_doc) <text-quoting-style>: Clarify that info manual display is unaffected.
| * Fix --no-build-details for w32 and macOSNoam Postavsky2018-02-081-4/+9
| | | | | | | | | | | | * src/w32term.c (w32_initialize_display_info): Handle nil system-name. * lisp/term/ns-win.el (window-system-initialization): Don't pass nil to `x-open-connection'.
| * Fix crashes when run with --no-build-detailsPaul Eggert2018-02-082-13/+22
| | | | | | | | | | | | * src/xrdb.c (get_environ_db): * src/xterm.c (same_x_server, x_term_init): Don’t assume Fsystem_name returns a string.
| * Doc fixes for process functions (Bug#30349)Noam Postavsky2018-02-071-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Asynchronous Processes): Explain what the 'stopped' state means for a pipe process. * src/process.c (Fmake_process, Fmake_pipe_process) (Fmake_serial_process, Fmake_network_process): * lisp/subr.el (start-process): * lisp/net/tls.el (open-tls-stream): * lisp/net/starttls.el (starttls-open-stream): * lisp/net/gnutls.el (open-gnutls-stream): Remove meaningless phrase "specify an output stream" phrase from docstring.
* | Remove unused duplicate of minibuffer-completion-contentsGlenn Morris2018-02-081-14/+0
| | | | | | | | | | | | | | * src/minibuf.c (Fminibuffer_completion_contents): Remove. Unused since introduction of minubuffer.el 2008-04-09. (syms_of_minibuf): Remove Sminibuffer_completion_contents. * lisp/minibuffer.el (minibuffer-completion-contents): Doc tweak.
* | Work around macOS faccessat bugPaul Eggert2018-02-051-5/+8
| | | | | | | | | | * src/fileio.c (file_accessible_directory_p): Append an extra "/" to work around macOS bug in faccessat (Bug#30350).
* | Merge from origin/emacs-26Glenn Morris2018-02-051-14/+29
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c787a49 (origin/emacs-26) * lisp/vc/vc-git.el (vc-git-print-log): Res... b654791 * doc/emacs/misc.texi (Interactive Shell): Refer to node "Min... f1102d2 Yet another round of fixing the Emacs manual 76b5a68 * etc/NEWS: Expunge the solecism "allow(s)" + infinitive b4ff8cc Two minor fixes in Antinews aafcd12 * etc/NEWS: Rename image-dired-thumb-job-limit a893924 * lisp/simple.el (async-shell-command, shell-command): Fix gr... 699081f Fix deferred display of async shell-command buffers d2d5e54 Mention remote file name completion in Emacs manual f589f5a Yest another round of manual copyedits 1ed4089 Update xdisp.c commentary e23de39 Fix Bug#30324 e1a9dc0 Recognize Org as builtin package (bug#30310) Conflicts: etc/NEWS
| * Update xdisp.c commentaryEli Zaretskii2018-02-031-14/+29
| | | | | | | | | | * src/xdisp.c: Update commentary regarding "asynchronous" entry into redisplay. (Bug#30182)
* | Fix handling of modifier keys on macOSPhilipp Stephani2018-02-041-120/+54
| | | | | | | | | | | | | | | | | | | | | | | | * src/nsterm.m (keyDown:): Distinguish between shift-like and control-like modifier keys. Allow treating ⌘ as shift-like modifier (e.g. for the Gujarati – QUERTY input method, where ⌘ switches to QUERTY.) * lisp/cus-start.el (standard): Change nil to none for ns-command-modifier; update description. * etc/NEWS: Add NEWS entry.
* | Avoid EOVERFLOW problems with file-directory-pPaul Eggert2018-02-033-11/+39
| | | | | | | | | | | | | | | | | | | | This fixes a bug where (file-directory-p FOO) would fail if FOO had an inode number out of range for ‘stat’. * src/fileio.c (file_directory_p): Accept a Lisp string instead of a C string. All callers changed. On non-MS-Windows hosts, use openat with O_PATH|O_DIRECTORY if available, otherwise file_accessible_directory_p unless it fails due to EACCESS, otherwise stat.
* | ; Fix arglist doc of json parse functionsBasil L. Contovounesios2018-02-031-2/+2
| | | | | | | | | | * src/json.c (Fjson_parse_string, Fjson_parse_buffer): Fix "usage:" arglist doc.
* | Properly integrate modules into the loading process (Bug#30164).Philipp Stephani2018-02-021-23/+59
| | | | | | | | | | | | | | | | | | | | | | | | * src/lread.c (Fload): Don't defer to module-load immediately when encountering a module, but use the normal loading machinery to properly set up load-history, check for recursive loads, print messages, etc. * test/src/emacs-module-tests.el (module/load-history): New test. (module/describe-function-1): Adapt test. * etc/NEWS: Mention fixed behavior.
* | * src/xfns.c: Make some non-exported vars static.Paul Eggert2018-02-011-5/+5
| |
* | Merge from origin/emacs-26Glenn Morris2018-01-312-7/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22922c7 (origin/emacs-26) * doc/emacs/entering.texi (Entering Emacs):... 59657c4 Document 'window-at-side-p' in the Elisp manual 2b35ed0 Document external-debugging-output in the Elisp Manual (Bug#2... db6564c Fix scroll-margin docstring (Bug#13791) 732d1b9 Clarify that `ansi-term' is almost the same as `term' (Bug#18... f706c59 Update manual description of locate-file (Bug#23650) 1602262 Clarify effect of print-gensym (Bug#27776) 53e9fa2 * lisp/custom.el (defcustom): Fix docstring (Bug#27891). 607cc4e Define cl-type-definition button type as needed (Bug#28899) 9e6889c Emphasize that GPG passphrase caching is temporary (Bug#29907) 4b5711b Fix @examples in cc-mode.info, where lines were getting glued... 71961f1 Minor change in "Mode Line" section of Emacs manual 55a2b76 More fixes in the Emacs manual
| * Document external-debugging-output in the Elisp Manual (Bug#24051)Noam Postavsky2018-01-301-1/+1
| | | | | | | | | | | | | | * doc/lispref/streams.texi (Output Streams): List external-debugging-output. * src/print.c (Fexternal_debugging_output): Quote `print' in docstring.
| * Fix scroll-margin docstring (Bug#13791)Noam Postavsky2018-01-301-2/+2
| | | | | | | | | | | | * src/xdisp.c (syms_of_xdisp) <scroll-margin>: Explain that entering the margin may trigger any sort of auto scrolling, not recentering specifically.
| * Clarify effect of print-gensym (Bug#27776)Noam Postavsky2018-01-301-4/+4
| | | | | | | | | | * src/print.c (syms_of_print) <print-gensym>: Clarify that use of #N# and #N= constructs depends on the value of `print-circle'.
| * Revert "Signal error for symbol names with strange quotes (Bug#2967)"Noam Postavsky2018-01-281-18/+0
| | | | | | | | | | | | | | | | | | | | That commit did not make the corresponding change to printing, thus breaking the (eq (read (prin1-to-string SYM)) SYM) invariant for those symbols. It's too late in the release cycle to change printing behavior, therefore revert the reader change. Don't merge to master, the print function will be updated there (see "Fix round tripping of read->print for symbols with strange quotes").
* | Simplify Fcall_interactivelyPaul Eggert2018-01-291-177/+109
| | | | | | | | | | | | * src/callint.c (Fcall_interactively): Use C99 constructs to simplify the code a bit. Stop worrying about circa-1990 compiler bugs.
* | Merge from origin/emacs-26Glenn Morris2018-01-291-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | 6415b2d Allow read-passwd to hide characters inserted by C-y. (Secur... 8cb4ffb * etc/PROBLEMS: Document issues with double-buffering. (Bug#... fd10070 * lisp/window.el (window-largest-empty-rectangle): Fix grammar. e1a4403 Minor changes in the Emacs manual 372fda6 Improve the "Files" chapter of the Emacs manual 9afc86d Improve the "Search" chapter of the Emacs manual 22f98b3 * src/indent.c (Findent_to): Doc fix. (Bug#30260) 085ee43 Improve documentation of 'edebug-defun' 4dd1b33 Mention crashes due to Noto Serif Kannada fonts
| * * src/indent.c (Findent_to): Doc fix. (Bug#30260)Eli Zaretskii2018-01-271-1/+1
| |
* | * src/lisp.h: Tell developers to add new types to cl--typeof-types.Philipp Stephani2018-01-281-1/+4
| |
* | Fix round tripping of read->print for symbols with strange quotesNoam Postavsky2018-01-284-15/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 2017-07-22 "Signal error for symbol names with strange quotes (Bug#2967)", symbol names beginning with certain quote characters require an escaping backslash. However, the corresponding change for printing missed, so that (eq (read (prin1-to-string SYM)) SYM) does not give `t' for such symbols. * src/character.c (confusable_symbol_character_p): New function, extracted from test `read1'. * src/lread.c (read1): Use it. * src/print.c (print_object): Use it to print a backslash for symbols starting with characters that `read1' requires to be escaped. * test/src/print-tests.el (print-read-roundtrip): New test. * etc/NEWS.26: * etc/NEWS: Clarify the announcement for the earlier reader change (Bug#30217).
* | Workaround a libotf crash with Kannada font (bug#30193)Glenn Morris2018-01-261-0/+5
| | | | | | | | | | | | * configure.ac (HAVE_OTF_KANNADA_BUG): New define. * src/xfaces.c (syms_of_xfaces) <Vface_ignored_fonts>: Add problematic Kannada font if necessary.
* | Raise limit of regexp repetition (Bug#24914)Noam Postavsky2018-01-262-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/regex.h (RE_DUP_MAX): Raise limit to 2^16-1. * etc/NEWS: Announce it. * doc/lispref/searching.texi (Regexp Backslash): Document it. * test/src/regex-tests.el (regex-repeat-limit): Test it. * src/regex.h (reg_errcode_t): Add REG_ESIZEBR code. * src/regex.c (re_error_msgid): Add corresponding entry. (GET_INTERVAL_COUNT): Return it instead of the more generic REG_EBADBR when encountering a repetition greater than RE_DUP_MAX. * lisp/isearch.el (isearch-search): Don't convert errors starting with "Invalid" into "incomplete". Such errors are not incomplete, in the sense that they cannot be corrected by appending more characters to the end of the regexp. The affected error messages are: - REG_BADPAT "Invalid regular expression" - \\(?X:\\) where X is not a legal group number - \\_X where X is not < or > - REG_ECOLLATE "Invalid collation character" - There is no code to throw this. - REG_ECTYPE "Invalid character class name" - [[:foo:] where foo is not a valid class name - REG_ESUBREG "Invalid back reference" - \N where N is referenced before matching group N - REG_BADBR "Invalid content of \\{\\}" - \\{N,M\\} where N < 0, M < N, M or N larger than max - \\{NX where X is not a digit or backslash - \\{N\\X where X is not a } - REG_ERANGE "Invalid range end" - There is no code to throw this. - REG_BADRPT "Invalid preceding regular expression" - We never throw this. It would usually indicate a "*" with no preceding regexp text, but Emacs allows that to match a literal "*".
* | Merge from emacs-26Noam Postavsky2018-01-265-9/+33
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 463f96b481 * doc/lispref/searching.texi: Document regexp repetition l... 08a6195571 ; test/README: Document TEST_LOAD_EL parameter. 7bbea90b1a * src/syntax.c (char-syntax): Warn about ignoring text pro... 50fcbb5f61 ; * src/process.c (Fprocess_contact): Fix docstring typo. 81ae9c8c05 Load mm-util as needed for url-file and url-data (Bug#30258) 5a1ee67ae1 Another minor copyedit in the manual's "Scroll Bars" 226a651e9e Minor fix in documentation of 'equal' b26786c8d9 * lisp/dired-x.el (dired-guess-shell-alist-user): Doc fix.... 5699a824f0 Minor rewording in Emacs manual's "Help Mode" node f35ff0156e Fixes for Emacs manual in frames.texi 6cd4e8dcc5 * doc/misc/cl.texi (Efficiency Concerns): Fix 2012-10-27 t... 1412cf3edd Fix a few issues with latest GTK scaling changes 59db8dca03 Use scaled coordinates when calling into GTK 2892f05792 Scale monitor dimensions obtained from GTK
| * * src/syntax.c (char-syntax): Warn about ignoring text properties (Bug#22765).Noam Postavsky2018-01-261-1/+6
| |
| * ; * src/process.c (Fprocess_contact): Fix docstring typo.Noam Postavsky2018-01-261-1/+1
| |
| * Fix a few issues with latest GTK scaling changesRobert Pluim2018-01-242-2/+4
| | | | | | | | | | | | | | * src/xfns.c (Fx_display_monitor_attributes_list): Call gdk_screen_get_monitor_scale_factor only for GTK versions 3.10..3.21. * src/xterm.c (x_set_offset): Call xg_get_scale for GTK only.
| * Use scaled coordinates when calling into GTKRobert Pluim2018-01-242-7/+13
| | | | | | | | | | | | | | | | | | | | | | This is part two of a two part fix for the GTK scaling problems. See the thread starting at http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html for an explanation of why it has been added to Emacs 26. * src/gtkutil.c (xg_set_geometry): Scale down the coordinates that we pass to gtk_window_move and to gtk_window_parse_geometry. * src/xterm.c (x_set_offset): Likewise.
| * Scale monitor dimensions obtained from GTKRobert Pluim2018-01-241-0/+11
| | | | | | | | | | | | | | | | | | | | | | This is part one of a two part fix for the GTK scaling problems. See the thread starting at http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html for an explanation of why it has been added to Emacs 26. * src/xfns.c (Fx_display_monitor_attributes_list): Take scaling factor into account when using GTK to query the monitor dimensions, which allows frameset-restore to position frames correctly.
* | Replace (default-value 'enable-multibyte-characters) with tStefan Monnier2018-01-251-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Emacs-24, (default-value 'enable-multibyte-characters) can't be changed any more, so we can remove all code which checks this value. * lisp/x-dnd.el (x-dnd-handle-file-name): * lisp/w32-fns.el (w32-set-default-process-coding-system): * lisp/textmodes/ispell.el (ispell-send-string): * lisp/term/internal.el (dos-codepage-setup): * lisp/tar-mode.el (tar-header-block-tokenize, tar--extract): * lisp/startup.el (command-line): * lisp/server.el (server-process-filter): * lisp/net/browse-url.el (browse-url-file-url): * lisp/menu-bar.el (menu-bar-options-menu, menu-bar-describe-menu): * lisp/mail/sendmail.el (mail-setup): * lisp/mail/rmail.el (rmail-mode, rmail-get-new-mail): * lisp/mail/rfc2047.el (rfc2047-encode-message-header): * lisp/mail/emacsbug.el (report-emacs-bug): * lisp/international/mule-diag.el (mule-diag): * lisp/files.el (find-file-noselect-1): * lisp/dos-fns.el (dos-set-default-process-coding-system): * lisp/arc-mode.el (archive-mode): * lisp/international/mule-cmds.el (mule-menu-keymap) (set-default-coding-systems, set-language-info) (set-language-environment, standard-display-european-internal) (set-locale-environment): Simplify code.
* | Avoid kill-emacs-hook errors hanging batch modeGlenn Morris2018-01-231-1/+4
| | | | | | | | | | * src/emacs.c (Fkill_emacs): Prevent errors from kill-emacs-hook hanging Emacs in batch mode. (Bug#29955)
* | Support null characters in interactive specsEli Zaretskii2018-01-231-9/+15
| | | | | | | | | | * src/callint.c (Fcall_interactively): Support 'interactive' specifications with embedded null characters. (Bug#30005)
* | * src/nsterm.m (x_set_offset): Remove unused variable 'screens'.Philipp Stephani2018-01-221-1/+0
| |
* | Merge from origin/emacs-26Glenn Morris2018-01-204-5/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | cfc94fd (origin/emacs-26) Don't mention 'vc-stay-local' in the user m... 8ce430b Fix a typo in calendar.texi bb748b3 Minor improvement in wording of the Emacs manual b603aff Revert "Fix tempfile creation when byte compiling" 4fd446e Fix tempfile creation when byte compiling 7f48a11 Improve the Emacs manual as suggested in emacs-manual-bugs 728ded0 * lisp/emacs-lisp/bytecomp.el: Tweak last change c6c05e2 Unbreak building Emacs on FreeBSD a41ad3d Don't unnecessarily use non-ASCII characters in C sources c28d4b6 Portability fixes in emacs-module-tests 1d50c18 Add tests for term.el
| * Don't unnecessarily use non-ASCII characters in C sourcesEli Zaretskii2018-01-194-5/+5
| | | | | | | | | | | | | | | | * src/xwidget.c (webkit_javascript_finished_cb): * src/gtkutil.c (xg_check_special_colors): * src/emacs-module.c (module_make_string): * src/alloc.c (SET_STACK_TOP_ADDRESS): Don't use non-ASCII quote characters.
* | Fix posn-at-point in Flycheck buffersEli Zaretskii2018-01-192-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (buffer_posn_from_coords): Improve commentary. * src/xdisp.c (move_it_in_display_line_to): Don't exit the loop under truncate-lines if the glyph at TO_CHARPOS was not yet produced. This avoids bailing out too early when we are at TO_CHARPOS, but didn't yet produce glyphs for that buffer position, because the last call to PRODUCE_GLYPHS at this position was for an object other than the buffer. For further details, see http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00537.html.
* | Fix module support if threads are disabled (Bug#30106)Philipp Stephani2018-01-185-12/+28
| | | | | | | | | | | | * src/systhread.c (sys_thread_equal): New function. * src/thread.c (in_current_thread): Move from emacs-module.c; use sys_thread_equal.
* | Fix some tooltip related problemsMartin Rudalics2018-01-1812-221/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix macOS breakage in make_lispy_eventPaul Eggert2018-01-151-2/+3
| | | | | | | | | | | | | | | | Problem reported by John Wiegley in: https://lists.gnu.org/r/emacs-devel/2018-01/msg00499.html * src/keyboard.c (kbd_buffer_get_event) [HAVE_NS]: Act on used_mouse_menu here... (make_lispy_event) [HAVE_NS]: ... instead of here.
* | Merge from origin/emacs-26Glenn Morris2018-01-151-288/+289
|\ \ | |/ | | | | | | | | 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
| * An overdue update of src/emacs-icon.hGlenn Morris2018-01-141-288/+289
| | | | | | | | | | * src/emacs-icon.h: Update to the Emacs 25 icon. (Bug#30047) Converted from hicolor/scalable/apps/emacs.svg using Gimp.
* | Merge from origin/emacs-26Glenn Morris2018-01-151-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | c9c1add6a4 * doc/lispref/variables.texi (File Local Variables): Fix l... 752fba992b (tag: emacs-26.0.91) ; * Update ldefs-boot.el 4f46a5098d * ChangeLog.3: Update 8f705ba44d Update etc/AUTHORS 6c63204b8c Fix an entry in authors-aliases 5dd0e5c54d Mention trace.el facilities in the ELisp manual 97b0e41c5d Improve documentation of safe values of variables a502ee9dc4 ; * doc/emacs/misc.texi (Amusements): Really add "games" t... 106bf8adc3 Improve the Emacs manual's "Misc" node 47aa85c7ec In nsterm.m use FRAME_NS_P instead of FRAME_X_P (Bug#30019) e9e32d3475 ; * Update ldefs-boot.el
| * In nsterm.m use FRAME_NS_P instead of FRAME_X_P (Bug#30019)Martin Rudalics2018-01-131-1/+1
| | | | | | | | | | * src/nsterm.m (x_set_parent_frame): Call FRAME_NS_P instead of FRAME_X_P (Bug#30019).