bpt/emacs.git
13 years agognus.texi (Misc Article): Document gnus-inhibit-images.
Katsumi Yamaoka [Thu, 18 Nov 2010 02:38:03 +0000 (02:38 +0000)]
gnus.texi (Misc Article): Document gnus-inhibit-images.

13 years agognus-html.el: Don't display images if gnus-inhibit-images is non-nil.
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.

13 years agoMerge changes made in Gnus trunk.
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.

13 years agoFix bug #7417 with cursor positioning on 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.

13 years ago* src/xterm.c (get_current_wm_state): Rename from get_current_vm_state.
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.

13 years agoRemove "tiny change"s for Eric Hanchrow
Stefan Monnier [Wed, 17 Nov 2010 15:07:48 +0000 (10:07 -0500)]
Remove "tiny change"s for Eric Hanchrow

13 years ago* lisp/progmodes/python.el (run-python): Explain why we remove the current
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>.

13 years ago* lisp/progmodes/grep.el (grep-regexp-alist): Tighten the regexp.
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

13 years agoshr.el (shr-image-displayer): Protect function against non-existent image source.
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.

13 years agognus-art.el (gnus-inhibit-images): New user option.
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.

13 years agocoding.c (Fset_terminal_coding_system_internal): Fix previous change (set charset...
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).

13 years agoCleanup of window coordinate positioning code.
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.

13 years agomml2015-epg-sign: Use From header.
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.

13 years agoRevert changes in 2010-11-16T19:59:24Z!cyd@stupidchicken.com
Chong Yidong [Tue, 16 Nov 2010 21:47:43 +0000 (16:47 -0500)]
Revert changes in 2010-11-16T19:59:24Z!cyd@stupidchicken.com

13 years ago* src/keyboard.c (make_lispy_position): Fix pixel calculation error in last commit.
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.

13 years ago* lisp/progmodes/octave-mod.el: Rely on elecric-*-modes.
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.

13 years ago* lisp/electric.el (electric-layout-mode): New minor mode.
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.

13 years agoCleanup of window coordinate positioning code.
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.

13 years agoAvoid interpreting file:/foo:/bar URLs via tramp.
Lars Magne Ingebrigtsen [Tue, 16 Nov 2010 13:46:12 +0000 (14:46 +0100)]
Avoid interpreting file:/foo:/bar URLs via tramp.

13 years agoConvert definitions to standard C.
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.

13 years agoAllow gnus-html to register image displayer callbacks.
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.

13 years agoRework how Gnus is supposed to be able to display all the images in HTML.
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.

13 years agognus-agent.el (gnus-agentize): Only do the auto-agentizing if gnus-agent-auto-agentiz...
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.

13 years ago* lisp/emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
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.

13 years ago* src/callproc.c (child_setup): Fix previous change.
Dan Nicolaescu [Mon, 15 Nov 2010 18:11:52 +0000 (10:11 -0800)]
* src/callproc.c (child_setup): Fix previous change.

13 years ago(allout-version): micro increment
Ken Manheimer [Mon, 15 Nov 2010 17:41:33 +0000 (12:41 -0500)]
(allout-version): micro increment

13 years agoRemove config.h include guards.
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.

13 years ago* src/callproc.c (child_setup): Reorder code to simplify #ifdefs.
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.

13 years agoflyspell.el (flyspell-generic-progmode-verify): Make sure to check inside the word...
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).

13 years ago* lib-src/test-distrib.c: Remove include guards for config.h and fcntl.h.
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".

13 years ago* configure.in: Do not check for unconditionally included headers.
Dan Nicolaescu [Mon, 15 Nov 2010 06:39:02 +0000 (22:39 -0800)]
* configure.in: Do not check for unconditionally included headers.

13 years ago* src/process.c: Include <sys/ioctl.h> unconditionally,
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.

13 years ago* src/keyboard.c (pending_malloc_warning): Add const to match
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.

13 years agoClean up src/systty.h macros.
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.

13 years ago* src/data.c (sign_extend_temp, sign_extend_lisp_int): Remove, unused.
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.

