aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.Stefan Monnier2014-06-191-2/+2
| | | | | | | (smie-indent--hanging-p): Use it. * lisp/progmodes/sh-script.el (sh-set-shell): Set it. Fixes: debbugs:17621
* Fix bug #17790 with compilation against giflib 5.1.0 and later.Eli Zaretskii2014-06-181-7/+10
| | | | | | | | | | | | | src/image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the prototype of DGifCloseFile as appropriate for older and newer versions of giflib. (gif_close): New function, encapsulates the differences in the calling sequence of DGifCloseFile before v5.1.0 and after it. (gif_load): Call gif_close instead of DGifCloseFile. Divulge the error string where appropriate. lisp/term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0 and later.
* * lisp/term/xterm.el (xterm--version-handler): Work around for OSXStefan Monnier2014-06-131-0/+4
| | | | | | Terminal.app. Fixes: debbugs:17607
* * lisp/term/xterm.el (xterm--version-handler): Don't use modern xtermStefan Monnier2014-04-221-0/+6
| | | | | | features on gnome-terminal. Fixes: debbugs:16988
* Fix the MSDOS build.Eli Zaretskii2014-04-161-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/unexcoff.c [MSDOS]: Include libc/atexit.h. (copy_text_and_data): Zero out the atexit chain pointer before dumping Emacs. src/termhooks.h (encode_terminal_code): Update prototype. src/term.c (encode_terminal_code) [DOS_NT]: Make it externally visible for all DOS_NT ports, not just WINDOWSNT. (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS. src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD unless it is defined. (emacs_pipe) [MSDOS]: Redirect to 'pipe'. src/process.c (close_on_exec, accept4, process_socket): Move into the "ifdef subprocesses" part. (catch_child_signal): Condition by "ifdef subprocesses". (syms_of_process) <Qinternal_default_process_sentinel> <Qinternal_default_process_filter>: Condition by "ifdef subprocesses". src/msdos.h: Add prototypes for new functions. (EINPROGRESS): Define. (O_CLOEXEC): Define to zero. src/msdos.c (check_window_system): Remove unnecessary an incompatible duplicate function. (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New functions in support of new functionality. src/menu.c (single_menu_item): Add visual indication of submenu also for menus on MSDOS frames. (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS. src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define when async subprocesses aren't supported. src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition. src/emacs.c (close_output_streams): Zero out errno before calling close_stream. src/dired.c [MSDOS]: Include msdos.h. src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir. (DATA_START) [MSDOS]: Define. (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K. src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]: Ifdef away for MSDOS. (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS. (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant for MSDOS. (call_process) [MSDOS]: Fix call sequence of dostounix_filename. Use temporary file template that is compatible with mkostemp. Move vfork-related portions under #ifndef MSDOS. (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT. lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide doc strings, as required by snarf-documentation. msdos/sedlisp.inp: msdos/sedlibmk.inp: msdos/sedleim.inp: msdos/sed3v2.inp: msdos/sed2v2.inp: msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4. msdos/inttypes.h: Add PRIdMAX. msdos/INSTALL: Update for Emacs 24.4. msdos/sedadmin.inp: New file.
* Doc fix for x-win-suspend-errorGlenn Morris2014-04-112-1/+4
| | | | | * lisp/term/w32-win.el (x-win-suspend-error): * lisp/term/x-win.el (x-win-suspend-error): Sync docs.
* lisp/*.el: Fix typos.Juanma Barranquero2014-03-211-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/align.el (align-regexp): Remove superfluous backslash. * lisp/ffap.el (ffap-ftp-default-user, ffap-url-regexp) (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix) (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp): Fix docstring typos. (ffap-next): Use C-u in docstring. (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist) (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask): Remove superfluous backslashes. (ffap-string-at-point): Reflow docstring. * lisp/server.el (server-host): Reflow docstring. (server-unload-function): Fix docstring typo. (server-eval-at): Remove superfluous backslash. * lisp/skeleton.el (skeleton-insert): Remove superfluous backslash. (skeleton-insert): Doc fix. (skeleton-insert): Reflow docstring. * lisp/term/tty-colors.el (tty-color-alist, tty-modify-color-alist) (tty-color-approximate, tty-color-by-index, tty-color-values) (tty-color-desc): Remove superfluous backslashes.
* lisp/term/ns-win.el (x-command-line-resources): Rename from ns-... version.Juanma Barranquero2014-03-151-2/+3
| | | | | | (ns-initialize-window-system): Use it. It is set in term/common-win.el from the -xrm command line argument, but in the Nextstep port its value is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
* Doc updates related to tty-setup-hookGlenn Morris2014-02-252-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/custom.texi (Terminal Init): Replace term-setup-hook with tty-setup-hook. * doc/lispref/display.texi (Window Systems): * doc/lispref/hooks.texi (Standard Hooks): Replace term-setup-hook with tty-setup-hook. * doc/lispref/os.texi (Startup Summary, Init File, Terminal-Specific): Replace term-setup-hook with tty-setup-hook, and update. * doc/misc/edt.texi (Quick start, Starting emulation): * doc/misc/efaq.texi (Fullscreen mode on MS-Windows) (Terminal setup code works after Emacs has begun): Update hook details. * doc/misc/vip.texi (Loading VIP): Fix hook example. * lisp/faces.el (tty-setup-hook, tty-run-terminal-initialization): Doc fixes. * lisp/startup.el (term-setup-hook): Doc fix. Make obsolete. * lisp/emulation/edt.el: Comment update. * lisp/term/sun.el (sun-raw-prefix-hooks): Use tty-setup-hook instead of term-setup-hook. (terminal-init-sun): Construct message from bytecomp plist. * lisp/term/wyse50.el (enable-arrow-keys): Doc fix. * etc/refcards/vipcard.tex: Hook fix. * etc/NEWS: Related edit.
* lisp/term/sun.el: Fix docstring typos.Juanma Barranquero2014-02-241-2/+2
|
* * lisp/term/xterm.el (xterm--version-handler): Adapt to xterm-280's output.W. Trevor King2014-02-191-2/+3
| | | | Fixes: debbugs:16657
* Replace "Maintainer: FSF" with the emacs-devel mailing addressGlenn Morris2014-02-093-3/+3
|
* Disallow suspend-emacs under NSJan Djärv2014-02-021-0/+10
| | | | | | | | * term/ns-win.el (ns-suspend-error): New function. (ns-initialize-window-system): Add ns-suspend-error to suspend-hook. Fixes: debbugs:16612
* Fix spelling of "GNUstep"Glenn Morris2014-01-201-1/+1
|
* * lisp/term/common-win.el (saved-region-selection): Defvar it.Jan Djärv2014-01-181-0/+5
| | | | | | (x-select-text): Set saved-region-selection. Fixes: debbugs:16382
* Spelling fixes.Paul Eggert2014-01-091-1/+1
| | | | | | * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro. * woman.el (woman-mark-horizontal-position): Rename from woman-mark-horizonal-position. Use changed.
* Spelling fixes.Paul Eggert2014-01-051-1/+1
| | | | | | | | | | | | | | | | * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel): * emacs-lisp/debug.el (cancel-debug-on-entry): * epg.el (epg-error-to-string): * files.el (recover-file): * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region): * mail/emacsbug.el (report-emacs-bug-hook): * mail/sendmail.el (mail-recover): * ses.el (ses-yank-resize): * term/ns-win.el (ns-print-buffer): Spelling fixes in diagnostics, mostly for "canceled" with one L. * epg.el (epg-key-capability-alist): Rename from misspelled version. All uses changed. * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-0118-19/+19
|
* Ignore XF86WakeUpDaniel Colascione2013-12-301-0/+2
|
* Make NS port use the normal dnd functions.Jan Djärv2013-12-191-46/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix 256 color mapping in rxvt.eloblique2013-12-181-4/+4
| | | | | | | | | * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with xterm-rgb-convert-to-16bit. (rxvt-register-default-colors): Standardize with xterm-register-default-colors. Fixes: debbugs:14078
* Fixed drag-n-drop with Unicode file names.Eli Zaretskii2013-12-031-2/+7
|
* lisp/term/w32-win.el (dynamic-library-alist): Support libtiff v4.x on w32.Claudio Bley2013-11-011-1/+1
|
* Support libpng DLLs of versions beyond 1.4.x on MS-Windows.Claudio Bley2013-11-011-2/+9
| | | | | lisp/term/w32-win.el (dynamic-library-alist): Support versions of libpng beyond 1.4.x.
* Support newer versions of libjpeg on MS-Windows.Claudio Bley2013-11-011-1/+10
| | | | | | | | | src/image.c (Qlibjpeg_version): New variable. (syms_of_image): DEFSYM and initialize it. lisp/term/w32-win.el (dynamic-library-alist): Support newer versions of libjpeg starting with v7: look only for the DLL from the version against which Emacs was built.
* Make Info menu for GNUStep only for GUI.Jan Djärv2013-10-201-1/+6
| | | | | | | | * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally. Move Info menu item creation to ns-win.el. * term/ns-win.el (ns-initialize-window-system): Rename Help to Info in menu bar.
* Fix GNUStep specific menu items.Jan Djärv2013-10-201-0/+14
| | | | | | | | | * lisp/menu-bar.el: Move GNUStep specific menus... * lisp/term/ns-win.el (ns-initialize-window-system): ... to here. * src/nsterm.m (Qcocoa, Qgnustep): New variables. (syms_of_nsterm): Defsym Qcocoa, Qgnustep. Fprovide appropriate one.
* MS-Windows follow-up to 2013-10-10T01:03:11Z!rgm@gnu.org: support giflib 5.x.Eli Zaretskii2013-10-101-1/+13
| | | | | | | | | | | | | | src/image.c (GIFLIB_MAJOR): Define to 4 if undefined. (GIFLIB_MINOR, GIFLIB_RELEASE): Define to zero if undefined. (GifErrorString) [GIFLIB_MAJOR >= 5]: Define a function pointer. (gif_load): For giflib v5.x and later, display the error message produced by giflib when its functions fail. (syms_of_image) <Qlibgif_version> [HAVE_NTGUI]: New DEFSYM. lisp/term/w32-win.el (dynamic-library-alist): Define separate lists of GIF DLLs for versions before and after 5.0.0 of giflib. Fixes: debbugs:15531
* * lisp/term/ns-win.el (ns-initialize-window-system): Set locale-coding-systemJan Djärv2013-10-011-6/+7
| | | | and default-process-coding-system for darwin only.
* * term/ns-win.el (ns-initialize-window-system): Set locale-coding-systemJan Djärv2013-09-291-0/+7
| | | | | | and default-process-coding-system to utf-8-unix. Fixes: debbugs:15402
* * term/ns-win.el (x-handle-args): Declare.Glenn Morris2013-09-171-0/+1
|
* * term/w32-win.el (create-default-fontset): Declare.Glenn Morris2013-09-171-0/+1
|
* * term/x-win.el (x-select-enable-clipboard): Declare.Glenn Morris2013-09-171-0/+2
|
* * term/common-win.el (x-select-enable-primary, x-last-selected-text-primary)Glenn Morris2013-09-171-0/+4
| | | | (x-last-selected-text-clipboard): Declare.
* * lisp/term/ns-win.el (parameters): Don't declare as dynamic.Stefan Monnier2013-09-121-22/+2
| | | | (before-make-frame-hook): Don't add ineffective function.
* Use with-demoted-errors now that it can format any error messagesGlenn Morris2013-09-111-5/+4
| | | | | | | | | | | | | | | | * dframe.el (dframe-timer-fn): * files.el (dir-locals-read-from-file): * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run, mpc-format): * reveal.el (reveal-post-command): * saveplace.el (load-save-place-alist-from-file): * shell.el (shell-resync-dirs): * w32-common-fns.el (x-get-selection-value): * emacs-lisp/copyright.el (copyright-find-copyright): * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): * emulation/tpu-edt.el (tpu-copy-keyfile): * play/bubbles.el (bubbles--mark-neighbourhood): * progmodes/executable.el (executable-make-buffer-file-executable-if-script-p): * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
* * lisp/term/ns-win.el (global-map): Remove binding for ispell-next,Glenn Morris2013-09-111-1/+0
| | | | | | deleted 1999-05-29. Fixes: debbugs:15357
* Fix build with zlib on MS-Windows.Eli Zaretskii2013-08-121-1/+2
| | | | | | | | | | | | | | | | | | configure.ac (LIBZ): Comment on w32 peculiarities regarding LIBZ. src/decompress.c [WINDOWSNT]: Include windows.h and w32.h. (DEF_ZLIB_FN, LOAD_ZLIB_FN) [WINDOWSNT]: New macros. Use them to define static variables that are pointers to zlib functions to be dynamically loaded. (init_zlib_functions) [WINDOWSNT]: New function. (fn_inflateInit2_, fn_inflate, fn_inflateEnd, fn_inflateInit2): New macros. (Fdecompress_gzipped_region, unwind_decompress): Use the fn_* macros instead of invoking the zlib functions directly. (syms_of_decompress): DEFSYM Qzlib_dll. Staticpro Szlib_available_p. lisp/term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
* lisp/*.el: Silence lexical-binding warnings.Juanma Barranquero2013-08-094-22/+23
|
* Do not call to `selected-frame' where it is assumed by default.Dmitry Antipov2013-08-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | Affected functions are `raise-frame', `redraw-frame', `frame-first-window', `frame-terminal' and `delete-frame'. * lisp/calendar/appt.el (appt-disp-window): * lisp/epg.el (epg-wait-for-completion): * lisp/follow.el (follow-delete-other-windows-and-split) (follow-avoid-tail-recenter): * lisp/international/mule.el (set-terminal-coding-system): * lisp/mail/rmail.el (rmail-mail-return): * lisp/net/newst-plainview.el (newsticker--buffer-set-uptodate): * lisp/progmodes/f90.el (f90-add-imenu-menu): * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar-toggle): * lisp/server.el (server-switch-buffer): * lisp/simple.el (delete-completion-window): * lisp/talk.el (talk): * lisp/term/xterm.el (terminal-init-xterm-modify-other-keys) (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys): * lisp/vc/ediff-util.el (ediff-status-info, ediff-show-diff-output): * lisp/vc/ediff.el (ediff-documentation): Related users changed. * lisp/frame.el (selected-terminal): Remove the leftover.
* * term/ns-win.el (display-format-alist): Use .*.Jan Djärv2013-07-021-1/+2
| | | | Fixes: debbugs:14765
* lisp/term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.Juanma Barranquero2013-06-201-7/+5
|
* * term/xterm.el (xterm--query): Stop after first matching handler. (Bug#14615)Glenn Morris2013-06-141-1/+5
|
* ns-win commentGlenn Morris2013-06-011-0/+5
|
* Silence w32console.el compilationGlenn Morris2013-05-211-0/+2
| | | | | * lisp/term/w32console.el (w32-get-console-codepage) (w32-get-console-output-codepage): Declare.
* Misc custom group fixesGlenn Morris2013-05-152-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus-start.el (show-trailing-whitespace): Move to editing basics. * faces.el (trailing-whitespace): Don't use whitespace-faces group. * obsolete/old-whitespace.el (whitespace-faces): Remove group. (whitespace-highlight): Move to whitespace group. * comint.el (comint-source): * pcmpl-linux.el (pcmpl-linux): * shell.el (shell-faces): * eshell/esh-opt.el (eshell-opt): * international/ccl.el (ccl): Remove empty custom groups. * completion.el (dynamic-completion-mode): * jit-lock.el (jit-lock-debug-mode): * minibuffer.el (completion-in-region-mode): * type-break.el (type-break-mode-line-message-mode) (type-break-query-mode): * emulation/tpu-edt.el (tpu-edt-mode): * progmodes/subword.el (global-subword-mode, global-superword-mode): * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode): * term/vt100.el (vt100-wide-mode): Specify explicit :group. * term/xterm.el (xterm): Change parent group to terminals. * master.el (master): Remove empty custom group. (master-mode): Remove unused :group argument. * textmodes/refill.el (refill): Remove empty custom group. (refill-mode): Remove unused :group argument. * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group. * cedet/semantic/symref/list.el (semantic-symref-auto-expand-results) (semantic-symref-results-mode-hook) (semantic-symref-results-summary-function): Fix :group. * erc/erc-list.el (erc-list): * erc/erc-menu.el (erc-menu): * erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module. * gnus/shr-color.el (shr-color-visible-luminance-min) (shr-color-visible-distance-min): Use shr-color group. * url/url-news.el (url-news): Remove empty custom group.
* * lisp/term/xterm.el: Provide a feature.Glenn Morris2013-05-131-0/+2
|
* Make sup-mouse.el obsoleteGlenn Morris2013-05-131-200/+0
| | | | | | | | * doc/emacs/ack.texi (Acknowledgments): Don't mention obsolete sup-mouse.el. * term/sup-mouse.el: Move to obsolete/. * etc/NEWS: Mention this.
* Silence byte-compiler warnings.Juanma Barranquero2013-04-162-2/+2
| | | | | | lisp/minibuffer.el (completion--twq-all): lisp/term/ns-win.el (ns-initialize-window-system): lisp/term/w32-win.el (w32-initialize-window-system): Mark unused argument.
* Do not set x-display-name until X connection is established.Dmitry Antipov2013-04-064-5/+5
| | | | | | | | | | | | | This is needed to prevent from weird situation described at <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>. * frame.el (make-frame): Set x-display-name after call to window system initialization function, not before. * term/x-win.el (x-initialize-window-system): Add optional display argument and use it. * term/w32-win.el (w32-initialize-window-system): * term/ns-win.el (ns-initialize-window-system): * term/pc-win.el (msdos-initialize-window-system): Add compatible optional display argument.