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
Glenn Morris
f2d9c15f59
Add declarations for builds without X.
2008-08-11 01:23:07 +00:00
Adrian Robert
55e8d9a557
* startup.el (command-line-ns-option-alist): Use ignore instead of ns-ignore-0-arg. * term/ns-win.el (ns-ignore-0-arg, mouse-extend-region) (ns-win-suspend-error, ns-yes-or-no-p, colors): Drop. (ns-alternatives-map): New variable. (x-set-up-function-keys): Use it. (global): Comment out 'put backspace ascii-character...' and friends. Move function-key-map into ns-alternatives-map. Don't call precompute-menubar-bindings. Don't set anything connected with browse-url. (after-make-frame-functions): Clarify comment why a hook is added.
2008-08-07 03:10:08 +00:00
Adrian Robert
4e6225928e
Dock menu customization, based on a patch by Ken Raeburn, plus some other fixes.
2008-08-05 03:05:14 +00:00
Adrian Robert
583ff3c3ba
rename do-applescript,do_applescript in keeping with NS code conventions
2008-07-27 19:20:38 +00:00
Dan Nicolaescu
9e2a264775
Remove support for Mac Carbon.
...
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon
* erc.el: Remove code for Carbon.
Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.
Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.
* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.
* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.
* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.
* xresources.texi: Remove mentions of Mac Carbon.
* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.
Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL: Remove code for Carbon.
* configure: Regenerate.
2008-07-27 18:24:48 +00:00