Commit graph

28373 commits

Author SHA1 Message Date
Eli Zaretskii
0405f8d9a3 (SYSTEM_PURESIZE_EXTRA): Redefine to waste less pure space. 2009-10-30 10:55:20 +00:00
Dan Nicolaescu
ca0a881a35 * puresize.h (BASE_PURESIZE): Increase to 1470000.
* lread.c (Fload): Purecopy the file name when building Vpreloaded_file_list.

* textmodes/ispell.el (ispell-skip-region-alist):
* international/mule-conf.el (eight-bit):
* international/fontset.el (font-encoding-alist):
* startup.el (pure-space-overflow-message):
* simple.el (overwrite-mode-textual, overwrite-mode-binary):
* paths.el (gnus-nntp-service, rmail-spool-directory)
(term-file-prefix):
* files.el (save-some-buffers-action-alist):
* cmuscheme.el (same-window-buffer-names):
* ielm.el (same-window-buffer-names):
* shell.el (same-window-buffer-names):
* mail/sendmail.el (same-window-buffer-names):
* progmodes/inf-lisp.el (same-window-buffer-names):
* bindings.el (mode-line-client)
(mode-line-column-line-number-mode-map):
* language/tibetan.el (tibetan-precomposition-rule-regexp)
(tibetan-precomposed-regexp): Purecopy string arguments.
2009-10-30 02:00:11 +00:00
Jason Rumney
47e0e0e4de (syms_of_w32fns): Change default value of
w32-scroll-lock-modifier to nil.  (Bug#2827)
2009-10-29 14:33:44 +00:00
Juanma Barranquero
782a943e7f * minibuf.c (Fall_completions): Fix typos in docstring. 2009-10-26 16:20:44 +00:00
Juanma Barranquero
057bce6f17 Fix typos in comments.
* minibuf.c (Fall_completions): Fix typo in docstring.
2009-10-26 15:18:03 +00:00
Andreas Schwab
242bc74cea (PURESIZE_RATIO): Increase back to 10/6. 2009-10-26 10:39:41 +00:00
Juanma Barranquero
522d013a59 * window.c (grow_mini_window): Comment out "delta >= 0" assertion.
For delta < 0, skip check that only makes sense when the mini-window
  is going to be enlarged.  (Bug#4534)
2009-10-26 10:04:37 +00:00
Stefan Monnier
4fcc3d324a (all-completions): Declare the 4th arg obsolete. 2009-10-26 03:39:15 +00:00
Chong Yidong
18060980dd * keyboard.c (read_char_x_menu_prompt): Don't demand a prompt
string in menu maps (Bug#4471).
2009-10-25 00:40:13 +00:00
Chong Yidong
fec8f0fe66 * nsfns.m (ns_set_name, ns_set_name_as_filename): Don't call
FRAME_NS_VIEW on terminal frames (Bug#4765).
2009-10-24 18:58:50 +00:00
Andreas Schwab
1cae01f715 (xd_retrieve_arg): Handle DBUS_TYPE_INTnn and
DBUS_TYPE_UINTnn separately to get proper sign extension.
2009-10-24 16:45:25 +00:00
Andreas Schwab
58a1288952 (Ffile_attributes): Simplify now that FIXNUM_OVERFLOW_P
can properly handle unsigned types.
(make_uid, make_gid): Removed.
2009-10-24 16:34:52 +00:00
Andreas Schwab
987c93276e (FIXNUM_OVERFLOW_P): Fix last change to handle unsigned
types again.
2009-10-24 16:32:06 +00:00
Andreas Schwab
10d66ec001 (procfs_ttyname): Fix sprintf format to match argument
type.
(system_process_attributes): Likewise.
2009-10-24 14:01:03 +00:00
Dan Nicolaescu
905a9ed392 * keymap.c (Fmake_sparse_keymap): Purecopy the name.
* eval.c (Fautoload): Purecopy the filename.  Simplify.

* category.c (Fdefine_category): Purecopy docstring.

* international/mule-cmds.el (set-language-info-alist): Purecopy lang-env.
(leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
(charset): Purecopy the name.
(define-char-code-property): Purecopy string arguments.

* emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
Purecopy string arguments.

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
* ediff-hook.el (menu-bar-ediff-menu):
* buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
* bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
2009-10-24 06:32:03 +00:00
Andreas Schwab
7b792fc98d (FIXNUM_OVERFLOW_P): Remove cast to avoid overflow. 2009-10-23 20:56:30 +00:00
Andreas Schwab
a599b3e810 (PURESIZE_RATIO): Decrease to 11/7. 2009-10-23 17:56:06 +00:00
Chong Yidong
b35ac83e46 * window.c (Fwindow_edges, Fwindow_pixel_edges)
(Fwindow_inside_edges, Fwindow_inside_pixel_edges): Doc fix
(Bug#4775).
2009-10-23 17:52:56 +00:00
Stefan Monnier
e8903e00e3 * fileio.c (syms_of_fileio): Initialize Vdirectory_sep_char.
(init_fileio_once):
* lisp.h (init_fileio_once): Remove.
* emacs.c (main): Don't call init_fileio_once.
2009-10-23 17:33:52 +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
Juanma Barranquero
a53af587e4 Add missing entry. 2009-10-22 09:40:54 +00:00
Andreas Schwab
268989432a (doprnt): Fix overflow check. 2009-10-21 21:28:59 +00:00
Jan Djärv
3132a7ea15 * xterm.c (x_term_init): Remove XSynchronize call done for debugging. 2009-10-21 19:15:57 +00:00
Jan Djärv
5c646d5a31 Fix resize due to font change on a maximized/xmonad-controlled frame.
* xterm.h (x_wait_for_event): Declare it.

* xterm.c (pending_event_wait): New variable.
(handle_one_xevent): Set pending_event_wait.eventtype to 0 if we
see pending_event_wait.eventtype.
(handle_one_xevent): Don't change gravity when parent changes.
(x_new_font): Call change_frame_size with new rows/columns before we try
to resize the frame.
(x_wait_for_event): New function.
(x_set_window_size_1): Don't change gravity unless change_gravity is set.
Call XResizeWindow with FRAME_OUTER_WINDOW.  If we are visible,
don't change frame size, instead wait for the ConfigureNotify.
(x_set_window_size): Call x_set_window_size_1 for USE_X_TOOLKIT also.
(x_wm_set_size_hint): Remove ifdefs for USE_X_TOOLKIT.
(x_initialize): Initialize pending_event_wait.

* xmenu.c (set_frame_menubar): Add internal border width to menu bar
size.

* widget.c (EmacsFrameSetValues): Add comment.
(EmacsFrameSetCharSize): Just call x_set_window_size.

* gtkutil.c (xg_frame_set_char_size): Flush events and call
x_wait_for_event.
(flush_and_sync): Removed again.
(xg_get_font_name): Suggest monospace if no previous font is known.
2009-10-21 18:29:46 +00:00
Juanma Barranquero
46be764ea2 Fix typo. 2009-10-20 14:03:48 +00:00
Stefan Monnier
e9c1637d1c (char_resolve_modifier_mask): Don't resolve meta to the
8th bit, since that only made since in the ASCII world (bug#4751).
2009-10-20 13:48:37 +00:00
YAMAMOTO Mitsuharu
ab04798fc8 Add Bug#. 2009-10-20 10:21:25 +00:00
YAMAMOTO Mitsuharu
5a72cccb4c (XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit
processing pending events when event is filtered for input method.
2009-10-20 10:03:46 +00:00
Juanma Barranquero
2629aa37b3 * fns.c: Add #endif accidentally removed in previous change. 2009-10-20 07:59:57 +00:00
Dan Nicolaescu
c3417a7441 * fns.c: Remove code for unsupported system: MAC_OS.
* image.c: Likewise.  Include setjmp.h.
2009-10-19 22:33:42 +00:00
Jan Djärv
9685cef2dd (x_create_toolkit_scroll_bar): Don't allocate color for
pixel -1 (bug #4742).
2009-10-19 18:08:53 +00:00
Dan Nicolaescu
b024548b44 * nsterm.m:
* nsselect.m:
* nsmenu.m:
* nsimage.m:
* nsfont.m:
* nsfns.m: Include setjmp.h.  (Bug#4643)
2009-10-19 16:58:18 +00:00
Dan Nicolaescu
019d2c4c58 * process.c (create_pty): Remove conditionals for no longer
supported systems: UNIPLUS and RTU.
2009-10-19 05:13:31 +00:00
Dan Nicolaescu
ee6bacd40d * xterm.c:
* xfns.c: Remove always true condition: XtSpecificationRelease >= 5.
2009-10-19 05:11:07 +00:00
Dan Nicolaescu
d7306fe6b1 * alloc.c: Do not define struct catchtag.
* eval.c: Move struct catchtag definition ...
* lisp.h: ... here.

* image.c: Move png.h #include earlier to avoid warnings.

* xterm.c:
* xsmfns.c:
* xselect.c:
* xrdb.c:
* xmenu.c:
* xftfont.c:
* xfont.c:
* xfns.c:
* xfaces.c:
* xdisp.c:
* window.c:
* widget.c:
* w32xfns.c:
* w32uniscribe.c:
* w32term.c:
* w32select.c:
* w32reg.c:
* w32proc.c:
* w32menu.c:
* w32inevt.c:
* w32heap.c:
* w32font.c:
* w32fns.c:
* w32console.c:
* w32.c:
* w16select.c:
* vm-limit.c:
* unexsol.c:
* unexec.c:
* unexcw.c:
* unexaix.c:
* undo.c:
* tparam.c:
* textprop.c:
* terminfo.c:
* terminal.c:
* termcap.c:
* term.c:
* syntax.c:
* sound.c:
* sheap.c:
* search.c:
* scroll.c:
* region-cache.c:
* regex.c:
* ralloc.c:
* process.c:
* print.c:
* msdos.c:
* minibuf.c:
* menu.c:
* marker.c:
* macros.c:
* keymap.c:
* keyboard.c:
* intervals.c:
* insdel.c:
* indent.c:
* gtkutil.c:
* ftxfont.c:
* ftfont.c:
* fringe.c:
* frame.c:
* fontset.c:
* font.c:
* fns.c:
* floatfns.c:
* filelock.c:
* fileio.c:
* emacs.c:
* editfns.c:
* dosfns.c:
* doprnt.c:
* doc.c:
* dispnew.c:
* dired.c:
* dbusbind.c:
* data.c:
* composite.c:
* coding.c:
* cmds.c:
* cm.c:
* chartab.c:
* charset.c:
* character.c:
* ccl.c:
* category.c:
* casetab.c:
* casefiddle.c:
* callproc.c:
* callint.c:
* bytecode.c:
* buffer.c:
* atimer.c: Include setjmp.h.  (Bug#4643)

* xlwmenu.c:
* lwlib.c:
* lwlib-utils.c:
* lwlib-Xm.c:
* lwlib-Xlw.c:
* lwlib-Xaw.c: Include setjmp.h.
2009-10-19 04:27:09 +00:00
Juanma Barranquero
6873acca85 Whitespace. 2009-10-18 19:47:38 +00:00
Stefan Monnier
4c0354d71b Remove leftover table unibyte_to_multibyte_table.
* character.c (unibyte_to_multibyte_table): Remove.
(Funibyte_char_to_multibyte): Use MAKE_CHAR_MULTIBYTE.
* charset.c (init_charset_once): Don't init unibyte_to_multibyte_table.
* character.h (UNIBYTE_TO_CHAR): New macro.
(MAKE_CHAR_MULTIBYTE): Use it.
(unibyte_to_multibyte_table, unibyte_char_to_multibyte): Remove.
* xdisp.c (get_next_display_element): USE ASCII_CHAR_P.
(message_dolog, set_message_1):
* search.c (Freplace_match):
* editfns.c (Fcompare_buffer_substrings):
* fns.c (Fcompare_strings): Use MAKE_CHAR_MULTIBYTE.
(concat):
* insdel.c (copy_text, count_size_as_multibyte):
Use ASCII_CHAR_P and BYTE8_TO_CHAR.
* term.c (produce_glyphs):
* syntax.c (skip_chars): Use BYTE8_TO_CHAR.
* regex.c (RE_CHAR_TO_MULTIBYTE):
* cmds.c (internal_self_insert):
* buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use UNIBYTE_TO_CHAR.
2009-10-18 03:08:32 +00:00
Stefan Monnier
fd5f21e665 (internal_self_insert): `c' is already in "multibyte" form. 2009-10-18 02:08:52 +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
35f5c1d28f * buffer.c (Fbuffer_name): Doc fix. (Bug#4728) 2009-10-17 02:35:35 +00:00
Eli Zaretskii
5d8adb2c20 (x_produce_glyphs): Fix typos in comments. 2009-10-16 19:01:21 +00:00
Juanma Barranquero
6e4780c5ad *** empty log message *** 2009-10-16 04:32:23 +00:00
Adrian Robert
ba8d1a2c37 Don't set LIB_STANDARD and START_FILES under __Apple__. 2009-10-16 03:12:35 +00:00
Adrian Robert
a0cd8f6b6c * nsterm.h (NS_HAVE_NSINTEGER): Back out and augment with CGFloat,
still needed under Tiger.

    * nsterm.m (EmacsView-conversationIdentifier): Arg is long.

    * m/amdx86-64.h: Don't set LIB_STANDARD and START_FILES under
    __Apple__.

    * m/intel386.h: Remove DARWIN_OS/_LP64 special case.
2009-10-16 03:09:48 +00:00
Adrian Robert
39b8097fe9 Remove DARWIN_OS/_LP64 special case. 2009-10-16 03:09:09 +00:00
Adrian Robert
5cca5bf08f (NS_HAVE_NSINTEGER): Back out and augment with CGFloat, still needed under Tiger. 2009-10-16 03:09:06 +00:00
Adrian Robert
ca515f00ea (EmacsView-conversationIdentifier): Arg is long. 2009-10-16 03:09:02 +00:00
Kenichi Handa
01a8d3fa97 (print_object): Escape a symbol like "2E10" too. 2009-10-15 07:22:27 +00:00
Adrian Robert
c5959062a2 Adjust acknowledgement in last changelog entry. 2009-10-13 19:50:43 +00:00
Adrian Robert
bf85638240 Add space after casts in last change. 2009-10-13 01:05:18 +00:00