Chong Yidong [Fri, 1 Sep 2006 13:28:13 +0000 (13:28 +0000)]
* buffer.h (struct buffer_text): New field chars_modiff.
(CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
* buffer.c (Fbuffer_chars_modified_tick): New function returning
value of BUF_CHARS_MODIFF.
(syms_of_buffer): Defsubr it.
(Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
* insdel.c (modify_region): New argument preserve_chars_modiff.
Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
(insert_1_both, insert_from_string_1, insert_from_buffer_1)
(adjust_after_replace, adjust_after_replace_noundo)
(replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
* lisp.h (modify_region): Add fourth argument in extern.
* casefiddle.c (casify_region): Call modify_region with fourth
argument zero to assert that CHARS_MODIFF is updated.
* editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
(Ftranspose_regions): Likewise.
* textprop.c (Fadd_text_properties, Fset_text_properties)
(Fremove_text_properties, Fremove_list_of_text_properties):
Call modify_region with fourth argument 1 to avoid that
CHARS_MODIFF is updated.
Richard M. Stallman [Fri, 1 Sep 2006 08:57:41 +0000 (08:57 +0000)]
*** empty log message ***
Stefan Monnier [Fri, 1 Sep 2006 02:31:47 +0000 (02:31 +0000)]
(url-http-create-request):
Use `url-recreate-url-attributes' when setting real-fname.
Stefan Monnier [Fri, 1 Sep 2006 02:31:24 +0000 (02:31 +0000)]
(url-recreate-url-attributes): New function, code moved from `url-recreate-url'.
(url-recreate-url): Use it. Put the `url-target' at the end of the URL.
Richard M. Stallman [Thu, 31 Aug 2006 23:16:03 +0000 (23:16 +0000)]
(custom-save-variables): Slight cleanup.
(Custom-no-edit): Renamed from custom-no-edit.
(Custom-newline): Renamed from custom-newline.
(custom-mode-map): Use new names.
Richard M. Stallman [Thu, 31 Aug 2006 23:14:26 +0000 (23:14 +0000)]
(define-minor-mode): Reference manual about customization, rather than
M-x customize, in the doc string made for the defcustom.
Richard M. Stallman [Thu, 31 Aug 2006 23:10:24 +0000 (23:10 +0000)]
(trace-function-background): Doc fix.
Richard M. Stallman [Thu, 31 Aug 2006 23:08:08 +0000 (23:08 +0000)]
*** empty log message ***
Richard M. Stallman [Thu, 31 Aug 2006 23:07:39 +0000 (23:07 +0000)]
(Fformat): Don't sign-extend for %o or %x.
Richard M. Stallman [Thu, 31 Aug 2006 23:04:42 +0000 (23:04 +0000)]
(Syntactic Font Lock): Mention specific faces once again.
Romain Francoise [Thu, 31 Aug 2006 19:47:47 +0000 (19:47 +0000)]
(dired-guess-shell-alist-default): Update.
Stefan Monnier [Thu, 31 Aug 2006 17:14:46 +0000 (17:14 +0000)]
(Syntactic Font Lock): Mention font-lock-syntactic-face-function.
Suggested by Richard Bielawski <RBielawski@moneygram.com>
Stefan Monnier [Thu, 31 Aug 2006 17:10:34 +0000 (17:10 +0000)]
(custom-theme-set-variables): Autoload packages before sorting the variables.
Michael Kifer [Thu, 31 Aug 2006 03:39:42 +0000 (03:39 +0000)]
2006-08-30 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-cmd.el (viper-special-read-and-insert-char): convert events to
chars if XEmacs.
(viper-after-change-undo-hook): check if undo-in-progress is bound.
Stefan Monnier [Wed, 30 Aug 2006 21:10:10 +0000 (21:10 +0000)]
(python-eldoc-function): Re-enable quit while waiting for process.
YAMAMOTO Mitsuharu [Wed, 30 Aug 2006 08:51:52 +0000 (08:51 +0000)]
(mac-string-to-utxt): If adjustment for MacJapanese
results in ASCII-only string, encode original one directly.
Chong Yidong [Tue, 29 Aug 2006 22:17:05 +0000 (22:17 +0000)]
* indent.c (Fvertical_motion): Don't move back if we were
displaying a Lisp string, either.
Romain Francoise [Tue, 29 Aug 2006 16:11:26 +0000 (16:11 +0000)]
(normal-splash-screen, fancy-splash-screens): Make buffer read-only and
arrange to enter view mode if necessary.
Stefan Monnier [Tue, 29 Aug 2006 14:00:27 +0000 (14:00 +0000)]
(url-cookie-write-file): Really don't use versioned backups.
Chong Yidong [Tue, 29 Aug 2006 13:28:00 +0000 (13:28 +0000)]
* hl-line.el (hl-line): New face.
(hl-line-face): Use it.
Chong Yidong [Tue, 29 Aug 2006 13:15:53 +0000 (13:15 +0000)]
* display.texi (Images): Add xrref to display-images-p.
Chong Yidong [Tue, 29 Aug 2006 13:02:53 +0000 (13:02 +0000)]
* image-mode.el (image-mode): Fix last fix.
Suggested by Kim F. Storm.
Michael Albinus [Tue, 29 Aug 2006 05:48:40 +0000 (05:48 +0000)]
Sync with Tramp 2.0.54.
Chong Yidong [Mon, 28 Aug 2006 22:49:25 +0000 (22:49 +0000)]
* image-mode.el (image-mode): Display image as text on a terminal.
Stefan Monnier [Mon, 28 Aug 2006 21:58:27 +0000 (21:58 +0000)]
(python-send-command): Simplify.
(run-python): Don't generate a new buffer unless `new' was specified.
Make sure we send `import emacs' to the proper process.
Stefan Monnier [Mon, 28 Aug 2006 21:13:34 +0000 (21:13 +0000)]
(python-send-command): Don't wait for the command
to terminate. Don't fiddle with compilation-parsing-end.
Chong Yidong [Mon, 28 Aug 2006 16:57:28 +0000 (16:57 +0000)]
* emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Insert
commentary after first line summary.
Chong Yidong [Mon, 28 Aug 2006 15:40:21 +0000 (15:40 +0000)]
* woman.el (woman-follow): New function, based on `man-follow'.
(woman-mode-map): Use it.
* ibuffer.el (ibuffer-do-sort-by-recency): Perform full update
since ibuffer-do-sort-by-recency does not define a sorter.
Kim F. Storm [Mon, 28 Aug 2006 12:03:22 +0000 (12:03 +0000)]
(get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]:
Don't attempt to replace cursor on image glyphs.
Kim F. Storm [Mon, 28 Aug 2006 12:03:03 +0000 (12:03 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 28 Aug 2006 10:01:29 +0000 (10:01 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 28 Aug 2006 10:01:22 +0000 (10:01 +0000)]
(Split Window): Update xref.
Richard M. Stallman [Mon, 28 Aug 2006 10:00:58 +0000 (10:00 +0000)]
(Continuation Lines): Update xref.
Richard M. Stallman [Mon, 28 Aug 2006 10:00:32 +0000 (10:00 +0000)]
(Tab Stops): Update xref.
Richard M. Stallman [Mon, 28 Aug 2006 10:00:04 +0000 (10:00 +0000)]
(Top): Update subnode menu.
Richard M. Stallman [Mon, 28 Aug 2006 09:59:30 +0000 (09:59 +0000)]
(Line Truncation, Displaying Boundaries): New nodes,
split out of Display Custom.
Kim F. Storm [Mon, 28 Aug 2006 08:02:38 +0000 (08:02 +0000)]
(find-dired): Use shell-quote-argument to properly
escape ( and ) args. Also use it on {} and ; args in default
value of find-ls-option string.
(find-grep-dired): Use shell-quote-argument on {} and ; args.
Kim F. Storm [Mon, 28 Aug 2006 08:02:24 +0000 (08:02 +0000)]
*** empty log message ***
Kenichi Handa [Mon, 28 Aug 2006 04:19:27 +0000 (04:19 +0000)]
*** empty log message ***
Kenichi Handa [Mon, 28 Aug 2006 04:18:47 +0000 (04:18 +0000)]
(Fdetect_coding_region, Fdetect_coding_string): Fix
docstring about ISO-2022 control characters.
Kenichi Handa [Mon, 28 Aug 2006 04:17:18 +0000 (04:17 +0000)]
(Lisp and Coding Systems): Fix description of
detect-coding-region.
Kim F. Storm [Sun, 27 Aug 2006 22:23:07 +0000 (22:23 +0000)]
(get_window_cursor_type): Replace BOX cursor on images
with a hollow box cursor if image is larger than 32x32 (or the default
frame font if that is bigger). Replace any other cursor on images
with hollow box cursor, as redisplay doesn't support bar and hbar
cursors on images.
Kim F. Storm [Sun, 27 Aug 2006 22:22:38 +0000 (22:22 +0000)]
*** empty log message ***
Miles Bader [Sun, 27 Aug 2006 10:42:40 +0000 (10:42 +0000)]
Miscellaneous tq-related fixes.
* lisp/emacs-lisp/tq.el: Small grammar fix in comments.
(tq-enqueue): Check for existence of queue rather than the head queue
item's question, which was a no-op.
(tq-filter, tq-process-buffer): Make sure the process buffer exists
before making it the current buffer.
* lispref/processes.texi (Transaction Queues): Remove stray quote
character.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-411
Creator: Michael Olson <mwolson@gnu.org>
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:10:26 +0000 (07:10 +0000)]
*** empty log message ***
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:10:03 +0000 (07:10 +0000)]
(struct mac_output) [TARGET_API_MAC_CARBON]: Remove member
file_name.
(FRAME_FILE_NAME): Remove macro.
(install_window_handler, create_apple_event_from_event_ref):
Return OSStatus instead of OSErr.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:09:52 +0000 (07:09 +0000)]
(mac_draw_string_common, mac_query_char_extents)
(x_iconify_frame, XLoadQueryFont, install_window_handler)
(mac_handle_command_event, init_command_handler, init_menu_bar):
Use OSStatus instead of OSErr.
(x_free_frame_resources) [TARGET_API_MAC_CARBON]: Don't use
FRAME_FILE_NAME.
(x_query_font): Apply 2006-08-04 change for xterm.c.
(Qhi_command): Rename from Qhicommand. All uses changed.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:09:41 +0000 (07:09 +0000)]
(get_scrap_from_symbol, clear_scrap, put_scrap_string)
(put_scrap_private_timestamp, scrap_has_target_type, get_scrap_string)
(get_scrap_private_timestamp, get_scrap_target_type_list)
(x_own_selection, x_get_foreign_selection)
(Fx_disown_selection_internal, Fx_selection_owner_p)
(Fx_selection_exists_p): Use OSStatus instead of OSErr.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:09:33 +0000 (07:09 +0000)]
[TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't
use FRAME_FILE_NAME. Use (FS)UpdateAlias.
(Fx_create_frame): Apply 2006-07-03 for xfns.c.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:09:23 +0000 (07:09 +0000)]
(create_apple_event_from_event_ref, select)
(Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator)
(Fmac_set_file_type, cfstring_create_normalized)
(mac_get_system_locale, select_and_poll_event, sys_select): Use
OSStatus instead of OSErr.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:09:14 +0000 (07:09 +0000)]
(in_sighandler): Remove extern.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:09:06 +0000 (07:09 +0000)]
(in_sighandler): Remove variable.
(Fcurrent_idle_time): Add missing `doc:'.
(input_available_signal, init_keyboard): Undo previous change.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:08:54 +0000 (07:08 +0000)]
[TARGET_API_MAC_CARBON] (image_load_qt_1): Use ComponentResult instead
of OSErr.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:08:39 +0000 (07:08 +0000)]
(directory_files_internal_unwind, directory_files_internal)
(file_name_completion): Add BLOCK_INPUT around opendir/closedir.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:08:31 +0000 (07:08 +0000)]
(BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous
change. Move mutex lock/unlock operations inside BLOCK_INPUT.
YAMAMOTO Mitsuharu [Sun, 27 Aug 2006 07:08:07 +0000 (07:08 +0000)]
(mac-apple-event-map): Rename hicommand to hi-command.
(mac-dnd-drop-data): Apply 2006-08-22 change for x-dnd-drop-data.
(special-event-map): Apply 2006-08-16 change for x-win.el.
Stefan Monnier [Sat, 26 Aug 2006 14:39:16 +0000 (14:39 +0000)]
(python-send-receive): Wait in the process's buffer so as to check the right
buffer-local variables.
Romain Francoise [Sat, 26 Aug 2006 11:49:35 +0000 (11:49 +0000)]
Whitespace fix.
Stefan Monnier [Fri, 25 Aug 2006 23:40:38 +0000 (23:40 +0000)]
Remove * in defcustoms.
(defgroup checkdoc): Move to beginning.
Kim F. Storm [Fri, 25 Aug 2006 23:33:44 +0000 (23:33 +0000)]
(Fset_buffer_multibyte): Simplify; use list3.
Kim F. Storm [Fri, 25 Aug 2006 23:33:30 +0000 (23:33 +0000)]
(Fcurrent_time, Fget_internal_run_time): Simplify; use list3.
Kim F. Storm [Fri, 25 Aug 2006 23:33:12 +0000 (23:33 +0000)]
(Fmake_directory_internal, Fdelete_directory)
(Fdelete_file): Simplify; use list1.
(Frename_file, Fadd_name_to_file, Fmake_symbolic_link):
Simplify; remove NO_ARG_ARRAY stuff, use list2.
Kim F. Storm [Fri, 25 Aug 2006 23:33:04 +0000 (23:33 +0000)]
(Fxw_color_values): Simplify; use list3.
Kim F. Storm [Fri, 25 Aug 2006 23:32:17 +0000 (23:32 +0000)]
*** empty log message ***
Stefan Monnier [Fri, 25 Aug 2006 22:49:14 +0000 (22:49 +0000)]
(python-preoutput-skip-next-prompt): New var.
(python-preoutput-continuation): Remove.
(python-preoutput-filter): Simplify correspondingly.
Remove handling of _emacs_ok. Make sure we skip _emacs_out's prompts.
Loop around to catch embedded _emacs_out output.
(run-python): Send the import&print command on a single line.
(python-send-command): Send command&print on a single line.
(python-send-string): Only add double \n if needed.
(python-send-receive): Loop until the result comes.
(python-mode-running): Defvar it.
(python-setup-brm): Remove unused var `menu'.
Only bind py-mode-map and `features' around brm-init.
(python-calculate-indentation): Remove unused var `point'.
(python-beginning-of-defun): Remove unused var `def-line'.
Kim F. Storm [Fri, 25 Aug 2006 22:01:34 +0000 (22:01 +0000)]
(Display Custom): Add variables overline-margin
and x-underline-at-descent-line.
Kim F. Storm [Fri, 25 Aug 2006 22:01:04 +0000 (22:01 +0000)]
*** empty log message ***
Richard M. Stallman [Fri, 25 Aug 2006 21:10:26 +0000 (21:10 +0000)]
(Fswitch_to_buffer): Fix previous change.
Richard M. Stallman [Fri, 25 Aug 2006 21:08:44 +0000 (21:08 +0000)]
*** empty log message ***
Richard M. Stallman [Fri, 25 Aug 2006 21:08:35 +0000 (21:08 +0000)]
(Exiting): Rewrite to give graphical displays priority over text terminals.
Stefan Monnier [Fri, 25 Aug 2006 20:44:49 +0000 (20:44 +0000)]
(url-file-local-copy): Tell url-copy-file that the dest file will already exist.
Richard M. Stallman [Fri, 25 Aug 2006 20:33:24 +0000 (20:33 +0000)]
(Incremental Search): Move index entries.
Richard M. Stallman [Fri, 25 Aug 2006 20:30:17 +0000 (20:30 +0000)]
(kmacro-repeat-on-last-key): Doc fix.
Richard M. Stallman [Fri, 25 Aug 2006 20:27:58 +0000 (20:27 +0000)]
Give priority to graphical terminals over text terminals regarding C-z.
Michael Kifer [Fri, 25 Aug 2006 16:06:57 +0000 (16:06 +0000)]
2006-08-25 Michael Kifer <kifer@cs.stonybrook.edu>
* viper.el (viper-set-hooks): use frame bindings for
viper-vi-state-cursor-color.
(viper-non-hook-settings): don't set default
mode-line-buffer-identification.
* viper-util.el (viper-set-cursor-color-according-to-state): new
function.
(viper-set-cursor-color-according-to-state,
viper-get-saved-cursor-color-in-replace-mode,
viper-get-saved-cursor-color-in-insert-mode): make conditional on
viper-emacs-state-cursor-color.
* viper-cmd.el (viper-envelop-ESC-key): bug fix.
(viper-undo): use point if undo-beg-posn is nil.
(viper-insert-state-post-command-sentinel,viper-change-state-to-emacs,
viper-after-change-undo-hook): don't use
viper-emacs-state-cursor-color by default.
(viper-undo): more sensible positioning after undo.
* viper-ex.el (ex-splice-args-in-1-letr-cmd): got rid of caddr.
(viper-emacs-state-cursor-color): default to nil, since this feature
doesn't work well yet.
* ediff-mult.el (ediff-intersect-directories,
ediff-get-directory-files-under-revision, ediff-dir-diff-copy-file):
always expand filenames.
Kim F. Storm [Fri, 25 Aug 2006 10:05:50 +0000 (10:05 +0000)]
(Fcurrent_idle_time): Simplify.
Kim F. Storm [Fri, 25 Aug 2006 10:05:41 +0000 (10:05 +0000)]
*** empty log message ***
Richard M. Stallman [Fri, 25 Aug 2006 07:51:57 +0000 (07:51 +0000)]
*** empty log message ***
Richard M. Stallman [Fri, 25 Aug 2006 07:51:46 +0000 (07:51 +0000)]
(Idle Timers): run-with-idle-timer allows Lisp time value. Add xref.
Richard M. Stallman [Fri, 25 Aug 2006 07:47:12 +0000 (07:47 +0000)]
(sxhash_string): Rotate properly; don't lose bits.
Chong Yidong [Fri, 25 Aug 2006 02:58:08 +0000 (02:58 +0000)]
* os.texi (Timers): Avoid waiting inside timers.
Miles Bader [Fri, 25 Aug 2006 02:15:02 +0000 (02:15 +0000)]
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 126-127)
- Merge from emacs--devo--0
- Update from CVS
2006-08-23 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
[ Backported bug fix from No Gnus. ]
* lisp/gnus/gnus.el (gnus-find-method-for-group): On killed/unknown groups, try
looking up the method using GROUP's prefix before inventing a new one.
It is used on killed/unknown groups in various places where returning
an all-new method isn't expected by the caller.
* lisp/gnus/gnus-util.el (gnus-group-server): Copy required macro from No Gnus.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-410
Chong Yidong [Thu, 24 Aug 2006 23:40:00 +0000 (23:40 +0000)]
* emacs-lisp/timer.el (timer-set-idle-time, run-with-idle-timer):
Accept internal time format for SECS arg.
(timer-relative-time): Doc fix.
* jit-lock.el: "Stealth fontification by requeuing timers" patch,
adapted from Martin Rudalics.
(jit-lock-stealth-repeat-timer, jit-lock-stealth-buffers): New vars.
(jit-lock-mode): Create jit-lock-stealth-repeat-timer.
(jit-lock-stealth-fontify): Reschedule as a idle timer instead of
using sit-for.
Kim F. Storm [Thu, 24 Aug 2006 21:18:13 +0000 (21:18 +0000)]
*** empty log message ***
Kim F. Storm [Thu, 24 Aug 2006 20:52:54 +0000 (20:52 +0000)]
(all): Add `overline-margin' and `x-underline-at-descent-line'.
Kim F. Storm [Thu, 24 Aug 2006 20:52:00 +0000 (20:52 +0000)]
(x_underline_at_descent_line): New variable.
(syms_of_xterm): DEFVAR_BOOL it.
(x_draw_glyph_string): Use it.
Draw underline and overline up to the end of line if the face
extends to the end of line.
Kim F. Storm [Thu, 24 Aug 2006 20:51:17 +0000 (20:51 +0000)]
(overline_margin): New variable.
(x_produce_glyphs): Use it.
(syms_of_xdisp): DEFVAR_INT it.
Nick Roberts [Thu, 24 Aug 2006 20:40:53 +0000 (20:40 +0000)]
(Fswitch_to_buffer): Move buffer to front of
buffer-alist if necessary.
Nick Roberts [Thu, 24 Aug 2006 20:40:26 +0000 (20:40 +0000)]
*** empty log message ***
Stefan Monnier [Thu, 24 Aug 2006 18:45:29 +0000 (18:45 +0000)]
Remove * in defcustoms's docstrings.
Kim F. Storm [Wed, 23 Aug 2006 23:23:02 +0000 (23:23 +0000)]
(grep-find-use-xargs): Use explicit value `exec'
to mean "use find -exec"; nil now unambiguously means auto-detect.
(grep-compute-defaults): Set grep-find-use-xargs to `exec' if not `gnu'.
Use shell-quote-argument to build grep-find-command and grep-find-template.
(rgrep): Use shell-quote-argument to properly quote arguments to find.
Reported by Tom Seddon.
Kim F. Storm [Wed, 23 Aug 2006 23:22:53 +0000 (23:22 +0000)]
*** empty log message ***
Chong Yidong [Wed, 23 Aug 2006 16:36:24 +0000 (16:36 +0000)]
* custom.texi (Init File): Reference Find Init to avoid "home
directory" confusion.
Chong Yidong [Wed, 23 Aug 2006 16:19:11 +0000 (16:19 +0000)]
* startup.el (fancy-splash-head): Give instructions for dismissing
the splash screen for default startup too.
(display-startup-echo-area-message, fancy-splash-screens)
(use-fancy-splash-screens-p): New arg hide-on-input. If nil, show
all splash text at once and keep the splash buffer around.
(command-line-1): Give display-startup-echo-area-message a t arg.
Romain Francoise [Wed, 23 Aug 2006 12:16:28 +0000 (12:16 +0000)]
Fix whitespace.
Richard M. Stallman [Wed, 23 Aug 2006 10:49:26 +0000 (10:49 +0000)]
*** empty log message ***
Carsten Dominik [Wed, 23 Aug 2006 10:07:42 +0000 (10:07 +0000)]
(org-follow-gnus-link): Make sure the dedicated
gnus frame is selected.
Carsten Dominik [Wed, 23 Aug 2006 10:07:29 +0000 (10:07 +0000)]
*** empty log message ***
Nick Roberts [Wed, 23 Aug 2006 03:10:02 +0000 (03:10 +0000)]
(gdb-starting): Reset gdb-signalled to nil.
Nick Roberts [Wed, 23 Aug 2006 03:09:36 +0000 (03:09 +0000)]
*** empty log message ***