Michael Albinus [Sat, 20 Nov 2010 13:17:25 +0000 (14:17 +0100)]
Sync with Tramp 2.2.0.
* trampver.texi: Update release number.
Michael Albinus [Sat, 20 Nov 2010 13:12:27 +0000 (14:12 +0100)]
Sync with Tramp 2.2.0.
* net/tramp.el (tramp-handle-insert-file-contents): Don't use
`file-remote-p' (due to compatibility).
* net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
* net/trampver.el: Update release number.
Eli Zaretskii [Sat, 20 Nov 2010 11:52:09 +0000 (13:52 +0200)]
lisp/ChangeLog: Fix entry for bug-querying changes.
Eli Zaretskii [Sat, 20 Nov 2010 11:47:49 +0000 (13:47 +0200)]
faces.el (glyphless-char): Define value for `pc'.
Eli Zaretskii [Sat, 20 Nov 2010 11:45:14 +0000 (13:45 +0200)]
msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the same in-line.
Tassilo Horn [Sat, 20 Nov 2010 11:39:44 +0000 (12:39 +0100)]
* mail/emacsbug.el (report-emacs-bug-tracker-url)
(report-emacs-bug-create-existing-bugs-buffer)
(report-emacs-bug-parse-query-results)
(report-emacs-bug-query-existing-bugs): Implemented a bug querying
mechanism.
Eli Zaretskii [Sat, 20 Nov 2010 11:24:28 +0000 (13:24 +0200)]
msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the same in-line.
Andreas Schwab [Sat, 20 Nov 2010 10:07:00 +0000 (11:07 +0100)]
* src/xfaces.c (lookup_face): Make static.
* src/dispnew.c (copy_row_except_pointers): Likewise.
* src/syntax.c (dec_bytepos): Likewise.
(inc_bytepos): Remove.
* src/dispextern.h (lookup_face): Remove declaration.
Katsumi Yamaoka [Sat, 20 Nov 2010 01:18:17 +0000 (01:18 +0000)]
gnus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
(gnus-gravatar-insert): Put avatar always in the beginning of the field.
Eli Zaretskii [Fri, 19 Nov 2010 16:34:22 +0000 (18:34 +0200)]
Fix bug #6687 with cursor positioning after before-string from overlays.
xdisp.c (set_cursor_from_row): Display cursor after all the
glyphs that come from an overlay. Don't overstep the last glyph
when skipping glyphs from an overlay.
Juanma Barranquero [Fri, 19 Nov 2010 13:25:17 +0000 (14:25 +0100)]
lisp/ldefs-boot.el: Regenerate.
Tassilo Horn [Fri, 19 Nov 2010 11:18:15 +0000 (12:18 +0100)]
* textmodes/reftex-ref.el (reftex-goto-label): If point is inside
a \ref{} or \pageref{} macro, then use its value as initial input.
Katsumi Yamaoka [Fri, 19 Nov 2010 05:11:59 +0000 (05:11 +0000)]
gnus-html.el (gnus-html-prefetch-images): Fix last change.
Katsumi Yamaoka [Fri, 19 Nov 2010 04:55:16 +0000 (04:55 +0000)]
Assume that gnus-inhibit-images may be a group parameter.
gnus-art.el (gnus-mime-display-single)
gnus-html.el (gnus-html-wash-images, gnus-html-prefetch-images)
mm-decode.el (mm-shr): Assume that gnus-inhibit-images may be a group parameter.
Jay Belanger [Fri, 19 Nov 2010 01:14:36 +0000 (19:14 -0600)]
calc.texi (TeX and LaTeX Language Modes, Predefined Units):
calc-units.el (math-build-units-table-buffer):
README: Mention that the TeX specific units won't use the `tex' prefix
in TeX mode.
calc-lang.el (math-variable-table): Don't use the `tex' prefix for
units in TeX mode.
Dan Nicolaescu [Thu, 18 Nov 2010 21:45:03 +0000 (13:45 -0800)]
* src/alloc.c (refill_memory_reserve): Move declaration ...
* src/lisp.h (refill_memory_reserve): ... here.
Dan Nicolaescu [Thu, 18 Nov 2010 21:39:15 +0000 (13:39 -0800)]
* src/strftime.c (_strftime_copytm): Add declaration.
Dan Nicolaescu [Thu, 18 Nov 2010 16:59:12 +0000 (08:59 -0800)]
* src/callproc.c (syms_of_callproc): Use intern_c_string.
Dan Nicolaescu [Thu, 18 Nov 2010 16:57:00 +0000 (08:57 -0800)]
Move declarations from .c files to .h files.
* src/process.c (timers_run):
* src/minibuf.c (quit_char):
* src/lread.c (read_emacs_mule_char):
* src/keyboard.c (minibuf_level, message_enable_multibyte)
(pending_malloc_warning):
* src/insdel.c (Vselect_active_regions, Vsaved_region_selection)
(Qonly): Remove declarations.
* src/lisp.h (pending_malloc_warning, Vsaved_region_selection)
(Vselect_active_regions):
* src/keyboard.h (timers_run): Add declarations.
Dan Nicolaescu [Thu, 18 Nov 2010 16:49:30 +0000 (08:49 -0800)]
Convert definitions to standard C.
* src/strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r)
(tm_diff): Convert definitions to standard C.
(extra_args_spec_iso): Remove, unused.
Lars Magne Ingebrigtsen [Thu, 18 Nov 2010 06:34:02 +0000 (06:34 +0000)]
shr.el: Allow customizing the vertical table lines.
shr.el (shr-table-horizontal-line): Renamed from shr-table-line.
(shr-table-vertical-line): New variable.
(shr-insert-table): Use it.
Stefan Monnier [Thu, 18 Nov 2010 03:54:14 +0000 (22:54 -0500)]
Merge from emacs-23
Stefan Monnier [Thu, 18 Nov 2010 03:44:35 +0000 (22:44 -0500)]
* comint.el (comint-kill-region): Fix last change.
Stefan Monnier [Thu, 18 Nov 2010 03:02:15 +0000 (22:02 -0500)]
* lisp/textmodes/rst.el: Minor cleanup to improve style.
(rst-get-decoration): Eliminate unneeded assignment.
(rst-update-section, rst-promote-region, rst-straighten-decorations)
(rst-section-tree, rst-adjust): Use point-marker.
(rst-toc-mode-mouse-goto): Avoid setq.
(rst-shift-region-guts, rst-shift-region-left)
(rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
(rst-convert-bullets-to-enumeration): Use copy-marker.
Stefan Monnier [Thu, 18 Nov 2010 02:44:44 +0000 (21:44 -0500)]
* lisp/minibuffer.el (completion-fail-discreetly): New var.
(completion--do-completion): Use it.
Stefan Monnier [Thu, 18 Nov 2010 02:43:42 +0000 (21:43 -0500)]
* lisp/electric.el (electric-pair-pairs): New var.
(electric-pair-post-self-insert-function): Use it.
(electric-layout-post-self-insert-function): Don't insert a before
newline unless it's actually needed.
Katsumi Yamaoka [Thu, 18 Nov 2010 02:38:03 +0000 (02:38 +0000)]
gnus.texi (Misc Article): Document gnus-inhibit-images.
Stefan Monnier [Thu, 18 Nov 2010 02:09:41 +0000 (21:09 -0500)]
Make the yank-handler argument obsolete.
* simple.el (kill-new, kill-append, kill-region):
* comint.el (comint-kill-region): Make the yank-handler argument obsolete.
Katsumi Yamaoka [Thu, 18 Nov 2010 02:00:00 +0000 (02:00 +0000)]
gnus-html.el: Don't display images if gnus-inhibit-images is non-nil.
(gnus-html-wash-images): Don't display images if gnus-inhibit-images is non-nil; register displayer for cid images.
(gnus-html-display-image): Work for cid image.
(gnus-html-insert-image): Allow arguments.
(gnus-html-put-image): Inhibit read-only.
(gnus-html-prefetch-images): Don't prefetch images if gnus-inhibit-images is non-nil.
Gnus developers [Wed, 17 Nov 2010 22:15:24 +0000 (22:15 +0000)]
Merge changes made in Gnus trunk.
nnir.el (nnir-run-imap): Order the article list separately for each group.
shr.el (shr-put-image): Break lines when inserting big pictures.
mml2015.el (mml2015-epg-encrypt): Fix two cons with missing sender.
Stefan Monnier [Wed, 17 Nov 2010 19:59:16 +0000 (14:59 -0500)]
* emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
that are both openers (resp. closers) and something else.
(smie-grammar): Loosen definition of valid values.
(smie-next-sexp, smie-down-list, smie-blink-matching-open)
(smie-indent--parent, smie-rule-parent, smie-indent-keyword)
(smie-indent-after-keyword): Adjust users.
(smie-indent-keyword): Don't indent empty lines.
Eli Zaretskii [Wed, 17 Nov 2010 19:15:24 +0000 (21:15 +0200)]
Fix bug #7417 with cursor positioning on empty lines.
xdisp.c (set_cursor_from_row): Fix cursor positioning in empty
lines on text-mode terminals.
Stefan Monnier [Wed, 17 Nov 2010 15:12:02 +0000 (10:12 -0500)]
* src/xterm.c (get_current_wm_state): Rename from get_current_vm_state.
(do_ewmh_fullscreen, x_handle_net_wm_state): Update callers.
Stefan Monnier [Wed, 17 Nov 2010 15:07:48 +0000 (10:07 -0500)]
Remove "tiny change"s for Eric Hanchrow
Stefan Monnier [Wed, 17 Nov 2010 15:00:16 +0000 (10:00 -0500)]
* lisp/progmodes/python.el (run-python): Explain why we remove the current
directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
Stefan Monnier [Wed, 17 Nov 2010 14:54:15 +0000 (09:54 -0500)]
* lisp/progmodes/grep.el (grep-regexp-alist): Tighten the regexp.
Fixes: debbugs:7378
Stefan Monnier [Wed, 17 Nov 2010 14:34:28 +0000 (09:34 -0500)]
* vc-hg.el (vc-hg-program): New var.
Suggested by Norman Gray <norman@astro.gla.ac.uk>.
(vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
Katsumi Yamaoka [Wed, 17 Nov 2010 08:28:15 +0000 (08:28 +0000)]
shr.el (shr-image-displayer): Protect function against non-existent image source.
Katsumi Yamaoka [Wed, 17 Nov 2010 07:22:19 +0000 (07:22 +0000)]
gnus-art.el (gnus-inhibit-images): New user option.
* gnus-art.el (gnus-inhibit-images): New user option.
(gnus-mime-display-single): Don't display image if it is non-nil.
* mm-decode.el (mm-shr): Bind shr-inhibit-images to the value of
gnus-inhibit-images.
* shr.el (shr-image-displayer): New function.
(shr-tag-img): Use it.
Kenichi Handa [Wed, 17 Nov 2010 05:51:09 +0000 (14:51 +0900)]
coding.c (Fset_terminal_coding_system_internal): Fix previous change (set charset-ID list instead of charset-symbol list).
Glenn Morris [Wed, 17 Nov 2010 03:47:16 +0000 (19:47 -0800)]
autoload.el fix for bug#7414.
* lisp/emacs-lisp/autoload.el (autoload-find-destination): The
function coding-system-eol-type may return non-numeric values.
Chong Yidong [Wed, 17 Nov 2010 02:37:45 +0000 (21:37 -0500)]
Cleanup of window coordinate positioning code.
Now, text area click input events measure Y from the top of the text
area, excluding the header line if any.
* src/dispnew.c (buffer_posn_from_coords): Assume that X counts from
the start of the text area.
* src/keyboard.c (make_lispy_position): For text area clicks, record Y
pixel position relative to the text area, excluding header line.
Also change X and Y to Lisp_Objects, not pointers; don't return
coordinate values via pointers. Pass ON_TEXT_AREA coordinate to
buffer_posn_from_coords counting from the start of the text area.
(Fposn_at_x_y, make_lispy_event): Callers changed.
* src/w32term.c (w32_read_socket):
* src/msdos.c (dos_rawgetc):
* src/xterm.c (handle_one_xevent): Likewise.
* src/window.c (coordinates_in_window): Change X and Y to ints rather
than pointers; don't return coordinates via pointers.
(struct check_window_data): Change X and Y from pointers to ints.
(window_from_coordinates): Remove args WX and WY; don't return
coordinates via pointers.
(Fcoordinates_in_window_p, window_from_coordinates):
(check_window_containing, Fwindow_at): Callers changed.
(window_relative_x_coord): New function.
* src/window.h (window_from_coordinates, window_relative_x_coord):
Update prototypes.
* src/xdisp.c (remember_mouse_glyph): Change window_from_coordinates
call. Use window_relative_x_coord.
(note_mouse_highlight): Change window_from_coordinates call.
Daniel Dehennin [Tue, 16 Nov 2010 23:05:02 +0000 (23:05 +0000)]
mml2015-epg-sign: Use From header.
mml2015.el (mml2015-epg-sign): New variable 'sender' is
(message-options-get 'message-sender) and append it to mml2015-signers.
If mm-sign-option is not 'guided, mml2015-signers and sender sign the mail.
Chong Yidong [Tue, 16 Nov 2010 21:47:43 +0000 (16:47 -0500)]
Revert changes in 2010-11-16T19:59:24Z!cyd@stupidchicken.com
Chong Yidong [Tue, 16 Nov 2010 21:38:37 +0000 (16:38 -0500)]
* src/keyboard.c (make_lispy_position): Fix pixel calculation error in last commit.
Stefan Monnier [Tue, 16 Nov 2010 21:19:34 +0000 (16:19 -0500)]
* lisp/progmodes/octave-mod.el: Rely on elecric-*-modes.
(octave-mode-map): Don't bind ;, SPC, and LF.
(octave-auto-indent, octave-auto-newline): Remove.
(electric-layout-rules): Declare.
(octave-mode): Set electric-layout-rules.
(octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
(octave-reindent-then-newline-and-indent, octave-electric-semi)
(octave-electric-space): Remove.
Stefan Monnier [Tue, 16 Nov 2010 21:14:46 +0000 (16:14 -0500)]
* lisp/electric.el (electric-layout-mode): New minor mode.
(electric--after-char-pos): New function.
(electric-indent-post-self-insert-function): Use it.
(electric-layout-rules): New var.
(electric-layout-post-self-insert-function): New function.
(electric-indent-mode): Make them interact better.
Ulrich Mueller [Tue, 16 Nov 2010 20:09:47 +0000 (15:09 -0500)]
* lisp/server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
Chong Yidong [Tue, 16 Nov 2010 19:59:24 +0000 (14:59 -0500)]
Cleanup of window coordinate positioning code.
Now, text area click input events measure Y from the top of the text
area, excluding the header line if any.
* src/dispnew.c (buffer_posn_from_coords): Assume that X counts from
the start of the text area.
* src/keyboard.c (make_lispy_position): For text area clicks, record Y
pixel position relative to the text area, excluding header line.
Also change X and Y to Lisp_Objects, not pointers; don't return
coordinate values via pointers. Pass ON_TEXT_AREA coordinate to
buffer_posn_from_coords counting from the start of the text area.
(Fposn_at_x_y, make_lispy_event): Callers changed.
* src/w32term.c (w32_read_socket):
* src/msdos.c (dos_rawgetc):
* src/xterm.c (handle_one_xevent): Likewise.
* src/window.c (coordinates_in_window): Change X and Y to ints rather
than pointers; don't return coordinates via pointers.
(struct check_window_data): Change X and Y from pointers to ints.
(window_from_coordinates): Remove args WX and WY; don't return
coordinates via pointers.
(Fcoordinates_in_window_p, window_from_coordinates):
(check_window_containing, Fwindow_at): Callers changed.
(window_relative_x_coord): New function.
* src/window.h (window_from_coordinates, window_relative_x_coord):
Update prototypes.
* src/xdisp.c (remember_mouse_glyph): Change window_from_coordinates
call. Use window_relative_x_coord.
(note_mouse_highlight): Change window_from_coordinates call.
Lars Magne Ingebrigtsen [Tue, 16 Nov 2010 13:46:12 +0000 (14:46 +0100)]
Avoid interpreting file:/foo:/bar URLs via tramp.
Dan Nicolaescu [Tue, 16 Nov 2010 06:44:51 +0000 (22:44 -0800)]
Convert definitions to standard C.
* src/strftime.c (LOCALE_PARAM_DECL): Update for standard C.
(LOCALE_PARAM, LOCALE_PARAM_PROTO): Remove, unused.
(memcpy_lowcase, so_week_days, extra_args_spec, emacs_strftimeu):
Convert definitions to standard C.
* src/regex.c: Do not include <stdlib.h>, config.h does it.
Include unistd.h.
(xrealloc, init_syntax_once, re_match, regcomp, regexec)
(regerror, regfree): Convert definitions to standard C.
* src/mktime.c (my_mktime_localtime_r, ydhms_tm_diff, ranged_convert)
(__mktime_internal): Convert definitions to standard C.
Lars Magne Ingebrigtsen [Tue, 16 Nov 2010 00:04:25 +0000 (00:04 +0000)]
Allow gnus-html to register image displayer callbacks.
gnus-html.el (gnus-html-wash-images): Register a displayer.
gnus-util.el (gnus-find-text-property-region): Return markers.
Lars Magne Ingebrigtsen [Mon, 15 Nov 2010 23:45:55 +0000 (23:45 +0000)]
Rework how Gnus is supposed to be able to display all the images in HTML.
shr.el (shr-tag-img): Put a displayer in the text property.
gnus-util.el (gnus-find-text-property-region): New utility function.
gnus-html.el (gnus-html-display-image): Make the alt optional.
gnus-html.el (gnus-html-show-images): Remove.
gnus-art.el (gnus-article-show-images): New, more general function.
gnus-html.el, shr.el: Use image-url instead of gnus-image-url to unify the image url text properties.
Lars Magne Ingebrigtsen [Mon, 15 Nov 2010 22:12:43 +0000 (22:12 +0000)]
gnus-agent.el (gnus-agentize): Only do the auto-agentizing if gnus-agent-auto-agentize-methods is set. Which it isn't.
Stefan Monnier [Mon, 15 Nov 2010 21:40:30 +0000 (16:40 -0500)]
* lisp/emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
(checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
(checkdoc-proper-noun-region-engine): Use with-syntax-table.
Dan Nicolaescu [Mon, 15 Nov 2010 18:11:52 +0000 (10:11 -0800)]
* src/callproc.c (child_setup): Fix previous change.
Ken Manheimer [Mon, 15 Nov 2010 17:41:33 +0000 (12:41 -0500)]
(allout-version): micro increment
Dan Nicolaescu [Mon, 15 Nov 2010 17:21:18 +0000 (09:21 -0800)]
Remove config.h include guards.
* src/w32proc.c:
* src/w32inevt.c:
* src/w32heap.c:
* src/w32.c: Remove config.h include guards.
Dan Nicolaescu [Mon, 15 Nov 2010 17:11:08 +0000 (09:11 -0800)]
* src/callproc.c (child_setup): Reorder code to simplify #ifdefs.
No code changes.
Agustín Martín [Mon, 15 Nov 2010 12:27:33 +0000 (13:27 +0100)]
flyspell.el (flyspell-generic-progmode-verify): Make sure to check inside the word (Bug#6761).
Dan Nicolaescu [Mon, 15 Nov 2010 06:42:21 +0000 (22:42 -0800)]
* lib-src/test-distrib.c: Remove include guards for config.h and fcntl.h.
(O_RDONLY): Do not define.
(cool_read): Fix type for variable "sofar".
Dan Nicolaescu [Mon, 15 Nov 2010 06:39:02 +0000 (22:39 -0800)]
* configure.in: Do not check for unconditionally included headers.
Dan Nicolaescu [Mon, 15 Nov 2010 06:27:41 +0000 (22:27 -0800)]
* src/process.c: Include <sys/ioctl.h> unconditionally,
keyboard.c already does it.
Dan Nicolaescu [Mon, 15 Nov 2010 06:18:50 +0000 (22:18 -0800)]
* src/keyboard.c (pending_malloc_warning): Add const to match
definition in alloc.c.
(Fset_input_interrupt_mode): Simplify #ifdefs.
Dan Nicolaescu [Mon, 15 Nov 2010 06:10:35 +0000 (22:10 -0800)]
Clean up src/systty.h macros.
* systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP, EMACS_GET_TTY)
(EMACS_SET_TTY): Remove unneeded abstraction, instead inline the
definition in all uses.
(EMACS_TTY_TABS_OK): Remove, it has a single user.
* src/sysdep.c (discard_tty_input, child_setup_tty)
(init_sys_modes, tabs_safe_p, reset_sys_modes):
* src/emacs.c (shut_down_emacs):
* src/callproc.c (child_setup):
* src/term.c (dissociate_if_controlling_tty): Inline removed macros.
Dan Nicolaescu [Mon, 15 Nov 2010 05:52:58 +0000 (21:52 -0800)]
* src/data.c (sign_extend_temp, sign_extend_lisp_int): Remove, unused.
Katsumi Yamaoka [Mon, 15 Nov 2010 02:40:42 +0000 (02:40 +0000)]
gnus-sum.el (gnus-summary-move-article): Fix `while' loop to make it work for two or more articles.
Chong Yidong [Sun, 14 Nov 2010 19:58:24 +0000 (14:58 -0500)]
Repeat 2010-11-14 change to xfns.c for w32 and ns.
* w32fns.c (Fx_create_frame):
* nsfns.m (Fx_create_frame): Don't check for the cursorColor
resource here; it's now done at startup.
Jan D [Sun, 14 Nov 2010 11:47:31 +0000 (12:47 +0100)]
Fix link error on Fedora 14: newer GConf don't use g_type_*.
Forgot to save ChangeLog for previous change.
Jan D [Sun, 14 Nov 2010 11:46:00 +0000 (12:46 +0100)]
Fix link error on Fedora 14: newer GConf don't use g_type_*.
* configure.in (HAVE_GCONF): Check for g_type_init if GConf is found.
* src/config.in (HAVE_G_TYPE_INIT): New symbol.
* src/xsettings.c (init_gconf): Check HAVE_G_TYPE_INIT.
Jan D [Sun, 14 Nov 2010 10:21:16 +0000 (11:21 +0100)]
Fix last cons in set_wm_state, remove unused variables.
* src/xselect.c (x_send_client_event): Remove unused variables cons and
size.
* src/xterm.c (set_wm_state): Add Qnil to final cons.
YAMAMOTO Mitsuharu [Sun, 14 Nov 2010 06:55:27 +0000 (15:55 +0900)]
Add const to array elements.
* keyboard.c (modify_event_symbol) : Add const to array elements of arg NAME_TABLE.
(lispy_accent_keys, lispy_function_keys, lispy_multimedia_keys)
(lispy_kana_keys, iso_lispy_function_keys, lispy_wheel_names)
(lispy_wheel_names, lispy_drag_n_drop_names, modifier_names):
Add const to array elements.
(scroll_bar_parts): Make static. Fix position of const.
* w32fns.c (lispy_function_keys): Add const to extern.
* w32inevt.c (lispy_function_keys): Likewise.
Chong Yidong [Sun, 14 Nov 2010 02:09:11 +0000 (21:09 -0500)]
Let the cursorColor X resource set the the cursor face (Bug#7392).
* lisp/startup.el (command-line): If the cursorColor resource is set,
change the cursor face-spec (Bug#7392).
* src/xfns.c (Fx_create_frame): Don't check for the cursorColor
resource here; it's now done at startup.
Glenn Morris [Sun, 14 Nov 2010 01:55:37 +0000 (17:55 -0800)]
Restore clobbered allout.el changes.
Glenn Morris [Sun, 14 Nov 2010 00:47:07 +0000 (16:47 -0800)]
ChangeLog OCD.
Ken Manheimer [Sat, 13 Nov 2010 22:30:10 +0000 (17:30 -0500)]
(allout-keybindings), (allout-bind-keys), (allout-keybindings-binding),
allout-prefixed-keybindings, allout-unprefixed-keybindings,
allout-preempt-trailing-ctrl-h, allout-keybindings-list,
allout-mode-map-adjustments, (allout-setup-mode-map):
Establish allout-mode keymaps as user customizable settings, and also
establish a customizable setting which regulates whether or not a trailing
control-h is reserved for use with describe-prefix-bindings - and inihibit
it by default, so that control-h *is* reserved for
describe-prefix-bindings unless the user changes this setting.
(allout-hotspot-key-handler): Distinguish more explicitly and accurately
between modified and unmodified events, and handle modified events more
comprehensively.
(allout-substring-no-properties): Alias to use or provide version of
'substring-no-properties'.
(allout-solicit-alternate-bullet): Use 'allout-substring-no-properties'.
(allout-next-single-char-property-change): Alias to use or provide version
of 'next-single-char-property-change'.
(allout-annotate-hidden), (allout-hide-by-annotation): Use 'allout-next-single-char-property-change'.
(allout-select-safe-coding-system): Alias to use or provide version of
'select-safe-coding-system'.
(allout-toggle-subtree-encryption): Use 'allout-select-safe-coding-system'.
(allout-set-buffer-multibyte): Alias to use or provide version of
'set-buffer-multibyte'.
(allout-encrypt-string): Use 'allout-set-buffer-multibyte'.
(allout-called-interactively-p): Macro for using the different versions of
called-interactively-p identically, depending on the subroutine's argument
signature.
(allout-back-to-current-heading), (allout-beginning-of-current-entry)
- use '(interactive "p")' instead of '(called-interactively-p)'.
(allout-init), (allout-ascend), (allout-end-of-level),
(allout-previous-visible-heading), (allout-forward-current-level),
(allout-backward-current-level), (allout-show-children)
- use '(allout-called-interactively-p)' instead of '(called-interactively-p)'.
(allout-before-change-handler): Exempt edits to the (overlaid) character
after the allout outline bullet from edit confirmation prompt.
(allout-add-resumptions): Ensure that it respects correct buffer for
keybindings.
(allout-beginning-of-line): Use
'allout-previous-single-char-property-change' alias for the sake of diverse
compatibility.
(allout-end-of-line): Use 'allout-mark-active-p' to encapsulate respect
for mark activity.
substitute "???" for "XXX" for non-urgent comment remarks.
Dan Nicolaescu [Sat, 13 Nov 2010 22:20:01 +0000 (14:20 -0800)]
* src/xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.
Dan Nicolaescu [Sat, 13 Nov 2010 22:17:22 +0000 (14:17 -0800)]
Fix compilation on Solaris.
* src/sysdep.c: Do not #include <term.h>.
(tputs): Add declaration, similar to what cm.c does. (Bug#7178)
Dan Nicolaescu [Sat, 13 Nov 2010 22:10:34 +0000 (14:10 -0800)]
* src/s/ms-w32.h (HAVE_TERMIOS_H): Do not undef, not used anymore.
Eli Zaretskii [Sat, 13 Nov 2010 21:59:28 +0000 (23:59 +0200)]
Document 2010-05-10T02:20:00Z!rgm@gnu.org as an incompatible change in posn-col-row.
Eli Zaretskii [Sat, 13 Nov 2010 21:07:58 +0000 (23:07 +0200)]
subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
Chong Yidong [Sat, 13 Nov 2010 21:01:10 +0000 (16:01 -0500)]
Fix picture-mouse-set-point calculation (Bug#7390).
* lisp/textmodes/picture.el (picture-mouse-set-point): Don't use
posn-col-row; explicitly compute the motion based on the posn at
the window-start (Bug#7390).
Eli Zaretskii [Sat, 13 Nov 2010 20:40:21 +0000 (22:40 +0200)]
mule.texi (Fontsets): Fix xref from last change.
Jan D [Sat, 13 Nov 2010 18:59:28 +0000 (19:59 +0100)]
Fix Atoms and Lisp_Object mixup and related bugs.
* src/xselect.c (x_send_client_event): Move CHECK_STRING ...
(Fx_send_client_event): to here.
* src/xterm.c (set_wm_state): Don't put Atom in cons, call
make_fixnum_or_float on them first.
(x_term_init): Initialize Xatom_net_supporting_wm_check and
Xatom_net_supported correctly.
Martin Rudalics [Sat, 13 Nov 2010 18:49:22 +0000 (13:49 -0500)]
* src/window.c (Fwindow_use_time): New function.
Chong Yidong [Sat, 13 Nov 2010 18:34:02 +0000 (13:34 -0500)]
Fix background-color setting in initial frame (Bug#7373).
* lisp/frame.el (frame-notice-user-settings): Don't clobber other
user-set parameters when calling face-set-after-frame-default in
response to background-color parameter (Bug#7373).
Dan Nicolaescu [Sat, 13 Nov 2010 17:22:52 +0000 (12:22 -0500)]
Backport fix for Bug#6170 from trunk.
Fix alloca definition when using gcc on non-gnu systems.
* configure.in: Use the code sequence indicated by "info autoconf"
for alloca (bug#6170).
Eli Zaretskii [Sat, 13 Nov 2010 13:35:44 +0000 (15:35 +0200)]
lisp/ChangeLog: Fix last log entry.
Eli Zaretskii [Sat, 13 Nov 2010 13:29:31 +0000 (15:29 +0200)]
Fix and document display of glyphless characters.
src/xdisp.c (set_cursor_from_row): Fix cursor positioning on
zero-width characters.
(syms_of_xdisp) <glyphless-char-display>: Doc fix.
src/.gdbinit (pgx): Adapt to latest changes in `struct glyph'.
src/w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the
box before drawing the glyphs inside it.
src/dispextern.h (enum glyphless_display_method): Rename
GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE. All
users changed.
src/term.c (append_glyphless_glyph, produce_glyphless_glyph): Fix
comments.
(produce_glyphless_glyph): Enclose "U+nnnn" and "empty box"
whitespace in "[]", to simulate a box. Don't use uninitialized
variable `width'.
lisp/international/characters.el (glyphless-char-display-control):
Renamed from glyphless-char-control; all users changed. Doc fix.
Signal an error if display method is not one of the recognized
symbols.
doc/emacs/rmail.texi (Rmail Coding): Characters with no fonts are not
necessarily displayed as empty boxes.
doc/emacs/mule.texi (Language Environments, Fontsets): Characters with no
fonts are not necessarily displayed as empty boxes.
doc/emacs/display.texi (Text Display): Document display of glyphless
characters.
doc/lispref/display.texi (Usual Display): Characters with no fonts are not
necessarily displayed as empty boxes.
etc/NEWS: Document display of glyphless characters.
Michael Albinus [Sat, 13 Nov 2010 10:42:32 +0000 (11:42 +0100)]
* net/tramp-compat.el (tramp-compat-line-beginning-position)
(tramp-compat-line-end-position): Remove them.
* net/tramp.el (tramp-parse-rhosts-group)
(tramp-parse-shosts-group, tramp-parse-sconfig-group)
(tramp-parse-hosts-group, tramp-parse-passwd-group)
(tramp-parse-netrc-group, tramp-parse-putty-group)
* net/tramp-cmds.el (tramp-append-tramp-buffers)
* net/tramp-sh.el (tramp-do-file-attributes-with-ls)
(tramp-sh-handle-file-selinux-context)
(tramp-sh-handle-file-name-all-completions)
(tramp-sh-handle-insert-directory)
(tramp-sh-handle-expand-file-name, tramp-find-executable)
(tramp-wait-for-output, tramp-send-command-and-read)
* net/tramp-smb.el (tramp-smb-read-file-entry)
(tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
* net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
`point-at-bol'.
(tramp-remote-coding-commands): Add an alternative using "base64
-d -i". This is needed for older base64 versions from GNU
coreutils. Reported by Klaus Reichl
<Klaus.Reichl@thalesgroup.com>.
Michael Albinus [Sat, 13 Nov 2010 10:08:21 +0000 (11:08 +0100)]
* net/tramp.el (tramp-remote-coding-commands): Add an alternative
using "base64 -d -i". This is needed for older base64 versions
from GNU coreutils. Reported by Klaus Reichl
<Klaus.Reichl@thalesgroup.com>.
This must not be merged with the trunk.
Glenn Morris [Sat, 13 Nov 2010 09:16:18 +0000 (01:16 -0800)]
* lisp/novice.el (disabled-command-function): Fix 2009-11-15 change. (Bug#7384)
Glenn Morris [Sat, 13 Nov 2010 03:48:16 +0000 (19:48 -0800)]
Document count-words-region.
* doc/emacs/basic.texi (Position Info): Add M-x count-words-region.
* doc/lispintro/emacs-lisp-intro.texi: Rename the `count-words-region' example,
since there is now a standard command of that name.
* etc/NEWS: Mention it.
Hrvoje Niksic [Sat, 13 Nov 2010 03:46:00 +0000 (19:46 -0800)]
* lisp/simple.el (count-words-region): New function.
From: http://lists.gnu.org/archive/html/emacs-devel/2006-09/msg01029.html
Glenn Morris [Sat, 13 Nov 2010 03:36:32 +0000 (19:36 -0800)]
ChangeLog whitespace.
Glenn Morris [Sat, 13 Nov 2010 03:34:36 +0000 (19:34 -0800)]
Standardize some file headers.
Glenn Morris [Sat, 13 Nov 2010 03:33:24 +0000 (19:33 -0800)]
ChangeLog fixes.
Carsten Dominik [Fri, 12 Nov 2010 22:34:06 +0000 (16:34 -0600)]
Remove autoload for org-capture-templates
Eli Zaretskii [Fri, 12 Nov 2010 17:03:57 +0000 (19:03 +0200)]
customize.texi (Composite Types): Lower-case index entry.
Eli Zaretskii [Fri, 12 Nov 2010 16:42:12 +0000 (18:42 +0200)]
The `fixes' attribute does show in `bzr log'.