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

28234 commits

Author SHA1 Message Date
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
Stefan Monnier
19f48442c8 (display_mode_element): Move list length limit from 50 to
5000 (see thread starting with <xbaik5174uqu.fsf@cam.ac.uk>).
2009-09-10 03:20:51 +00:00
Adrian Robert
c1905ca3e6 * nsfont.m (ns_get_family): Don't force first letter to uppercase. 2009-09-09 15:05:47 +00:00
Stefan Monnier
f9b7b5acb5 (where_is_internal): Filter out shadowed remappings.
Assume that where_is_internal returns unshadowed bindings to simplify
the code and get rid of the gotos.  Use ASIZE.
2009-09-09 02:38:50 +00:00
Stefan Monnier
7dfac189f8 (Vtruncate_partial_width_windows): Improve docstring. 2009-09-09 01:21:10 +00:00
Juanma Barranquero
9735b9ce6f Fix whitespace. 2009-09-05 00:45:08 +00:00
Jan Djärv
4da146f2c2 (x_focus_changed): If we get a focusout and pointer
is invisible, make it visible.
2009-09-04 05:33:49 +00:00
Jan Djärv
0a5e331a0e Must define x_*_window_to_frame for non-toolkit. 2009-09-04 04:47:36 +00:00
Jan Djärv
04f4b72d09 * xterm.h: Remove condition for declaration of
x_*_window_to_frame.
2009-09-04 04:40:17 +00:00
Glenn Morris
bbe2108584 CHENG Gao <chenggao at gmail.com>
Fixup comment format.
2009-09-03 06:03:48 +00:00
Stefan Monnier
7cef7ce343 (Fsend_string_to_terminal): Make it work again on the initial terminal as well. 2009-09-03 00:36:11 +00:00
Jan Djärv
a54fa5b720 * xterm.h: Rename x_non_menubar_window_to_frame to
x_menubar_window_to_frame

* xterm.c: Remove declarations also in xterm.h
(XTmouse_position): Do not return valid positions
for clicks in the menubar and the toolbar for Gtk+.

