bpt/emacs.git
13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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>.

13 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>.

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

13 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.

13 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.

13 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).

13 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.

13 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'.

13 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.

13 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

13 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.

13 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

13 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.

13 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.

13 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).

13 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).

13 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.

13 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.

13 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

13 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

13 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.

13 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.

13 years agoAllow Custom settings to be migrated into a custom theme.
Chong Yidong [Sun, 17 Oct 2010 00:00:34 +0000 (20:00 -0400)]
Allow Custom settings to be migrated into a custom theme.

* cus-theme.el (custom-theme--migrate-settings): New var.
(customize-create-theme): Allow editing the `user' theme.
(custom-theme-add-variable, custom-theme-add-var-1)
(custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
to the front of each variable or face widget.
(custom-theme-write): Save theme settings in the correct order.
Optionally, remove saved settings from user customizations.
(custom-theme-write-variables, custom-theme-write-faces): Saved
only the checked widgets.
(customize-themes): Add a link for migrating custom settings.

* custom.el (custom-declare-theme, provide-theme): Use
custom-theme-name-valid-p.
(custom-theme-name-valid-p): Remove checks that are now
unnecessary since themes no longer obey load-path.

* cus-edit.el (custom-variable-value-create): For the simple
style, hide documentation string when hidden.

13 years agoAllow hiding of modified custom widgets.
Chong Yidong [Sat, 16 Oct 2010 20:36:20 +0000 (16:36 -0400)]
Allow hiding of modified custom widgets.

* cus-edit.el (custom-variable, custom-face): Combine the
:inhibit-magic and :display-style properties into a single
:custom-style property.
(custom-toggle-hide-variable, custom-toggle-hide-face): New
functions.  If hiding an edited value, save it to :shown-value.
(custom-variable-value-create, custom-face-value-create): Use
them.
(custom-magic-reset): Allow magic property to be unset.

* cus-theme.el (custom-theme-add-var-1)
(custom-theme-add-face-1): Use the :custom-style property.

* custom.el: (custom-theme-load-path): Doc fix.

13 years agoMove built-in theme directory to etc/.
Chong Yidong [Sat, 16 Oct 2010 18:27:08 +0000 (14:27 -0400)]
Move built-in theme directory to etc/.

* custom.el: Custom themes no longer use load-path.
(custom-theme-load-path): New option.  Change built-in theme
directory to etc/.
(custom-enabled-themes): Add custom-theme-load-path dependency.
(custom-theme--load-path): New function.
(load-theme, custom-available-themes): Use it.

* cus-theme.el (describe-theme-1): Use custom-theme--load-path.
(customize-themes): Link to custom-theme-load-path variable.

13 years agoFix searching for bibitem entries.
Ralf Angeli [Sat, 16 Oct 2010 15:08:47 +0000 (17:08 +0200)]
Fix searching for bibitem entries.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 16 Oct 2010 01:55:08 +0000 (01:55 +0000)]
Merge changes made in Gnus trunk.

nnimap.el: Use nnheader-message throughout.
gnus.el: Autoload gnus-html-show-images.
mml.el (mml-generate-mime-1): Add `mml-enable-flow' variable to add a possibility to disable format=flow encoding when using hard newlines.
gnus-diary.el (gnus-diary-check-message): Fix gnus-completing-read call.
gnus-sum.el (gnus-summary-refer-thread): unconditionally ignore duplicates.

13 years agoBugfixes for `customize-create-theme'.
Chong Yidong [Sat, 16 Oct 2010 00:16:34 +0000 (20:16 -0400)]
Bugfixes for `customize-create-theme'.

* cus-theme.el (customize-create-theme): Delete overlays after
erasing.  If given a THEME arg, display only the faces of that arg
instead of custom-theme--listed-faces.
(custom-theme-variable-menu, custom-theme-variable-action)
(custom-variable-reset-theme, custom-theme-delete-variable): Deleted.
(custom-theme-add-variable, custom-theme-add-face): Apply value
from the theme settings, instead of the current value.
(custom-theme-add-var-1, custom-theme-add-face-1): New functions.
(custom-theme-visit-theme): Allow calling outside theme buffers.
(custom-theme-merge-theme): Don't enable the theme when merging.
(custom-theme-write-variables, custom-theme-write-faces): Use the
:shown-value properties to save buffer values, not global ones.
(customize-themes): Display a warning about user customizations.