13 years agognus-sum.el (gnus-summary-move-article): Fix `while' loop to make it work for two...
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.

13 years agoRepeat 2010-11-14 change to xfns.c for w32 and ns.
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.

13 years agoFix last cons in set_wm_state, remove unused variables.
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.

13 years agoAdd const to array elements.
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.

13 years agoLet the cursorColor X resource set the the cursor face (Bug#7392).
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.

13 years agoRestore clobbered allout.el changes.
Glenn Morris [Sun, 14 Nov 2010 01:55:37 +0000 (17:55 -0800)]
Restore clobbered allout.el changes.

13 years agoChangeLog OCD.
Glenn Morris [Sun, 14 Nov 2010 00:47:07 +0000 (16:47 -0800)]
ChangeLog OCD.

13 years ago(allout-keybindings), (allout-bind-keys), (allout-keybindings-binding),
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.

13 years ago* src/xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.
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.

13 years agoFix compilation on Solaris.
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)

13 years ago* src/s/ms-w32.h (HAVE_TERMIOS_H): Do not undef, not used anymore.
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.

13 years agomule.texi (Fontsets): Fix xref from last change.
Eli Zaretskii [Sat, 13 Nov 2010 20:40:21 +0000 (22:40 +0200)]
mule.texi (Fontsets): Fix xref from last change.

13 years agoFix Atoms and Lisp_Object mixup and related bugs.
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.

13 years ago* src/window.c (Fwindow_use_time): New function.
Martin Rudalics [Sat, 13 Nov 2010 18:49:22 +0000 (13:49 -0500)]
* src/window.c (Fwindow_use_time): New function.

13 years agoFix background-color setting in initial frame (Bug#7373).
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).

13 years agolisp/ChangeLog: Fix last log entry.
Eli Zaretskii [Sat, 13 Nov 2010 13:35:44 +0000 (15:35 +0200)]
lisp/ChangeLog: Fix last log entry.

13 years agoFix and document display of glyphless characters.
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.

13 years ago* net/tramp-compat.el (tramp-compat-line-beginning-position)
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>.

13 years agoDocument count-words-region.
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.

13 years ago* lisp/simple.el (count-words-region): New function.
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

13 years agoChangeLog whitespace.
Glenn Morris [Sat, 13 Nov 2010 03:36:32 +0000 (19:36 -0800)]
ChangeLog whitespace.

13 years agoStandardize some file headers.
Glenn Morris [Sat, 13 Nov 2010 03:34:36 +0000 (19:34 -0800)]
Standardize some file headers.

13 years agoChangeLog fixes.
Glenn Morris [Sat, 13 Nov 2010 03:33:24 +0000 (19:33 -0800)]
ChangeLog fixes.

13 years agoRemove autoload for org-capture-templates
Carsten Dominik [Fri, 12 Nov 2010 22:34:06 +0000 (16:34 -0600)]
Remove autoload for org-capture-templates

13 years ago* lisp/shell.el (shell-dir-cookie-re): New custom variable.
Stefan Monnier [Fri, 12 Nov 2010 14:13:48 +0000 (09:13 -0500)]
* lisp/shell.el (shell-dir-cookie-re): New custom variable.
(shell-dir-cookie-watcher): New function.

13 years ago* lisp/vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
Stefan Monnier [Fri, 12 Nov 2010 13:44:46 +0000 (08:44 -0500)]
* lisp/vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
and compilation-mode.

Fixes: debbugs:7350

13 years ago* lisp/vc/smerge-mode.el (smerge-refine): Choose better default part to
Stefan Monnier [Fri, 12 Nov 2010 13:35:36 +0000 (08:35 -0500)]
* lisp/vc/smerge-mode.el (smerge-refine): Choose better default part to
highlight when one of them is empty.

13 years ago* lisp/skeleton.el (skeleton-newline): New function.
Stefan Monnier [Fri, 12 Nov 2010 13:33:44 +0000 (08:33 -0500)]
* lisp/skeleton.el (skeleton-newline): New function.
(skeleton-internal-1): Use it.
(skeleton-read): Don't use `newline' since it may strip trailing space.

13 years ago* lisp/simple.el (open-line): `newline' may strip trailing space.
Stefan Monnier [Fri, 12 Nov 2010 13:32:02 +0000 (08:32 -0500)]
* lisp/simple.el (open-line): `newline' may strip trailing space.

