Commit graph

81911 commits

Author SHA1 Message Date
Stefan Monnier
882e82db4d (vc-bzr-previous-revision, vc-bzr-next-revision): New funs. 2008-04-03 13:34:34 +00:00
Jason Rumney
0c1b4ae237 (CONFIG_H): New variable. Use it to clean up
dependencies.
(w32uniscribe.$(O)): New file to build.
(FONT_OBJ): Include w32uniscribe.$(O).
(LIBS): Add uniscribe libraries.
2008-04-03 13:16:13 +00:00
Jason Rumney
cbfedb1c52 (uniscribe_font_driver) [WINDOWSNT]: Declare for w32fns.c. 2008-04-03 13:11:29 +00:00
Jason Rumney
56df6710a9 (Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot)
(Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi)
(Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya)
(Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri)
(Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic)
(Qphonetic): New symbols.
(syms_of_w32font): Initialize them.
(font_supported_scripts): Use them.
(w32font_list_family): List all charsets.
(w32font_text_extents, recompute_cached_metrics): Fix metric
calculations.
(w32_enumfont_pattern_entity): Make full_type a DWORD.
Give opentype fonts their own format.
(font_matches_spec): New arguments backend and logfont.
Handle :otf spec for uniscribe backend.
(add_font_entity_to_list): Match truetype fonts in uniscribe backend.
(fill_in_logfont): Use DEFAULT_CHARSET when charset not supplied.
2008-04-03 13:10:57 +00:00
Jason Rumney
97724679a1 (uniscribe_font_driver) [WINDOWSNT]: Declare for w32fns.c. 2008-04-03 12:37:44 +00:00
Kenichi Handa
2f3cbb326b (CATEGORY_MASK_ANY): Add CATEGORY_MASK_UTF_16_AUTO.
(CATEGORY_MASK_UTF_16): Likewise.
(detect_coding_utf_16): Add heuristics to reject utf-16 for a
binary file.
(detect_coding): Add null-byte detection for a binary file.
(detect_coding_system): Likewise.
2008-04-03 12:31:27 +00:00
Jason Rumney
164ce7fab3 (uniscribe_check_otf): Declare. 2008-04-03 12:28:57 +00:00
Jason Rumney
b7612703dc (UNISCRIBE): New variable. 2008-04-03 12:24:31 +00:00
Jason Rumney
e14dc92d86 Font backend implementation for Uniscribe on Windows 2000 and later. 2008-04-03 11:56:40 +00:00
Jason Rumney
43f4f91cef (ftfont_get_open_type_spec): Check spec->script, not val. 2008-04-03 08:17:15 +00:00
Chong Yidong
a086d081fa (shell-dynamic-complete-filename): New fun.
(shell-dynamic-complete-functions): Use it.
2008-04-03 05:13:15 +00:00
Chong Yidong
7108216759 * shell.el (shell-dynamic-complete-filename): New fun.
(shell-dynamic-complete-functions): Use it.
2008-04-03 05:12:57 +00:00
Glenn Morris
fac3dc5bd6 (bahai-holidays): Re-order. 2008-04-03 04:49:18 +00:00
Glenn Morris
d613557fee (calendar-holidays): Doc fix. 2008-04-03 04:41:55 +00:00
Glenn Morris
6d0959581a Add defvar -> defcustom. 2008-04-03 04:12:51 +00:00
Glenn Morris
1dbf633283 (calendar-holiday-list): Fix previous change.
(holiday-filter-visible-calendar): Doc fix.  Use mapcar.
(holiday-easter-etc): Fix nesting of result.  Tweak holiday order.
Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
2008-04-03 04:10:43 +00:00
Kenichi Handa
c094b3f9c3 *** empty log message *** 2008-04-03 04:09:21 +00:00
Glenn Morris
a51daf969c (hebrew-holidays-1, hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4):
Make obsolete.
(hebrew-holidays-2): Just use holiday-hanukkah now it respects
all-hebrew-calendar-holidays.
(hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
Simplify using new functions.
(generate-calendar-window): Use bound-and-true-p.
2008-04-03 04:07:45 +00:00
Glenn Morris
df1c298dbe (holiday-islamic-new-year): New function. 2008-04-03 04:07:01 +00:00
Kenichi Handa
1c9992b7da (create-fontset-from-x-resource):
Handle the error of X resource more gracefully.
2008-04-03 04:06:55 +00:00
Glenn Morris
f2268dc056 (holiday-rosh-hashanah-etc, holiday-passover-etc, holiday-hanukkah):
Doc fix.  Add optional argument.  Simplify.
(holiday-tisha-b-av-etc): Use memq rather than unless.
(holiday-julian): Autoload it.
(holiday-hebrew-misc): New function.
2008-04-03 04:06:48 +00:00
Glenn Morris
df7c034e8a (holiday-fixed): Autoload it.
(holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
2008-04-03 04:05:56 +00:00
Chong Yidong
526792a318 (describe-variable): Undo 2008-02-25 change. 2008-04-03 04:01:32 +00:00
Chong Yidong
902c9b1a16 * help-fns.el (describe-variable): Undo 2008-02-25 change. 2008-04-03 04:01:18 +00:00
Kenichi Handa
e38bd11b60 (latin1-display): Don't use
make-char.  Fix the argument to set-char-table-range.
(latin1-display-identities): Don't use make-char.
(latin1-display-reset): Use map-charset-chars instead of directly
calling standard-display-default.
(latin1-display-check-font): Don't use make-char.
(latin1-display-setup): Likewise.
(latin1-display-ucs-per-lynx): Likewise.
2008-04-03 03:53:24 +00:00
Stefan Monnier
e0f0f3efb4 (timer): Define as a defstruct, so we can name the fields, to make the
code clearer.  Rewrite all `aset' and `aref' using the defined accessors.
(timer--time): New pseudo-field.
(timer-set-time, timer-set-idle-time, timer-inc-time)
(timer-set-time-with-usecs, with-timeout-suspend): Use it.
(timer--time-less-p): New function.
(timer--activate): New function, extracted from timer-activate.
(timer-activate-when-idle, timer-activate): Use it.
(cancel-function-timers): Use dolist.
2008-04-03 03:43:18 +00:00
Glenn Morris
7662e6afa3 *** empty log message *** 2008-04-03 03:38:47 +00:00
Glenn Morris
7cd59c7337 (diary-mail-addr): Use bound-and-true-p. 2008-04-03 03:33:37 +00:00
Glenn Morris
628c97b2cf (tramp-drop-volume-letter): Move definition before use. 2008-04-03 03:33:18 +00:00
Glenn Morris
ab319633b1 (c-beginning-of-defun, c-end-of-defun): Remove declarations; no longer used.
(c-cpp-define-name, c-defun-name): Declare as functions.
2008-04-03 03:32:40 +00:00
Stefan Monnier
ce4025c708 (vc-mtn-command): Avoid localization of messages. 2008-04-03 02:22:55 +00:00
Stefan Monnier
5a3b79c471 (vc-bzr-checkout): Simplify. 2008-04-03 02:21:33 +00:00
Stefan Monnier
bd1d6a63fc (image-mode-fit-frame): New command. 2008-04-03 02:19:23 +00:00
Stefan Monnier
d34c311ab4 (beginning-of-buffer, end-of-buffer, goto-line, undo)
(copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
(keyboard-escape-quit): Check region-active-p i.s.o transient-mark-mode.
2008-04-03 02:16:17 +00:00
Juanma Barranquero
57f31575dd Regenerate. 2008-04-03 01:27:31 +00:00
Vinicius Jose Latorre
20525d8cdc Fix comment typo. 2008-04-02 23:50:11 +00:00
Alan Mackenzie
fa7056bcee (c-defun-name, c-cpp-define-name): New optimised functions to get the
name of the current defun/macro.
2008-04-02 21:24:30 +00:00
Alan Mackenzie
221fcdaa90 (add-log-current-defun): Move the functionality which gets the current
function name for C like modes to cc-cmds.el, thus optimising for speed.
2008-04-02 21:22:40 +00:00
Alan Mackenzie
1464a281ea *** empty log message *** 2008-04-02 21:21:01 +00:00
Chong Yidong
3ae459e5b4 Document shift-selection-mode and related changes. 2008-04-02 20:23:20 +00:00
Chong Yidong
12679e05b0 Restore support for the values identity' and only' for transient
mark mode, since it can't hurt.  Update comments.
2008-04-02 20:22:37 +00:00
Chong Yidong
d6b4106c61 Undo previous change:
* keyboard.c (command_loop_1): Don't change the value of
transient-mark-mode; this is now handled by handle-shift-selection.
2008-04-02 20:21:45 +00:00
Chong Yidong
5af4f92e68 * simple.el (deactivate-mark): When the mark is temporarily
active, restore the original value of transient-mark-mode.
(set-mark-command): First deactivate the mark if was temporarily
active.
(exchange-point-and-mark): Reactivate the mark if it was
temporarily active.
(handle-shift-selection): New fun.
(transient-mark-mode): Move var documentation here from buffer.c.
(next-line, previous-line, backward-word, move-end-of-line)
(move-beginning-of-line, forward-to-indentation)
(backward-to-indentation, back-to-indentation)
(beginning-of-buffer, end-of-buffer): Add ^ interactive spec.

* mouse.el (mouse-set-region-1): Save the old value of
transient-mark-mode.
(mouse-drag-track): Ignore the now-obsolete value `identity' for
transient-mark-mode.

* textmodes/paragraphs.el (forward-paragraph)
(backward-paragraph, forward-sentence, backward-sentence): Add ^
interactive spec.

* emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
2008-04-02 20:17:41 +00:00
Chong Yidong
9d93718697 (cua-mode): Turn off shift-select-mode. 2008-04-02 20:17:20 +00:00
Chong Yidong
2169fd5564 (forward-paragraph, backward-paragraph, forward-sentence,
backward-sentence): Add ^ interactive spec.
2008-04-02 20:17:05 +00:00
Chong Yidong
688468a012 (mouse-set-region-1): Save the old value of transient-mark-mode.
(mouse-drag-track): Ignore the now-obsolete value `identity' for
transient-mark-mode.
2008-04-02 20:16:33 +00:00
Chong Yidong
109cfe4e37 (deactivate-mark): When the mark is temporarily
active, restore the original value of transient-mark-mode.
(set-mark-command): First deactivate the mark if was temporarily
active.
(exchange-point-and-mark): Reactivate the mark if it was
temporarily active.
(handle-shift-selection): New fun.
(transient-mark-mode): Move var documentation here from buffer.c.
(next-line, previous-line, backward-word, move-end-of-line)
(move-beginning-of-line, forward-to-indentation)
(backward-to-indentation, back-to-indentation)
(beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
2008-04-02 20:16:10 +00:00
Chong Yidong
e09655973f (Fscroll_up, Fscroll_down, Fscroll_left)
(Fscroll_right): Add ^ interactive spec.
2008-04-02 20:15:43 +00:00
Chong Yidong
1e9dbb5f64 (Fforward_word): Add ^ interactive spec. 2008-04-02 20:15:32 +00:00
Chong Yidong
9ae750f084 (Fforward_char, Fbackward_char, Fforward_line)
(Fbeginning_of_line, Fend_of_line): Add ^ interactive spec.
2008-04-02 20:15:21 +00:00