1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 04:21:28 -08:00
Commit graph

28272 commits

Author SHA1 Message Date
Adrian Robert
0592970cad * nsterm.m (EV_TIMESTAMP, x_set_window_size)
(EmacsApp-application:openFiles:): Remove GNUstep conditionals.
	(EmacsScroller-setPosition:portion:whole:): Remove -display call
	under GNUstep.
	(EmacsView-initFrameFromEmacs:): Set autoresizing mask.

	* nsfont.m (ns_glyph_metrics): Remove GNUstep conditional for
	glyph advancement.
2009-09-23 18:21:50 +00:00
Adrian Robert
6e2f42b41a * nsfont.m (ns_glyph_metrics): Remove GNUstep conditional for
glyph advancement.
2009-09-23 18:21:04 +00:00
Adrian Robert
6aba198c83 * nsterm.m (EV_TIMESTAMP, x_set_window_size)
(EmacsApp-application:openFiles:): Remove GNUstep conditionals.
	(EmacsScroller-setPosition:portion:whole:): Remove -display call
	under GNUstep.
	(EmacsView-initFrameFromEmacs:): Set autoresizing mask.
2009-09-23 18:20:03 +00:00
Adrian Robert
e14f0a78d6 * nsfont.m (Vns_reg_to_script): New lisp variable.
(syms_of_nsfont): Declare it.
	(ns_registry_to_script): New function.
	(ns_get_req_script): Call it.
	(ns_findfonts): Don't give up on non-unicode registry.

	* font.c (DEFAULT_ENCODING) [HAVE_NS]: Remove special case.
2009-09-23 02:38:08 +00:00
Adrian Robert
87f66bd316 * nsfont.m (Vns_reg_to_script): New lisp variable.
(syms_of_nsfont): Declare it.
	(ns_registry_to_script): New function.
	(ns_get_req_script): Call it.
	(ns_findfonts): Don't give up on non-unicode registry.
