Chong Yidong
c024ac081d
Change default XFT font to 10pt, and default frame height to 35 rows (Bug#3643).
...
* frame.c (DEFAULT_ROWS): Change default to 35.
* xfns.c (x_default_font_parameter): Change default XFT font to
monospace-10 (Bug#3643).
2010-01-29 14:02:02 -05:00
Eli Zaretskii
af93af83df
w32inevt.c (key_event): Remove unnecessary comparison of
...
event->uChar.AsciiChar with 128.
2010-01-29 16:03:25 +02:00
Chong Yidong
b242dbfc1b
* fileio.c (Frename_file): Fix last change (Bug#5487).
2010-01-28 12:47:05 -05:00
Chong Yidong
ca0eb7088c
Fixes for NetBSD (Bug#4629, Bug#2072).
...
* m/mips.h: Remove DATA_START. Suggested by Dan Nicolaescu.
* m/alpha.h: Don't define DATA_START on NetBSD (Bug#4629).
2010-01-28 12:33:28 -05:00
Jason Rumney
a292592c13
Add bug number to recent change.
2010-01-28 21:09:25 +08:00
Jan Djärv
45d45af577
xfns.c (Fx_create_frame): Remove window size matching code from
...
2010-01-15.
(x_get_current_desktop, x_get_desktop_workarea): Remove
2010-01-28 08:10:04 +01:00
Jason Rumney
dd5de7c6e4
Fix typos, check for negative ASCII characters.
2010-01-28 00:22:16 +08:00
Jason Rumney
7e23373040
Use Unicode for console keyboard input on Windows.
...
w32inevt.c (w32_kbd_patch_key): Save the unicode character.
(key_event): Use unicode for characters 128 and higher.
2010-01-27 21:59:13 +08:00
Kenichi Handa
c8b96b2a95
Fix src/ChangeLog.
2010-01-27 14:28:39 +09:00
Kenichi Handa
af95a12420
from trunk
2010-01-27 14:23:52 +09:00
Kenichi Handa
86e893e3b6
regex.c (analyse_first): Fix setting of fastmap for unibyte pattern string.
2010-01-27 14:17:35 +09:00
Chong Yidong
8719abec5b
Fix rename-file to handle directory renaming properly (Bug#3353).
...
* fileio.c (Frename_file): Call copy-directory and delete-directory
for directories, in order to handle cross-device renaming.
2010-01-26 23:08:41 -05:00
Jan Djärv
433bdc96cb
Merge from trunk
2010-01-25 08:45:12 +01:00
Jan Djärv
aa3e13b530
Typo fix.
2010-01-25 08:43:29 +01:00
Jan Djärv
844794c855
xfns.c (Fx_create_frame): If frame height i stoo big, try
...
sizes 24 and 10. Bug #3643 .
2010-01-25 08:43:10 +01:00
Stefan Monnier
8dc1adf681
Try and fix bug#788, hopefully for real this time.
2010-01-24 21:52:03 -05:00
Chong Yidong
285d07e27a
Use png_sig_cmp to allow linking with libpng 1.4.0.
...
* image.c (png_load): Use png_sig_cmp instead of the obsolete png_check_sig, which has been removed in libpng 1.4.
2010-01-24 18:03:13 -05:00
Stefan Monnier
bd4b5750a0
* keymap.c (shadow_lookup): Add `remap' arg.
...
(describe_map, describe_vector): Update calls to shadow_lookup.
(Fwhere_is_internal): Fix up handling of `remapped_sequences' and
`remapped' so this flag is applicable to `sequence'. Be careful to
perform remapping during shadow_lookup check of remapped_equences.
2010-01-24 03:42:22 -05:00
Chong Yidong
c6d09b8da9
Account for utmp.h availability.
...
* configure.in: Check for utmp.h availability (FreeBSD 9.x lacks
this header file).
* filelock.c: Include utmp.h only when HAVE_UTMP_H (FreeBSD 9.x
lacks this header file).
2010-01-23 17:15:22 -05:00
YAMAMOTO Mitsuharu
3d782998ca
* xdisp.c (draw_glyphs): Update `start' for left_overwritten case as in Emacs 22.
2010-01-23 14:20:38 +09:00
YAMAMOTO Mitsuharu
2aff7c5306
Make string pointer args point to const as in other string allocation functions.
...
* lisp.h (make_pure_string): String pointer arg now points to const.
* alloc.c (find_string_data_in_pure, make_pure_string): String pointer
args now point to const.
2010-01-22 18:10:04 +09:00
Eli Zaretskii
74327f7a7c
Fix bug #5303 in `load' on MS-Windows, whereby load-file would fail
...
for files like C:/the-file.el in root directory of any drive.
lread.c (Fload): Don't treat files without .elc extension as
byte-compiled if they are ``magic'', i.e. `openp' returned -2 for
them.
2010-01-22 10:44:50 +02:00
Kenichi Handa
4d1e6632e7
Fix ccl encoding of unibyte source.
2010-01-20 11:33:52 +09:00
Alan Mackenzie
1fdede8fa5
Redate and reposition log entry.
2010-01-19 22:27:24 +00:00
Jan Djärv
bc4b76f12a
Merge from trunk
2010-01-19 15:54:57 +01:00
Jan Djärv
67477f30cb
Store settings in xft-settings for debug purposes.
...
(apply_xft_settings): Save settings in Vxft_settings
for debug purpose.
(syms_of_xsettings): Declare xft-settings.
2010-01-19 15:54:13 +01:00
Alan Mackenzie
eeff0f4859
Suppress spurious second invocation of before-change-functions
2010-01-19 13:16:01 +00:00
Alan Mackenzie
f7247f5dfc
no message
2010-01-19 11:43:25 +00:00
Chong Yidong
244b023e52
Doc fix for current-time-string and date-to-time (Bug#5408)
...
* src/editfns.c (Fcurrent_time_string): Doc fix.
* lisp/calendar/time-date.el (date-to-time): Doc fix.
2010-01-18 11:29:00 -05:00
Juanma Barranquero
66aa4eb37d
Fix typos in comments.
2010-01-17 03:24:22 +01:00
Chong Yidong
617364feb7
* xterm.c (event_handler_gdk): Block input (Bug#5037).
2010-01-16 15:20:32 -05:00
Chong Yidong
4fe22cdf59
Command line arg processing fix (Bug#5392)
...
* src/emacs.c (standard_args): Adjust arg priorities to reflect how
they are processed in startup.el.
* lisp/startup.el (command-line): Remove unused --icon-type arg.
Handle --display arg, passing it to command-line-1 (Bug#5392).
2010-01-16 14:28:59 -05:00
Eli Zaretskii
f5700c5e7e
Reformat copyright line.
2010-01-16 06:58:42 -05:00
Andreas Schwab
e118d2be3b
Update $(lisp) and $(shortlisp) to match changes in loadup.el
...
* Makefile.in (lisp, shortlisp): Update.
2010-01-16 10:40:57 +01:00
Stefan Monnier
523ae620e8
(x_term_init): Instead of inhibiting GC while running Lisp
...
code, link the new kboard into all_kboard before running Lisp code,
and protect the new terminal with GCPRO (Bug#5365).
(x_term_init): Remove unused var `atom'.
(x_delete_display, x_delete_terminal): Remove unused var `i'.
2010-01-15 23:49:37 -05:00
Jan Djärv
f0d138880a
Take desktop panels into account when sizing frames so they fit on the screen.
...
xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions.
(Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea
to find out usable size of the desktop. Don't make frames larger than
this. Bug #3643 .
2010-01-15 18:04:14 +01:00
Kenichi Handa
fa0cff43e8
from trunk
2010-01-15 14:13:05 +09:00
Kenichi Handa
cc320f07d4
xdisp.c (CHAR_COMPOSED_P): New arg END_CHARPOS. Callers changed.
2010-01-15 14:09:50 +09:00
Chong Yidong
7ffdf101fb
Fix Qnone definition in NS files.
...
* nsterm.m (Qnone): Define here.
* nsfns.m (Qnone): Move definition to nsterm.m.
2010-01-14 20:46:53 -05:00
Juanma Barranquero
5a89f0a793
Fix typos in comments.
2010-01-14 19:37:23 +01:00
Juanma Barranquero
b643362c6c
Fix typos in ChangeLogs and NEWS files.
2010-01-14 19:29:36 +01:00
Kenichi Handa
d12bd91784
Fix handling of euc-xx coding systems.
2010-01-14 20:31:16 +09:00
Kenichi Handa
35fb32880c
from trunk
2010-01-14 12:54:04 +09:00
Kenichi Handa
d9a7c14092
Make auto-composition work on all buffers even if they are fundamental mode.
2010-01-14 12:44:36 +09:00
Chong Yidong
63286bb2ec
Fix gc bug in terminal allocation.
...
* xterm.c (x_term_init): Avoid garbage-collecting the new terminal
during call to vendor-specific-keysyms (Bug#5365).
2010-01-13 13:35:36 -05:00
Juanma Barranquero
768c0c0f39
Fix typos in comments and ChangeLogs.
2010-01-13 16:38:28 +01:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
YAMAMOTO Mitsuharu
c2623ee747
Call SIGNAL_THREAD_CHECK from signal handlers.
...
* keyboard.c (input_available_signal) [SYNC_INPUT]:
Call SIGNAL_THREAD_CHECK (Bug#5333).
* atimer.c (alarm_signal_handler) [!SYNC_INPUT]:
Call SIGNAL_THREAD_CHECK.
2010-01-13 13:42:45 +09:00
Stefan Monnier
0b5397c271
Try to fix bug#5314. This is probably not the final word, tho.
...
* buffer.c (Fset_buffer_modified_p): Try and be careful not to modify
recent-auto-save-p as a side-effect.
* buffer.h (BUF_AUTOSAVE_MODIFF): New macro.
* buffer.c (Fkill_buffer, reset_buffer):
* editfns.c (Fsubst_char_in_region):
* fileio.c (Finsert_file_contents, Fdo_auto_save)
(Fset_buffer_auto_saved, Frecent_auto_save_p): Use it.
2010-01-12 23:33:42 -05:00
Kenichi Handa
d1bf28dc12
merge trunk
2010-01-13 10:33:19 +09:00