Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Stefan Monnier
548c5c47f1
* lisp/frame.el (screen-height, screen-width, set-screen-width)
...
(set-screen-height): Remove ancient compatibility aliases.
2010-08-03 00:35:38 +02:00
Chong Yidong
21bd02a62d
* lisp/frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
2010-07-13 13:02:27 -04:00
Chong Yidong
c1ef4455ea
Fix application of default-frame-alist (Bug#5378).
...
* lisp/frame.el (make-frame): Add default-frame-alist to the PARAMETERS
argument passed to frame-creation-function (Bug#5378).
* lisp/faces.el (x-handle-named-frame-geometry)
(x-handle-reverse-video, x-create-frame-with-faces)
(face-set-after-frame-default, tty-create-frame-with-faces): Don't
separately consult default-frame-alist. It is now passed as the
PARAMETER argument.
* src/frame.c (get_future_frame_param, Fmake_terminal_frame): Don't
check default-frame-alist.
2010-06-30 20:14:17 -04:00
Chong Yidong
6431f2e619
Change default-frame-alist and menu/tool-bar-mode interaction (Bug#2249).
...
Don't add entries for `menu-bar-lines' and `tool-bar-lines' to
`default-frame-alist' and `initial-frame-alist' at startup.
Instead, use X resources to update the `menu-bar-mode' and
`tool-bar-mode' variables at startup, and use them as defaults during
frame creation.
* lisp/frame.el (frame-notice-user-settings): Don't change
default-frame-alist based on menu-bar-mode and tool-bar-mode, or
vice versa.
* lisp/menu-bar.el (menu-bar-mode):
* lisp/tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
Set init-value to t.
* lisp/startup.el (command-line): Use X resources to set the value of
menu-bar-mode and tool-bar-mode, before calling frame-initialize.
* src/frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars.
* src/w32fns.c (Fx_create_frame):
* src/nsfns.m (Fx_create_frame): Likewise.
* src/xfns.c (Fx_create_frame): Don't consult X resouces when setting
menu-bar-lines and tool-bar-lines. Use menu-bar-mode and
tool-bar-mode, which are now set using these X resources at
startup, to determine the defaults.
2010-06-26 20:30:52 -04:00
Chong Yidong
fac580ebfa
Revert last change.
2010-06-25 15:32:37 -04:00
Chong Yidong
a9fdbaae1a
Change initial-frame-alist and default-frame-alist defaults (Bug#2249).
...
Since the menu-bar and tool-bar are now unconditionally turned on by
default, we can let the defcustom defaults reflect that.
* frame.el (initial-frame-alist): Give default value entries for
menu-bar-lines and tool-bar-lines consistent with the startup
default (Bug#2249).
* frame.c (Vdefault_frame_alist): Give default value entries for
menu-bar-lines and tool-bar-lines consistent with the startup
default (Bug#2249).
2010-06-25 15:24:05 -04:00
Stefan Monnier
f44379e7fe
Use define-minor-mode for less obvious cases.
...
* emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
* emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
* international/iso-ascii.el (iso-ascii-mode):
* frame.el (auto-raise-mode, auto-lower-mode):
* composite.el (global-auto-composition-mode): Use define-minor-mode.
2010-05-04 22:08:25 -04:00
Glenn Morris
3a4f3a3b0a
(show-trailing-whitespace): Safe if boolean. (Bug#5312)
2010-01-13 22:13:16 -08:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Glenn Morris
4619ff5e68
(frame-height): Doc fix.
2009-10-10 23:50:10 +00:00
Stefan Monnier
adba8116c3
* mail/sendmail.el (send-mail-function):
...
* tooltip.el (tooltip-mode):
* simple.el (transient-mark-mode):
* rfn-eshadow.el (file-name-shadow-mode):
* frame.el (blink-cursor-mode):
* font-core.el (global-font-lock-mode):
* files.el (temporary-file-directory)
(small-temporary-file-directory, auto-save-file-name-transforms):
* epa-hook.el (auto-encryption-mode):
* composite.el (global-auto-composition-mode):
Use custom-initialize-delay.
* startup.el (command-line): Don't explicitly call
custom-reevaluate-setting for all the above vars.
* custom.el (custom-initialize-safe-set)
(custom-initialize-safe-default): Delete.
2009-09-13 00:52:55 +00:00
Bastien Guerry
e343066fb1
Docstring cleanup: use "mouse pointer" instead of "mouse cursor".
2009-07-26 19:20:51 +00:00
Stefan Monnier
5e5ae184f4
(delete-other-frames): Only delete frames on the
...
same terminal (bug#3442).
2009-06-04 14:46:23 +00:00
Chong Yidong
92e0207223
* frame.el (minibuffer-frame-alist): Doc fix (Bug#3276).
2009-05-14 03:50:53 +00:00
Martin Rudalics
36fc09321b
(pop-up-frame-function): Remove choice nil since it
...
does not represent a valid value.
2009-05-02 08:33:25 +00:00
Chong Yidong
d51f6378fc
* frame.el (make-frame): Doc fix.
2009-04-04 14:44:10 +00:00
Dan Nicolaescu
f79b43b27b
* frame.el (make-frame-on-tty): Remove function, inline contents
...
in the only user ...
* server.el (server-create-tty-frame): ... here.
* frames.texi (Multiple Displays): Remove documentation for
removed function make-frame-on-tty.
2009-01-22 06:58:10 +00:00
Martin Rudalics
60898913e1
(special-display-popup-frame): Rewrite doc-string and simplify code.
2009-01-14 10:14:40 +00:00
Chong Yidong
052056a969
Revert previous change (commit mistake).
2009-01-10 13:07:04 +00:00
Chong Yidong
6c1ec5a050
* gs.el: File removed.
2009-01-10 13:04:37 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Martin Rudalics
dca6c4189b
(window-system-default-frame-alist)
...
(initial-frame-alist, minibuffer-frame-alist)
(pop-up-frame-alist, pop-up-frame-function)
(special-display-frame-alist): Rewrite and reformat doc-strings.
2009-01-02 14:47:45 +00:00
Juanma Barranquero
69135f1297
* frame.el (make-frame-on-display): Use `string-match-p'.
2008-11-07 14:52:02 +00:00
Chong Yidong
c5a8bc0180
(make-frame-on-display): Ignore DISPLAY argument on Windows.
2008-11-04 16:39:46 +00:00
Juanma Barranquero
6cda144ffe
Fix typos in docstrings.
...
* cus-edit.el (customize-apropos-options, custom-comment)
(custom-comment-tag, custom-face-edit-attribute-tag):
Fix typos in docstrings.
(custom-buffer-done-kill): Remove * from defcustom docstring.
(custom-file): Fix typo in doc of defcustom choice.
* frame.el (display-visual-class): Fix typo in docstring.
(initial-frame-alist, minibuffer-frame-alist, pop-up-frame-alist)
(special-display-frame-alist, show-trailing-whitespace)
(auto-hscroll-mode, blink-cursor-delay, blink-cursor-interval)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Remove * from defcustom docstrings.
* md4.el (md4-buffer): Fix typo in docstring.
(md4, md4-64): Doc fixes.
(md4-pack-int32): Reflow docstring.
* paths.el (rmail-file-name): Remove * from defcustom docstring.
(prune-directory-list, gnus-nntp-service): Fix typos in docstrings.
* rect.el (open-rectangle): Reflow docstring.
(spaces-string): Fix docstring typo. Use "?\s" instead of "? ".
* select.el (x-get-cut-buffer): Fix typo in docstring.
* timezone.el (timezone-zone-to-minute, timezone-time-from-absolute)
(timezone-time-zone-from-absolute, timezone-leap-year-p):
Fix typos in docstrings.
* emacs-lisp/assoc.el (asort, aelement, aput, aget, amake):
Fix typos in docstrings.
2008-11-01 01:24:33 +00:00
Chong Yidong
e9e6aee821
(make-frame-command): Doc fix. Use display-graphic-p.
2008-10-22 21:09:48 +00:00
Eli Zaretskii
1ac8f4d6c8
(make-frame-on-tty): Fix comment to the `interactive' spec.
2008-10-09 17:43:03 +00:00
Eli Zaretskii
c4dde5782c
(make-frame-on-tty): Use "F" inside interactive. Support `pc'
...
``window-system''.
2008-10-09 16:09:02 +00:00
Glenn Morris
52ef9375bb
(set-default-font): Make obsolete.
2008-10-03 07:24:54 +00:00
Dan Nicolaescu
d06f801066
(frame-initialize): Remove spurious setting of
...
special-display-function with the default value.
2008-09-21 22:58:41 +00:00
Martin Rudalics
bbca16d8d1
(select-frame-set-input-focus): With non-nil
...
mouse-autoselect-window always move mouse cursor to frame's
selected window. Otherwise restore pre 2008-09-13 behavior.
(select-frame-by-name): Use select-frame-set-input-focus.
2008-09-16 08:20:21 +00:00
Martin Rudalics
b0c7121cab
(select-frame-set-input-focus): With focus follows
...
mouse move mouse cursor to right window.
2008-09-13 08:28:04 +00:00
Martin Rudalics
25831d661d
(pop-up-frame-function): Move here from window.el to avoid
...
"CHANGED outside Customize;".
2008-09-03 09:17:23 +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
Dan Nicolaescu
601fb9b822
* term/ns-win.el:
...
* version.el (emacs-version):
* loadup.el:
* frame.el (make-frame-on-display): Check for ns instead of
ns-windowing.
2008-07-23 06:01:21 +00:00
Dan Nicolaescu
5f2aebc0e6
(ns-display-name): Remove declaration.
...
(make-frame-on-display): Use x-display-name instead
ns-display-name. Use unless.
2008-07-21 17:43:33 +00:00
Glenn Morris
5f9214ee16
(ns-display-name): Declare for compiler.
2008-07-17 02:35:06 +00:00
Glenn Morris
4c1863cd6e
(ns-initialize-window-system): Declare for compiler.
2008-07-16 02:30:15 +00:00
Adrian Robert
edfda78355
merging Emacs.app (NeXTstep port)
2008-07-15 18:15:18 +00:00
Glenn Morris
aa360da10d
Add some compiler declarations, for builds without X.
2008-06-12 03:56:20 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Juanma Barranquero
8d91bd0aad
(screen-height, screen-width, set-screen-width, set-screen-height):
...
Add WHEN to obsolescence declaration.
2008-04-18 10:28:42 +00:00
Stefan Monnier
2f5bb432ac
(frame-notice-user-settings): Distinguish explicit parent-id
...
from the auto-generated one.
2008-02-14 21:16:36 +00:00
Miles Bader
1bad168e59
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Juanma Barranquero
d7cd2d8b4e
(display-mm-height, display-mm-width): Fix typos in docstrings.
2008-01-16 16:17:19 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Richard M. Stallman
a32c180455
(frame-geom-value-cons, frame-geom-spec-cons): New fns.
2008-01-03 09:57:40 +00:00
Juanma Barranquero
bbf6ef44b6
(x-initialize-window-system): Declare as function.
2007-11-22 13:50:36 +00:00