* cus-edit.el (custom-variable-value-create)
(custom-face-value-create): Obey new special properties
:shown-value and :inhibit-magic.

13 years agoFix the MSDOS build broken by last revisions.
Eli Zaretskii [Fri, 15 Oct 2010 18:45:12 +0000 (20:45 +0200)]
Fix the MSDOS build broken by last revisions.

 msdos/sed1v2.inp: Use $(..) instead of ${..} in all edit commands.
 Needed because of changes in 2010-10-10T14:43:05Z!dann@ics.uci.edu.
 msdos/sed6.inp (mkinfodir): Edit to avoid Unix shell-isms.  Needed
 because of changes in 2010-10-09T18:31:12Z!rgm@gnu.org.
 src/unexcoff.c (make_hdr): Fix prototype according to changes in
 2010-10-03T13:59:56Z!dann@ics.uci.edu.

13 years agoFix the MSDOS build broken by latest revisions.
Eli Zaretskii [Fri, 15 Oct 2010 18:42:54 +0000 (20:42 +0200)]
Fix the MSDOS build broken by latest revisions.

 src/unexcoff.c (make_hdr): Fix prototype according to changes in
 2010-10-03T13:59:56Z!dann@ics.uci.edu.
 msdos/sed1v2.inp: Use $(..) instead of ${..} in all edit commands.
 Needed because of changes in 2010-10-10T14:43:05Z!dann@ics.uci.edu.
 msdos/sed6.inp (mkinfodir): Edit to avoid Unix shell-isms.  Needed
 because of changes in 2010-10-09T18:31:12Z!rgm@gnu.org.

13 years agoFix last change in etc/NEWS.
Eli Zaretskii [Fri, 15 Oct 2010 16:44:01 +0000 (18:44 +0200)]
Fix last change in etc/NEWS.

13 years ago* net/tramp.el (tramp-open-connection-setup-interactive-shell):
Michael Albinus [Fri, 15 Oct 2010 12:15:43 +0000 (14:15 +0200)]
* net/tramp.el (tramp-open-connection-setup-interactive-shell):
Suppress expansion of tabs to spaces.

13 years ago* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Michael Albinus [Fri, 15 Oct 2010 12:07:38 +0000 (14:07 +0200)]
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Suppress expansion of tabs to spaces.

13 years agoFix bug #7196.
Eli Zaretskii [Fri, 15 Oct 2010 11:33:17 +0000 (13:33 +0200)]
Fix bug #7196.

 NEWS: Expand the entry about "Selection changes".

13 years agoFix bug #7195 with NEWS entry for of select-active-region'.
Eli Zaretskii [Fri, 15 Oct 2010 11:00:57 +0000 (13:00 +0200)]
Fix bug #7195 with NEWS entry for of select-active-region'.

13 years agoDocument changes made in 2010-10-13T14:50:06Z!lekktu@gmail.com.
Juanma Barranquero [Fri, 15 Oct 2010 10:49:07 +0000 (12:49 +0200)]
Document changes made in 2010-10-13T14:50:06Z!lekktu@gmail.com.

 os.texi (Dynamic Libraries): New node, with slightly modified
 text deleted from "Image Formats".
 (System Interface): Add @menu entry for "Dynamic Libraries".
 display.texi (Image Formats): Remove description of
 image-library-alist.  (Renamed in 2010-10-13T14:50:06Z!lekktu@gmail.com.)

13 years agoshr.el (shr-tag-img): Ignore images with no data.
Katsumi Yamaoka [Fri, 15 Oct 2010 10:24:10 +0000 (10:24 +0000)]
shr.el (shr-tag-img): Ignore images with no data.

13 years agoauth.texi (GnuPG and EasyPG Assistant Configuration): Fix markup.
Eli Zaretskii [Fri, 15 Oct 2010 10:21:03 +0000 (12:21 +0200)]
auth.texi (GnuPG and EasyPG Assistant Configuration): Fix markup.

13 years agoimage.c (tiff_load): Cast 3rd argument to avoid compiler warning.
Eli Zaretskii [Fri, 15 Oct 2010 10:10:20 +0000 (12:10 +0200)]
image.c (tiff_load): Cast 3rd argument to avoid compiler warning.

