1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-27 15:40:47 -08:00
Commit graph

28760 commits

Author SHA1 Message Date
Eli Zaretskii
c7926fe29b Fix bug #7346: document load-file-name.
src/lread.c (Fload): Mention `load-in-progress' and `load-file-name'.
 doc/lispref/loading.texi (How Programs Do Loading): Document `load-file-name'.
2010-11-12 18:35:35 +02:00
Eli Zaretskii
86520d8c17 Fix 2010-05-05T22:14:15Z!lekktu@gmail.com.
keyboard.c (kbd_buffer_nr_stored): Define only ifdef subprocesses.
 (kbd_buffer_store_event_hold, kbd_buffer_get_event)
 (tty_read_avail_input): Call kbd_buffer_nr_stored only ifdef
 subprocesses.  Use buffer_free only ifdef subprocesses.
 process.c (init_process) [subprocesses]: Init kbd_is_on_hold in
 the subprocesses version, not in the non-subprocesses one.
2010-11-09 20:36:21 +02:00
Eli Zaretskii
794a4b6d17 Fix 2010-05-06T02:53:56Z!monnier@iro.umontreal.ca.
src/Makefile.in: Don't use ## comment, it breaks the MSDOS build.
2010-11-09 20:28:38 +02:00
Eli Zaretskii
c00980655b xfns.c (x_real_positions): Fix declaration-after-statement problem. 2010-11-09 15:55:52 +02:00
Chong Yidong
be3faa809a Fix the fix for Bug#6426 (Bug#7210), avoiding frame garbaging loop.
* image.c (free_image): Don't garbage the frame here, since this
function can be called while redisplaying (Bug#7210).
(uncache_image): Garbage the frame here (Bug#6426).
2010-11-05 14:28:19 -04:00
Chong Yidong
055c91d432 Backport fix for Bug#5723 from trunk. 2010-11-04 15:56:50 -04:00
Chong Yidong
184765cc7a Backport 2010-03-27T00:45:32Z!cyd@stupidchicken.com from trunk 2010-11-04 15:54:28 -04:00
YAMAMOTO Mitsuharu
bd80a88673 Backport 2010-03-25T08:56:15Z!mituharu@math.s.chiba-u.ac.jp from trunk 2010-11-04 15:54:14 -04:00
Helmut Eller
c2e124a95b Backport 2010-03-25T08:48:52Z!mituharu@math.s.chiba-u.ac.jp from trunk 2010-11-04 15:53:28 -04:00
Kenichi Handa
68ae6cda9e Backport 2010-05-27T04:24:30Z!handa@etlken from trunk 2010-11-04 15:46:30 -04:00
YAMAMOTO Mitsuharu
db5cada28d Backport fix for Bug#2423 from trunk.
* dispextern.h (TRY_WINDOW_CHECK_MARGINS)
(TRY_WINDOW_IGNORE_FONTS_CHANGE): New defines.

* xdisp.c (try_window): Change arg from CHECK_MARGINS to FLAGS.
Don't abort with fonts change if TRY_WINDOW_IGNORE_FONTS_CHANGE is
set in FLAGS.  Callers with non-zero CHECK_MARGINS changed to use
TRY_WINDOW_CHECK_MARGINS.

* xfns.c (Fx_show_tip): Undo last change.  Call try_window with
TRY_WINDOW_IGNORE_FONTS_CHANGE (Bug#2423).
2010-11-04 15:39:47 -04:00
Chong Yidong
2511e8e04f Backport 2010-04-10T10:52:30Z!mituharu@math.s.chiba-u.ac.jp from trunk 2010-11-04 15:35:32 -04:00
Chong Yidong
fa884f18e1 Backport 2010-04-10T10:39:16Z!mituharu@math.s.chiba-u.ac.jp from trunk 2010-11-04 15:34:50 -04:00
Chong Yidong
c698128618 Backport from trunk. 2010-11-04 15:34:11 -04:00
Jan Djärv
31887d45e8 * xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
parent is the root window.  Check this after traversing window tree.
2010-11-04 13:37:17 +01:00
Jan Djärv
69ee5b0fd6 Remove debug code. 2010-11-04 13:17:46 +01:00
Jan Djärv
d75c999218 Get window position by reading _NET_FRAME_EXTENTS (Bug#5721).
* src/xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
before traversing window tree (Bug#5721).

* src/xterm.c (x_term_init): Initialize Xatom_net_frame_extents.

* src/xterm.h (struct x_display_info): Xatom_net_frame_extents is new.
2010-11-04 09:41:25 +01:00
Glenn Morris
754996bcf8 Fix for Bug#5655, backported from trunk.
* configure.in (CRT_DIR): New output variable.
(--with-crt-dir): New option.  (Bug#5655)
(HAVE_LIB64_DIR): Remove.

* src/Makefile.in (CRT_DIR): New variable, set by configure.
* src/m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)
2010-11-03 14:55:19 -04:00
Jan Djärv
3649d303b0 Backport fix for Bug#6571 from trunk. NOTE: May cause merge conflicts.
* src/keyboard.c (input_available_signal): Declare.
(kbd_buffer_nr_stored): New function.
(kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571).
(kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571).
(tty_read_avail_input): If input is on hold, return.
Don't read more that free slots in kbd_buffer (Bug#6571).

* src/process.c (kbd_is_on_hold): New variable.
(hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
New functions.
(wait_reading_process_output): If kbd_on_hold_p returns non-zero,
select on empty input mask.
(init_process): Initialize kbd_is_on_hold to 0.

* src/process.h (hold_keyboard_input, unhold_keyboard_input)
(kbd_on_hold_p): Declare.
2010-11-01 12:30:33 +01:00
Chong Yidong
46eadc7aee Print informative error message when aborting on GTK disconnect.
* xterm.c (x_connection_closed): Print informative error message
when aborting on GTK.  This requires using shut_down_emacs
directly instead of Fkill_emacs.
2010-10-30 23:33:56 -04:00
Chong Yidong
931c1dfaae Document GTK Emacs kill on display close in PROBLEMS.
* src/xterm.c (x_connection_closed): Expand comment.
2010-10-25 12:08:27 -04:00
Michael Albinus
655441b28a * dbusbind.c (Fdbus_call_method_asynchronously)
(Fdbus_register_signal, Fdbus_register_method): Check, whether
`dbus-registered-objects-table' is initialized.

