Dan Nicolaescu
c59d6fadf7
(xterm-maybe-set-dark-background-mode): Remove
...
dead code. (Bug#5546)
2010-02-09 21:33:17 -08:00
Dan Nicolaescu
5185028601
(xterm-maybe-set-dark-background-mode): Rename
...
from xterm-set-background-mode. Return t if the background mode
was set.
(terminal-init-xterm): Move tty-set-up-initial-frame-faces
earlier, call it again in case the background mode has changed.
2010-01-24 13:08:53 -08:00
Juanma Barranquero
db9e401b3b
Fix typos in docstrings, error messages, etc.
2010-01-18 05:39:40 +01:00
Juanma Barranquero
5a89f0a793
Fix typos in comments.
2010-01-14 19:37:23 +01:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Nick Roberts
7ee6c59b15
Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
...
* term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
* progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
2009-12-31 02:19:53 +13:00
Dan Nicolaescu
a91e1f6bf8
Get the background mode from the terminal for xterm, and set
...
faces accordingly.
* term/xterm.el (xterm-set-background-mode): New function.
(terminal-init-xterm): Use it in case xterm supports background
color queries. Recompute faces after getting the background
color.
2009-12-07 06:30:30 +00:00
Dan Nicolaescu
6bdad9ae02
* term/x-win.el (x-gtk-stock-map):
...
* progmodes/vera-mode.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
(inferior-lisp-program, inferior-lisp-load-command):
* progmodes/hideshow.el (hs-special-modes-alist):
* progmodes/gud.el (same-window-regexps):
* progmodes/grep.el (grep-program, find-program, xargs-program):
* net/telnet.el (same-window-regexps):
* net/rlogin.el (same-window-regexps):
* language/ethiopic.el (font-ccl-encoder-alist):
* vc-sccs.el (vc-sccs-master-templates):
* vc-rcs.el (vc-rcs-master-templates):
* subr.el (cl-assertion-failed):
* simple.el (next-error-overlay-arrow-position):
* lpr.el (lpr-command):
* locate.el (locate-ls-subdir-switches):
* info.el (same-window-regexps, info)
(Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
* image-mode.el (image-mode, auto-mode-alist):
* hippie-exp.el (hippie-expand-ignore-buffers):
* format.el (format-alist):
* find-dired.el (find-ls-subdir-switches, find-grep-options)
(find-name-arg):
* facemenu.el (facemenu-keybindings):
* dired.el (dired-listing-switches, dired-chown-program):
* diff.el (diff-switches, diff-command):
* cus-edit.el (same-window-regexps):
* bindings.el (mode-line-mule-info)
(mode-line-buffer-identification): Purecopy strings.
2009-11-11 05:49:09 +00:00
Stefan Monnier
937e6a5612
* url-util.el (url-insert-entities-in-string):
...
* url-nfs.el (url-nfs-unescape):
* url-ldap.el (url-ldap):
* url-imap.el (url-imap):
* url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
* erc.el (erc-display-line-1, erc-process-away):
* erc-truncate.el (erc-truncate-buffer-to-size):
Use with-current-buffer.
* term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
* play/mpuz.el (mpuz-create-buffer):
* play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
(lm-print-y,s,noise, lm-print-w0, lm-init):
* play/gomoku.el (gomoku-prompt-for-move):
* play/fortune.el (fortune-in-buffer):
* play/dissociate.el (dissociated-press):
* play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
(decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
* mail/supercite.el (sc-eref-show):
* mail/smtpmail.el (smtpmail-send-it):
* mail/rmailsum.el (rmail-summary-next-labeled-message)
(rmail-summary-previous-labeled-message, rmail-summary-wipe)
(rmail-summary-undelete-many, rmail-summary-rmail-update)
(rmail-summary-goto-msg, rmail-summary-expunge)
(rmail-summary-get-new-mail, rmail-summary-search-backward)
(rmail-summary-add-label, rmail-summary-output-menu)
(rmail-summary-output-body):
* mail/rfc822.el (rfc822-addresses):
* mail/reporter.el (reporter-dump-variable, reporter-dump-state):
* mail/mailpost.el (post-mail-send-it):
* mail/hashcash.el (hashcash-generate-payment):
* mail/feedmail.el (feedmail-run-the-queue)
(feedmail-queue-send-edit-prompt-help-first)
(feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
(feedmail-deduce-address-list):
* eshell/esh-ext.el (eshell-remote-command):
* eshell/em-unix.el (eshell-occur-mode-mouse-goto):
* emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
(viper-wildcard-to-regexp, viper-glob-mswindows-files)
(viper-save-string-in-file, viper-valid-marker):
* emulation/viper-keym.el (viper-toggle-key):
* emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
(ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
(ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
* emulation/viper-cmd.el (viper-exec-form-in-vi)
(viper-exec-form-in-emacs, viper-brac-function):
* emulation/viper.el (viper-delocalize-var):
* emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
(vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
(vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
(ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
* emulation/vi.el (vi-switch-mode, vi-ex-cmd):
* emulation/edt.el (edt-electric-helpify):
* emulation/cua-rect.el (cua--rectangle-aux-replace):
* emulation/cua-gmrk.el (cua--insert-at-global-mark)
(cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
(cua-indent-to-global-mark-column):
* calendar/diary-lib.el (calendar-mark-1):
* calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
Use with-current-buffer.
* emulation/viper.el (viper-delocalize-var): Use dolist.
2009-11-03 02:04:29 +00:00
Dan Nicolaescu
8f43cbf352
* puresize.h (BASE_PURESIZE): Increase to 1430000.
...
* term/tty-colors.el (msdos-color-values): Remove declaration, unused.
(color-name-rgb-alist, tty-standard-colors)
(tty-color-mode-alist): Change to defconst.
* simple.el (mark-inactive): Purecopy message.
* menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
(global-map, yank-menu):
* textmodes/ispell.el (ispell-menu-map):
* net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (describe-language-environment-map)
(setup-language-environment-map, set-coding-system-map)
(mule-menu-keymap):
* vc-hooks.el (vc-menu-entry, vc-menu-map):
* replace.el (occur-mode-map):
* pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
* bindings.el (propertized-buffer-identification): Purecopy
tooltip text.
2009-10-23 05:15:26 +00:00
Dan Nicolaescu
4418646e99
* puresize.h (BASE_PURESIZE): Increase to 1310000.
...
* term/common-win.el (x-colors): Purecopy it.
2009-10-17 07:13:44 +00:00
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Glenn Morris
b15c31c722
Remove unused declarations.
2009-10-01 02:17:38 +00:00
Adrian Robert
aa36cda6de
Don't set the region face background.
2009-09-27 16:06:04 +00:00
Glenn Morris
6125167ce2
(ns-reg-to-script): Define for compiler.
2009-09-24 03:22:40 +00:00
Adrian Robert
a3b4b36385
* term/nswin.el (ns-reg-to-script): New variable.
2009-09-23 02:35:33 +00:00
Stefan Monnier
31cd2dd4e1
* simple.el: Add mapping for backspace/delete/clear/tab/escape/return
...
to function-key-map, and give them ascii-character property.
* term/x-win.el (x-alternatives-map):
* term/ns-win.el (ns-alternatives-map):
* term/internal.el (msdos-key-remapping-map):
* w32-fns.el (x-alternatives-map): Remove redundant mappings.
2009-09-14 01:22:42 +00:00
Chong Yidong
e17ed9add8
* term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
...
is defined (Bug#4405).
2009-09-13 21:32:58 +00:00
Stefan Monnier
9f94990d7e
* term/x-win.el (x-initialize-window-system):
...
* term/w32-win.el (w32-initialize-window-system):
* term/ns-win.el (ns-initialize-window-system): Don't call
mouse-wheel-mode since it's enabled globally by default already.
2009-09-12 19:04:24 +00:00
Glenn Morris
5cc443fe03
(x-display-name, x-setup-function-keys): Unify doc-strings with X versions.
2009-09-11 03:41:26 +00:00
Glenn Morris
5f68c1b736
Use forward-line rather than goto-line.
2009-09-01 03:18:44 +00:00
Glenn Morris
52199878ae
(dos-codepage-setup): Use default-value rather than
...
default-enable-multibyte-characters.
2009-09-01 03:17:28 +00:00
Glenn Morris
d93e053bb5
(ns-open-file-select-line): Use line-beginning-position rather than goto-line.
2009-08-21 07:31:10 +00:00
Eli Zaretskii
8c61e9ba15
Fix last change.
2009-07-25 09:42:50 +00:00
Eli Zaretskii
3077d1f623
Fix Bug#3888:
...
w32-vars.el (x-select-enable-clipboard): Doc fix.
term/pc-win.el (x-display-name, x-colors)
(x-select-enable-clipboard, x-select-text): Doc fix.
term/common-win.el (x-display-name, x-colors): Doc fix.
term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
(xw-defined-colors): Doc fix.
w32-fns.el (x-select-text, x-setup-function-keys)
(x-get-selection, x-set-selection): Doc fix.
term/x-win.el (x-select-text, x-setup-function-keys)
(x-select-enable-clipboard, xw-defined-colors): Doc fix.
select.el (x-set-selection): Doc fix.
2009-07-25 09:31:05 +00:00
Chong Yidong
8681214471
* term/vt420.el (terminal-init-vt420): Fix typo.
2009-07-20 19:04:15 +00:00
Eli Zaretskii
f22693fc45
(x-selection-owner-p, x-own-selection-internal)
...
(x-disown-selection-internal): New functions.
2009-07-18 11:13:03 +00:00
YAMAMOTO Mitsuharu
7653ca1dfb
(ns-set-alpha): Don't declare.
...
(ns-set-background-alpha): Remove function.
2009-07-16 08:25:21 +00:00
Jan Djärv
285712468c
ns-win.el (x-select-font): defailias x-select-font to
...
ns-popup-font-panel instead of generate-fontset-menu.
2009-07-13 10:18:03 +00:00
Adrian Robert
c3c122b762
term/ns-win.el (composition-function-table) (script-representative-chars): Don't alter.
2009-06-08 04:35:40 +00:00
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