13 years ago* lisp/international/mule-cmds.el (princ-list): Use mapc.
Kevin Ryde [Fri, 12 Nov 2010 13:28:17 +0000 (08:28 -0500)]
* lisp/international/mule-cmds.el (princ-list): Use mapc.

13 years agoApply XAtom revork patches from Julien Danjou.
Jan Djärv [Fri, 12 Nov 2010 09:31:44 +0000 (10:31 +0100)]
Apply XAtom revork patches from Julien Danjou.

* xsettings.c (init_xsettings): Use already fetch atoms.

* xsmfns.c (create_client_leader_window): Use SM_CLIENT_ID atom
from dpyinfo.

* xselect.c (Fx_send_client_event): Split and create
x_send_client_event.

* lisp.h: Do not EXFUN Fx_send_client_event.

* xterm.c (x_set_frame_alpha): Use _NET_WM_WINDOW_OPACITY atom
from dpyinfo.
(wm_supports): Use atoms from dpyinfo.
(do_ewmh_fullscreen): Use atoms from dpyinfo.
(x_ewmh_activate_frame): Use atoms from dpyinfo.
(xembed_set_info): Use atoms from dpyinfo.
(x_term_init): Fetch _XEMBED_INFO, _NET_SUPPORTED,
_NET_SUPPORTING_WM_CHECK, _NET_WM_WINDOW_OPACITY and
_NET_ACTIVE_WINDOW, XSETTINGS  atoms.
Get all atoms in one round-trip.
(set_wm_state): Use x_send_client_event rather than
Fx_send_client_event, using Atom directly.
(x_ewmh_activate_frame): Ditto.
(x_set_sticky): Pass atoms to set_wm_state.
(do_ewmh_fullscreen): Ditto.

* xterm.h (x_display_info): Add Xatom_net_supported,
Xatom_net_supporting_wm_check, Xatom_net_active_window,
Xatom_net_wm_window_opacity, Xatom_XEMBED_INFO, SM_CLIENT_ID.

* xfns.c (Fx_show_tip): Fix typo in docstring.

13 years agoxfns.c (Fx_show_tip): Fix typo in docstring.
Jan Djärv [Fri, 12 Nov 2010 08:46:21 +0000 (09:46 +0100)]
xfns.c (Fx_show_tip): Fix typo in docstring.

13 years agoFix last change.
Katsumi Yamaoka [Fri, 12 Nov 2010 06:24:47 +0000 (06:24 +0000)]
Fix last change.

13 years agognus-art.el (article-treat-non-ascii): Keep text properties.
Katsumi Yamaoka [Fri, 12 Nov 2010 05:59:53 +0000 (05:59 +0000)]
gnus-art.el (article-treat-non-ascii): Keep text properties.
gnus.texi (Article Washing): Fix typo.

13 years agoFix ob-lisp.el expectation that slime would be available
Carsten Dominik [Fri, 12 Nov 2010 04:36:34 +0000 (22:36 -0600)]
Fix ob-lisp.el expectation that slime would be available

13 years agoInstall org-mode version 7.3
Carsten Dominik [Fri, 12 Nov 2010 04:10:19 +0000 (22:10 -0600)]
Install org-mode version 7.3

13 years ago* lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
Glenn Morris [Fri, 12 Nov 2010 03:23:58 +0000 (19:23 -0800)]
* lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.

13 years agobytecomp trivia.
Glenn Morris [Fri, 12 Nov 2010 03:21:38 +0000 (19:21 -0800)]
bytecomp trivia.

* lisp/emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
Use it to replace all instances of "*Compile-Log*"

13 years agosmime.el (smime-decrypt-region): Doc fix.
Katsumi Yamaoka [Fri, 12 Nov 2010 01:48:39 +0000 (01:48 +0000)]
smime.el (smime-decrypt-region): Doc fix.

13 years ago* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
Stefan Monnier [Fri, 12 Nov 2010 01:35:06 +0000 (20:35 -0500)]
* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
indentation specs.

13 years agoMake mm-dissect-buffer pass sender's mail address to smime-decrypt-region.
Katsumi Yamaoka [Thu, 11 Nov 2010 23:51:05 +0000 (23:51 +0000)]
Make mm-dissect-buffer pass sender's mail address to smime-decrypt-region.

