Juanma Barranquero
dada060d9f
lisp/*.el: Fix typos.
...
* 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.
2014-03-21 02:12:57 +01:00
Juanma Barranquero
a2403e3d8e
lisp/term/ns-win.el (x-command-line-resources): Rename from ns-... version.
...
(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.
2014-03-15 19:12:54 +01:00
Glenn Morris
98bd6b321c
Doc updates related to tty-setup-hook
...
* 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.
2014-02-25 00:41:47 -08:00
Juanma Barranquero
9c9e18e8f5
lisp/term/sun.el: Fix docstring typos.
2014-02-24 18:24:14 +01:00
W. Trevor King
eee0d65034
* lisp/term/xterm.el (xterm--version-handler): Adapt to xterm-280's output.
...
Fixes: debbugs:16657
2014-02-19 23:45:19 -05:00
Glenn Morris
34dc21db6e
Replace "Maintainer: FSF" with the emacs-devel mailing address
2014-02-09 17:34:22 -08:00
Jan Djärv
f0a1057646
Disallow suspend-emacs under NS
...
* term/ns-win.el (ns-suspend-error): New function.
(ns-initialize-window-system): Add ns-suspend-error to
suspend-hook.
Fixes: debbugs:16612
2014-02-02 15:10:50 +01:00
Glenn Morris
a6c4680aa2
Fix spelling of "GNUstep"
2014-01-20 14:44:56 -05:00
Jan Djärv
5aa78c2dba
* lisp/term/common-win.el (saved-region-selection): Defvar it.
...
(x-select-text): Set saved-region-selection.
Fixes: debbugs:16382
2014-01-18 16:11:03 +01:00
Paul Eggert
06827ec842
Spelling fixes.
...
* 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.
2014-01-09 23:10:37 -08:00
Paul Eggert
d5081c1ed8
Spelling fixes.
...
* 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.
2014-01-05 22:25:30 -08:00
Paul Eggert
ba3189039a
Update copyright year to 2014 by running admin/update-copyright.
2014-01-01 07:43:34 +00:00
Daniel Colascione
9e0bf19a5c
Ignore XF86WakeUp
2013-12-30 15:27:07 -08:00
Jan Djärv
1269a68086
Make NS port use the normal dnd functions.
...
* 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
2013-12-19 11:25:48 +01:00
oblique
ed3af8a771
Fix 256 color mapping in rxvt.el
...
* 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
2013-12-18 00:03:23 +08:00
Eli Zaretskii
d45c908859
Fixed drag-n-drop with Unicode file names.
2013-12-03 14:21:13 +02:00
Claudio Bley
019c8218f0
lisp/term/w32-win.el (dynamic-library-alist): Support libtiff v4.x on w32.
2013-11-01 11:04:16 +02:00
Claudio Bley
ac1bf374c2
Support libpng DLLs of versions beyond 1.4.x on MS-Windows.
...
lisp/term/w32-win.el (dynamic-library-alist): Support versions of
libpng beyond 1.4.x.
2013-11-01 10:57:55 +02:00
Claudio Bley
d14c81eec7
Support newer versions of libjpeg on MS-Windows.
...
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.
2013-11-01 10:52:22 +02:00
Jan Djärv
5f161884b3
Make Info menu for GNUStep only for GUI.
...
* 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.
2013-10-20 11:26:15 +02:00
Jan Djärv
aca5fcdc4c
Fix GNUStep specific menu items.
...
* 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.
2013-10-20 10:50:34 +02:00
Eli Zaretskii
a5dab1594a
MS-Windows follow-up to 2013-10-10T01:03:11Z!rgm@gnu.org: support giflib 5.x.
...
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
2013-10-10 18:30:21 +03:00
Jan Djärv
0daa080405
* lisp/term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
...
and default-process-coding-system for darwin only.
2013-10-01 20:22:48 +02:00
Jan Djärv
832966e57f
* term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
...
and default-process-coding-system to utf-8-unix.
Fixes: debbugs:15402
2013-09-29 19:09:39 +02:00
Glenn Morris
f4a1d572bc
* term/ns-win.el (x-handle-args): Declare.
2013-09-17 21:36:34 -07:00
Glenn Morris
5fa89513d5
* term/w32-win.el (create-default-fontset): Declare.
2013-09-17 21:32:01 -07:00
Glenn Morris
e843de7767
* term/x-win.el (x-select-enable-clipboard): Declare.
2013-09-17 21:30:33 -07:00
Glenn Morris
047a1a4c20
* term/common-win.el (x-select-enable-primary, x-last-selected-text-primary)
...
(x-last-selected-text-clipboard): Declare.
2013-09-17 21:28:57 -07:00
Stefan Monnier
379add74c2
* lisp/term/ns-win.el (parameters): Don't declare as dynamic.
...
(before-make-frame-hook): Don't add ineffective function.
2013-09-12 16:21:41 -04:00
Glenn Morris
30213927b6
Use with-demoted-errors now that it can format any error messages
...
* 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.
2013-09-11 22:32:57 -07:00
Glenn Morris
56834f3b63
* lisp/term/ns-win.el (global-map): Remove binding for ispell-next,
...
deleted 1999-05-29.
Fixes: debbugs:15357
2013-09-11 21:32:45 -04:00
Eli Zaretskii
594a430782
Fix build with zlib on MS-Windows.
...
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.
2013-08-12 16:15:01 +03:00
Juanma Barranquero
9d3aa82cf9
lisp/*.el: Silence lexical-binding warnings.
2013-08-09 01:59:14 +02:00
Dmitry Antipov
12b4c0ea03
Do not call to `selected-frame' where it is assumed by default.
...
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.
2013-08-05 14:35:55 +04:00
Jan Djärv
a3b49114c1
* term/ns-win.el (display-format-alist): Use .*.
...
Fixes: debbugs:14765
2013-07-02 20:16:09 +02:00
Juanma Barranquero
1493c2af65
lisp/term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2013-06-20 23:58:29 +02:00
Glenn Morris
230dcbaf2f
* term/xterm.el (xterm--query): Stop after first matching handler. (Bug#14615)
2013-06-14 14:37:38 -04:00
Glenn Morris
e1b26af7e6
ns-win comment
2013-06-01 15:35:54 -07:00
Glenn Morris
f6ebbb46d6
Silence w32console.el compilation
...
* lisp/term/w32console.el (w32-get-console-codepage)
(w32-get-console-output-codepage): Declare.
2013-05-21 20:15:03 -07:00
Glenn Morris
ed8be7ff74
Misc custom group fixes
...
* 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.
2013-05-15 19:55:41 -04:00
Glenn Morris
5bf90bc5d4
* lisp/term/xterm.el: Provide a feature.
2013-05-13 22:08:35 -04:00
Glenn Morris
27c8b6eb73
Make sup-mouse.el obsolete
...
* doc/emacs/ack.texi (Acknowledgments): Don't mention obsolete sup-mouse.el.
* term/sup-mouse.el: Move to obsolete/.
* etc/NEWS: Mention this.
2013-05-13 22:04:02 -04:00
Juanma Barranquero
51646b62bd
Silence byte-compiler warnings.
...
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.
2013-04-16 04:41:37 +02:00
Dmitry Antipov
ebb19708e7
Do not set x-display-name until X connection is established.
...
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.
2013-04-06 18:06:39 +04:00
Paul Eggert
2aa2157b56
iso-2022-7bit commentary fixes
...
* notes/unicode: Mention some more iso-2022-7bit files.
* lisp/term/x-win.el (x-keysym-pair): Add a Fixme.
Fixes: debbugs:13936
2013-03-18 12:44:15 -07:00
Stefan Monnier
2523c845da
* lisp/term/xterm.el (xterm--report-background-handler): Don't burp
...
upon timeout.
(xterm--version-handler): Extract from terminal-init-xterm.
(xterm--query): Don't mishandle timeout. Remove debugging messages.
Allow multiple handlers.
(terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
Fixes: debbugs:6758
2013-03-11 10:08:44 -04:00
Stefan Monnier
9b59398006
* lisp/term/xterm.el: Don't discard input. Use lexical-binding.
...
(xterm--report-background-handler, xterm--query): New functions.
(terminal-init-xterm): Use them.
Fixes: debbugs:6758
2013-03-11 00:24:15 -04:00
Stefan Monnier
d3e9f3a843
* lisp/term/xterm.el (xterm-function-map): Support format used with
...
formatOtherKeys=1.
Fixes: debbugs:13839
2013-03-10 17:44:31 -04:00
Glenn Morris
01fcc3a532
Merge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.org
2013-02-12 20:31:09 -08:00
Paul Eggert
65e7ca35a6
In doc, use standard American English style for e.g., etc., i.e.
2013-02-12 09:36:54 -08:00