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

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

auth.texi (GnuPG and EasyPG Assistant Configuration): Fix syntax and trim sentence.
shr.el (shr-current-column): Remove buggy and unnecessary function.
auth.texi: Fix up pxref/xref.
auth.texi (GnuPG and EasyPG Assistant Configuration): Fix up the @item syntax for in-Emacs makeinfo.
gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert anything in Emacs.
mm-decode.el (mm-shr): Allow use from non-Gnus users.
nnimap.el (nnimap-parse-flags): Be more strict when looking for FETCH responses.
nnimap.el, tls.el: Rip the STARTTLS stuff out of tls.el again, and just bind it directly from nnimap.
shr.el (shr-find-fill-point): Use a filling algorithm that should probably work for CJVK text, too.
nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
nnimap.el (nnimap-parse-flags): Fix regexp.
tls.el (tls-program): Remove spurious %s from openssl.
shr.el (shr-find-fill-point): Don't inloop on indented text.

13 years agoRename `image-library-alist' to `dynamic-library-alist'.
Juanma Barranquero [Wed, 13 Oct 2010 14:50:06 +0000 (16:50 +0200)]
Rename `image-library-alist' to `dynamic-library-alist'.

* etc/NEWS: Mention `dynamic-library-alist'.

* lisp/image.el (image-library-alist): Declare as obsolete alias.
  (image-type-available-p): Use `dynamic-library-alist'.

* lisp/term/w32-win.el (dynamic-library-alist):
  Use instead of `image-library-alist'.

* nt/INSTALL: Refer to `dynamic-library-alist'.

* src/image.c (Vimage_library_alist)
  (syms_of_image) <image-library-alist>: Move to src/emacs.c and rename.
  (lookup_image_type): Use Vdynamic_library_alist.
  (Finit_image_library): Doc fix.

* src/emacs.c (Vdynamic_library_alist)
  (syms_of_emacs) <dynamic-library-alist>: Move from src/image.c and rename.
  Doc fix.

* src/lisp.h (Vdynamic_library_alist): Declare extern.