13 years agoshr.el (shr-insert): Remove space inserted before or after a breakable character...
Katsumi Yamaoka [Fri, 15 Oct 2010 08:10:56 +0000 (08:10 +0000)]
shr.el (shr-insert): Remove space inserted before or after a breakable character or at the beginning or the end of a line.
shr.el (shr-find-fill-point): Do kinsoku; find the second best point or give it up if there's no breakable point.

13 years agoFix incorrect font metrics when the same font is opened with different pixelsizes.
Kenichi Handa [Fri, 15 Oct 2010 07:49:11 +0000 (16:49 +0900)]
Fix incorrect font metrics when the same font is opened with different pixelsizes.

13 years agoAgain, fix a typo in really-oldXMenu target
Tassilo Horn [Fri, 15 Oct 2010 07:46:47 +0000 (09:46 +0200)]
Again, fix a typo in really-oldXMenu target

13 years agoFix variable name typo in really-oldXMenu target.
Tassilo Horn [Fri, 15 Oct 2010 07:34:26 +0000 (09:34 +0200)]
Fix variable name typo in really-oldXMenu target.

13 years agomerge emacs-23
Kenichi Handa [Fri, 15 Oct 2010 00:43:23 +0000 (09:43 +0900)]
merge emacs-23

13 years agointernational/characters.el: Add category '|' (word breakable) to fullwidth characters.
Kenichi Handa [Fri, 15 Oct 2010 00:41:53 +0000 (09:41 +0900)]
international/characters.el: Add category '|' (word breakable) to fullwidth characters.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 14 Oct 2010 22:39:54 +0000 (22:39 +0000)]
Merge changes made in Gnus trunk.

shr.el: Fix defcustom type (char -> character).
nnimap.el (nnimap-open-connection): Remove %s from openssl incantation, which is no longer valid.
gnus-sum.el (gnus-summary-refer-thread): Implement a version that uses *-request-thread.
gnus-int.el (gnus-request-thread): New back end function.
nnimap.el (nnimap-request-thread): New back end function.
shr.el: Indent.
gnus-art.el, shr.el: Have shr switch buffer truncation on if there are big tables.
(nnimap-open-connection): Message when opening connection for debugging purposes.

13 years ago* url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
Lars Magne Ingebrigtsen [Thu, 14 Oct 2010 21:35:03 +0000 (23:35 +0200)]
* url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.

13 years agoMerge changes from emacs-23 branch.
Juanma Barranquero [Thu, 14 Oct 2010 14:32:27 +0000 (16:32 +0200)]
Merge changes from emacs-23 branch.

13 years agoshr.el (shr-tag-a): Use url-link as widget type.
Julien Danjou [Thu, 14 Oct 2010 13:55:30 +0000 (13:55 +0000)]
shr.el (shr-tag-a): Use url-link as widget type.

13 years agosrc/w32*.c: Whitespace fixes and typos.
Juanma Barranquero [Thu, 14 Oct 2010 12:25:35 +0000 (14:25 +0200)]
src/w32*.c: Whitespace fixes and typos.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 14 Oct 2010 10:16:59 +0000 (10:16 +0000)]
Merge changes made in Gnus trunk.

gnus-group.el (gnus-group-insert-group-line): Fix group argument to `gnus-group-get-icon'.
nnimap.el (nnimap-open-connection): tls-program should be a list of programs.

13 years agoFix 2010-10-12 change to custom-theme-set-faces.
Chong Yidong [Thu, 14 Oct 2010 05:57:58 +0000 (01:57 -0400)]
Fix 2010-10-12 change to custom-theme-set-faces.

* cus-face.el (custom-theme-set-faces): Call custom-push-theme
only after checking the theme-face property.

13 years agomail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and...
Kenichi Handa [Thu, 14 Oct 2010 04:23:36 +0000 (13:23 +0900)]
mail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and just show an error message (bug#7165).

13 years agoDefine a cursor defface; minor face optimizations.
Chong Yidong [Thu, 14 Oct 2010 03:55:18 +0000 (23:55 -0400)]
Define a cursor defface; minor face optimizations.

* faces.el (face-spec-reset-face): Reset all attributes in one
single call to set-face-attribute.
(face-spec-match-p): Make it a defsubst.
(frame-set-background-mode): New arg KEEP-FACE-SPECS.
(x-create-frame-with-faces, tty-create-frame-with-faces)
(tty-set-up-initial-frame-faces): Don't recompute face specs in
frame-set-background-mode, since they are recomputed immediately
afterwards in face-set-after-frame-default.
(face-set-after-frame-default): Minor optimization.
(cursor): Provide non-trivial defface spec.

* custom.el (custom-theme-recalc-face): Simplify.

13 years agocalc-alg.el (math-var): Renamed from `var'.
Jay Belanger [Thu, 14 Oct 2010 03:14:38 +0000 (22:14 -0500)]
calc-alg.el (math-var): Renamed from `var'.
(math-is-polynomial, math-is-poly-rec): Replace `var' with `math-var'.