* xfns.c (x_any_window_to_frame): Assume less about Gtk+ internals,
if the widget for the event has the same top level as a frame,
return the frame.
(x_menubar_window_to_frame): Detect menu bar even with Gtk+
internal windows, bug #4122.
(x_non_menubar_window_to_frame): Remove.
2009-09-02 17:03:20 +00:00
Glenn Morris
5a021dd062 (default-major-mode): Move most of the doc from here...
(major-mode): ... to here.
2009-09-02 03:11:15 +00:00
Nick Roberts
42371deb98 *** empty log message *** 2009-08-30 05:00:59 +00:00
Nick Roberts
a70d537146 (wait_reading_process_output): Keep the descriptor
when pty is used by a non-child process, e.g., in I/O buffer of
GDB this allows inferior to be restarted.
2009-08-30 04:54:34 +00:00
Nick Roberts
548fe2f3ed *** empty log message *** 2009-08-30 04:50:49 +00:00
Eli Zaretskii
e0840eefe1 (redisplay_internal): Remove redundant test and collapse both branches
into one.
2009-08-29 17:36:30 +00:00
Stefan Monnier
82e98df4df * NEWS: Declare unibyte sessions obsolete.
* emacs.c (USAGE1): Remove --(no-)multibyte, --(no-)unibyte.
(main): Use enable-multibyte-characters rather than
default-enable-multibyte-characters.  Output a warning message when
running a unibyte session.
* mule.texi (Enabling Multibyte):
* cmdargs.texi (General Variables): Remove EMACS_UNIBYTE.
(Initial Options): Remove --(no-)multibyte, --(no-)unibyte.
2009-08-29 02:25:29 +00:00
YAMAMOTO Mitsuharu
890617cbfd [temacs] Undef HAVE_POSIX_MEMALIGN. 2009-08-28 22:50:11 +00:00
YAMAMOTO Mitsuharu
6bcd6333a4 (print_load_command_name) [LC_DYLD_INFO]: Add cases
LC_DYLD_INFO and LC_DYLD_INFO_ONLY.
(copy_data_segment): Also copy __program_vars section.
(copy_dyld_info) [LC_DYLD_INFO]: New function.
(dump_it) [LC_DYLD_INFO]: Use it.
2009-08-28 22:49:46 +00:00
Eli Zaretskii
e7adeadcd3 (clean): Add buildobj.h. 2009-08-28 14:01:04 +00:00
Eli Zaretskii
249b95643b (buildobj.h): Renamed from $(SRC)/buildobj.h.
(make-buildobj-CMD, make-buildobj-SH): Create buildobj.h, not
$(SRC)/buildobj.h.
($(BLD)/doc.$(O)): Depend on buildobj.h, not on $(SRC)/buildobj.h.
2009-08-28 13:58:52 +00:00
Teodor Zlatanov
3ed8bbdc5f (print_object): Set escapeflag to 1 when printing
hashtable keys and values.
2009-08-28 10:16:03 +00:00
Eli Zaretskii
8a0b709a07 Mention bug numbers in last cmds.c log entry. 2009-08-28 08:55:23 +00:00
Juanma Barranquero
9414bda7a5 * .cvsignore, .gitignore: Ignore buildobj.h. 2009-08-28 02:40:13 +00:00
Stefan Monnier
155a6764a3 (read_integer): Use doubles (and potentially return a float
number) as we do in string-to-number.
(read1): Use strtol to read integers, signal errors on strtol's
overflow and use floats if strtol's output is too large for
Elisp integers.
2009-08-27 21:10:17 +00:00
Juanma Barranquero
31fd7c5c44 Fix typos. 2009-08-27 20:04:25 +00:00
Eli Zaretskii
877610de12 (SRC): Move to before where it's first used.
($(SRC)/buildobj.h, make-buildobj-CMD, make-buildobj-SH): Fix last change.
2009-08-27 18:33:44 +00:00
Kenichi Handa
550c8289fd (send_process): Use encode_coding_object instead of
encode_coding_string to perform eol-conversion even if the string
is unibyte.
2009-08-27 11:13:33 +00:00
Kenichi Handa
60afa08d41 (encode_coding_utf_16): Fix checking of an Unicode character. 2009-08-27 07:30:51 +00:00
Kenichi Handa
ef73e7be7b (Fself_insert_command): Avoid unnecessay unibyte->multibyte
conversion.
2009-08-27 06:02:17 +00:00
Dan Nicolaescu
5654bf6320 (Fcall_process): Remove always true #if. 2009-08-26 20:22:17 +00:00
Dan Nicolaescu
7b3a82d7e3 * lisp.h: Replace #if 0 code for checking with text pointing to
the --enable-checking configure flag.

* emacs.c (main): Mention the --enable-profiling configure flag
instead of using CFLAGS.
2009-08-26 19:57:44 +00:00
Ken Raeburn
878bde4927 * Makefile.in (buildobj.h): New target.
(doc.o): Depend on it.
(temacs${EXEEXT}): Don't generate buildobj.lst.
(mostlyclean): Delete buildobj.h, not buildobj.lst.
* makefile.w32-in ($(SRC)/buildobj.h): New target.
($(BLD)/doc.$(O)): Depend on it.
(make-buildobj-CMD, make-buildobj-SH): New targets.  (Syntax help
provided by Eli Zaretskii.)
($(TEMACS)): Don't generate buildobj.lst.
* doc.c: Include buildobj.h.
(buildobj): New static variable.
(Fsnarf_documentation): Use it, instead of opening and reading
buildobj.lst.
2009-08-26 08:28:23 +00:00
Michael Albinus
1574224c89 * dbusbind.c (Fdbus_call_method)
(Fdbus_call_method_asynchronously): Use English numeric format for
timeout values in doc string.
2009-08-25 10:31:38 +00:00
Kenichi Handa
5802634797 (mark_char_table): New function.
(mark_object): Use mark_char_table for a char-table.
2009-08-25 06:03:09 +00:00
Glenn Morris
5afa3a81e3 joakim at verona.se
Replace some C99 comments.
2009-08-25 03:05:50 +00:00
Kenichi Handa
d9da2f452d (CHAR_TABLE_REF_ASCII): New macor.
(CHAR_TABLE_REF): Use it.
2009-08-25 00:48:59 +00:00
Ken Raeburn
c8edcc0113 * Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
before invoking the newly build emacs to check for load-path
shadowing.
2009-08-23 04:43:12 +00:00