13 years agoFix handling of font properties on Windows (bug#6303).
Damyan Pepper [Wed, 13 Oct 2010 14:07:28 +0000 (16:07 +0200)]
Fix handling of font properties on Windows (bug#6303).
* src/font.c (font_filter_properties): New function, refactored from
  ftfont_filter_properties.
* src/font.h (font_filter_properties): Declare.
* src/ftfont.c (ftfont_filter_properties): Use font_filter_properties.
* src/w32font.c (w32font_booleans, w32font_non_booleans): New variables.
  (w32font_filter_properties): New function.
  (w32font_driver): Add w32font_filter_properties.

13 years agoshr: make shr-width a defcustom, use it in shr-tag-img.
Julien Danjou [Wed, 13 Oct 2010 11:55:48 +0000 (11:55 +0000)]
shr: make shr-width a defcustom, use it in shr-tag-img.

13 years agognus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling.
Katsumi Yamaoka [Wed, 13 Oct 2010 05:39:17 +0000 (05:39 +0000)]
gnus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling.

13 years ago* lisp/subr.el (last): Make it faster.
IRIE Shinsuke [Wed, 13 Oct 2010 03:30:36 +0000 (20:30 -0700)]
* lisp/subr.el (last): Make it faster.

Fixes: debbugs:7174

13 years ago* lisp/Makefile.in (compile-clean): Use `` instead of $().
Rainer Orth [Wed, 13 Oct 2010 03:23:47 +0000 (20:23 -0700)]
* lisp/Makefile.in (compile-clean): Use `` instead of $().
(Former is more portable than the latter.)

Fixes: debbugs:7178

13 years agoTidy some nextstep README etc files.
Glenn Morris [Wed, 13 Oct 2010 03:17:59 +0000 (20:17 -0700)]
Tidy some nextstep README etc files.

* nextstep/README: Move historical information to new file ../etc/NEXTSTEP.
* nextstep/AUTHORS: Merge into ./etc/NEXTSTEP and remove file.

* etc/NEXTSTEP: New file, extracted from ../nextstep/{AUTHORS,README}.

* make-dist: No more nextstep/AUTHORS.

13 years ago* nextstep/README: Remove information duplicated in AUTHORS.
Glenn Morris [Wed, 13 Oct 2010 03:11:55 +0000 (20:11 -0700)]
* nextstep/README: Remove information duplicated in AUTHORS.

13 years ago* nextstep/AUTHORS: Remove email addresses.
Glenn Morris [Wed, 13 Oct 2010 03:11:08 +0000 (20:11 -0700)]
* nextstep/AUTHORS: Remove email addresses.

13 years agoMore make-dist simplification.
Glenn Morris [Wed, 13 Oct 2010 03:08:45 +0000 (20:08 -0700)]
More make-dist simplification.

* make-dist: Remove --compress.  Check for the appropriate
gzip-like executable, and if not found, don't compress.
Check version number in README, don't change it.
Use find for nt/inc/*.h.

13 years ago* lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
Glenn Morris [Wed, 13 Oct 2010 03:05:22 +0000 (20:05 -0700)]
* lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.

13 years agognus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars' position when...
Katsumi Yamaoka [Wed, 13 Oct 2010 02:19:11 +0000 (02:19 +0000)]
gnus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars' position when (X-)Faces exist.
gnus-gravatar.el (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Force displaying avatars when called interactively.

13 years agoFix typos in docstrings, comments and ChangeLogs.
Juanma Barranquero [Tue, 12 Oct 2010 23:25:19 +0000 (01:25 +0200)]
Fix typos in docstrings, comments and ChangeLogs.

* etc/tutorials/TUTORIAL.es: Fix typos.

* lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
  Fix typo in message.
  (semantic-symref-list-map-open-hits): Fix typo in docstring.

* lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.

* lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.

* lisp/international/mule.el (define-coding-system):
* lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
* composite.el (compose-region): Fix typo in docstring.

* lisp/org/org-agenda.el (org-prefix-category-length)
  (org-prefix-category-max-length): Fix typos in docstrings.

* src/font.c (Ffont_variation_glyphs):
* ccl.c (Fccl_execute_on_string): Fix typo in docstring.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Tue, 12 Oct 2010 22:18:24 +0000 (22:18 +0000)]
Merge changes made in Gnus trunk.

gnus-gravatar.el (gnus-art): Required.
shr.el (shr-tag-img): Add align attribute support for <img>.
gnus-gravatar.el (gnus-gravatar-insert): Check if buffer is alive.
shr.el (shr-tag-img): Encode URL properly when retrieving.
shr.el (shr-get-image-data): Encode URL properly when fetching from cache.
shr.el (shr-tag-img): Use aligned-to spaces to align correctly images.
nnimap.el (nnimap-request-rename-group): Unselect by selecting a mailbox that doesn't exist.
rfc2231.el (rfc2231-parse-string): Ignore repeated parts.
gnus-gravatar.el (gnus-gravatar-too-ugly): Don't test if gnus-article-x-face-too-ugly is bound.

13 years agoRemove trailing / from directory names.
Dan Nicolaescu [Tue, 12 Oct 2010 21:03:09 +0000 (14:03 -0700)]
Remove trailing / from directory names.

* configure (ns_appdir, OLDXMENU, TOOLTIP_SUPPORT): Remove
trailing / from directory names.

13 years agoAdd some default custom themes.
Chong Yidong [Tue, 12 Oct 2010 20:06:20 +0000 (16:06 -0400)]
Add some default custom themes.

* cus-theme.el (custom-theme--listed-faces): Add cursor face.
(describe-theme-1): Extract doc from unloaded themes.

* custom.el (custom-theme-name-valid-p): Don't list color-themes.

* themes/tango-theme.el:
* themes/tango-dark-theme.el:
* themes/wheatgrass-theme.el: New files.

13 years agoFix typos in docstrings, comments and ChangeLogs.
Juanma Barranquero [Tue, 12 Oct 2010 15:16:57 +0000 (17:16 +0200)]
Fix typos in docstrings, comments and ChangeLogs.

* lisp/composite.el (compose-region):
* src/ccl.c (Fccl_execute_on_string): Fix typo in docstring.