calcalg2.el (math-var): Renamed from `var'.
(calcFunc-table, math-scan-for-limits): Replace `var' with `math-var'.

13 years agomerge emacs-23
Kenichi Handa [Thu, 14 Oct 2010 02:06:31 +0000 (11:06 +0900)]
merge emacs-23

13 years ago(ps-mule-begin-job): Fix for the case that only ENCODING is set in a font-spec (bug...
Kenichi Handa [Thu, 14 Oct 2010 02:03:25 +0000 (11:03 +0900)]
(ps-mule-begin-job): Fix for the case that only ENCODING is set in a font-spec (bug#7197).

13 years agosrc/w32*.c: Make functions static.
Juanma Barranquero [Thu, 14 Oct 2010 01:33:31 +0000 (03:33 +0200)]
src/w32*.c: Make functions static.

* src/w32fns.c (w32_wnd_proc, file_dialog_callback):
* src/w32font.c (w32_generic_family):
* src/w32inevt.c (key_event):
* src/w32menu.c (fill_in_menu):
* src/w32proc.c (reader_thread, w32_executable_type, compare_env)
  (merge_and_sort_env, int_from_hex, enum_locale_fn, enum_codepage_fn):
* src/w32term.c (w32_read_socket): Make static.

13 years agomm-decode.el (mm-shr): Bind shr-blocked-images to suppress compile warning.
Katsumi Yamaoka [Thu, 14 Oct 2010 01:17:30 +0000 (01:17 +0000)]
mm-decode.el (mm-shr): Bind shr-blocked-images to suppress compile warning.

13 years agosrc/image.c (DEF_IMGLIB_FN): Add argument to adapt to strict prototypes.
Juanma Barranquero [Wed, 13 Oct 2010 23:48:09 +0000 (01:48 +0200)]
src/image.c (DEF_IMGLIB_FN): Add argument to adapt to strict prototypes.

13 years agolisp/subr.el (last): Deal with dotted lists (reported in bug#7174).
Glenn Morris [Wed, 13 Oct 2010 23:43:39 +0000 (01:43 +0200)]
lisp/subr.el (last): Deal with dotted lists (reported in bug#7174).

13 years agolisp/subr.el (last): Use `safe-length' instead of `length' (bug#7206).
Stephen Berman [Wed, 13 Oct 2010 23:15:03 +0000 (01:15 +0200)]
lisp/subr.el (last): Use `safe-length' instead of `length' (bug#7206).

13 years agonnimap.el (nnimap-close-server): Forget the nnimap data on close.
Lars Magne Ingebrigtsen [Wed, 13 Oct 2010 23:12:47 +0000 (23:12 +0000)]
nnimap.el (nnimap-close-server): Forget the nnimap data on close.

13 years agosrc/makefile.w32-in: Simplify OBJ macros.
Juanma Barranquero [Wed, 13 Oct 2010 23:08:58 +0000 (01:08 +0200)]
src/makefile.w32-in: Simplify OBJ macros.

* makefile.w32-in (TLIB2): Rename from TLIBW32.
  (OBJ2): New macro.
  (WIN32OBJ, FONTOBJ): Remove.
  (OBJ1): Redistribute object files with OBJ2.
  (LIBS, $(TEMACS)): Use TLIB2.
  (make-buildobj-CMD, make-buildobj-SH): Use OBJ2.
  ($(TLIB2), TAGS, TAGS-LISP, TAGS-gmake): Depend on OBJ2.