1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00
Commit Graph

80536 Commits

Author SHA1 Message Date
Chong Yidong
2bcda1d5ac Merge from Dave Love's 2008-01-20 version.
Require sym-comp.  Add Python buffer to same-window-buffer-names.
Fixup whitespaces.
(python-font-lock-keywords): Add highlighting for Python builtins.
(python-font-lock-syntactic-keywords): Rewrite.
(python-quote-syntax): Use syntax-ppss-context instead of parsing
ppss directly.
(python-mode-map): Add binding for python-find-function.
(python-calculate-indentation): Clean up the logic.
(python-beginning-of-defun): Explicitly set return value.
(python-beginning-of-statement): Stop looping if we get stuck
going backwards.
(python-next-statement): Stop looping if we somehow end up inside
a string while advancing.
(python-preoutput-continuation, python-version-checked): New vars.
(python-check-version): New function.
(run-python): Set default command to python-command instead of
python-python-command.
(run-python): Use python-check-version.  Give PYTHONPATH
precedence over data-directory in the process environment.  Load
function definitions in python process after.
(python-check-comint-prompt): New function.
(python-send-command, python-send-receive): Use it.
(python-complete-symbol, python-try-complete): Functions deleted.
Use symbol-complete instead of python-complete-symbol throughout.
(python-fill-paragraph): Further refine the fenced-string regexp.
(def-python-skeleton): Expand to the original abbrev instead if in
a comment or string.  Tweak skeletons for `if', `while', `for',
`try/except', `try/finally', `name'.
(python-pea-hook, python-abbrev-pc-hook): New functions.
(python-abbrev-syntax-table): New var.
(python-mode): Add python-pea-hook to pre-abbrev-expand-hook.  Use
symbol-completion-try-complete for hippie expansion.  Turn on font
lock unconditionally.
(python-mode-hook): Defcustom it.  No need to use make-local
variable on indent-tabs-mode in "Turn off Indent Tabs mode"
option, since it's buffer-local.
2008-02-21 17:03:47 +00:00
Chong Yidong
e21766aa63 New file. 2008-02-21 17:03:30 +00:00
Chong Yidong
ff493c639b * progmodes/sym-comp.el: New file.
* progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
Require sym-comp.  Add Python buffer to same-window-buffer-names.
Fixup whitespaces.
(python-font-lock-keywords): Add highlighting for Python builtins.
(python-font-lock-syntactic-keywords): Rewrite.
(python-quote-syntax): Use syntax-ppss-context instead of parsing
ppss directly.
(python-mode-map): Add binding for python-find-function.
(python-calculate-indentation): Clean up the logic.
(python-beginning-of-defun): Explicitly set return value.
(python-beginning-of-statement): Stop looping if we get stuck
going backwards.
(python-next-statement): Stop looping if we somehow end up inside
a string while advancing.
(python-preoutput-continuation, python-version-checked): New vars.
(python-check-version): New function.
(run-python): Set default command to python-command instead of
python-python-command.
(run-python): Use python-check-version.  Give PYTHONPATH
precedence over data-directory in the process environment.  Load
function definitions in python process after.
(python-check-comint-prompt): New function.
(python-send-command, python-send-receive): Use it.
(python-complete-symbol, python-try-complete): Functions deleted.
Use symbol-complete instead of python-complete-symbol throughout.
(python-fill-paragraph): Further refine the fenced-string regexp.
(def-python-skeleton): Expand to the original abbrev instead if in
a comment or string.  Tweak skeletons for `if', `while', `for',
`try/except', `try/finally', `name'.
(python-pea-hook, python-abbrev-pc-hook): New functions.
(python-abbrev-syntax-table): New var.
(python-mode): Add python-pea-hook to pre-abbrev-expand-hook.  Use
symbol-completion-try-complete for hippie expansion.  Turn on font
lock unconditionally.
(python-mode-hook): Defcustom it.  No need to use make-local
variable on indent-tabs-mode in "Turn off Indent Tabs mode"
option, since it's buffer-local.
2008-02-21 17:03:10 +00:00
Stefan Monnier
6bd9264021 (x_connection_closed): Consolidate identical tests.
(x_delete_terminal): Don't crash if called via x_connection_closed.
2008-02-21 16:51:07 +00:00
Juanma Barranquero
10a806d3b1 (hanoi-internal): Set `show-trailing-whitespace' to nil. 2008-02-21 15:27:15 +00:00
Dan Nicolaescu
3ba75732c0 *** empty log message *** 2008-02-21 10:24:59 +00:00
Dan Nicolaescu
07fa8f8635 *** empty log message *** 2008-02-21 09:29:24 +00:00
Dan Nicolaescu
fb1a03c9f5 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
"Turn off" and a "Help" entry when the minor mode has no menu.
2008-02-21 09:15:32 +00:00
Glenn Morris
796abee9d8 New file. 2008-02-21 09:12:20 +00:00
Glenn Morris
7864e4ee47 (set_installuser): New.
(install-arch-indep): Use set_installuser to avoid duplicate code.
2008-02-21 09:04:29 +00:00
Glenn Morris
a8a4617aa3 (spell-buffer, spell-word, spell-region)
(spell-string): Make obsolete, in favor of ispell.
2008-02-21 09:01:37 +00:00
Glenn Morris
c44647a35f Regenerate for new autoload md5sum. 2008-02-21 08:39:34 +00:00
Glenn Morris
0f764efe28 Add missing FSF copyright years. 2008-02-21 08:26:10 +00:00
Dan Nicolaescu
8bb38e8764 (vc-status-mark, vc-status-unmark): New functions.
(vc-status-mode-map, vc-status-mode-menu): Mark them instead for
vc-status-mark-file and vc-status-unmark-file.
(vc-status-mark-unmark): New function.
(vc-status-previous-line, vc-status-mark-all-files): No longer
interactive.
2008-02-21 08:26:00 +00:00
Kenichi Handa
630802d650 Don't require devan-util. 2008-02-21 08:19:05 +00:00
Kenichi Handa
6a6b4d7d67 Improve the description about the removal of
cp-...-codepage functions.  Describe the removal of the feature
`devan-util'.
2008-02-21 08:16:37 +00:00
Glenn Morris
000b06df11 (sit-for): Fix obsolete form for nil second argument. 2008-02-21 08:13:45 +00:00
Glenn Morris
424c157fc5 Fix typos. 2008-02-21 07:57:06 +00:00
Glenn Morris
b3af4b2893 Fix comment typo. 2008-02-21 07:56:06 +00:00
Glenn Morris
51bb97e85e Fix typos. 2008-02-21 07:55:42 +00:00
Glenn Morris
ca101cff6c Fix comment typo. 2008-02-21 07:55:04 +00:00
Glenn Morris
ad1b4641e2 (encode-composition-rule): Fix typo in error message.
(composition-function-table, auto-composition-mode): Doc fixes.
2008-02-21 07:53:55 +00:00
Glenn Morris
eeee3ae105 Fix comment typo. 2008-02-21 07:52:22 +00:00
Glenn Morris
f706b27832 Fix typo. 2008-02-21 07:51:42 +00:00
Glenn Morris
429d5f087f *** empty log message *** 2008-02-21 07:46:44 +00:00
Glenn Morris
e11910e252 Combine Auto Composition Mode mode entries and move to right place. 2008-02-21 07:44:53 +00:00
Kenichi Handa
c67174d397 (display_mode_element): Fix previous change. 2008-02-21 07:42:52 +00:00
Kenichi Handa
3e45ea11c0 *** empty log message *** 2008-02-21 07:38:40 +00:00
Kenichi Handa
b94affd7b0 Don't setup composition-function-table here.
("Devanagari"): Change charset, coding-system, coding-priority to
Unicode-based ones.  Don't require the feature devan-util.
2008-02-21 07:28:35 +00:00
Kenichi Handa
a73b562753 (decode_mode_spec): New arg string.
(display_mode_element): Adjusted for the above change.
2008-02-21 07:06:33 +00:00
Glenn Morris
b19aa6dd02 Tweak FontBackend X resource entry. 2008-02-21 06:29:02 +00:00
Glenn Morris
4dd3127efc *** empty log message *** 2008-02-21 06:24:05 +00:00
Glenn Morris
4c24d24133 Add missing entries. 2008-02-21 06:20:45 +00:00
Glenn Morris
7684f65046 Fix. 2008-02-21 06:16:54 +00:00
Glenn Morris
9f871ce2c1 Simplify an entry. 2008-02-21 06:15:14 +00:00
Stefan Monnier
60134fd4b7 (image-set-window-hscroll): Typo. 2008-02-21 05:38:30 +00:00
Glenn Morris
2cbff44e85 Split into admin/notes/unicode,font-backend 2008-02-21 04:04:06 +00:00
Glenn Morris
e88a2ed371 Split off from README.unicode 2008-02-21 04:00:22 +00:00
Glenn Morris
2b7a2553a5 Merge in some font-backend stuff from README.unicode. 2008-02-21 03:51:06 +00:00
Stefan Monnier
de17146541 Allow different windows to show different pages.
(doc-view-current-page, doc-view-current-slice, doc-view-current-info)
(doc-view-current-image, doc-view-current-overlay): Remove variables,
add them back as macros instead, using image-mode-winprops instead.
Update all users of those variables.
(doc-view-new-window-function): New function to create a new overlay
for each new window.
(doc-view-mode): Use it and image-mode-setup-winprops.
(doc-view-clone-buffer-hook): Rewrite accordingly.
2008-02-21 03:45:04 +00:00
Glenn Morris
027cd64481 Merge into NEWS. 2008-02-21 03:36:56 +00:00
Glenn Morris
d82c3d44f3 Merge entries from NEWS.unicode. 2008-02-21 03:35:46 +00:00
Kenichi Handa
67125135e0 (compose-chars-after): Fix arguments for a function
in composition-function-table.
(auto-compose-region): Likewise.
2008-02-21 03:35:31 +00:00
Stefan Monnier
44e3c7c602 Extend [hv]scroll support to per-window properties.
(image-mode-current-vscroll, image-mode-current-hscroll): Remove.
(image-mode-winprops-alist): New var to replace them.
(image-mode-new-window-functions): New hook.
(image-mode-winprops, image-mode-window-get, image-mode-window-put): New funs.
(image-set-window-vscroll, image-set-window-hscroll): Use them.
Remove the `window' argument, update callers.
(image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
Use the new functions.
(image-mode-reapply-winprops): New fun.
(image-mode): Use it.
2008-02-21 03:27:15 +00:00
Jay Belanger
b0d9db865c (math-sin-raw): Add optional argument to keep track of
original argument.
(math-cos-raw): Use optional argument when calling math-sin-raw.
(math-sin-raw-2, math-cos-raw-2): Check for a zero argument with close
to original precision.
2008-02-21 02:35:14 +00:00
Kenichi Handa
5bc44aa4bd (ps-mule-font-info-database-bdf): Use
ethio16f-uni.bdf for Ethiopic.
(ps-mule-plot-string): Ignore glyph-string based compositions.
2008-02-21 01:57:10 +00:00
Juanma Barranquero
5549f37a37 *** empty log message *** 2008-02-20 23:42:25 +00:00
Thien-Thi Nguyen
f4263e475d Explain vc-BACKEND-root in Commentary; nfc. 2008-02-20 18:11:15 +00:00
Roland Winkler
48c4d6a236 (bibtex-convert-alien): Do not use optional args in calls of sit-for. 2008-02-20 17:45:52 +00:00
Thien-Thi Nguyen
62754d298a Kill eol whitespace; nfc. 2008-02-20 15:21:55 +00:00