2009-09-23 02:36:57 +00:00
Adrian Robert
f456006161 * font.c (DEFAULT_ENCODING) [HAVE_NS]: Remove special case. 2009-09-23 02:35:54 +00:00
Adrian Robert
b3aac06a8c * nsterm.m (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. 2009-09-23 01:07:45 +00:00
Adrian Robert
48e8a88b2b * nsterm.m (CGContextSetFontRenderingMode): Drop declaration.
* nsmenu.m (EmacsMenu-menuNeedsUpdate): Ignore if frame has been
	deleted (bug #4492).
2009-09-22 19:49:57 +00:00
Adrian Robert
201949c3a2 (EmacsMenu-menuNeedsUpdate): Ignore if frame has been deleted (bug #4492). 2009-09-22 19:49:50 +00:00
Adrian Robert
4eb34cc713 * nsterm.m (CGContextSetFontRenderingMode): Drop declaration. 2009-09-22 19:49:06 +00:00
Stefan Monnier
5b650faa35 (find_handler_clause): Make stack-trace-on-error work in batch mode (bug#4228). 2009-09-20 17:05:00 +00:00
Eli Zaretskii
ea5fff5f19 Fix a comment. 2009-09-20 16:44:50 +00:00
Eli Zaretskii
2702e4ac03 Fix comments about header lines. 2009-09-20 16:06:53 +00:00
Adrian Robert
0bae4e09ed * nsmenu.m (EmacsMenu-parseKeyEquiv:): Parse key equivalent more carefully. 2009-09-18 23:54:04 +00:00
Chong Yidong
e2b6daf419 * syntax.c (Fchar_syntax): Minor doc fix (Bug#119). 2009-09-18 23:40:00 +00:00
Chong Yidong
d798ba8712 * syntax.c (Fchar_syntax): Minor doc fix (Bug#4400). 2009-09-18 23:39:44 +00:00
Chong Yidong
fcfe06f3f3 * syntax.c (Fchar_syntax): Minor doc fix (Bug#119). 2009-09-18 23:39:04 +00:00
Adrian Robert
4acaaa2b24 * nsfns.m (x-focus-frame): Activate the app first. 2009-09-18 23:36:29 +00:00
Adrian Robert
6516d10a49 * nsterm.m (EmacsView-windowShouldZoom:): Set frame left_pos, top_pos and
don't update the NSWindow itself.
  	   (EmacsView-windowWillUseStandardFrame:defaultFrame:): Improve
	    state detection and store user rect ourselves. (Bug #3581)
2009-09-18 21:27:11 +00:00
Adrian Robert
7107c29e11 Update comment for HAVE_NS code in font_find_for_lface(). 2009-09-18 21:16:28 +00:00
Adrian Robert
cff1115627 * emacs.c (main) [HAVE_NS]: fix error printf in daemon case. 2009-09-18 21:12:09 +00:00
Adrian Robert
8aad0aea8b * nsfns.m (x-close-connection): Drop PSFlush() under OS X. 2009-09-18 15:34:23 +00:00
Adrian Robert
3164272821 * emacs.c (inhibit_x_resources): Update doc string for NS.
(main) [HAVE_NS]: Don't process --no-init-file option.  Remove
	legacy code for -NXHost.

	* nsterm.h (ns_no_defaults): Remove.

	* nsterm.m (ns_no_defaults): Remove.
	(ns_term_init): Switch ns_no_defaults -> inhibit_x_resources.
	(ns_use_qd_smoothing): Remove legacy variable.

	* nsfont.m (nsfont_draw) [NS_IMPL_COCOA]: Don't use
	ns_use_qd_smoothing.

	* nsfns.m (x_get_string_resource): Ape just-previous changes to other
	platform versions.  Drop support for emacs-20-style face specs.
2009-09-18 15:14:14 +00:00
Adrian Robert
386a49d30b (x_get_string_resource): Ape just-previous changes to other platform versions. Drop support for emacs-20-style face specs. 2009-09-18 15:12:54 +00:00
Adrian Robert
0fde1939fc (nsfont_draw) [NS_IMPL_COCOA]: Don't use ns_use_qd_smoothing. 2009-09-18 15:12:34 +00:00
Adrian Robert
9518c24385 (ns_no_defaults): Remove. (ns_term_init): Switch ns_no_defaults -> inhibit_x_resources. (ns_use_qd_smoothing): Remove legacy variable. 2009-09-18 15:12:15 +00:00
Adrian Robert
c52b91097e (ns_no_defaults): Remove. 2009-09-18 15:11:55 +00:00
Adrian Robert
9b68317c5e (inhibit_x_resources): Update doc string for NS. (main) [HAVE_NS]: Don't process --no-init-file option. Remove legacy code for -NXHost. 2009-09-18 15:11:38 +00:00
Juanma Barranquero
8686ac7162 The --quick command line option now ignores X resources and Registry settings.
* etc/NEWS: Mention new behavior of -Q and new variable `inhibit-x-resources'.

* lisp/startup.el (emacs-quick-startup): Remove variable and all uses.
  (command-line): Set `inhibit-x-resources' instead.
  (command-line-1): Use `inhibit-x-resources' instead.

* src/emacs.c (inhibit_x_resources): New variable.
  (main) [HAVE_NS]: Don't process --quick command line option.
  (syms_of_emacs) <inhibit-x-resources>: DEFVAR_BOOL it.

* src/lisp.h (inhibit_x_resources): Declare it extern.

* src/w32reg.c (x_get_string_resource):
* src/xrdb.c (x_get_string_resource): Obey inhibit_x_resources.
2009-09-17 23:04:41 +00:00
Eli Zaretskii
e227ba05ec (MSDOS_SUPPORT, SOME_MACHINE_LISP): Add lisp/term/internal.elc. 2009-09-17 18:06:57 +00:00
Stefan Monnier
742d40e805 (x_get_resource_string): Re-add for non-toolkit builds (bug#4461). 2009-09-17 16:41:55 +00:00
Dan Nicolaescu
005bd5a263 * puresize.h (BASE_PURESIZE): Increase to 1290000.
* Makefile.in (OTHER_FILES): Define using autoconf, not cpp.
(OBJECTS_MACHINE): Remove, unused.

* configure.in (OTHER_FILES): Define using autoconf not cpp.
2009-09-17 06:10:44 +00:00
Stefan Monnier
f9af971957 (x_get_resource_string): Remove unused. 2009-09-16 20:36:54 +00:00
Jan Djärv
0307c7d29f * xterm.c (x_new_font): Call change_frame_size before calling
x_set_window_size, in case frame size won't change.

* frame.c (x_set_font): Remove dead code.
2009-09-15 18:49:56 +00:00
Stefan Monnier
428b13d63c (Fload): Also run do-after-load-evaluation while dumping. 2009-09-15 03:45:51 +00:00
Stefan Monnier
5766c380ee * lread.c (Fload): Don't output a message after loading an obsolete
package any more (done in Lisp now).
* subr.el (do-after-load-evaluation): Warn the user after loading an
obsolete package.
2009-09-12 03:35:40 +00:00
Chong Yidong
2fd0161b9d * fns.c (syms_of_fns): Doc fix (Bug#4227). 2009-09-12 01:30:51 +00:00
Stefan Monnier
bc5e75b616 (Fwhere_is_internal): Use nconc2. 2009-09-12 01:21:30 +00:00
Alan Mackenzie
558759e4b6 (Fsend_string_to_terminal): Amend doc string to cover batch mode. 2009-09-11 20:05:11 +00:00
Alan Mackenzie
c31c985eab *** empty log message *** 2009-09-11 20:04:12 +00:00
Andreas Schwab
78012bd2ec (display_mode_element): Detect cycles. 2009-09-11 16:46:08 +00:00
Stefan Monnier
9d88933246 (where_is_internal): Don't erroneously return nil right after
filling the cache.
(where_is_internal_1): Fix up typo.
2009-09-11 05:10:15 +00:00
Glenn Morris
7ab5d78004 (Fx_parse_geometry): Unify the X and NS versions so that they share a
common doc-string.
2009-09-11 03:34:14 +00:00
Stefan Monnier
66d77eda77 (get_keymap): Return the actual keymap symbol rather than t for autoloaded
keymaps when autoloading is not allowed (bug#4393).
2009-09-11 02:14:05 +00:00
Stefan Monnier
5238a7490e *** empty log message *** 2009-09-11 01:11:37 +00:00
Stefan Monnier
8cb95edf7c * keymap.c (QCadvertised_binding): New constant.
(syms_of_keymap): Initialize it.
(Fwhere_is_internal): Try and use bindings from :advertised-binding
if applicable.

* progmodes/xscheme.el (xscheme-evaluation-commands):
Put a :advertised-binding property rather than using
advertised-xscheme-send-previous-expression.
(advertised-xscheme-send-previous-expression): Declare obsolete.
* emulation/crisp.el (crisp-mode-map): Use `undo' rather than
`advertised-undo'.
(crisp-mode): Add corresponding bindings to
undo's :advertised-binding instead.
* dired.el (dired-mode-map): Put a :advertised-binding property rather
than using dired-advertised-find-file.
(dired-advertised-find-file):
* simple.el (advertised-undo):
* wid-edit.el (advertised-widget-backward): Declare obsolete.
(widget-keymap): Put a :advertised-binding property rather
than using advertised-widget-backward.
* bindings.el (ctl-x-map): Put a :advertised-binding property rather
than using advertised-undo.
* tutorial.el (tutorial--default-keys): Adjust accordingly.
2009-09-11 00:58:59 +00:00
Adrian Robert
599498c31f fix typo (wrong name) in my 2009-09-09 entry 2009-09-10 19:17:56 +00:00
Stefan Monnier
50d4ba3993 * keyboard.c (Qmenu_alias, Vdefine_key_rebound_commands): Remove.
(parse_menu_item): Streamline since bindings are recomputed all the
time anyway.  Don't bother checking Vdefine_key_rebound_commands any
more and don't support lmenu's menu-alias any more either.
* subr.el (define-key-rebound-commands): Mark obsolete.
* startup.el (precompute-menubar-bindings): Remove.
(normal-top-level): Remove obsolete code that tried to precompute
menubar bindings.
* loadup.el (define-key-rebound-commands): Don't bother fiddling with
define-key-rebound-commands and precompute-menubar-bindings.
2009-09-10 18:19:03 +00:00
Stefan Monnier
deeb21d4d7 (Fwhere_is_internal): Last minute typo. 2009-09-10 16:47:47 +00:00
Stefan Monnier
a88a5372fd * keymap.c (where_is_internal_data): Make noindirect a boolean.
(where_is_internal): Strip it down to only traverse the keymaps.
Move the cache handling from Fwhere_is_internal to here.
(Fwhere_is_internal): Move the handling of remapping and the choice of
the best binding from where_is_internal to here.
Unify the cached/noncached paths, so remapping is also handled
correctly when the cache is used, and so the cache can be used to
speed up remap-handling when applicable.
Give preference to non-remapped bindings.
* doc.c (Fsubstitute_command_keys): Let Fwhere_is_internal's prefer
non-remapped bindings.
* keyboard.c (parse_menu_item): Let Fwhere_is_internal handle
command remapping.
2009-09-10 16:19:52 +00:00