Must not be synchronized with the trunk.
2010-10-25 13:46:21 +02:00
Chong Yidong
23c261f58f * xterm.c (x_connection_closed): Kill Emacs unconditionally. 2010-10-24 17:05:11 -04:00
Juanma Barranquero
88dbda519d Fix typos.
* doc/misc/gnus.texi (Group Parameters, Buttons): Fix typos.

* lisp/org/org-exp.el (org-export-visible):
* lisp/progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
  Fix typos in docstrings.
2010-10-23 01:38:34 +02:00
Juanma Barranquero
cd5ad71278 src/frame.c: Fix previous change. 2010-10-22 12:52:08 +02:00
Eli Zaretskii
89baa1df69 Document values of window-system and deprecate its use as predicate.
src/frame.c (Fframep, Fwindow_system): Deprecate use as a predicate.
 Document all values.
 src/dispnew.c (syms_of_display) <initial-window-system, window-system>:
 Deprecate use as a boolean flag.  Document all values.
 src/display.texi (Window Systems): Deprecate use of window-system as
 a predicate.
2010-10-22 12:35:31 +02:00
Ken Brown
5419963b85 * src/s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225). 2010-10-18 08:23:41 -04:00
Kenichi Handa
31daa5e17c Fix incorrect font metrics when the same font is opened with different pixelsizes. 2010-10-15 16:49:11 +09:00
Juanma Barranquero
9d4f32e88a src/w32*.c: Whitespace fixes and typos. 2010-10-14 14:25:35 +02:00
Damyan Pepper
9fa828240d Fix handling of font properties on Windows (bug#6303).
* src/font.c (font_filter_properties): New function, refactored from
  ftfont_filter_properties.
* src/font.h (font_filter_properties): Declare.
* src/ftfont.c (ftfont_filter_properties): Use font_filter_properties.
* src/w32font.c (w32font_booleans, w32font_non_booleans): New variables.
  (w32font_filter_properties): New function.
  (w32font_driver): Add w32font_filter_properties.
2010-10-13 16:07:28 +02:00
Juanma Barranquero
c0943d3db2 Fix typos in docstrings, comments and ChangeLogs.
* etc/tutorials/TUTORIAL.es: Fix typos.

* lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
  Fix typo in message.
  (semantic-symref-list-map-open-hits): Fix typo in docstring.

* lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.

* lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.

* lisp/international/mule.el (define-coding-system):
* lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
* composite.el (compose-region): Fix typo in docstring.

* lisp/org/org-agenda.el (org-prefix-category-length)
  (org-prefix-category-max-length): Fix typos in docstrings.

* src/font.c (Ffont_variation_glyphs):
* ccl.c (Fccl_execute_on_string): Fix typo in docstring.
2010-10-13 01:25:19 +02:00
Juanma Barranquero
51e4f4a88d Fix typos in docstrings, comments and ChangeLogs.
* lisp/composite.el (compose-region):
* src/ccl.c (Fccl_execute_on_string): Fix typo in docstring.
2010-10-12 17:16:57 +02:00
Kenichi Handa
ad1746f5db Fix typos in comments 2010-10-12 21:52:05 +09:00
Jan Djärv
a2e35ef5d5 Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX.
* lisp/cus-start.el (all): ns-right-alternate-modifier is new.

* lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar.
(ns-right-option-modifier): New alias for ns-right-alternate-modifier.
(mac-right-option-modifier): New alias for ns-right-option-modifier.

* src/nsterm.m (Qleft): Declare.
(ns_right_alternate_modifier): New variable
(NSRightAlternateKeyMask): New define.
(EV_MODIFIERS): Parse NSRightAlternateKeyMask if
ns_right_alternate_modifier isn't Qleft.
(keyDown): If ns_right_alternate_modifier isn't Qleft, use it
as emacs modifier for NSRightAlternateKeyMask.
(syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.
2010-10-11 21:18:08 +02:00
Michael Albinus
2e828c79a3 * dbusbind.c (xd_get_dispatch_status): Return a Lisp_Object.
(xd_pending_messages): Catch xd_get_dispatch_status calls.
2010-10-08 13:40:23 +02:00
Glenn Morris
2b7c934285 ChangeLog fix. 2010-10-07 20:19:47 -07:00
Kenichi Handa
93d50df81d coding.c (complement_process_encoding_system): Fix previous change. 2010-10-08 09:43:16 +09:00
Kenichi Handa
ff06de4f50 merge emacs-23 2010-10-04 10:53:48 +09:00
Kenichi Handa
5886ec9c0c coding.c (complement_process_encoding_system): Fix previous change. 2010-10-04 10:47:51 +09:00
Michael Albinus
a79b0f2863 * dbusbind.c (syms_of_dbusbind): Move putenv call ...
(Fdbus_init_bus): ... here.  (Bug#7113)
2010-10-03 11:23:07 +02:00
Glenn Morris
7b2bf907f1 Doc fix.
* src/buffer.c (before-change-functions, after-change-functions):
Three-year overdue doc fix following 2007-08-13 change.
2010-10-02 18:23:50 -07:00
Kenichi Handa
1911a33b9d Fix complementing of a coding system 2010-10-02 10:44:50 +09:00
Kenichi Handa
fcaf88782b Complement a coding system for encoding arguments and input to a process. 2010-09-30 13:28:34 +09:00
Kenichi Handa
9fb7a510c9 merge emacs-23 2010-09-29 09:55:58 +09:00
Kenichi Handa
18acb5ad4f xfont.c (xfont_open): Fix setting of font->average_width from :avgwidth property (Bug#7123). 2010-09-29 09:52:03 +09:00
Michael Albinus
dec8346846 * dbusbind.c (syms_of_dbusbind): Use putenv instead of setenv, it
is more portable.

* keyboard.c (gobble_input): Move call of xd_read_queued_messages ...
(kbd_buffer_get_event): ... here. This is needed for cygwin, which
has not defined SIGIO.
2010-09-28 15:39:22 +02:00
Michael Albinus
789af3cd80 * dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
(Bug#7113)
2010-09-27 15:27:54 +02:00
Michael Albinus
11a5af7c3f * dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
(Bug#7113)
2010-09-27 14:44:26 +02:00
Michael Albinus
e0720500f6 * dbusbind.c (syms_of_dbusbind): Unset $DBUS_FATAL_WARNINGS.
(Bug#7113)
2010-09-27 10:59:16 +02:00
Jan D
42d3022b00 * xgselect.c (xg_select): Clear file descriptors not set from rfds and wfds. 2010-09-26 17:39:10 +02:00