1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

972 Commits

Author SHA1 Message Date
Juanma Barranquero
2b4e72e1d5 * term/ns-win.el (ns-alternatives-map, ns-insert-working-text)
(ns-echo-working-text, ns-utf8-nfd-post-read-conversion)
(ns-insert-text, ns-insert-file, ns-find-file, generate-fontset-menu)
(mouse-set-font, ns-respond-to-change-font, ns-standard-fontset-spec)
(ns-set-background-alpha, ns-set-foreground-at-mouse)
(ns-set-background-at-mouse): Fix typos in docstrings.
2009-05-03 23:19:35 +00:00
David Reitter
1a1961c361 (ns-make-command-string, ns-grabenv)
(ns-extended-platform-support-mode, menu-bar-ns-file-menu)
(ns-arrange-all-frames, ns-arrange-visible-frames)
(ns-arrange-frames): remove. These functionalities not
available on other (free) platforms will be provided to users
outside the Emacs project in the "ns-platform-support" package.
2009-04-30 18:01:40 +00:00
Eli Zaretskii
9993f59a85 (msdos-last-help-message): New defvar.
(msdos-show-help): Use it to avoid saving the last message if it was also
a help message (Bug#2895).
2009-04-08 13:51:48 +00:00
Glenn Morris
73f6360c50 (ns-pop-up-frames): Make it a defcustom. 2009-04-07 03:19:44 +00:00
David Reitter
4c785fa701 (ns-expand-space): remove defvar.
(S-,): bind to `customize' in line with menu item.
([global-map windows]): remove (in line with other platforms).
(menu-bar-update-frames, force-menu-bar-update-buffers,force-menu-bar-update-buffers,force-menu-bar-update-buffers): remove, not needed.
(menu-bar-update-hook): do not alter.
(generate-fontset-menu,mouse-set-font): amend doc string of these defaliases to point out their altered meaning in NS.
2009-03-29 00:00:30 +00:00
Kenichi Handa
2c0359930b Call create-defualt-fontset, not
setup-default-fontset.  Call create-fontset-from-fontset-spec
within condition-case.
2009-03-19 00:58:19 +00:00
Kenichi Handa
0311148f52 (w32-initialize-window-system): Call
create-defualt-fontset, not setup-default-fontset.  Call
create-fontset-from-fontset-spec within condition-case.
2009-03-19 00:57:20 +00:00
Kenichi Handa
2d4e20ecbe (x-initialize-window-system): Call
create-defualt-fontset, not setup-default-fontset.  Call
create-fntset-from-fontset-spec within condition-case.
2009-03-19 00:56:52 +00:00
David Reitter
c6c62e780c Unify shutdown handling under NS, via ns-power-off key event (where appropriate) and save-buffers-kill-emacs.
remove  NS-specific preferences window that used to show NS-specific preferences.
Integrate preferences in Lisp accessible customization system where possible.
Remove ns-expand-space, because it can be set only during fontloading (i.e. not at runtime),
and because of redundancy with line-spacing frame parameter.

Remove loading of most and saving of all NS resources (from org.gnu.Emacs.plist).

nsterm.m (ns_shutdown_properly, -terminate): remove global state variable as it was never reset
(ns_term_init): remove initialization of Lisp-settable defaults and ns_expand_space
(-setPanelFromDefaultValues): remove ns_expand_space.
(-showPreferencesWindow): send new KEY_NS_SHOW_PREFS key.

nsfont.m (nsfont_open): remove ns_expand_space, assume -0.5 i.e. no additional spacing, similar to Carbon port.

nsterm.h: define KEY_NS_SHOW_PREFS key.
nsfns.m (ns-popup-prefs-panel): remove.

term/ns-win.el (ns-expand-space): remove.
(ns-show-prefs event): run `customize'.
(ns-power-off): run `save-buffers-kill-emacs', but ask user whether to save files (as is standard)
(clipboard-yank, clipboard-kill-ring-save, clipboard-kill-region)
(menu-bar-enable-clipboard): do not undefine these.
(ns-save-preferences,ns-save-options,ns-show-preferences-help): remove.
2009-03-14 21:19:56 +00:00
Jason Rumney
31358bee63 (w32-initialize-window-system): Don't override
Japanese font settings.
(xlfd-regexp-registry-subnum): Remove unused declaration.
(w32-drag-n-drop-debug): Comment out unused debug function.
2009-03-11 15:59:30 +00:00
Jason Rumney
4603334027 (w32-initialize-window-system): Don't override
Japanese font settings.
2009-03-11 15:15:09 +00:00
Stefan Monnier
43c660bc89 (ns-working-overlay): Don't make it buffer-local.
(ns-working-overlay-len): Remove.  Use ns-working-overlay instead.
(ns-delete-working-text): Merge with ns-unecho-working-text.
Decide which to use based on ns-working-overlay.
(ns-unecho-working-text): Remove.
(ns-insert-working-text, ns-echo-working-text): Adjust accordingly.
2009-02-24 21:11:53 +00:00
Glenn Morris
20bc68dd30 (ns): Define as a custom group. 2009-02-04 03:38:06 +00:00
Adrian Robert
516907a2b9 * term/ns-win.el (ns-save-preferences): Save ns-confirm-quit option. 2009-02-01 17:32:52 +00:00
Adrian Robert
33b357927c * term/ns-win.el (ns-insert-working-text, ns-delete-working-text):
Remove from global map and key definitions.
	(ns-toggle-toolbar, ns-info-prefs): Add to global map and key
	definitions.
	(ns-show-preferences-help, ns-unput-working-text): New functions.
	(ns-unecho-working-text): Update message.
2009-01-25 19:50:16 +00:00
Adrian Robert
08324aaa01 * term/ns-win.el (menu-bar-select-frame): Drop this override.\n\t(menu-bar-update-frames): Update call to menu-bar-select-frame. 2009-01-24 10:27:03 +00:00
Adrian Robert
9d8f6d3166 * term/ns-win.el (ns-insert-working-text, ns-put-working-text): Switch names and update comments for clarity. 2009-01-23 13:00:21 +00:00
Adrian Robert
b51a33657e * term/ns-win.el (ns-show-manual): Fix node name. (x-open-connection) Fix typo in declaration filename. 2009-01-22 12:31:36 +00:00
Glenn Morris
c5220417f4 Comments (minor fixes of some header conventions). 2009-01-10 22:08:37 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Jason Rumney
06d6d4bb6f (image-library-alist): Add gobject library. 2009-01-02 15:54:28 +00:00
Chong Yidong
2e34dc8bd6 Update comment. 2008-12-20 21:15:47 +00:00
Glenn Morris
62507a6a81 Header format fix. 2008-12-19 05:24:35 +00:00
Chong Yidong
c2a008832d (xterm-remove-modify-other-keys): Fix error in terminal variable
assignment.
2008-12-10 15:02:42 +00:00
Chong Yidong
56f37e53c9 (terminal-init-xterm): Discard pending input before reading a reply to
the terminal attributes query.
2008-12-06 03:57:16 +00:00
Chong Yidong
2543eb396b (x-gtk-stock-cache): New hash table.
(x-gtk-map-stock): Perform caching to prevent excess consing during
2008-11-29 06:52:31 +00:00
Glenn Morris
5a3008ede5 (x-font-family-list): Replace redefinition with
ifdef in src/xfaces.c, since it confuses make-docfile.  (Bug#1383)
2008-11-26 02:58:48 +00:00
Glenn Morris
a70f4c6f55 (x-select-font): Declare. 2008-11-19 04:33:00 +00:00
Glenn Morris
ff757fd1df (ns-extended-platform-support-mode): Tweak menu entry from previous change. 2008-11-16 23:47:04 +00:00
Glenn Morris
406aaa6f6d (ns-do-applescript, ns-popup-font-panel): Declare.
(ns-show-manual, menu-bar-help-menu): Update for merge of ns-emacs into
main Emacs manual.
2008-11-15 22:29:59 +00:00
Juanma Barranquero
8fc29035f3 * w32-fns.el (w32-shell-dos-semantics):
* calendar/diary-lib.el (diary-face-attrs):
* international/mule-cmds.el (set-default-coding-systems)
  (prefer-coding-system):
* net/tramp.el (tramp-set-completion-function):
* progmodes/vhdl-mode.el (vhdl-file-header):
* term/pc-win.el (msdos-show-help): Fix typos in docstrings.

* emacs-lisp/authors.el (authors-fixed-entries): Fix typo in value.

* files.el (enable-local-eval, not-modified, kill-buffer-ask)
  (kill-matching-buffers, save-buffers-kill-emacs)
  (save-buffers-kill-terminal): Fix typos in docstrings.
  (switch-to-buffer-other-window): Reflow docstring.
  (revert-buffer): Doc fix.
  (define-project-bindings): Rename arg LIST to SETTINGS.
  (project-find-settings-file): Use `let', not `let*'.  Use `when'.
2008-11-14 13:05:18 +00:00
Chong Yidong
b04f3e61ae (x-initialize-window-system): Call x-wm-set-size-hint after
initialization.
2008-11-03 17:57:33 +00:00
Glenn Morris
3dcdb6ea2c Fix case of "GNUstep". 2008-10-04 18:45:30 +00:00
Eli Zaretskii
4009e4f837 (dos-locale-alist): New alist.
(dos-codepage-setup): Use it to compute a value of locale with which to call
set-locale-environment.  Remove code to set terminal, keyboard, and
file-name encoding (done by set-locale-environment).
2008-10-01 16:23:28 +00:00
Stefan Monnier
ffaa90dd98 (xterm-turn-on-modify-other-keys)
(xterm-turn-off-modify-other-keys, xterm-remove-modify-other-keys):
Don't forget to pass `terminal' to `send-string-to-terminal'.
2008-09-30 21:59:26 +00:00
Eli Zaretskii
ff58641318 Remove coding: cookie and no-byte-compile flag.
(IT-character-translations, cjk-codepages-alist): Remove variables.
(IT-display-table-setup, dos-cpNNN-setup): Remove functions.
(IT-unicode-translations): Remove charset and base elements.  Add translations
for Latin-1 characters.
(IT-setup-unicode-display): Accept a CODING argument.  Don't use base and
chset elements of IT-unicode-translations.  Don't wrap translation in "{...}".
Set up translations only for characters for which unencodable-char-position
returns non-nil.
(dos-codepage-setup): Don't use special-case codepages in cjk-codepages-alist.
2008-09-30 16:18:09 +00:00
Eli Zaretskii
08792c113a (msdos-show-help): Don't truncate lines while displaying help echo messages. 2008-09-06 12:52:42 +00:00
Eli Zaretskii
7ced34de28 (msdos-face-setup): Setup faces for all frames, not just for terminal-frame. 2008-09-05 11:27:29 +00:00
Chong Yidong
54da3bdf47 (x-win-suspend-error): Don't signal error if there are no X frames
active.
2008-08-28 21:16:05 +00:00
Eli Zaretskii
2360864055 (msdos-previous-message): New variable.
(msdos-show-help): New function.
(msdos-initialize-window-system): Set show-help-function to msdos-show-help.
2008-08-28 20:05:54 +00:00
Glenn Morris
92f9269e40 (msdos-setup-keyboard): Fix declaration. 2008-08-26 02:55:41 +00:00
Eli Zaretskii
345b17bb32 (msdos-setup-keyboard) <msdos-setup-keyboard>: Add declare-function. 2008-08-23 17:28:57 +00:00
Eli Zaretskii
cbcc5ad47d (msdos-create-frame-with-faces): Renamed from make-msdos-frame.
(terminal-init-internal): New function, errors out if called.
(msdos-initialize-window-system): New function.
(msdos-create-frame-with-faces): Set the terminal's `terminal-initted' (sic!)
parameter.
(frame-creation-function-alist): Add msdos-create-frame-with-faces.
(window-system-initialization-alist): Add msdos-initialize-window-system.
(handle-args-function-alist): Use tty-handle-args for `pc' ``window system''
as well.
(pc-win): Provide.
2008-08-23 17:01:46 +00:00
Eli Zaretskii
d8dbc0d041 (msdos-key-remapping-map): New variable. Move here all the special keys we
will be remapping via local-function-key-map.
(msdos-setup-keyboard): New function.
2008-08-23 17:00:57 +00:00
Eli Zaretskii
8e96a98d30 (tty-register-default-colors): Remove bogus code for using msdos-color-values. 2008-08-23 17:00:21 +00:00
Nick Roberts
e2cb56be55 (x-gtk-map-stock): Don't let the tool bar destroy
match data in process filters.
2008-08-23 15:50:06 +00:00
Adrian Robert
795d93585c * term/ns-win.el (ns-cursor-blink-rate, ns-cursor-blink-mode): Remove. 2008-08-21 02:31:45 +00:00
Adrian Robert
6742a9d2af Uncomment 'put backspace ascii-character...' and friends, they are needed for tramp. 2008-08-18 15:04:37 +00:00
Chong Yidong
489382c5bb (ns-parse-geometry): Rename from x-parse-geometry. 2008-08-13 23:40:02 +00:00
Glenn Morris
ba0c843d85 (x-parse-geometry): Doc fix. 2008-08-11 01:24:31 +00:00