mm-decode.el (mm-dissect-buffer): Pass sender's mail address to smime-decrypt-region using function argument.
mm-decode.el (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
smime.el (smime-decrypt-region): Catch it.

13 years ago* lisp/gnus/smime.el (smime-mode): Use define-derived-mode.
Stefan Monnier [Thu, 11 Nov 2010 22:24:03 +0000 (17:24 -0500)]
* lisp/gnus/smime.el (smime-mode): Use define-derived-mode.
(smime-mode-map): Move initialization into declaration.
(gnus-run-mode-hooks): Don't autoload.

13 years ago* src/cmds.c (Fself_insert_command): Don't call XFASTINT without checking
Stefan Monnier [Thu, 11 Nov 2010 21:11:17 +0000 (16:11 -0500)]
* src/cmds.c (Fself_insert_command): Don't call XFASTINT without checking
it's not negative.

13 years ago* lisp/progmodes/modula2.el: Use SMIE and skeleton.
Stefan Monnier [Thu, 11 Nov 2010 21:06:15 +0000 (16:06 -0500)]
* lisp/progmodes/modula2.el: Use SMIE and skeleton.
(m2-mode-syntax-table): (*..*) can be nested.
Add //...\n.  Fix paren syntax.
(m2-mode-map): Remove LF and TAB bindings.
(m2-indent): Add safety property.
(m2-smie-grammar): New var.
(m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
(m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
(m2-mode): Use define-derived-mode.
(m2-newline, m2-tab): Remove.
(m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
(m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
(m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
(m2-import): Use define-skeleton.
* test/indent/modula2.mod: New file.

13 years ago* doc/misc/msdog.texi (ls in Lisp): Update for ls-lisp.el changes.
Glenn Morris [Thu, 11 Nov 2010 08:41:30 +0000 (00:41 -0800)]
* doc/misc/msdog.texi (ls in Lisp): Update for ls-lisp.el changes.

13 years agols-lisp: get rid of the dreaded "no effect until you restart Emacs".
Glenn Morris [Thu, 11 Nov 2010 08:28:35 +0000 (00:28 -0800)]
ls-lisp: get rid of the dreaded "no effect until you restart Emacs".

* lisp/ls-lisp.el (ls-lisp-set-options): New function.
(ls-lisp-emulation): Use ls-lisp-set-options for custom :set.  Doc fix.

13 years agoesh-opt comments.
Glenn Morris [Thu, 11 Nov 2010 04:11:33 +0000 (20:11 -0800)]
esh-opt comments.

13 years agomailheader.el comments.
Glenn Morris [Thu, 11 Nov 2010 04:10:38 +0000 (20:10 -0800)]
mailheader.el comments.

13 years agoRegenerate tpu-edt autoloads.
Glenn Morris [Thu, 11 Nov 2010 04:09:02 +0000 (20:09 -0800)]
Regenerate tpu-edt autoloads.

13 years ago* lisp/gnus/smime.el (from): Restrict declaration to XEmacs.
Glenn Morris [Thu, 11 Nov 2010 04:07:40 +0000 (20:07 -0800)]
* lisp/gnus/smime.el (from): Restrict declaration to XEmacs.

13 years ago* lisp/gnus/nnir.el (gnus-group-topic-name): Autoload.
Glenn Morris [Thu, 11 Nov 2010 04:05:15 +0000 (20:05 -0800)]
* lisp/gnus/nnir.el (gnus-group-topic-name): Autoload.

13 years agoshr.el (shr-insert): Fix last change.
Katsumi Yamaoka [Thu, 11 Nov 2010 04:01:12 +0000 (04:01 +0000)]
shr.el (shr-insert): Fix last change.

13 years agoMinor ls-lisp changes.
Glenn Morris [Thu, 11 Nov 2010 03:59:04 +0000 (19:59 -0800)]
Minor ls-lisp changes.
* lisp/ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
(ls-lisp-verbosity): Add custom :set-after property.
(ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
(ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
(ls-lisp-insert-directory): Update caller.

13 years agoRemove odd code from kandmark, gomoku.
Glenn Morris [Thu, 11 Nov 2010 03:57:02 +0000 (19:57 -0800)]
Remove odd code from kandmark, gomoku.
* lisp/play/landmark.el (lm-prompt-for-move):
* lisp/play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.

13 years ago* lisp/obsolete/lucid.el: Don't warn about any CL functions in this file.
Glenn Morris [Thu, 11 Nov 2010 03:54:59 +0000 (19:54 -0800)]
* lisp/obsolete/lucid.el: Don't warn about any CL functions in this file.

13 years agoSilence idlw*.el compilation.
Glenn Morris [Thu, 11 Nov 2010 03:53:16 +0000 (19:53 -0800)]
Silence idlw*.el compilation.

* lisp/progmodes/idlw-complete-structtag.el: Remove unused dec `name'.

* lisp/progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
(idlwave-study-twins): Prefix dynamic local variable `name'.
(idlwave-routine-twin-compare): Update for above change.

* lisp/progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
Prefix dynamic local variables `name', `kwd', and `link'.
* lisp/progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
* lisp/progmodes/idlw-complete-structtag.el
(idlwave-complete-structure-tag-help):
* lisp/progmodes/idlwave.el (idlwave-complete-sysvar-help)
(idlwave-complete-sysvar-tag-help)
(idlwave-complete-class-structure-tag-help):
Update for above name changes.

13 years agoshr.el (shr-insert): Don't break long line if it is because of kinsoku-bol characters...
Katsumi Yamaoka [Thu, 11 Nov 2010 03:50:27 +0000 (03:50 +0000)]
shr.el (shr-insert): Don't break long line if it is because of kinsoku-bol characters in the line end.

13 years ago* lisp/erc/erc-lang.el (erc-cmd-LANG): Fix what may have been a typo.
Glenn Morris [Thu, 11 Nov 2010 03:50:20 +0000 (19:50 -0800)]
* lisp/erc/erc-lang.el (erc-cmd-LANG): Fix what may have been a typo.

13 years agolisp/gnus/ChangeLog: Cosmetic fix.
Katsumi Yamaoka [Thu, 11 Nov 2010 02:11:30 +0000 (02:11 +0000)]
lisp/gnus/ChangeLog: Cosmetic fix.

13 years agonnir.el (nnir-request-move-article): fix to provide original group and subject.
Andrew Cohen [Thu, 11 Nov 2010 02:10:07 +0000 (02:10 +0000)]
nnir.el (nnir-request-move-article): fix to provide original group and subject.
nnir.el (nnir-warp-to-article): don't fail on articles whose headers haven't been retrieved.
gnus-sum.el (gnus-summary-move-article): use original group and subject for virtual articles such as those in an nnir summary buffer.

13 years agognus-art.el (article-treat-non-ascii): Make it work for XEmacs (at least 21.5).
Katsumi Yamaoka [Thu, 11 Nov 2010 01:45:05 +0000 (01:45 +0000)]
gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at least 21.5).
smime.el (from): Declare it again for XEmacs.

13 years agolisp/gnus/ChangeLog (2010-11-10): Fix wording.
Katsumi Yamaoka [Wed, 10 Nov 2010 23:57:24 +0000 (23:57 +0000)]
lisp/gnus/ChangeLog (2010-11-10): Fix wording.

13 years agonnimap.el (nnimap-update-info): Fix problem with `g' chopping of low-numbered articles.
Lars Magne Ingebrigtsen [Wed, 10 Nov 2010 23:16:01 +0000 (23:16 +0000)]
nnimap.el (nnimap-update-info): Fix problem with `g' chopping of low-numbered articles.
message.el (message-resend): Don't disable encoding unless it's already encoded.

13 years ago* net/browse-url.el (browse-url-browser-function): Change the
Lars Magne Ingebrigtsen [Wed, 10 Nov 2010 22:27:02 +0000 (23:27 +0100)]
* net/browse-url.el (browse-url-browser-function): Change the
default to use `browse-url-mail' on mailto: URLs.

13 years agoMinor fix to package-archive-contents recalculation.
Chong Yidong [Wed, 10 Nov 2010 21:35:06 +0000 (16:35 -0500)]
Minor fix to package-archive-contents recalculation.

lisp/emacs-lisp/package.el (package-read-all-archive-contents): Reset
package-archive-contents to nil before re-reading.