Stefan Monnier [Sun, 24 Feb 2008 13:36:39 +0000 (13:36 +0000)]
Allow fine-grained image-cache flushing.
* dispextern.h (struct image): Add `dependencies' field.
(clear_image_caches): Change arg to Lisp_Object.
* image.c (make_image): Initialize `dependencies' field.
(clear_image_cache): Change arg to allow fine-grained flushing.
Perform the flush even if image-cache-eviction-delay is nil.
(clear_image_caches): Change arg to Lisp_Object.
(Fclear_image_cache): Expand meaning of the argument.
(mark_image): Mark `dependencies' field.
* xfaces.c (clear_face_cache): Adapt arg to call to clear_image_caches.
(lface_hash): Use XHASH rather than XFASTINT.
(face_at_buffer_position): Fix int -> EMACS_INT position.
* xdisp.c (next_overlay_change): Fix int -> EMACS_INT position.
(select_frame_for_redisplay): Remove code duplication.
(redisplay_internal): Adapt arg to call to clear_image_caches.
Stefan Monnier [Sun, 24 Feb 2008 13:24:12 +0000 (13:24 +0000)]
Remove spurious * in defcustom docstrings.
(hilit-chg-make-ov): Simplify.
(hilit-chg-fixup): Use remove-overlays.
(hilit-chg-set-face-on-change): Remove redundant `remove-text-properties' call.
Miles Bader [Sun, 24 Feb 2008 10:09:07 +0000 (10:09 +0000)]
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
Miles Bader [Sun, 24 Feb 2008 06:43:15 +0000 (06:43 +0000)]
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1073
Miles Bader [Sun, 24 Feb 2008 06:09:16 +0000 (06:09 +0000)]
Merge from gnus--rel--5.10
Revision: emacs@sv.gnu.org/emacs--rel--22--patch-232
Juanma Barranquero [Sun, 24 Feb 2008 02:48:47 +0000 (02:48 +0000)]
*** empty log message ***
Juanma Barranquero [Sun, 24 Feb 2008 02:37:13 +0000 (02:37 +0000)]
*** empty log message ***
Chong Yidong [Sun, 24 Feb 2008 01:06:03 +0000 (01:06 +0000)]
** modify-frame-parameters behaviour broken
The fix Ulrich Neumerkel looks correct, and has been checked in.
Chong Yidong [Sun, 24 Feb 2008 01:05:27 +0000 (01:05 +0000)]
(x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1.
Chong Yidong [Sun, 24 Feb 2008 01:05:20 +0000 (01:05 +0000)]
* xterm.c (x_set_offset): Don't change the gravity if
CHANGE_GRAVITY is -1.
Chong Yidong [Sun, 24 Feb 2008 01:04:51 +0000 (01:04 +0000)]
(x_set_offset): Don't change the gravity if CHANGE_GRAVITY is -1.
Chong Yidong [Sun, 24 Feb 2008 01:04:34 +0000 (01:04 +0000)]
* xterm.c (x_set_offset): Don't change the gravity if
CHANGE_GRAVITY is -1.
Chong Yidong [Sun, 24 Feb 2008 00:59:12 +0000 (00:59 +0000)]
** nesting of unwind-protect and atomic-change-group
Stefan already fixed this.
Juanma Barranquero [Sat, 23 Feb 2008 23:35:23 +0000 (23:35 +0000)]
(linum-after-config): Update all visible windows.
Chong Yidong [Sat, 23 Feb 2008 23:13:52 +0000 (23:13 +0000)]
** Auto-Save bug when file/directory no longer exists
Fix in trunk, delaying till after 22.2.
Chong Yidong [Sat, 23 Feb 2008 23:12:52 +0000 (23:12 +0000)]
(auto_save_error_occurred): New var.
(auto_save_error): Set it.
(Fdo_auto_save): Don't overwrite the error message if an auto-save
error occurred.
Chong Yidong [Sat, 23 Feb 2008 23:12:42 +0000 (23:12 +0000)]
* fileio.c (auto_save_error_occurred): New var.
(auto_save_error): Set it.
(Fdo_auto_save): Don't overwrite the error message if an auto-save
error occurred.
Chong Yidong [Sat, 23 Feb 2008 22:39:09 +0000 (22:39 +0000)]
** Backport find-function-search-for-symbol change to try `.emacs'
Chong Yidong [Sat, 23 Feb 2008 22:34:30 +0000 (22:34 +0000)]
** Should dired-do-search bind tags-loop-revert-buffers automatically?
Chong Yidong [Sat, 23 Feb 2008 22:00:42 +0000 (22:00 +0000)]
** Loading ebrowse file yields warning
Fixed.
Chong Yidong [Sat, 23 Feb 2008 21:59:36 +0000 (21:59 +0000)]
Remove two other fixed bug items.
Chong Yidong [Sat, 23 Feb 2008 21:58:10 +0000 (21:58 +0000)]
** Tweak sit-for to accept the form (sit-for 1 nil t)
Already fixed by Glenn Morris.
Glenn Morris [Sat, 23 Feb 2008 21:01:03 +0000 (21:01 +0000)]
Some comments on previous change. A couple of things are already
fixed.
Chong Yidong [Sat, 23 Feb 2008 20:49:14 +0000 (20:49 +0000)]
Remove some Emacs 22.1 release items, and update bug list.
Chong Yidong [Sat, 23 Feb 2008 20:28:58 +0000 (20:28 +0000)]
(bibtex-convert-alien): Fix sit-for ags.
Chong Yidong [Sat, 23 Feb 2008 20:28:46 +0000 (20:28 +0000)]
* textmodes/bibtex.el (bibtex-convert-alien): Fix sit-for ags.
Glenn Morris [Sat, 23 Feb 2008 20:17:44 +0000 (20:17 +0000)]
(tree-widget-lookup-image): Let-bind `file'.
Glenn Morris [Sat, 23 Feb 2008 20:06:44 +0000 (20:06 +0000)]
iwconfig.
Glenn Morris [Sat, 23 Feb 2008 20:02:55 +0000 (20:02 +0000)]
(iwconfig-program, iwconfig-program-options): Add :version.
Glenn Morris [Sat, 23 Feb 2008 20:01:44 +0000 (20:01 +0000)]
Yoni Rabkin <yoni at rabkins.net> (tiny change)
(iwconfig-program, iwconfig-program-options): New variables.
(iwconfig): New function.
Glenn Morris [Sat, 23 Feb 2008 19:35:42 +0000 (19:35 +0000)]
(menu-bar-games-menu): Add Bubbles and Pong. Add :help for Solitaire and Tetris.
Glenn Morris [Sat, 23 Feb 2008 19:33:50 +0000 (19:33 +0000)]
Remove leading `*' from defcustom doc-strings.
(smtpmail-code-conv-from): Doc fix. Fix custom type.
(smtpmail-queue-index-file): Make it a defcustom.
(smtpmail-queue-index): Delete.
(smtpmail-send-it, smtpmail-send-queued-mail):
Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
smtpmail-queue-index.
Michael Olson [Sat, 23 Feb 2008 18:58:56 +0000 (18:58 +0000)]
ERC: Sync from upstream.
Bill Wohler [Sat, 23 Feb 2008 18:36:58 +0000 (18:36 +0000)]
(mh-send-letter): Call split-string on mh-send-args when sending
synchronously too.
Eli Zaretskii [Sat, 23 Feb 2008 13:38:12 +0000 (13:38 +0000)]
(globals_of_w32): Add initializations for g_b_init_get_sid_sub_authority and
g_b_init_get_sid_sub_authority_count.
Miles Bader [Sat, 23 Feb 2008 08:28:42 +0000 (08:28 +0000)]
Add arch tagline
Dan Nicolaescu [Sat, 23 Feb 2008 06:32:12 +0000 (06:32 +0000)]
* vc.el (vc-find-revision): Make vc-parent-buffer local before
setting it.
(vc-status-menu-map): Do not define using easy-menu.
(vc-status-menu-map): New defalias.
(vc-status-mode-map): Hook up the menu.
(top-level): Update TODO.
* vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
* vc-bzr.el (vc-bzr-init-version): Rename to ...
(vc-bzr-init-revision): ... this.
Jason Rumney [Sat, 23 Feb 2008 00:49:39 +0000 (00:49 +0000)]
*** empty log message ***
Jason Rumney [Sat, 23 Feb 2008 00:30:49 +0000 (00:30 +0000)]
(MOUSE_SUPPORT): Remove duplicate tooltip.elc.
(MSDOS_SUPPORT, VMS_SUPPORT): Remove.
(OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
(lisp2): Add new languages.
($(DOC)): Use OTHER_PLATFORM_SUPPORT.
Jason Rumney [Sat, 23 Feb 2008 00:17:28 +0000 (00:17 +0000)]
(WINS_ALMOST): Remove term.
(WINS): Add term here.
(custom-deps, finder-data): Use WINS_ALMOST.
Juanma Barranquero [Fri, 22 Feb 2008 23:37:23 +0000 (23:37 +0000)]
(font-weight-table): Fix value of `semi-light'.
Stefan Monnier [Fri, 22 Feb 2008 19:04:20 +0000 (19:04 +0000)]
*** empty log message ***
Stefan Monnier [Fri, 22 Feb 2008 19:04:03 +0000 (19:04 +0000)]
(font_match_xlfd, font_check_xlfd_parse): New funs.
(font_parse_xlfd): Use them for sanity check.
(Finternal_set_font_style_table): Make sure the table is bijiective.
Stefan Monnier [Fri, 22 Feb 2008 19:03:06 +0000 (19:03 +0000)]
(font-weight-table, font-slant-table, font-swidth-table):
Make those tables bijective.
Stefan Monnier [Fri, 22 Feb 2008 18:47:26 +0000 (18:47 +0000)]
(dired-mark-prompt): Don't count/display the t element.
Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
Ken Manheimer [Fri, 22 Feb 2008 17:49:48 +0000 (17:49 +0000)]
Finish pdbtrack integration cleanup, settling missing-functions
byte compiler warnings appropriately.
* progmodes/python.el (python-point): Remove this - beginning-of-line was
all that was necessary for `python-pdbtrack-overlay-arrow'.
(python-end-of-def-or-class, python-beginning-of-def-or-class)
(python-goto-initial-line): Drop these - they were only needed for
python-point.
(python-comint-output-filter-function): Use condition-case and
beginning-of-line directly, instead of python-mode.el functions
which require all sorts of baggage.
(point-safe): Unnecessary - we're using condition-case directly,
instead.
(python-execute-file): Include for python-shell, which i'm leaving
in keeping despite it being unnecessary for pdb tracking.
Stefan Monnier [Fri, 22 Feb 2008 17:45:11 +0000 (17:45 +0000)]
Include termhooks.h to find the image_cache slot in terminal objects.
Stefan Monnier [Fri, 22 Feb 2008 17:42:09 +0000 (17:42 +0000)]
Consolidate the image_cache to the terminal struct.
* termhooks.h (P_): Remove redundant def.
(struct terminal): New field `image_cache'.
* frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place
of FRAME_X_IMAGE_CACHE.
* xterm.h (struct x_display_info): Remove image_cache field.
(FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead.
* w32term.h (struct w32_display_info): Remove image_cache field.
(FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead.
* macterm.h (struct mac_display_info): Remove image_cache field.
(FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead.
* xterm.c (x_term_init):
* w32term.c (w32_term_init):
* macterm.c (mac_term_init): Set the image_cache in the terminal.
* dispextern.h (clear_image_cache, forall_images_in_image_cache):
Remove declarations.
(clear_image_caches, mark_image_cache): New declarations.
* xfaces.c (clear_face_cache):
* xdisp.c (redisplay_internal): Use clear_image_caches.
* image.c (clear_image_cache): Don't check that a frame is on
a window-system before checking if it shares the same cache.
(clear_image_caches): New function.
(Fclear_image_cache): Use it.
(mark_image): Move from allo.c.
(mark_image_cache): Move from alloc.c and forall_images_in_image_cache.
* alloc.c (mark_image, mark_image_cache): Move to image.c.
(mark_object): Don't call mark_image_cache for frames.
(mark_terminals): Call mark_image_cache.
Stefan Monnier [Fri, 22 Feb 2008 17:27:17 +0000 (17:27 +0000)]
(Fdelete_terminal): Declare.
Stefan Monnier [Fri, 22 Feb 2008 17:24:05 +0000 (17:24 +0000)]
(CHECK_CHARSET, CHECK_CHARSET_GET_ID, CHECK_CHARSET_GET_ATTR):
Don't use the inexistent return value of wrong_type_argument.
Andreas Schwab [Fri, 22 Feb 2008 15:10:13 +0000 (15:10 +0000)]
Revert last change for now.
Thien-Thi Nguyen [Fri, 22 Feb 2008 11:12:09 +0000 (11:12 +0000)]
(scheme-font-lock-keywords-2): Add SRFI 11 support.
(let-values, let*-values): Specify scheme-indent-function.
Juanma Barranquero [Fri, 22 Feb 2008 11:03:26 +0000 (11:03 +0000)]
(lisp2): Remove devanagari.el, kannada.el,
malayalam.el, and tamil.el. Add sinhala.el.
Andreas Schwab [Fri, 22 Feb 2008 11:00:54 +0000 (11:00 +0000)]
(verilog-xemacs-menu): Fix setup of "Move" submenu.
Glenn Morris [Fri, 22 Feb 2008 08:52:41 +0000 (08:52 +0000)]
Fix previous change.
Glenn Morris [Fri, 22 Feb 2008 08:50:37 +0000 (08:50 +0000)]
(Position Parameters): Clarify the description of `left' and `top',
using information from "Geometry".
(Geometry): Give a pointer to "Position Parameters", rather than
repeating information.
Glenn Morris [Fri, 22 Feb 2008 08:31:15 +0000 (08:31 +0000)]
Fix previous change.
Glenn Morris [Fri, 22 Feb 2008 08:23:04 +0000 (08:23 +0000)]
*** empty log message ***
Dan Nicolaescu [Fri, 22 Feb 2008 07:44:08 +0000 (07:44 +0000)]
* vc.el (vc-exec-after): Move setting mode-line-process in the
busy case ...
(vc-set-mode-line-busy-indicator): ... in this new function.
(vc-status-refresh): Call vc-set-mode-line-busy-indicator.
(vc-update-vc-status-buffer): Reset mode-line-process.
(vc-status-mark-all-files, vc-status-unmark-all-files): Change to
mark/unmark all the files with the same state as the current one.
With a prefix argument mark/unmark all files.
(vc-status-mode-menu): Adjust strings.
(vc-update-vc-status-buffer): Only do something when the argument
is not nil.
(vc-status-kill-dir-status-process): New function.
(vc-status-mode-map): Bind it.
(vc-status-process-buffer): New variable.
(vc-status-mode): Make it local.
(vc-status-refresh): Set it.
* vc-hg.el (vc-hg-dir-status):
* vc-git.el (vc-git-dir-status):
* vc-svn.el (vc-svn-dir-status): Return the buffer in which the
command is run.
Glenn Morris [Fri, 22 Feb 2008 05:02:59 +0000 (05:02 +0000)]
Fix typo.
Dan Nicolaescu [Fri, 22 Feb 2008 04:51:39 +0000 (04:51 +0000)]
(vc-exec-after): Move setting mode-line-process in the
busy case ...
(vc-set-mode-line-busy-indicator): ... in this new function.
(vc-status-refresh): Call vc-set-mode-line-busy-indicator.
(vc-update-vc-status-buffer): Reset mode-line-process.
(vc-status-mark-all-files, vc-status-unmark-all-files): Change to
mark/unmark all the files with the same state as the current one.
With a prefix argument mark/unmark all files.
(vc-status-mode-menu): Adjust strings.
Glenn Morris [Fri, 22 Feb 2008 04:09:09 +0000 (04:09 +0000)]
Condense some entries.
Glenn Morris [Fri, 22 Feb 2008 03:58:56 +0000 (03:58 +0000)]
(top-level): No need to require time-date when compiling.
Glenn Morris [Fri, 22 Feb 2008 03:57:29 +0000 (03:57 +0000)]
(spell-buffer, spell-word): Suppress compiler warnings about
spell-region.
Glenn Morris [Fri, 22 Feb 2008 03:56:25 +0000 (03:56 +0000)]
(top-level): No need to require thingatpt.
(json-read-keyword): Use thing-at-point rather than word-at-point.
Glenn Morris [Fri, 22 Feb 2008 03:54:52 +0000 (03:54 +0000)]
(vip-special-prefix-com): Use ispell-region rather than spell-region.
Glenn Morris [Fri, 22 Feb 2008 03:54:20 +0000 (03:54 +0000)]
(tpu-have-ispell): Doc fix. Make obsolete.
(tpu-caar, tpu-cadr): Delete functions.
(zmacs-regions): No need to declare for compiler.
(tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
(tpu-spell-check): Rewrite, and handle mark after point.
(tpu-special-insert): Use or rather than if.
Glenn Morris [Fri, 22 Feb 2008 03:52:44 +0000 (03:52 +0000)]
(copyright-update-year): Fix subexpression numbering for the case when
years are split over lines, and for the replace case.
Glenn Morris [Fri, 22 Feb 2008 03:50:20 +0000 (03:50 +0000)]
Regenerate for change in autoload md5sum.
Glenn Morris [Fri, 22 Feb 2008 03:49:19 +0000 (03:49 +0000)]
*** empty log message ***
Glenn Morris [Fri, 22 Feb 2008 03:48:30 +0000 (03:48 +0000)]
Fix attribution.
Juanma Barranquero [Fri, 22 Feb 2008 02:56:58 +0000 (02:56 +0000)]
*** empty log message ***
Kenichi Handa [Fri, 22 Feb 2008 02:48:41 +0000 (02:48 +0000)]
Delete it
Kenichi Handa [Fri, 22 Feb 2008 02:23:24 +0000 (02:23 +0000)]
Regenerated.
Kenichi Handa [Fri, 22 Feb 2008 02:06:15 +0000 (02:06 +0000)]
Revemo the problem of auto-compose-current-font.
Kenichi Handa [Fri, 22 Feb 2008 02:05:12 +0000 (02:05 +0000)]
Mention the new language envrironments Bengali, Punjabi,
Gujarati, Oriya, Telugu, Sinhala. Mention the removal of features
devanagari, devan-util, kannada, knd-util, malayalam, mlm-util,
tamil, and tml-util.
Kenichi Handa [Fri, 22 Feb 2008 01:56:30 +0000 (01:56 +0000)]
Don't load language/devanagari, language/kannanda,
language/malayalam, and language/tamil. Load language/sinhala.
Kenichi Handa [Fri, 22 Feb 2008 01:51:31 +0000 (01:51 +0000)]
Add the tailing comment.
Kenichi Handa [Fri, 22 Feb 2008 01:51:04 +0000 (01:51 +0000)]
New file.
Kenichi Handa [Fri, 22 Feb 2008 01:49:10 +0000 (01:49 +0000)]
(indian-font-foundry)
(indian-script-language-alist, indian-font-char-index-table)
(indian-font-char, indian-font-char-range, indian-script-table)
(indian-default-script, indian-composable-pattern): Delete them.
("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
language environments moved to here.
("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"): New
language environments.
Kenichi Handa [Fri, 22 Feb 2008 01:41:58 +0000 (01:41 +0000)]
(lisp): Remove devanagari.el, kannada.el,
malayalam.el, and tamil.el. Add sinhala.el.
Bastien Guerry [Fri, 22 Feb 2008 01:28:08 +0000 (01:28 +0000)]
2008-02-22 Bill Meier <wmeier@newsguy.com> (tiny change)
* progmodes/sh-script.el (sh-indent-comment): Docstring fix.
Michael Olson [Fri, 22 Feb 2008 01:24:26 +0000 (01:24 +0000)]
etc/ChangeLog: Update.
Michael Olson [Fri, 22 Feb 2008 01:24:09 +0000 (01:24 +0000)]
NEWS: Describe nXML mode and json.el.
Michael Olson [Fri, 22 Feb 2008 01:15:42 +0000 (01:15 +0000)]
Use new location for json.el in lisp/ChangeLog.
Michael Olson [Fri, 22 Feb 2008 01:14:03 +0000 (01:14 +0000)]
Move lisp/net/json.el to lisp/json.el.
Ken Manheimer [Thu, 21 Feb 2008 22:28:13 +0000 (22:28 +0000)]
Revise pdbtrack functionality to incorporate advances in python-mode.el.
(I'm doing this python.el checkin with some byte-compiler warnings. These
warnings existed before Nick Roberts or I applied any of the pdbtrack
changes, and look very clearly like preexisting, incomplete adoption of
code from python-mode.el. I'm going to next look at settling those
warnings, though I don't have time for a major reconciliation of the two
python-mode implementations.)
(python-pdbtrack-toggle-stack-tracking): Clarify docstring.
(python-pdbtrack-minor-mode-string): A sign indicating that pdb
tracking is happening.
(python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
(python-pdbtrack-input-prompt): Better recognize PDB prompts.
(add python-pdbtrack-track-stack-file to comint-output-filter-functions):
Tracking is plugged in to all comint buffers once python.el is loaded.
(python-pdbtrack-overlay-arrow): Toggle activation of
`python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
(python-pdbtrack-track-stack-file): Use new
`python-pdbtrack-get-source-buffer' for more flexible access to
debugging source files.
(python-pdbtrack-get-source-buffer): Identify debugging target
buffer according to pdb stack trace, optionally using new
`python-pdbtrack-grub-for-buffer' if file is not locally
available.
(python-pdbtrack-grub-for-buffer): Find most recent python-mode
named buffer, or having function with indicated name.
(python-shell): Remove comint-output-filter-functions hook
addition, it's being done elsewhere. Wrap long line.
Michael Olson [Thu, 21 Feb 2008 20:29:34 +0000 (20:29 +0000)]
lisp/ChangeLog: Update.
Michael Olson [Thu, 21 Feb 2008 20:28:27 +0000 (20:28 +0000)]
lisp/net/json.el: Fix compiler warning.
Michael Olson [Thu, 21 Feb 2008 20:28:12 +0000 (20:28 +0000)]
lisp/time.el: Fix compiler warning.
Michael Olson [Thu, 21 Feb 2008 19:41:38 +0000 (19:41 +0000)]
Install net/json.el, a JavaScript Object Notation parser / generator.
Chong Yidong [Thu, 21 Feb 2008 17:03:47 +0000 (17:03 +0000)]
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.
Chong Yidong [Thu, 21 Feb 2008 17:03:30 +0000 (17:03 +0000)]
New file.
Chong Yidong [Thu, 21 Feb 2008 17:03:10 +0000 (17:03 +0000)]
* 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.
Stefan Monnier [Thu, 21 Feb 2008 16:51:07 +0000 (16:51 +0000)]
(x_connection_closed): Consolidate identical tests.
(x_delete_terminal): Don't crash if called via x_connection_closed.
Juanma Barranquero [Thu, 21 Feb 2008 15:27:15 +0000 (15:27 +0000)]
(hanoi-internal): Set `show-trailing-whitespace' to nil.
Dan Nicolaescu [Thu, 21 Feb 2008 10:24:59 +0000 (10:24 +0000)]
*** empty log message ***
Dan Nicolaescu [Thu, 21 Feb 2008 09:29:24 +0000 (09:29 +0000)]
*** empty log message ***
Dan Nicolaescu [Thu, 21 Feb 2008 09:15:32 +0000 (09:15 +0000)]
* 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.
Glenn Morris [Thu, 21 Feb 2008 09:12:20 +0000 (09:12 +0000)]
New file.