]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years agoTry to use "gpg2" if "gpg" isn't available.
Daiki Ueno [Sun, 24 Oct 2010 03:12:17 +0000 (12:12 +0900)]
Try to use "gpg2" if "gpg" isn't available.

* epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
executable is not available on the system (Bug#7268).

14 years agoSync docs of selection-coding-system between C and Lisp.
Glenn Morris [Sun, 24 Oct 2010 02:22:43 +0000 (19:22 -0700)]
Sync docs of selection-coding-system between C and Lisp.
* src/w16select.c (syms_of_win16select) <selection-coding-system>:
* src/w32select.c (syms_of_w32select) <selection-coding-system>:
Sync docs with select.el.
* lisp/select.el (selection-coding-system): Sync doc with C versions.

14 years agoSync Lisp and C docs of next-selection-coding-system.
Glenn Morris [Sun, 24 Oct 2010 02:13:37 +0000 (19:13 -0700)]
Sync Lisp and C docs of next-selection-coding-system.

* src/w16select.c (syms_of_win16select) <next-selection-coding-system>:
* src/w32select.c (syms_of_w32select) <next-selection-coding-system>:
Sync docs with select.el.
* lisp/select.el (next-selection-coding-system): Sync doc with C versions.

14 years agoReduce duplicate definitions of x-select-enable-clipboard from 3 to 2.
Glenn Morris [Sun, 24 Oct 2010 01:57:21 +0000 (18:57 -0700)]
Reduce duplicate definitions of x-select-enable-clipboard from 3 to 2.

* lisp/w32-vars.el (x-select-enable-clipboard):
* lisp/term/x-win.el (x-select-enable-clipboard): Move to common-win.
* lisp/term/common-win.el (x-select-enable-clipboard): Move here.

14 years agoRemove duplicate definition of tty-defined-color-alist.
Glenn Morris [Sun, 24 Oct 2010 01:48:39 +0000 (18:48 -0700)]
Remove duplicate definition of tty-defined-color-alist.

* src/xfaces.c (syms_of_xfaces) <tty-defined-color-alist>: Sync doc with
Lisp version.
* lisp/term/tty-colors.el (tty-defined-color-alist): Remove duplicate
definition of C variable.

14 years agoSync X and MS-Windows docs for x-use-underline-position-properties.
Glenn Morris [Sun, 24 Oct 2010 01:22:37 +0000 (18:22 -0700)]
Sync X and MS-Windows docs for x-use-underline-position-properties.
* src/w32term.c (syms_of_w32term) <x-use-underline-position-properties>:
Sync doc with the xterm.c version.

14 years agoSync X and MS-Windows docs of x-toolkit-scroll-bars.
Glenn Morris [Sun, 24 Oct 2010 01:15:43 +0000 (18:15 -0700)]
Sync X and MS-Windows docs of x-toolkit-scroll-bars.
* src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
* src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs.

14 years agoAvoid redefining some C defcustoms.
Glenn Morris [Sun, 24 Oct 2010 00:58:22 +0000 (17:58 -0700)]
Avoid redefining some C defcustoms.

* lisp/frame.el (show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Don't redefine things that are defined in C.
* lisp/cus-start.el: Also handle :risky, :safe, :set, and :tag.
(show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Set up the appropriate custom properties.

14 years agognus-group.el (gnus-group-completing-read): Remove all newlines from group names...
Lars Magne Ingebrigtsen [Sun, 24 Oct 2010 00:29:21 +0000 (00:29 +0000)]
gnus-group.el (gnus-group-completing-read): Remove all newlines from group names.  They mess up the group buffer badly.
shr.el (shr-tag-strong): Added.

14 years agoBind "C-c ]" to block-closing commands in several modes.
Chong Yidong [Sun, 24 Oct 2010 00:21:59 +0000 (20:21 -0400)]
Bind "C-c ]" to block-closing commands in several modes.

Bind "C-c ]" to ...
* progmodes/f90.el (f90-mode-map): ... f90-insert-end.
* nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
* textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
* textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.

14 years ago* lisp/textmodes/flyspell.el (flyspell-mode): If there was an error,
Glenn Morris [Sat, 23 Oct 2010 21:58:18 +0000 (14:58 -0700)]
* lisp/textmodes/flyspell.el (flyspell-mode): If there was an error,
say what it was.

Otherwise someone is going to report the same meaningless bug for the
rest of time.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5574
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5576
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7272

14 years ago* src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.
Glenn Morris [Sat, 23 Oct 2010 21:21:49 +0000 (14:21 -0700)]
* src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.

14 years ago* src/xdisp.c (syms_of_xdisp) <hourglass-delay>: Sync doc with Lisp.
Glenn Morris [Sat, 23 Oct 2010 21:19:02 +0000 (14:19 -0700)]
* src/xdisp.c (syms_of_xdisp) <hourglass-delay>: Sync doc with Lisp.

14 years ago* src/xdisp.c (syms_of_xdisp) <display-hourglass>: Sync doc with Lisp.
Glenn Morris [Sat, 23 Oct 2010 21:16:39 +0000 (14:16 -0700)]
* src/xdisp.c (syms_of_xdisp) <display-hourglass>: Sync doc with Lisp.

14 years agoSync docs of cursor-in-non-selected-windows between Lisp and C.
Glenn Morris [Sat, 23 Oct 2010 21:13:39 +0000 (14:13 -0700)]
Sync docs of cursor-in-non-selected-windows between Lisp and C.

* lisp/frame.el (cursor-in-non-selected-windows): Sync doc with C version.
* src/buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>:
Sync doc with Lisp version.

14 years agoSync docs of C and Lisp version of auto-hscroll-mode.
Glenn Morris [Sat, 23 Oct 2010 21:02:44 +0000 (14:02 -0700)]
Sync docs of C and Lisp version of auto-hscroll-mode.

* lisp/frame.el (auto-hscroll-mode): Sync doc with C version.
* src/xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Sync doc with Lisp.

14 years agoMake all copies of xw-defined-colors have identical docs.
Glenn Morris [Sat, 23 Oct 2010 20:43:59 +0000 (13:43 -0700)]
Make all copies of xw-defined-colors have identical docs.
* lisp/term/ns-win.el (xw-defined-colors):
* lisp/term/x-win.el (xw-defined-colors): Make docs identical to w32-win.

14 years agoMake all 3 copies of x-select-enable-clipboard have the same doc.
Glenn Morris [Sat, 23 Oct 2010 20:40:46 +0000 (13:40 -0700)]
Make all 3 copies of x-select-enable-clipboard have the same doc.

* lisp/term/pc-win.el (x-select-enable-clipboard):
* lisp/term/x-win.el (x-select-enable-clipboard):
* lisp/w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.

14 years ago* lisp/comint.el (comint-password-prompt-regexp): Make it less vague.
Glenn Morris [Sat, 23 Oct 2010 19:56:57 +0000 (12:56 -0700)]
* lisp/comint.el (comint-password-prompt-regexp): Make it less vague.
Bump custom version.

The initial regexp-opt was bracketed by \\( \\)?, so it might as well
have not been there at all.  This change makes it non-optional, and
adds back "^".  Hopefully the behaviour is now closer to that of emacs-23,
before it was re-written in http://debbugs.gnu.org/2817.

14 years ago* test/comint-testsuite.el
Glenn Morris [Sat, 23 Oct 2010 19:51:14 +0000 (12:51 -0700)]
* test/comint-testsuite.el
(comint-testsuite--test-comint-password-prompt-regexp):
Add "Please enter the password".  (Bug#7224)

14 years agosrc/ChangeLog: Revert inadvertent change of entry date.
Eli Zaretskii [Sat, 23 Oct 2010 17:33:03 +0000 (19:33 +0200)]
src/ChangeLog: Revert inadvertent change of entry date.

14 years agoImplement mouse highlight for bidi-reordered lines.
Eli Zaretskii [Sat, 23 Oct 2010 15:30:45 +0000 (17:30 +0200)]
Implement mouse highlight for bidi-reordered lines.

 xdisp.c (fast_find_string_pos): #ifdef away, not used anymore.
 (mouse_face_from_string_pos): New function, replaces
 fast_find_string_pos.
 (note_mouse_highlight): Call it instead of fast_find_string_pos.
 (note_mode_line_or_margin_highlight): Support bidi-reordered
 strings and R2L glyph rows.  Fix comments.
 (note_mouse_highlight): When bidi reordering is turned on in a
 buffer, call next-single-property-change and
 previous-single-property-change with last argument nil.  Clear
 mouse highlight when mouse pointer is in a R2L row on the stretch
 glyph that stands for no text beyond the line end.
 (row_containing_pos): Don't return too early when CHARPOS is in a
 bidi-reordered continued line.  Return immediately when the first
 hit is found in a line that is not continued, or when an exact
 match for CHARPOS is found.
 (rows_from_pos_range): New function.
 (mouse_face_from_buffer_pos): Use it instead of calling
 row_containing_pos for START_CHARPOS and END_CHARPOS.  Rewrite the
 function to support mouse highlight in bidi-reordered lines and
 not to assume that START_CHARPOS is always in mouse_face_beg_row.
 If necessary, swap mouse_face_beg_row and mouse_face_end_row so
 that the former is always above the latter or identical to it.
 (show_mouse_face): Support drawing highlighted R2L lines.
 (coords_in_mouse_face_p): New function, bidi-aware.
 (cursor_in_mouse_face_p, note_mouse_highlight, erase_phys_cursor):
 Call it instead of comparing with mouse-face members of dpyinfo.
 (note_mode_line_or_margin_highlight): Fix confusingly swapped
 usage of hpos and vpos.

14 years agoFix support for R2L lines. Tested with reordered text.
Eli Zaretskii [Sat, 23 Oct 2010 14:41:50 +0000 (16:41 +0200)]
Fix support for R2L lines.  Tested with reordered text.

 xdisp.c (mouse_face_from_string_pos): Fix support for R2L lines.

14 years agoThe range [STARTPOS..ENDPOS] is inclusive in strings.
Eli Zaretskii [Sat, 23 Oct 2010 12:58:12 +0000 (14:58 +0200)]
The range [STARTPOS..ENDPOS] is inclusive in strings.
Tested with multiline display strings.

 xdisp.c (mouse_face_from_string_pos): Fix off-by-one error when
 testing against ENDPOS.

14 years agoTested with L2R rows and mouse highlight on a single line.
Eli Zaretskii [Sat, 23 Oct 2010 12:28:28 +0000 (14:28 +0200)]
Tested with L2R rows and mouse highlight on a single line.

 xdisp.c (mouse_face_from_string_pos): Initialize the `found'
 flag to zero, and exit the outer loop when it's non-zero.  Bail
 our early if no row in the window belongs to the highlighted
 string.  Always back up after exiting the second loop.

14 years agoMention faceName for Lucid menu/dialog fonts.
Jan Djärv [Sat, 23 Oct 2010 09:18:19 +0000 (11:18 +0200)]
Mention faceName for Lucid menu/dialog fonts.

14 years agoReplace digest-doc and sorted-doc C programs with Lisp commands.
Glenn Morris [Sat, 23 Oct 2010 02:46:06 +0000 (19:46 -0700)]
Replace digest-doc and sorted-doc C programs with Lisp commands.

* lib-src/digest-doc.c, lib-src/sorted-doc.c: Remove files.
* lib-src/Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
(digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
* lib-src/makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
(install): Don't install digest-doc.exe or sorted-doc.exe.

* lisp/help-fns.el (doc-file-to-man, doc-file-to-info): New commands.

* doc/lispref/help.texi (Documentation Basics): Remove mentions of
digest-doc and sorted-doc.

* INSTALL, nt/README, nt/README.W32: Do not mention digest-doc and sorted-doc.

* etc/NEWS: Mention this change.

14 years ago* lisp/help.el (finder-by-keyword): Remove unnecessary autoload.
Glenn Morris [Sat, 23 Oct 2010 02:36:28 +0000 (19:36 -0700)]
* lisp/help.el (finder-by-keyword): Remove unnecessary autoload.

14 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 23 Oct 2010 00:01:49 +0000 (00:01 +0000)]
Merge changes made in Gnus trunk.

gnus.texi (Subscription Commands): Mention that you can also subscribe to new groups via the Server buffer, which is probably more convenient when subscribing to many groups.
gnus-group.el (gnus-group-mark-group): Use gnus-group-position-point instead of the summary one.
shr.el (shr-tag-img): Don't bug out on images that don't have a SRC.

14 years agoObscure an example DEFVAR_INT comment so as to evade make-docfile.
Glenn Morris [Fri, 22 Oct 2010 08:02:31 +0000 (01:02 -0700)]
Obscure an example DEFVAR_INT comment so as to evade make-docfile.

14 years agoFix compilation with Motif (Bug#7263).
Jan D [Fri, 22 Oct 2010 05:49:47 +0000 (07:49 +0200)]
Fix compilation with Motif (Bug#7263).

* src/xfns.c: Include Xm/TextF and Xm/List.
(file_dialog_cb, file_dialog_unmap_cb, clean_up_file_dialog): Make
ANSI prototypes.

* src/xmenu.c: Revert 2010-07-27 change: lwlib.h is needed for
MOTIF (Bug#7263).

* src/xrdb.c: Include keyboard.h for MOTIF.

14 years agomml.el (mml-preview): Fix last change.
Katsumi Yamaoka [Fri, 22 Oct 2010 04:30:27 +0000 (04:30 +0000)]
mml.el (mml-preview): Fix last change.

14 years agomml.el (mml-preview): Work properly when editing article.
Katsumi Yamaoka [Fri, 22 Oct 2010 04:15:14 +0000 (04:15 +0000)]
mml.el (mml-preview): Work properly when editing article.

14 years agoSupport for systems without floats was removed a decade ago.
Glenn Morris [Fri, 22 Oct 2010 04:03:55 +0000 (21:03 -0700)]
Support for systems without floats was removed a decade ago.

* lisp/loadup.el: Unconditionally load float-sup.
* lisp/paren.el (show-paren-delay):
* lisp/emacs-lisp/float-sup.el:
* lisp/emulation/cua-base.el (cua-prefix-override-inhibit-delay):
* lisp/obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
(lazy-lock-stealth-verbose): Assume float support.
* lisp/ps-print.el: Assume float support on Emacs.
* lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
Remove non-float branch.

* lisp/obsolete/lazy-lock.el: Remove leading `*' from defcustom docs.

14 years agoFix format of old ChangeLog entry.
Glenn Morris [Fri, 22 Oct 2010 03:38:52 +0000 (20:38 -0700)]
Fix format of old ChangeLog entry.

14 years ago* src/Makefile.in (SOME_MACHINE_LISP): Add w32-vars.
Glenn Morris [Fri, 22 Oct 2010 03:37:20 +0000 (20:37 -0700)]
* src/Makefile.in (SOME_MACHINE_LISP): Add w32-vars.
Remove ccl and duplicate mouse.

14 years agoAdd bug ref to Changelog entry.
Glenn Morris [Fri, 22 Oct 2010 03:34:22 +0000 (20:34 -0700)]
Add bug ref to Changelog entry.

14 years agoSmall autoloads fix.
Glenn Morris [Fri, 22 Oct 2010 03:32:46 +0000 (20:32 -0700)]
Small autoloads fix.

* lisp/emacs-lisp/autoload.el (batch-update-autoloads): Update for
src/Makefile no longer being pre-processed.

14 years ago* admin/make-tarball.txt: Misc updates.
Glenn Morris [Fri, 22 Oct 2010 03:28:21 +0000 (20:28 -0700)]
* admin/make-tarball.txt: Misc updates.

14 years ago* make-dist: Avoid listing .el files twice.
Glenn Morris [Fri, 22 Oct 2010 03:26:34 +0000 (20:26 -0700)]
* make-dist: Avoid listing .el files twice.
Don't try to run autoconf if --no-update.

14 years ago* lisp/emacs-lisp/find-func.el (find-library): Use test-completion.
Stefan Monnier [Fri, 22 Oct 2010 03:17:26 +0000 (23:17 -0400)]
* lisp/emacs-lisp/find-func.el (find-library): Use test-completion.

14 years agognus-group.el (gnus-group-unsubscribe-group): Fix args passed to gnus-group-completin...
Gnus developers [Fri, 22 Oct 2010 01:39:13 +0000 (01:39 +0000)]
gnus-group.el (gnus-group-unsubscribe-group): Fix args passed to gnus-group-completing-read.
gnus-start.el (gnus-read-active-file-1): Don't add method to gnus-have-read-active-file if it's already been in.

14 years agomessage.el (message-setup-1): Allow message-default-headers to be a function.
Gnus developers [Thu, 21 Oct 2010 22:12:01 +0000 (22:12 +0000)]
message.el (message-setup-1): Allow message-default-headers to be a function.
message.el (message-mode-map): Don't bind M-; to comment region, to allow the global comment-dwim to work.

14 years ago* newcomment.el (comment-dwim): Fix the intentation in the doc string.
Lars Magne Ingebrigtsen [Thu, 21 Oct 2010 20:12:38 +0000 (22:12 +0200)]
* newcomment.el (comment-dwim): Fix the intentation in the doc string.

14 years ago* insdel.c (prepare_to_modify_buffer): Don't set
Chong Yidong [Thu, 21 Oct 2010 17:27:32 +0000 (13:27 -0400)]
* insdel.c (prepare_to_modify_buffer): Don't set
saved-region-selection if modification hooks are disabled.

14 years ago* net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
Michael Albinus [Thu, 21 Oct 2010 08:05:23 +0000 (10:05 +0200)]
* net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
space in stat format string.
(tramp-send-command): Unset $PS1 when using here documents, in
order not to get several prompts.
(tramp-get-inline-coding): Return `nil' in case of errors.

14 years agoshr.el (shr-tag-table): Simplify.
Katsumi Yamaoka [Thu, 21 Oct 2010 05:36:36 +0000 (05:36 +0000)]
shr.el (shr-tag-table): Simplify.

14 years agognus-html.el (gnus-html-prefetch-images): Only prefetch http images to avoid trying...
Lars Magne Ingebrigtsen [Thu, 21 Oct 2010 03:48:01 +0000 (03:48 +0000)]
gnus-html.el (gnus-html-prefetch-images): Only prefetch http images to avoid trying to snarf invalid stuff.

14 years agognus-sum.el (gnus-summary-edit-article-done): Bind replace-result.
Katsumi Yamaoka [Thu, 21 Oct 2010 02:52:45 +0000 (02:52 +0000)]
gnus-sum.el (gnus-summary-edit-article-done): Bind replace-result.

14 years agognus.el (gnus-message-archive-group): Quote value.
Lars Magne Ingebrigtsen [Thu, 21 Oct 2010 02:44:47 +0000 (02:44 +0000)]
gnus.el (gnus-message-archive-group): Quote value.
gnus.el (gnus-message-archive-group): Mark as changed.

14 years agoTweak revert-buffer-function to inhibit auto-mode-alist.
Daiki Ueno [Thu, 21 Oct 2010 02:38:46 +0000 (11:38 +0900)]
Tweak revert-buffer-function to inhibit auto-mode-alist.

* hexl.el (hexl-mode, hexl-mode-exit): Tweak
revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
(hexl-revert-buffer-function): New function.
(hexl-before-revert-hook, hexl-after-revert-hook): Abolish.

14 years agognus-news.texi: Mention new archive defaults.
Lars Magne Ingebrigtsen [Thu, 21 Oct 2010 02:31:33 +0000 (02:31 +0000)]
gnus-news.texi: Mention new archive defaults.

14 years agomessage.el (message-fix-before-sending): Change options when sending non-printable...
Lars Magne Ingebrigtsen [Thu, 21 Oct 2010 01:49:12 +0000 (01:49 +0000)]
message.el (message-fix-before-sending): Change options when sending non-printable characters.
shr.el (shr-add-font): Don't put the font properties on the newline or the indentation.

14 years agognus.el (gnus-update-message-archive-method): Change the default to monthly outgoing...
Lars Magne Ingebrigtsen [Thu, 21 Oct 2010 01:28:34 +0000 (01:28 +0000)]
gnus.el (gnus-update-message-archive-method): Change the default to monthly outgoing groups.

14 years agoAllow nnimap article editing (sort of).
Lars Magne Ingebrigtsen [Thu, 21 Oct 2010 01:23:34 +0000 (01:23 +0000)]
Allow nnimap article editing (sort of).

gnus-sum.el (gnus-summary-edit-article-done): Try to replace articles that have gotten new numbers.
nnimap.el (nnimap-request-replace-article): New function.

14 years agognus.texi (RSS): Remove nnrss-wash-html-in-text-plain-parts.
Katsumi Yamaoka [Thu, 21 Oct 2010 00:33:40 +0000 (00:33 +0000)]
gnus.texi (RSS): Remove nnrss-wash-html-in-text-plain-parts.

14 years agonnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
Katsumi Yamaoka [Thu, 21 Oct 2010 00:27:32 +0000 (00:27 +0000)]
nnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
nnrss.el (nnrss-request-article): Don't use special html washing code.

14 years agoMerge changes made in Gnus trunk.
Gnus developers [Wed, 20 Oct 2010 22:29:38 +0000 (22:29 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-insert-partial-structure): Fix boundary detection.
spam.el (spam-list-of-processors): Mark as obsolete.
gnus-art.el (gnus-blocked-images): New function.  Allow the `gnus-blocked-images' to be a function.
gnus-art.el (gnus-article-wash-function): Remove it, and use `mm-text-html-renderer' instead.
mm-decode.el (mm-inline-text-html-renderer): Removed.
mm-decode.el (mm-inline-media-tests): Removed use.
mm-view.el (mm-inline-text-html): Removed use.
mm-view.el (mm-text-html-renderer-alist): Add the `shr' and `gnus-w3m' symbols.
gnus.texi (Article Washing): shr and gnus-w3m, not the direct function names.
gnus-art.el (article-wash-html): Simplify and remove the charset stuff.  Use the normal html rendering code instead of the special html washing code.
mm-view.el (mm-text-html-washer-alist): Removed.
gnus-news.texi: Mention that mm-text-html-renderer is the only HTML variable now.
shr.el (shr-tag-table): Remove useless nconc.

14 years agoshr.el (shr-tag-table): Fix last change.
Katsumi Yamaoka [Wed, 20 Oct 2010 12:24:49 +0000 (12:24 +0000)]
shr.el (shr-tag-table): Fix last change.

14 years agonnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval.
Julien Danjou [Wed, 20 Oct 2010 10:34:58 +0000 (10:34 +0000)]
nnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval.

14 years agoemacs-mime.texi (Flowed text): Add a note about mml-enable-flowed variable.
Gnus developers [Wed, 20 Oct 2010 10:31:10 +0000 (10:31 +0000)]
emacs-mime.texi (Flowed text): Add a note about mml-enable-flowed variable.
gnus/ChangeLog (2010-10-15): Fix typo in changelog.
gnus-draft.el (gnus-draft-check-draft-articles): Don't unnecessarily run file-truename on remote files when checking drafts.

14 years agoshr.el: (shr-tag-table): Support caption, thead, and tfoot.
Katsumi Yamaoka [Wed, 20 Oct 2010 07:31:25 +0000 (07:31 +0000)]
shr.el: (shr-tag-table): Support caption, thead, and tfoot.

14 years ago* make-dist: No longer create lisp/MANIFEST.
Glenn Morris [Wed, 20 Oct 2010 03:55:30 +0000 (20:55 -0700)]
* make-dist: No longer create lisp/MANIFEST.
No-one can remember what this file was for.
http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00512.html

14 years agoFix format of old lib-src/ChangeLog entry.
Glenn Morris [Wed, 20 Oct 2010 03:53:34 +0000 (20:53 -0700)]
Fix format of old lib-src/ChangeLog entry.

14 years agoFix src/Makefile.in comment typo from 2010-10-10T14:43:05Z!dann@ics.uci.edu.
Glenn Morris [Wed, 20 Oct 2010 03:52:27 +0000 (20:52 -0700)]
Fix src/Makefile.in comment typo from 2010-10-10T14:43:05Z!dann@ics.uci.edu.

14 years agoshr.el (shr-find-fill-point): Shorten line if the preceding char is kinsoku-eol regar...
Katsumi Yamaoka [Wed, 20 Oct 2010 00:44:28 +0000 (00:44 +0000)]
shr.el (shr-find-fill-point): Shorten line if the preceding char is kinsoku-eol regardless of shr-kinsoku-shorten.

14 years agoshr.el (shr-save-contents): New command and keystroke.
Lars Magne Ingebrigtsen [Wed, 20 Oct 2010 00:02:35 +0000 (00:02 +0000)]
shr.el (shr-save-contents): New command and keystroke.

14 years agoshr.el (shr-find-fill-point): Don't leave blanks at the start of some lines.
Lars Magne Ingebrigtsen [Tue, 19 Oct 2010 23:26:28 +0000 (23:26 +0000)]
shr.el (shr-find-fill-point): Don't leave blanks at the start of some lines.

14 years agonndoc.el (nndoc-transform-git-headers): Generate Subject headers.
Lars Magne Ingebrigtsen [Tue, 19 Oct 2010 23:06:50 +0000 (23:06 +0000)]
nndoc.el (nndoc-transform-git-headers): Generate Subject headers.
gnus.texi (Document Groups): Mention git.

14 years agoUpdate.
Lars Magne Ingebrigtsen [Tue, 19 Oct 2010 22:30:29 +0000 (22:30 +0000)]
Update.

14 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Tue, 19 Oct 2010 22:20:47 +0000 (22:20 +0000)]
Merge changes made in Gnus trunk.

gnus.texi (Customizing the IMAP Connection): The port strings are strings.
nnmairix.el (nnmairix-summary-mode-hook): Move nnmairix's `$' command to `G G' to avoid collisions.
shr.el (shr-parse-style, shr-tag-span): New functions.
nndoc.el (nndoc-type-alist): Add git support.
(nndoc-git-type-p, nndoc-transform-git-article, nndoc-transform-git-headers): New functions.

14 years agocc-langs.el (c-type-decl-prefix-key): C++ bit: move
Alan Mackenzie [Tue, 19 Oct 2010 20:45:42 +0000 (20:45 +0000)]
cc-langs.el (c-type-decl-prefix-key): C++ bit: move
"\(const\|throw\|volatile\)\>" nearer the start of the regexp, so that
these keywords aren't wrongly matched as identifiers.

14 years agocc-mode.el (c-before-change, c-after-change): Move the setting of
Alan Mackenzie [Tue, 19 Oct 2010 20:18:35 +0000 (20:18 +0000)]
cc-mode.el (c-before-change, c-after-change): Move the setting of
c-new-BEG and c-new-END from c-before-change to c-after-change.

14 years agoetc/NEWS: Document change to mode-line-format.
Chong Yidong [Tue, 19 Oct 2010 19:24:39 +0000 (15:24 -0400)]
etc/NEWS: Document change to mode-line-format.

14 years agoRevert 2010-10-18 change; use safe-functions instead.
Chong Yidong [Tue, 19 Oct 2010 19:22:40 +0000 (15:22 -0400)]
Revert 2010-10-18 change; use safe-functions instead.

* cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
Don't mark as safe.

* custom.el (custom-theme-set-variables): Likewise.
(load-theme): Add custom-theme-set-faces and
custom-theme-set-variables to safe-functions while loading.
(custom-enabled-themes): Mark as risky.

14 years agoRemove mode-line end dashes on graphical terminals.
Julien Danjou [Tue, 19 Oct 2010 19:20:33 +0000 (15:20 -0400)]
Remove mode-line end dashes on graphical terminals.

* tutorials/TUTORIAL: Don't mention mode-line end dashes.
* bindings.el: Remove end dashes in default mode-line-format.

14 years agoDecouple C-d and delete, so that the former does not delete the region.
Chong Yidong [Tue, 19 Oct 2010 15:43:27 +0000 (11:43 -0400)]
Decouple C-d and delete, so that the former does not delete the region.

* lisp/bindings.el (global-map): Bind C-d to delete-char and deletechar
to delete-forward-char.

* lisp/simple.el (normal-erase-is-backspace-mode): Remap delete to
deletechar, and hence delete-forward-char.

* src/cmds.c (Fdelete_char): Doc fix.

14 years agoMerge changes from emacs-23 branch.
Juanma Barranquero [Tue, 19 Oct 2010 11:44:07 +0000 (13:44 +0200)]
Merge changes from emacs-23 branch.

14 years ago* net/tramp-sh.el (tramp-do-file-attributes-with-stat)
Michael Albinus [Tue, 19 Oct 2010 09:50:07 +0000 (11:50 +0200)]
* net/tramp-sh.el (tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
order to make stat results a float.  Patch by Andreas Schwab
<schwab@linux-m68k.org>.

14 years ago* net/tramp.el (tramp-do-file-attributes-with-stat)
Michael Albinus [Tue, 19 Oct 2010 09:26:21 +0000 (11:26 +0200)]
* net/tramp.el (tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
order to make stat results a float.  Patch by Andreas Schwab
<schwab@linux-m68k.org>.

14 years agoshr.el: Fix last change.
Katsumi Yamaoka [Tue, 19 Oct 2010 08:19:45 +0000 (08:19 +0000)]
shr.el: Fix last change.

14 years agoshr.el: Improve kinsoku and table rendering.
Katsumi Yamaoka [Tue, 19 Oct 2010 07:57:50 +0000 (07:57 +0000)]
shr.el: Improve kinsoku and table rendering.

14 years ago* lisp/gnus/nnimap.el (nnimap-request-move-article, nnimap-parse-line)
Stefan Monnier [Tue, 19 Oct 2010 00:13:27 +0000 (20:13 -0400)]
* lisp/gnus/nnimap.el (nnimap-request-move-article, nnimap-parse-line)
(nnimap-process-expiry-targets): Use unibyte for buffers that hold
undecoded network data.

14 years agomessage.el (message-get-reply-headers): If we're fed `to-address', then always use...
Lars Magne Ingebrigtsen [Mon, 18 Oct 2010 23:41:03 +0000 (23:41 +0000)]
message.el (message-get-reply-headers): If we're fed `to-address', then always use that.
gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode name in the mode line spec so that the mode line menu works (bug #2431).

14 years agoMerge changes made in Gnus trunk.
Gnus developers [Mon, 18 Oct 2010 22:09:28 +0000 (22:09 +0000)]
Merge changes made in Gnus trunk.

gnus-art.el: Make the "dumbquotes" translation work again.
gnus-registry.el (gnus-registry-split-fancy-with-parent): Splitting according to references/in-reply-to obeys the ignore-groups variable, while splitting by sender and subject do not.
nnimap.el (nnimap-request-group): Don't SELECT the group twice on `M-g'.
nnimap.el (nnimap-update-info): Update flags/read marks even if \* isn't part of the permanent marks.
gnus-coding.texi (Gnus Maintainance Guide): Update to mention Emacs bzr/Gnus git sync.
gnus-delay.el (gnus-delay-article): Remove superfluous `group' binding.
gnus-art.el (gnus-article-make-menu-bar): The article/group menus aren't so wide as to need to switch off the edit menu.

14 years ago* lisp/avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
Julien Danjou [Mon, 18 Oct 2010 21:10:38 +0000 (17:10 -0400)]
* lisp/avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
hidden by `make-pointer-invisible'.

14 years ago* src/frame.c (Fframe_pointer_visible_p):
Julien Danjou [Mon, 18 Oct 2010 21:07:31 +0000 (17:07 -0400)]
* src/frame.c (Fframe_pointer_visible_p):
Add `frame-pointer-visible-p' to get the pointer visibility.

14 years ago* lisp/files.el (locate-file-completion-table): Strip non-matching elements
Stefan Monnier [Mon, 18 Oct 2010 21:02:00 +0000 (17:02 -0400)]
* lisp/files.el (locate-file-completion-table): Strip non-matching elements
before checking length of list.

Fixes: debbugs:7238
14 years ago(emacs_gnutls_read): Return 0 if we get a non-"EAGAIN"-like error to signal to Emacs...
Lars Magne Ingebrigtsen [Mon, 18 Oct 2010 20:32:54 +0000 (22:32 +0200)]
(emacs_gnutls_read): Return 0 if we get a non-"EAGAIN"-like error to signal to Emacs that the socket should be closed.

14 years ago* lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.
Stefan Monnier [Mon, 18 Oct 2010 18:38:11 +0000 (14:38 -0400)]
* lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.

Fixes: debbugs:6256
14 years agoDon't allow functions that display messages in unsafep.
Chong Yidong [Mon, 18 Oct 2010 17:28:20 +0000 (13:28 -0400)]
Don't allow functions that display messages in unsafep.

* emacs-lisp/unsafep.el: Don't mark functions that display
messages as safe.  Suggested by Johan Bockgård.

14 years agoUse unsafep to check for theme safety.
Chong Yidong [Mon, 18 Oct 2010 17:26:25 +0000 (13:26 -0400)]
Use unsafep to check for theme safety.

* cus-face.el (custom-theme-set-faces): Mark as a safe function.

* custom.el (custom-theme-set-variables): Mark as a safe function.
(load-theme): Check forms using unsafep.

14 years agoispell.el (ispell-aspell-find-dictionary): Fix aspell data file search (bug#7230).
Agustín Martín [Mon, 18 Oct 2010 16:01:43 +0000 (18:01 +0200)]
ispell.el (ispell-aspell-find-dictionary): Fix aspell data file search (bug#7230).

14 years ago* src/s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225).
Ken Brown [Mon, 18 Oct 2010 12:23:41 +0000 (08:23 -0400)]
* src/s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225).

14 years agoshr.el (shr-insert): Comment fix.
Katsumi Yamaoka [Mon, 18 Oct 2010 05:45:06 +0000 (05:45 +0000)]
shr.el (shr-insert): Comment fix.

14 years agoshr.el (shr-insert): Don't insert space behind a wide character categorized as kinsok...
Katsumi Yamaoka [Mon, 18 Oct 2010 05:21:26 +0000 (05:21 +0000)]
shr.el (shr-insert): Don't insert space behind a wide character categorized as kinsoku-bol, or between characters both categorized as nospace.

14 years ago(regexp-opt-group, regexp-opt-charset): Turn comments into docstrings
Stefan Monnier [Sun, 17 Oct 2010 18:59:58 +0000 (14:59 -0400)]
(regexp-opt-group, regexp-opt-charset): Turn comments into docstrings

14 years ago* lisp/minibuffer.el (completion--replace): Move point where it belongs
Stefan Monnier [Sun, 17 Oct 2010 17:30:22 +0000 (13:30 -0400)]
* lisp/minibuffer.el (completion--replace): Move point where it belongs
when there's a common suffix.

Fixes: debbugs:7215
14 years agoFix a misleading widget message in the last checkin.
Chong Yidong [Sun, 17 Oct 2010 00:05:20 +0000 (20:05 -0400)]
Fix a misleading widget message in the last checkin.

14 years agoshr.el (shr-tag-img): Don't align images -- since we're not rescaling, this often...
Gnus developers [Sun, 17 Oct 2010 00:04:06 +0000 (00:04 +0000)]
shr.el (shr-tag-img): Don't align images -- since we're not rescaling, this often leads to ugly displays.
gnus-sum.el (gnus-summary-refer-thread): Bug fix. Add the thread headers to gnus-newsgroup-headers.