1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00
Commit graph

51685 commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
23737b4aee * newcomment.el (comment-dwim): Fix the intentation in the doc string. 2010-10-21 22:12:38 +02:00
Michael Albinus
01d884cf2e * 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.
2010-10-21 10:05:23 +02:00
Katsumi Yamaoka
3c06637349 shr.el (shr-tag-table): Simplify. 2010-10-21 05:36:36 +00:00
Lars Magne Ingebrigtsen
d815edf0e6 gnus-html.el (gnus-html-prefetch-images): Only prefetch http images to avoid trying to snarf invalid stuff. 2010-10-21 03:48:01 +00:00
Katsumi Yamaoka
1171414dae gnus-sum.el (gnus-summary-edit-article-done): Bind replace-result. 2010-10-21 02:52:45 +00:00
Lars Magne Ingebrigtsen
d99bf2d833 gnus.el (gnus-message-archive-group): Quote value.
gnus.el (gnus-message-archive-group): Mark as changed.
2010-10-21 02:44:47 +00:00
Daiki Ueno
08ffb13109 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.
2010-10-21 11:38:46 +09:00
Lars Magne Ingebrigtsen
6c85a14fb7 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.
2010-10-21 01:49:12 +00:00
Lars Magne Ingebrigtsen
514d91284a gnus.el (gnus-update-message-archive-method): Change the default to monthly outgoing groups. 2010-10-21 01:28:34 +00:00
Lars Magne Ingebrigtsen
728fd3b97f 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.
2010-10-21 01:23:34 +00:00
Katsumi Yamaoka
ab388ec43c nnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
nnrss.el (nnrss-request-article): Don't use special html washing code.
2010-10-21 00:27:32 +00:00
Gnus developers
2526f42379 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.
2010-10-20 22:29:38 +00:00
Katsumi Yamaoka
4bfb8dec36 shr.el (shr-tag-table): Fix last change. 2010-10-20 12:24:49 +00:00
Julien Danjou
9d1bf25d2d nnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval. 2010-10-20 10:34:58 +00:00
Gnus developers
ba91f05dd8 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.
2010-10-20 10:31:10 +00:00
Katsumi Yamaoka
6c7693116b shr.el: (shr-tag-table): Support caption, thead, and tfoot. 2010-10-20 07:31:25 +00:00
Katsumi Yamaoka
9f47ba2d0f shr.el (shr-find-fill-point): Shorten line if the preceding char is kinsoku-eol regardless of shr-kinsoku-shorten. 2010-10-20 00:44:28 +00:00
Lars Magne Ingebrigtsen
cdf1fca4ad shr.el (shr-save-contents): New command and keystroke. 2010-10-20 00:02:35 +00:00
Lars Magne Ingebrigtsen
b643306fb0 shr.el (shr-find-fill-point): Don't leave blanks at the start of some lines. 2010-10-19 23:26:28 +00:00
Lars Magne Ingebrigtsen
c872595d34 nndoc.el (nndoc-transform-git-headers): Generate Subject headers.
gnus.texi (Document Groups): Mention git.
2010-10-19 23:06:50 +00:00
Lars Magne Ingebrigtsen
2e76c12c57 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.
2010-10-19 22:20:47 +00:00
Alan Mackenzie
7f0789c9db 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.
2010-10-19 20:45:42 +00:00
Alan Mackenzie
ba7fdf303b 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.
2010-10-19 20:18:35 +00:00
Chong Yidong
7fd8732d2e 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.
2010-10-19 15:22:40 -04:00
Julien Danjou
3f12b18cb5 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.
2010-10-19 15:20:33 -04:00
Chong Yidong
b8a47412d3 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.
2010-10-19 11:43:27 -04:00
Juanma Barranquero
ca3fa30248 Merge changes from emacs-23 branch. 2010-10-19 13:44:07 +02:00
Michael Albinus
3224b54d5c * 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>.
2010-10-19 11:50:07 +02:00
Michael Albinus
bca0f839a5 * 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>.
2010-10-19 11:26:21 +02:00
Katsumi Yamaoka
2fe10446ee shr.el: Fix last change. 2010-10-19 08:19:45 +00:00
Katsumi Yamaoka
83ffd5713d shr.el: Improve kinsoku and table rendering. 2010-10-19 07:57:50 +00:00
Stefan Monnier
a04f9e264c * lisp/gnus/nnimap.el (nnimap-request-move-article, nnimap-parse-line)
(nnimap-process-expiry-targets): Use unibyte for buffers that hold
undecoded network data.
2010-10-18 20:13:27 -04:00
Lars Magne Ingebrigtsen
2755ee7829 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).
2010-10-18 23:41:03 +00:00
Gnus developers
7cad71ad21 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.
2010-10-18 22:09:28 +00:00
Julien Danjou
36ba6f0730 * lisp/avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
hidden by `make-pointer-invisible'.
2010-10-18 17:10:38 -04:00
Stefan Monnier
43f964fcf0 * lisp/files.el (locate-file-completion-table): Strip non-matching elements
before checking length of list.

Fixes: debbugs:7238
2010-10-18 17:02:00 -04:00
Stefan Monnier
e8b69dc286 * lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.
Fixes: debbugs:6256
2010-10-18 14:38:11 -04:00
Chong Yidong
a8c41b4c0d 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.
2010-10-18 13:28:20 -04:00
Chong Yidong
e48eb34332 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.
2010-10-18 13:26:25 -04:00
Agustín Martín
df987d70a3 ispell.el (ispell-aspell-find-dictionary): Fix aspell data file search (bug#7230). 2010-10-18 18:01:43 +02:00
Katsumi Yamaoka
b41c2f6580 shr.el (shr-insert): Comment fix. 2010-10-18 05:45:06 +00:00
Katsumi Yamaoka
73db8b08c9 shr.el (shr-insert): Don't insert space behind a wide character categorized as kinsoku-bol, or between characters both categorized as nospace. 2010-10-18 05:21:26 +00:00
Stefan Monnier
a7769c3060 (regexp-opt-group, regexp-opt-charset): Turn comments into docstrings 2010-10-17 14:59:58 -04:00
Stefan Monnier
8348910a63 * lisp/minibuffer.el (completion--replace): Move point where it belongs
when there's a common suffix.

Fixes: debbugs:7215
2010-10-17 13:30:22 -04:00
Chong Yidong
392f875a3b Fix a misleading widget message in the last checkin. 2010-10-16 20:05:20 -04:00
Gnus developers
b57a665db1 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.
2010-10-17 00:04:06 +00:00
Chong Yidong
29a4c45b98 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.
2010-10-16 20:00:34 -04:00
Chong Yidong
647bc5022f 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.
2010-10-16 16:36:20 -04:00
Chong Yidong
782b5e8d92 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.
2010-10-16 14:27:08 -04:00
Ralf Angeli
99f65cface Fix searching for bibitem entries. 2010-10-16 17:08:47 +02:00