1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

52349 Commits

Author SHA1 Message Date
Chong Yidong
7c420169ba Merge changes from emacs-23 branch 2011-01-02 15:31:19 -05:00
Glenn Morris
d12f22f52c Remove duplicate ChangeLog entry. 2011-01-02 10:58:36 -08:00
Gnus developers
bb7f5cbcda Merge changes made in Gnus trunk.
mm-view.el (mml-smime): Require.
mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg, use EPG to decrypt S/MIME messages instead of openssl.
nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
gnus-group.el (gnus-group-kill-group): Don't try to update the group status is the group clearly is unreachable.
auth-source.el (auth-source-create): Add the optional second parameter to `local-variable-p' to be compatible with XEmacs.
nnml.el (nnml-request-article): Allow requesting by Message-ID to work when using a compressed nnml folder.
gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to backends after sanitising on entry, because this never makes sense: If the articles have gone missing, then the data no longer exists on the backend, and if they haven't, then Gnus is wrong, and shouldn't overwrite anything anyway.
shr.el (shr-insert-document): Bind shr-width dynamically to window-width if it's nil.
shr.el (shr-width, shr-insert-document): Allow nil as shr-width value with the meaning of using the full emacs window width for rendering.
2011-01-02 11:23:02 +00:00
Stefan Monnier
2a8a455e77 * lisp/files.el (file-local-variables-alist): Make permanent-local.
Fixes: debbugs:7767
2011-01-01 22:57:26 -05:00
Mark Lillibridge
2f9520592d * lisp/mail/mail-utils.el (mail-strip-quoted-names): Don't modify the
" *temp*" buffer.

Fixes: debbugs:7746
2011-01-01 22:16:03 -05:00
Glenn Morris
d7bfa7a1d9 Set short copyright year to 2011.
* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright):
* lisp/version.el (emacs-copyright):
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Set short copyright year to 2011.
2011-01-01 18:46:30 -08:00
Mark Lillibridge
9430e9882e Mail-utils fix for bug#7746. (tiny change)
* lisp/mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
an existing temp buffer.
2011-01-01 18:43:26 -08:00
Glenn Morris
8de31eeccb Small mail-utils fix for bug 7760.
* lisp/mail/mail-utils.el (mail-mbox-from): Handle From: headers with
multiple addresses.
2011-01-01 18:35:23 -08:00
Ken Manheimer
7927f48d45 (allout-auto-fill): Do not infinitely recurse - use do-auto-fill if
everything points back to allout-auto-fill.

(allout-mode-deactivate-hook): Declare obsolete, in favor of
standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2011-01-01 19:35:15 -05:00
Michael Albinus
01e6260095 * net/tramp.el (tramp-methods): Add recursive options to "scpc",
"scpx", "pscp" and "psftp".

Please do not sync with the trunk.
2010-12-31 21:17:53 +01:00
Michael Albinus
8d68c659a6 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
and "scpx".
2010-12-31 20:57:05 +01:00
Eli Zaretskii
5be1c984b7 Fix bug #7716 with PNG image support libraries on Windows.
src/image.c <Qlibpng_version>: New variable.
 (syms_of_image): Intern and staticpro it.  Set its value to the
 version of PNG library we were compiled with.
 (my_png_error, png_load): Avoid GCC warnings about direct access
 to png_ptr->jmpbuf.
 lisp/term/w32-win.el (image-library-alist): Set up correctly for
 libpng versions both before and after 1.4.0.
 admin/nt/README.W32: Update the information about PNG support libraries.
 nt/INSTALL: Update the information about PNG support libraries.
2010-12-31 14:38:06 +02:00
Tassilo Horn
291cc04566 * doc-view.el (doc-view-set-doc-type): New function refactored
from doc-view-mode.
(doc-view-fallback-mode): New function.
(doc-view-mode): Use it.
(doc-view-mode-maybe): New function that checks if doc-view-mode
can be used and falls back to the next best mode otherwise.

* files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
DVI, OpenDocument, and MS Office files.
2010-12-30 19:08:18 +01:00
Andreas Schwab
8ee2dc5cff * lisp/emacs-lisp/rx.el (rx-syntax): Fix typo. 2010-12-30 16:15:34 +01:00
Tassilo Horn
f9e68477a2 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
on a copy of auto-mode-alist, because that deletes with side
effects.
2010-12-30 15:58:32 +01:00
Tassilo Horn
ad727c819a * doc-view.el (doc-view-mode, doc-view-toggle-display): Use
normal-mode without doc-view-mode bindings in auto-mode-alist as
fallback instead of hard coding fundamental mode.
2010-12-30 15:47:53 +01:00
Tassilo Horn
b71b780322 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS Office) files also for searching. 2010-12-30 14:53:22 +01:00
Tassilo Horn
95e16d17b7 * doc-view.el: Implement viewing of OpenDocument (and Microsoft Office) files.
Not yet enabled via auto-mode-list.
(doc-view-unoconv-program): New custom variable.
(doc-view-mode-p): Handle new odf document type.
(doc-view-odf->pdf): New conversion function.
(doc-view-convert-current-doc): Call it for odf files.
(doc-view-mode): Recognize newly supported file extensions.
2010-12-30 14:45:09 +01:00
Michael Albinus
b191c9d952 * net/tramp.el (tramp-default-method-alist)
(tramp-default-user-alist)
(tramp-local-host-regexp, tramp-prefix-domain-format)
(tramp-prefix-domain-regexp): Set tramp-autoload cookie.

* net/tramp-ftp.el:
* net/tramp-gvfs.el:
* net/tramp-gw.el:
* net/tramp-imap.el:
* net/tramp-sh.el:
* net/tramp-smb.el: Add tramp-autoload cookie for initialisation
code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2010-12-30 10:04:15 +01:00
Chong Yidong
5ae0867f43 * lisp/textmodes/conf-mode.el (conf-font-lock-keywords): Minor tweak (Bug#7712).
Use single quote instead of unused backquote.
2010-12-29 19:02:48 +08:00
Karl Fogel
6e457cc94c * lisp/saveplace.el (save-place-alist-to-file): Save list sorted and
pretty-printed, so that it is mergeable by line-based text merging,
  as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2010-12-28 22:24:09 -05:00
Ken Manheimer
2576c28f3a (allout-v18/19-file-var-hack): Obsolete, remove.
(allout-mode): Argument "toggle" => "force".

Refine the docstring.

Remove special provisions for reactivation, besides the 'force' argument.
Consolidate layout provisions coce directly into the activation condition
branch, now that we've removed those provisions.

(allout-unload-function): Explicitly activate the mode before deactivating,
if it's initially deactivated.

(allout-set-buffer-multibyte): Properly prevent byte-compiler warnings for
version of function used only where set-buffer-multibyte is unavailable.
2010-12-28 14:57:15 -05:00
Chong Yidong
c940c05468 Fix 2010-12-20 change to tool-bar.el.
* tool-bar.el (tool-bar-setup): Remove :enable conditions, which
are handled by the menu-bar entries.  As before, don't use
:visibile to avoid changing the tool-bar.
2010-12-28 17:39:25 +08:00
Michael Albinus
4c145d5d06 * net/secrets.el (secrets-delete-alias): New defun. 2010-12-27 18:52:17 +01:00
Michael Albinus
fe99f70420 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
methods, otherwise ~/.ssh/config would be ignored.
2010-12-27 11:56:26 +01:00
Daiki Ueno
fdee7cc1ac Make GPG-sign-by-sender code robuster.
* mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
case when sender is not given.
2010-12-27 18:46:02 +09:00
Stefan Monnier
723ee192a5 * lisp/emacs-lisp/rx.el: Make it a superset of sregex.
(rx-constituents): Add `any => "."', mark `repeat' as taking any number
of args, add `regex' alias.
(rx-info): Add arg to distinguish head and standalone forms.
(rx-check, rx-form): Pass the corresponding arg.
(rx-**): Simplify.
(rx-repeat): Make it work for any number of args.
(rx-syntax): Make it accept syntax chars as is.
* lisp/obsolete/sregex.el: Move from emacs-lisp/.
* lisp/emacs-lisp/re-builder.el: Remove sregex support.
* lisp/emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2010-12-26 18:17:09 -05:00
Eli Zaretskii
6491af11af Fix bug #7713 with doc string of display-time-mode.
time.el (display-time-mode): Mention display-time-interval in
 the doc string.
2010-12-25 13:50:34 +02:00
Eli Zaretskii
2d34d52373 Fix bug #7702 with docs of selections wrt MS-Windows.
doc/emacs/frames.texi (Cut and Paste): Modify the section's name and text:
 don't mix "cut/paste" with "kill/yank".
 (Cut/Paste Other App): Describe the per-session emulation of PRIMARY.
 lisp/simple.el (select-active-regions): Doc fix.
2010-12-25 13:34:45 +02:00
Eli Zaretskii
e77714da30 Fix bug #7699 with pasting selected text on MS-Windows.
mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
 PRIMARY first, then the clipboard.
2010-12-25 12:57:02 +02:00
Kenichi Handa
8258ae3f5a Fix error handling of MIME parsing. 2010-12-24 23:00:14 +09:00
Andreas Schwab
b0eab0848b Update autoloads in rmail.el 2010-12-24 10:07:39 +01:00
Kenichi Handa
186f7f0b7f Enable display mode of MIME message in rmail. 2010-12-24 13:38:22 +09:00
Julien Danjou
ade9369c17 gnus-gravatar.el (gnus-gravatar-transform-address): Set `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting the addresses, otherwise we might misplaced the gravatar. 2010-12-23 22:24:24 +00:00
Stefan Monnier
17870c01f6 Fix up last change.
* lisp/emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
print-number-table.
* src/print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove.
(print_preprocess): Fix handling of uninterned symbols in last change.
2010-12-22 19:00:12 -05:00
Daiki Ueno
7d50c95105 Add Obsolete-since: header to pgg*.el. 2010-12-22 18:23:58 +09:00
Katsumi Yamaoka
38e2584d52 Fix the log entry for reverting of gnus-util.el. 2010-12-22 07:04:25 +00:00
Chong Yidong
d78cdcf74e * help-fns.el (find-lisp-object-file-name): Locate .emacs from .emacs.elc (Bug#7530). 2010-12-21 14:45:11 +08:00
Chong Yidong
6bfa51ba88 Revert bogus 2010-10-24 change to widget-image-find.
* lisp/wid-edit.el (widget-image-find): Remove bogus :ascent spec from
image spec (Bug#7480).
2010-12-21 10:36:48 +08:00
Daiki Ueno
9d9cfd53c8 Mark PGG obsolete.
* obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
* obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el: Move
from lisp/.

* gnus/mml1991.el (pgg-sign-region, pgg-encrypt-region): 
* gnus/gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
obsolete in Emacs.
2010-12-21 11:30:36 +09:00
Julien Danjou
c486dd9609 Revert "gnus-util: rewrite gnus-rescale-image". 2010-12-20 22:12:30 +00:00
Jan Djärv
adc0b79347 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
always be performed (Bug#7680).
2010-12-20 21:11:01 +01:00
Chong Yidong
3f95d7ffba Bind "Copy" menu item to kill-ring-save, obsoleting menu-bar-kill-ring-save.
* menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
(menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
mouse-region-match.
2010-12-20 22:44:28 +08:00
Leo Liu
e1a235757a * help-fns.el (describe-variable): Fix 2010-12-17 change (Bug#7511). 2010-12-20 19:31:15 +08:00
Chong Yidong
778ca437de Move color.el out of the gnus/ tree. 2010-12-20 11:18:56 +08:00
Juri Linkov
957e5dd1e9 * lisp/isearch.el (isearch-lazy-highlight-error): New variable.
(isearch-lazy-highlight-new-loop): Compare `isearch-error' and
`isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
to the current value of `isearch-error' (Bug#7468).
2010-12-20 01:18:15 +00:00
Chong Yidong
f48fdaad21 Fix 2010-11-22 change to diff.el.
* vc/diff.el (diff-better-file-name): Function deleted.
abbreviating file names causes problems with shell-quote-argument.
(diff-no-select): Just use expand-file-name.
2010-12-20 08:20:25 +08:00
Chong Yidong
949752705e Implement tool-bar separators for non-GTK tool-bars.
* lisp/tool-bar.el (tool-bar--image-expression): New function.
(tool-bar-local-item, tool-bar--image-exp): Use it.
(tool-bar-setup): Initialize tool-bar-separator-image-expression.
Use :enable instead of :visible to avoid changing the tool-bar
configuration unnecessarily.

* src/keyboard.c (Vtool_bar_separator_image_expression): New variable.
(parse_tool_bar_item): Use it to obtain image separators for
displays not using native tool-bar separators.

* src/xdisp.c (build_desired_tool_bar_string): Don't handle separators
specially, since this is now done in parse_tool_bar_item.

* lisp/info.el (info-tool-bar-map): Add separators.
2010-12-20 08:17:26 +08:00
Glenn Morris
45720dc368 Add missing ChangeLog entry for 2010-12-16T23:30:57Z!ken.manheimer@gmail.com. 2010-12-18 12:39:05 -08:00
Gnus developers
70041e9ae7 Merge changes made in Gnus trunk.
nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore gnus-use-agent.
 (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
gravatar.el (gravatar-retrieve-synchronously): New function.
 (gravatar-get-data): Make more robust.
gnus-util.el (gnus-rescale-image): Allow to resize images even if they are from file. Can also scale up.
nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change here, since it's up to the backends to do CRLF removal if their protocol has it.
gnus-group.el (gnus-group-delete-articles): New command.
2010-12-17 22:45:16 +00:00