]> git.eshelyaron.com Git - emacs.git/log
emacs.git
13 years agoMention epa-file-select-keys in epa.texi.
Daiki Ueno [Fri, 17 Dec 2010 01:43:03 +0000 (10:43 +0900)]
Mention epa-file-select-keys in epa.texi.

13 years agoSynopsis: Migrate allout encryption provisions from pgg library, which is
Ken Manheimer [Thu, 16 Dec 2010 23:30:57 +0000 (18:30 -0500)]
Synopsis: Migrate allout encryption provisions from pgg library, which is
obsolete, to epg library, which replaces pgg.

Due to the underlying GnuPG V2 restrictions on external handling of
passphrases (or epg's restrictions when working with GnuPG v2), we are
dropping allout's symmetric encryption passphrase hinting and verification.
This has the advantage that no emacs code has access to the passphrase,
leaving all passphrase handling in GnuPG, which is much more secure.  This,
together with the reduction in allout code complexity and logistical
complications the user would have in arranging to use GnuPG v1, requires
dropping these features.

Keypair encryption gains features, with adoption of respect for epa-file's
'epa-file-encrypt-to'.  This means that allout outlines can be associated
with recipients, and encryptions by default will be targeted to those
recipients.

The default encryption mode (whether to epa-file-encrypt-to recipients, if
any, or symmetric mode) is overridden by providing a universal argument
greater than 1 to the outline entry encryption command,
'allout-toggle-current-subtree-encryption'.  The user is then prompted to
select keypair identities from their list of known GnuPG keypairs.  If they
don't select any, then symmetric encryption is done.  Otherwise, the
selected keypair identities are targeted.  If the universal argument is
greater than 4 then the selected recipients (or none, if none were
selected) are associated with the outline using a file local variable, as
default recipients for subsequent encryptions.

This is a big merge from a private branch.

Code details:

(allout-toggle-current-subtree-encryption,
allout-toggle-subtree-encryption): Adjust docstrings to reflect defaulting
policy and other changes.
Change fetch-pass to keymode-cue, for simpler universal argument
interpretation.
(allout-toggle-subtree-encryption):  Adjust docstring to describe
changed encryption provisions.
Change fetch-pass to keymode-cue, for simpler universal argument
interpretation.
Remove provisions for handling key type and identity - they'll all be
within allout-encrypt-string or epg/epg or even contained all the way in
gpg.
(allout-encrypt-string): Include keymode-cue, for optionally prompting for
keypair recipients (universal argument > 1) and, in addition, associating the
specified recipients with the outline (universal argument > 4) using a file
local variable setting for 'epa-file-encrypt-to'.
Require epa, for recipients handling.
Change how regexp filtering elements are named.
Describe the problem with caching of incorrect symmetric-decryption keys.
Use the epa-passphrase-callback-function, in case the user is using GnuPG
v1.
Support saving of the selected keypair recipients when invoked with a
keymode-cue > 4.
Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
Require 'epa.
Establish epg-context with armoring and default epg-protocol.
Remove all passphrase cache, verification, and hinting code.
(allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
No longer used, delete.
(allout-mode): Adjust docstring to describe changed encryption provisions.
Describe the problem with caching of incorrect symmetric-decryption keys.
(allout-obtain-passphrase, allout-epg-passphrase-callback-function,
allout-make-passphrase-state, allout-passphrase-state-passphrase,
allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids,
allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
Obsolete, remove.

13 years agonnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really conside...
Lars Magne Ingebrigtsen [Thu, 16 Dec 2010 23:18:57 +0000 (23:18 +0000)]
nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really consider the last line.

13 years ago(allout-mode), (allout-encrypt-string): Describe the problem with caching
Ken Manheimer [Thu, 16 Dec 2010 22:43:45 +0000 (17:43 -0500)]
(allout-mode), (allout-encrypt-string): Describe the problem with caching
of incorrect symmetric-decryption keys.

13 years agolast pgg adjustment before migrating to epg.
Ken Manheimer [Thu, 16 Dec 2010 22:33:13 +0000 (17:33 -0500)]
last pgg adjustment before migrating to epg.

(allout-encrypted-key-info): replace pgg-gpg-symmetric-key-p with explicit
examination of the parsed armoring structure.  pgg-gpg-symmetric-key-p
seems to have drifted, not recognizing parsed symmetric keys as being
symmetric.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 16 Dec 2010 22:22:28 +0000 (22:22 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-wait-for-response): Always look (at least) at the previous line.
nnimap.el (nnimap-quirk): New function.
 (nnimap-retrieve-group-data-early): Use it.
 (nnimap-quirks): New alist.
gnus.texi (Foreign Groups): Added clarification of foreign groups.
gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for copying read-ness to the backends.
gnus-group.el (gnus-group-kill-group): Notify the backend that the group has been killed.
 (gnus-group-yank-group): Ditto.
gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
nnir.el: Improve customizations.
gnus.texi (Archived Messages): Removed outdated comment and text.
nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own function.
 (nnfolder-request-expire-articles): Save all the buffers after doing expiry.
nnmail.el (nnmail-expiry-target-group): Revert the "all articles are the last article", since that led to serious performance regressions when expiring nnml groups.
gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML fetching stops when Gnus exits.
gnus-srvr.el: Avoid passing nil regexp argument to delete-matching-lines.
auth-source.el (auth-source-gpg-encrypt-to): New variable to set the list of recipient keys, or use symmetric encryption if not a list.
 (auth-source-create): Use it to make `epa-file-encrypt-to' local for an EPA override, replacing the call to `netrc-store-data'.

13 years agoHandle invisible cursor (bg same as cursor color) for Nextstep.
Jan Djärv [Thu, 16 Dec 2010 19:37:13 +0000 (20:37 +0100)]
Handle invisible cursor (bg same as cursor color) for Nextstep.

* nsterm.m (ns_draw_window_cursor): If the cursor color is the
same as the background, use the face forground as cursor.

13 years agorespect epa-file-encrypt-to, defaulting to it when encrypting, if set, and
Ken Manheimer [Thu, 16 Dec 2010 07:39:17 +0000 (02:39 -0500)]
respect epa-file-encrypt-to, defaulting to it when encrypting, if set, and
adjusting the value (as a file local variable and an active buffer setting)
with the result of epa-select-keys.

note the problem with caching of incorrect symmetric decryption keys.

(allout-toggle-current-subtree-encryption),
(allout-toggle-subtree-encryption): Adjust docstrings to reflect defaulting
policy change.

(allout-encrypt-string): keymod-cue rather than keypair-mode, which is
interpreted here.  Use the epa-passphrase-callback-function, in case the
user is using GnuPG v1.  Support saving of the selected keypair recipients
when invoked with a keymode-cue > 4.

13 years agourl-cookie.el: Require 'cl when compiling
Miles Bader [Thu, 16 Dec 2010 04:14:48 +0000 (13:14 +0900)]
url-cookie.el: Require 'cl when compiling

13 years agoExtend epa-file-select-keys to allow users to inhibit key selection.
Daiki Ueno [Thu, 16 Dec 2010 02:35:56 +0000 (11:35 +0900)]
Extend epa-file-select-keys to allow users to inhibit key selection.

* epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
key selection prompt; make 'silent as default (Bug#7487).

13 years agoetc/NEWS: Document eshell-directory-name change.
Chong Yidong [Thu, 16 Dec 2010 02:28:33 +0000 (10:28 +0800)]
etc/NEWS: Document eshell-directory-name change.

13 years ago* eshell/eshell.el (eshell-directory-name): Use locate-user-emacs-file (Bug#7578).
Leo Liu [Thu, 16 Dec 2010 02:26:39 +0000 (10:26 +0800)]
* eshell/eshell.el (eshell-directory-name): Use locate-user-emacs-file (Bug#7578).

13 years agoDoc fix for just-one-space change. Document it in NEWS.
Chong Yidong [Thu, 16 Dec 2010 01:20:46 +0000 (09:20 +0800)]
Doc fix for just-one-space change.  Document it in NEWS.

13 years agoshr.el (shr-insert): Set shr-start after deleting trailing space; don't delete it...
Katsumi Yamaoka [Thu, 16 Dec 2010 00:55:04 +0000 (00:55 +0000)]
shr.el (shr-insert): Set shr-start after deleting trailing space; don't delete it within indentation.

13 years agognus-agent.el: Indent.
Gnus developers [Wed, 15 Dec 2010 22:24:36 +0000 (22:24 +0000)]
gnus-agent.el: Indent.
gnus.texi: Fix a couple nnir -> @code{nnir} things.
nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the QRESYNC command by deleting a superfluous space which broke Cyrus servers.  This change will break other servers that are buggy the other way around.
gnus.texi (The hyrex Engine): Say that this engine as obsolete.

13 years agoRemove code and comments related to lib-src/fns-*.el; long removed.
Glenn Morris [Wed, 15 Dec 2010 08:16:53 +0000 (00:16 -0800)]
Remove code and comments related to lib-src/fns-*.el; long removed.

* Makefile.in (install-arch-dep, uninstall): Remove code relating to the
long absent lib-src/fns-*.el.

* lisp/loadup.el (symbol-file-load-history-loaded): Remove; unused.
Remove related, old, commented-out code.

* lisp/subr.el (symbol-file-load-history-loaded)
  (load-symbol-file-load-history): Remove old, commented-out code.

13 years agoNew command rectangle-number-lines (Bug#4382).
Jari Aalto [Wed, 15 Dec 2010 02:56:22 +0000 (10:56 +0800)]
New command rectangle-number-lines (Bug#4382).

* rect.el (rectange--default-line-number-format)
(rectangle-number-line-callback): New functions.
(rectangle-number-lines): New command, bound to C-x r N.

13 years agoDelete long unused functions and variables in rect.el.
Chong Yidong [Wed, 15 Dec 2010 02:05:38 +0000 (10:05 +0800)]
Delete long unused functions and variables in rect.el.
lisp/rect.el (operate-on-rectangle-lines, string-rectangle-string):
Delete unused variables.
(move-to-column-force): Remove function obsolete since 21.2.

13 years agospam.el: Reindent and fix long lines.
Teodor Zlatanov [Tue, 14 Dec 2010 23:08:31 +0000 (23:08 +0000)]
spam.el: Reindent and fix long lines.
 (spam-copy-or-move-routine): Exclude invalid move destinations.

13 years agognus.texi (The swish++ Engine): Add customizable parameters descriptions.
Andrew Cohen [Tue, 14 Dec 2010 22:11:38 +0000 (22:11 +0000)]
gnus.texi (The swish++ Engine): Add customizable parameters descriptions.
 (The swish-e Engine): Ditto.

13 years ago* NEWS: Mention new Tramp method "ksu".
Michael Albinus [Tue, 14 Dec 2010 20:42:57 +0000 (21:42 +0100)]
* NEWS: Mention new Tramp method "ksu".

13 years ago* tramp.texi (Inline methods): Add "ksu" method.
Michael Albinus [Tue, 14 Dec 2010 20:37:49 +0000 (21:37 +0100)]
* tramp.texi (Inline methods): Add "ksu" method.
(Remote processes): Add example with remote `default-directory'.

13 years ago* net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
Michael Albinus [Tue, 14 Dec 2010 20:33:33 +0000 (21:33 +0100)]
* net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
(tramp-handle-insert-file-contents): Do not set permanent-local
property.

* net/tramp-cache.el (tramp-persistency-file-name): Use
`locate-user-emacs-file' if fboundp.

* net/tramp-sh.el (tramp-methods): Add "ksu".
(tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
method list.

13 years agonnir.el (nnir-mode): Don't install registry hooks if user hasn't installed the registry.
Andrew Cohen [Tue, 14 Dec 2010 12:52:30 +0000 (12:52 +0000)]
nnir.el (nnir-mode): Don't install registry hooks if user hasn't installed the registry.

13 years agoTidy up some js.el requires.
Glenn Morris [Tue, 14 Dec 2010 08:06:18 +0000 (00:06 -0800)]
Tidy up some js.el requires.
* lisp/progmodes/js.el: Doc't require font-lock, etags, or easymenu.
(find-tag-marker-ring): Declare.
(js-find-symbol): Require etags.

13 years agoMisc sendmail.el.
Glenn Morris [Tue, 14 Dec 2010 05:01:08 +0000 (21:01 -0800)]
Misc sendmail.el.

* lisp/mail/sendmail.el: Don't require rmail or mailalias when compiling.
Require mail-utils.
(mail-alias-file): Don't autoload.  Doc fix.
(mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
(mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
Mark as obsolete, and risky.
(mail-setup): Simplify.

13 years agoChangeLog fix.
Glenn Morris [Tue, 14 Dec 2010 04:46:07 +0000 (20:46 -0800)]
ChangeLog fix.

13 years agoMake build-mail-aliases an interactive command.
Glenn Morris [Tue, 14 Dec 2010 04:42:59 +0000 (20:42 -0800)]
Make build-mail-aliases an interactive command.

* lisp/mail/mailalias.el (build-mail-aliases): Make it interactive.
* lisp/mail/sendmail.el (build-mail-aliases): Update autoload.

* doc/misc/faq.texi (Expanding aliases when sending mail):
Now build-mail-aliases is interactive.

13 years agoRemove some dired.el autoload cookies on defcustoms.
Glenn Morris [Tue, 14 Dec 2010 04:35:33 +0000 (20:35 -0800)]
Remove some dired.el autoload cookies on defcustoms.

* lisp/dired.el (dired-trivial-filenames, dired-chown-program)
(dired-auto-revert-buffer): Remove autoload cookies.
* lisp/mail/sendmail.el (mail-recover-1): Require 'dired.

13 years agoMake some dired defvars into defcustoms.
Glenn Morris [Tue, 14 Dec 2010 04:32:14 +0000 (20:32 -0800)]
Make some dired defvars into defcustoms.

* lisp/dired.el (dired-subdir-switches, dired-chown-program)
(dired-use-ls-dired, dired-chmod-program, dired-touch-program):
Make into defcustoms.
(dired-chown-program): Simplify initialization.

13 years ago* lisp/mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
Glenn Morris [Tue, 14 Dec 2010 04:26:01 +0000 (20:26 -0800)]
* lisp/mail/mail-utils.el: No need to require lisp-mode, it's in loadup.

13 years agoMisc url-cookie tidy-up.
Glenn Morris [Tue, 14 Dec 2010 04:18:22 +0000 (20:18 -0800)]
Misc url-cookie tidy-up.

* lisp/url/url-cookie.el: Don't require cl when compiling.
(url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
(url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
(url-cookie-handle-set-cookie): Simplify.

13 years agognus.texi (Filtering New Groups): Mention.
Andrew Cohen [Mon, 13 Dec 2010 23:54:31 +0000 (23:54 +0000)]
gnus.texi (Filtering New Groups): Mention.

13 years agonnir.el (nnir-run-gmane): Better check for gmane groups: error out if groupname doesn...
Andrew Cohen [Mon, 13 Dec 2010 23:31:59 +0000 (23:31 +0000)]
nnir.el (nnir-run-gmane): Better check for gmane groups: error out if groupname doesn't contain "gmane".

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Mon, 13 Dec 2010 22:29:12 +0000 (22:29 +0000)]
Merge changes made in Gnus trunk.

nnir.el (nnir-run-imap): Return article list in UID order.
gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list of automatically subscribed groups.
 (gnus-auto-subscribed-categories): New variable.
 (gnus-matches-options-n): Use it.
 (gnus-default-subscribed-newsgroups): Remove unused variable.
 (gnus-start-draft-setup): Message a bit less.
gnus-agent.el (gnus-agentize): Don't create the queue group automatically on startup.  It'll be created later, if needed.
gnus-start.el (gnus-1): Clarify comment.
 (gnus-matches-options-n): Fix typo in last change.
 (gnus-1): Don't create the nndrafts group twice.
 (gnus-setup-news): There's no need to read the active file here, since that's done again later on a per-backend basis.
 (gnus-start-draft-setup): Make sure that the new group is started out empty.
netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old and netrc-bound-and-true-p bindings.
 (netrc-parse): Cache the netrc contents.

13 years ago* net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
Romain Francoise [Mon, 13 Dec 2010 22:20:32 +0000 (23:20 +0100)]
* net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.

13 years agoChangeLog fixes.
Glenn Morris [Mon, 13 Dec 2010 17:27:56 +0000 (09:27 -0800)]
ChangeLog fixes.
Includes removing changes for files not present.

13 years agoChangeLog merge fix.
Glenn Morris [Mon, 13 Dec 2010 17:26:01 +0000 (09:26 -0800)]
ChangeLog merge fix.

13 years agoChangeLog whitespace fix.
Glenn Morris [Mon, 13 Dec 2010 17:19:58 +0000 (09:19 -0800)]
ChangeLog whitespace fix.

13 years agoChangeLog merge fix.
Glenn Morris [Mon, 13 Dec 2010 17:18:55 +0000 (09:18 -0800)]
ChangeLog merge fix.

13 years agoMerge from emacs-23
Stefan Monnier [Mon, 13 Dec 2010 15:27:36 +0000 (10:27 -0500)]
Merge from emacs-23

13 years agoproto-stream.el (proto-stream-open-network-only): Fix the calling convention of the...
Lars Magne Ingebrigtsen [Mon, 13 Dec 2010 04:22:39 +0000 (04:22 +0000)]
proto-stream.el (proto-stream-open-network-only): Fix the calling convention of the network-only option.
gnus-sum.el (gnus-summary-enter-digest-group): Mention gnus-auto-select-on-ephemeral-exit.

13 years agosubr.el (posn-col-row): Evaluate header-line-format in the context of
Eli Zaretskii [Sun, 12 Dec 2010 20:45:57 +0000 (22:45 +0200)]
subr.el (posn-col-row): Evaluate header-line-format in the context of
 the POSITION window's buffer.

13 years agoDocument that expand-file-name collapses multiple slashes. (Bug#7617)
Eli Zaretskii [Sun, 12 Dec 2010 20:37:54 +0000 (22:37 +0200)]
Document that expand-file-name collapses multiple slashes.  (Bug#7617)

 fileio.c (Fexpand_file_name): Doc fix.

13 years ago* lisp/bookmark.el (bookmark-name-from-full-record): Rename back to
Karl Fogel [Sun, 12 Dec 2010 16:53:24 +0000 (11:53 -0500)]
* lisp/bookmark.el (bookmark-name-from-full-record): Rename back to
  this original name from `bookmark-name-from-record' reverting part of
  2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
  As Drew Adams pointed out, there was no reason to cause churn for
  third-party callers.

13 years ago(c-forward-type): Before scanning a template arglist, check that the
Alan Mackenzie [Sun, 12 Dec 2010 12:24:56 +0000 (12:24 +0000)]
(c-forward-type): Before scanning a template arglist, check that the
current language supports this.

13 years agoFallout from bug #7563.
Eli Zaretskii [Sat, 11 Dec 2010 18:45:53 +0000 (20:45 +0200)]
Fallout from bug #7563.

 processes.texi (Shell Arguments):
 strings.texi (Creating Strings): Don't mention "shell commands";
 make it explicit that `split-string-and-unquote' and
 `combine-and-quote-strings' are mainly for working with arguments
 to call-process and start-process.

13 years agoUpdate to Org mode 7.4
Carsten Dominik [Sat, 11 Dec 2010 16:42:53 +0000 (17:42 +0100)]
Update to Org mode 7.4

13 years agoFix bug #7398 with truncated glyphs in w32 tooltips.
Eli Zaretskii [Sat, 11 Dec 2010 15:41:04 +0000 (17:41 +0200)]
Fix bug #7398 with truncated glyphs in w32 tooltips.

 w32fns.c (Fx_show_tip): Call try_window with last argument
 TRY_WINDOW_IGNORE_FONTS_CHANGE.  Delete the TODO ifdef: problem
 solved.  Round up the tip height to an integral multiple of the
 frame's line height.  Add FRAME_COLUMN_WIDTH to the tip width.

13 years agoFix bug #7398 with truncated glyphs in tooltip display on w32.
Eli Zaretskii [Sat, 11 Dec 2010 15:20:11 +0000 (17:20 +0200)]
Fix bug #7398 with truncated glyphs in tooltip display on w32.

 w32fns.c (Fx_show_tip): Call try_window with last argument
 TRY_WINDOW_IGNORE_FONTS_CHANGE.  Delete the TODO ifdef: problem
 solved.  Round up the tip height to an integral multiple of the
 frame's line height.  Add FRAME_COLUMN_WIDTH to the tip width.

13 years agoCode cleanup in xdisp.c regarding string_char_and_length.
Eli Zaretskii [Sat, 11 Dec 2010 12:27:13 +0000 (14:27 +0200)]
Code cleanup in xdisp.c regarding string_char_and_length.

 xdisp.c (string_pos_nchars_ahead, c_string_pos)
 (face_before_or_after_it_pos, next_element_from_string)
 (next_element_from_c_string, produce_stretch_glyph): Remove unused
 calculations of maximum string length before calling
 string_char_and_length and STRING_CHAR_AND_LENGTH.
 (string_char_and_length): Update commentary: MAXLEN is no longer
 needed.

13 years agoFix bug #7563 with docs of split-string-and-unquote.
Eli Zaretskii [Sat, 11 Dec 2010 09:41:45 +0000 (11:41 +0200)]
Fix bug #7563 with docs of split-string-and-unquote.

 processes.texi (Shell Arguments): Fix documentation of
 `split-string-and-unquote'.  Add indexing.

13 years agoFix bug #7576 with lack of index entries for character syntax.
Eli Zaretskii [Sat, 11 Dec 2010 09:11:32 +0000 (11:11 +0200)]
Fix bug #7576 with lack of index entries for character syntax.

 custom.texi (Init Syntax): Add index entries for "character syntax".

13 years agoMisc vc-bzr.el.
Glenn Morris [Sat, 11 Dec 2010 02:54:07 +0000 (18:54 -0800)]
Misc vc-bzr.el.

* lisp/vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
state of the file matches.  (Bug#7544)
(vc-bzr-register, vc-bzr-checkin)
(vc-bzr-annotate-extract-revision-at-line): Doc fixes.
(vc-directory-exclusion-list): Remove unnecessary eval-after-load.

Comment changes:
Remove outdated comments about defunct upstream.
Set maintainer to FSF.

13 years ago* lisp/textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
Glenn Morris [Sat, 11 Dec 2010 02:50:58 +0000 (18:50 -0800)]
* lisp/textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.

13 years ago* lisp/files.el (auto-mode-alist): Use html-mode for *.xhtml.
Karel Klíc [Sat, 11 Dec 2010 02:48:23 +0000 (18:48 -0800)]
* lisp/files.el (auto-mode-alist): Use html-mode for *.xhtml.
(This really only affects empty files.)

Fixes: debbugs:7606
13 years agoChangeLog fix.
Glenn Morris [Sat, 11 Dec 2010 02:41:47 +0000 (18:41 -0800)]
ChangeLog fix.

13 years ago* etc/TODO: Updates; and re-fill some lines.
Glenn Morris [Sat, 11 Dec 2010 02:39:41 +0000 (18:39 -0800)]
* etc/TODO: Updates; and re-fill some lines.

13 years ago* doc/emacs/text.texi (HTML Mode): Small fixes.
Karel Klíc [Sat, 11 Dec 2010 02:37:16 +0000 (18:37 -0800)]
* doc/emacs/text.texi (HTML Mode): Small fixes.

Fixes: debbugs:7607
13 years agoDoc fixes.
Glenn Morris [Sat, 11 Dec 2010 02:34:55 +0000 (18:34 -0800)]
Doc fixes.
* lisp/subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
(with-silent-modifications): Doc fixes.

13 years ago[Backport from trunk]: * make-dist: Exclude etc/*.pyc.
Glenn Morris [Sat, 11 Dec 2010 02:32:10 +0000 (18:32 -0800)]
[Backport from trunk]: * make-dist: Exclude etc/*.pyc.

13 years ago* make-dist: Exclude etc/*.pyc.
Glenn Morris [Sat, 11 Dec 2010 02:30:29 +0000 (18:30 -0800)]
* make-dist: Exclude etc/*.pyc.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 11 Dec 2010 01:27:14 +0000 (01:27 +0000)]
Merge changes made in Gnus trunk.

nnir.el (nnir-request-expire-articles): Only allow article deletion.
message.el (message-bogus-recipient-p): Set address to "" if nil.
gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when email address is nil.
proto-stream.el (proto-stream-open-network-only): New function to have a way to specify non-STARTTLS upgrade connections.

13 years agoDon't depend on POSIX compatible parsing of parameter expansion
Andreas Schwab [Fri, 10 Dec 2010 22:42:17 +0000 (23:42 +0100)]
Don't depend on POSIX compatible parsing of parameter expansion

13 years ago- replace pgg with epg/epa - working version, with no calls to pgg.
Ken Manheimer [Fri, 10 Dec 2010 22:09:57 +0000 (17:09 -0500)]
- replace pgg with epg/epa - working version, with no calls to pgg.
- remove passphrase verifier and hinting.

(allout-passphrase-verifier-handling), (allout-passphrase-hint-handling):
No longer used, delete.
(allout-epg-protocol): Never used and unnecessary, delete.

(allout-mode): Adjust docstring to describe changed encryption provisions.

(allout-toggle-current-subtree-encryption): Adjust docstring to describe
changed encryption provisions.  Change fetch-pass to keymode-cue, for
simpler universal argument interpretation.

(allout-toggle-subtree-encryption):  Adjust docstring to describe
changed encryption provisions.  Change fetch-pass to keymode-cue, for
simpler universal argument interpretation.  Remove provisions for handling
key type and identity - they'll all be within allout-encrypt-string or
epg/epg or even contained all the way in gpg.

(allout-encrypt-string): Include keypair-mode argument, for requesting
keypair encryption.  Require epa, for recipients handling.  Change how
regexp filtering elements are named.

(allout-obtain-passphrase), (allout-epg-passphrase-callback-function),
(allout-make-passphrase-state), (allout-passphrase-state-passphrase):
Remove, we're not providing passphrase verification and hinting because:
- gpg v1 is required for epg passphrase callback operation, on which
  verification and hinting depends
- doing that handling exposes the passphrase to emacs code, which is much
  much less secure than leaving all passphrase handling in gpg
- leaving all passphrase handling to gpg removes a lot of complexity from
  allout code
- gpg v2 connection to gpg-agent requires no user provisions, so is simpler
  and provides some convenience that makes up for the lack of hinting and
  verification

(allout-encrypted-key-info), (allout-update-passphrase-mnemonic-aids),
(allout-get-encryption-passphrase-verifier), (allout-verify-passphrase):
Obsolete.

13 years agoDerive from prog-mode, use derived-mode-p, and fix up various
Stefan Monnier [Fri, 10 Dec 2010 20:00:25 +0000 (15:00 -0500)]
Derive from prog-mode, use derived-mode-p, and fix up various
minor style issues in lisp/progmodes.

* lisp/progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
(vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
make-local-hook.
* lisp/progmodes/sh-script.el (sh-require-final-newline): Remove.
(sh-set-shell): Don't set require-final-newline since it's already done
by prog-mode.
* lisp/progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
since we never set it.
* lisp/progmodes/ebrowse.el (ebrowse-set-tree-indentation):
Use read-string and standard prompt.
* lisp/progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
* lisp/progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
(meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
(meta-common-mode-map): Rename from meta-mode-map.
Remove C-m binding, which is a user preference, not mode specific.
(meta-common-mode): New major mode; replace meta-common-initialization.
* lisp/progmodes/js.el (js-mode): Call syntax-propertize rather than messing
around with font-lock.
* lisp/progmodes/etags.el (select-tags-table-mode):
Derive from special-mode.
* lisp/progmodes/octave-mod.el (octave-mode):
* lisp/progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
(gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
(gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
Let define-derived-mode do its job.
* lisp/progmodes/cpp.el (cpp-edit-mode-map):
Move initialization into declaration.
(cpp-edit-mode): Use define-derived-mode.
(cpp-edit-load): Use derived-mode-p.
* lisp/progmodes/mixal-mode.el (mixal-mode):
* lisp/progmodes/f90.el (f90-mode):
* lisp/progmodes/cfengine.el (cfengine-mode): Don't bother setting
require-final-newline since prog-mode does it already.
* lisp/progmodes/cc-cmds.el (c-update-modeline): Use match-string.
* lisp/progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
* lisp/progmodes/antlr-mode.el: Require cc-mode upfront.
(antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
the declaration.
(antlr-directory-dependencies, antlr-show-makefile-rules):
Use derived-mode-p.
(antlr-language-option): Don't assume point-min==1.
(antlr-mode): Use define-derived-mode.
* lisp/progmodes/ada-mode.el: Use derived-mode-p.
(ada-mode): Use define-derived-mode.
Use hack-local-variables-hook.

* lisp/progmodes/vhdl-mode.el (vhdl-mode):
* lisp/progmodes/verilog-mode.el (verilog-mode):
* lisp/progmodes/vera-mode.el (vera-mode):
* lisp/progmodes/sql.el (sql-mode):
* lisp/progmodes/scheme.el (scheme-mode):
* lisp/progmodes/perl-mode.el (perl-mode):
* lisp/progmodes/octave-inf.el (inferior-octave-mode):
* lisp/progmodes/autoconf.el (autoconf-mode):
* lisp/progmodes/m4-mode.el (m4-mode):
* lisp/progmodes/inf-lisp.el (inferior-lisp-mode):
* lisp/progmodes/idlwave.el (idlwave-mode):
* lisp/progmodes/icon.el (icon-mode):
* lisp/progmodes/idlw-help.el (idlwave-help-mode):
* lisp/progmodes/dcl-mode.el (dcl-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-mode):
* lisp/progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
(ebrowse-member-mode, ebrowse-electric-position-mode):
Use define-derived-mode.

* lisp/progmodes/xscheme.el (xscheme-start)
(local-set-scheme-interaction-buffer, scheme-interaction-mode):
* lisp/progmodes/which-func.el (which-function):
* lisp/progmodes/vhdl-mode.el (vhdl-set-style):
* lisp/progmodes/verilog-mode.el (verilog-set-compile-command)
(verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
(verilog-set-define, verilog-auto-reeval-locals):
* lisp/progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
* lisp/progmodes/simula.el (simula-mode):
* lisp/progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
* lisp/progmodes/python.el (python-check, python-mode):
* lisp/progmodes/prolog.el (prolog-mode-variables):
* lisp/progmodes/gud.el (gud-tooltip-activate-mouse-motions):
* lisp/progmodes/ebrowse.el (ebrowse-view-file-other-frame):
* lisp/progmodes/delphi.el (delphi-mode):
* lisp/progmodes/cc-styles.el (c-setup-paragraph-variables):
* lisp/progmodes/cc-mode.el (c-basic-common-init, c-common-init)
(c-font-lock-init): Move make-local-variable to their setq.

* lisp/progmodes/xscheme.el (exit-scheme-interaction-mode)
(xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
(xscheme-debugger-mode-p, xscheme-send-string-1):
* lisp/progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
(tcl-load-file, tcl-restart-with-file):
* lisp/progmodes/ps-mode.el (ps-run-running):
* lisp/progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
* lisp/progmodes/js.el (js--get-all-known-symbols):
* lisp/progmodes/inf-lisp.el (inferior-lisp-proc):
* lisp/progmodes/idlwave.el (idlwave-beginning-of-statement)
(idlwave-template, idlwave-update-buffer-routine-info)
(idlwave-update-current-buffer-info)
(idlwave-get-routine-info-from-buffers, idlwave-choose)
(idlwave-scan-class-info, idlwave-fix-keywords)
(idlwave-list-buffer-load-path-shadows):
* lisp/progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
(idlwave-toolbar-remove):
* lisp/progmodes/idlw-shell.el (idlwave-shell-save-and-action)
(idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
(idlwave-shell-menu-def):
* lisp/progmodes/idlw-complete-structtag.el
(idlwave-prepare-structure-tag-completion):
* lisp/progmodes/gud.el (gud-set-buffer):
* lisp/progmodes/f90.el (f90-backslash-not-special):
* lisp/progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.

13 years agoMove call to Fkill_emacs from signal handler (session event) (Bug#7552).
Jan Djärv [Fri, 10 Dec 2010 18:23:43 +0000 (19:23 +0100)]
Move call to Fkill_emacs from signal handler (session event) (Bug#7552).

* keyboard.c (kbd_buffer_get_event): Construct SAVE_SESSION_EVENT
as (Qsave_session arg).

* xsmfns.c (smc_interact_CB): Set arg to Qnil.
(smc_die_CB): Make an event with arg Qt.
(Fhandle_save_session): If event has Qt as argument,
call Fkill_emacs.

13 years agoBump version to 23.2.91. emacs-pretest-23.2.91
Chong Yidong [Fri, 10 Dec 2010 17:46:40 +0000 (12:46 -0500)]
Bump version to 23.2.91.
Regenerate configure and ldefs-boot.el.

13 years ago* configure.in: Don't double machfile in final message.
Andreas Schwab [Fri, 10 Dec 2010 17:29:54 +0000 (18:29 +0100)]
* configure.in: Don't double machfile in final message.

13 years ago* lisp/textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
Stefan Monnier [Fri, 10 Dec 2010 14:10:08 +0000 (09:10 -0500)]
* lisp/textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
(texinfo-mode): Don't disable adaptive-fill-mode.
(texinfo-insert-block): Adjust cursor placement for blocks with arg.
(texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
(texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
(texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
(texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
(texinfo-insert-@quotation, texinfo-insert-@samp)
(texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
(texinfo-insert-@uref): Use define-skeleton.
(texinfo-insert-@-with-arg): Delete.

13 years agoarc-mode.el (archive-zip-extract): If w32-quote-process-args is nil, do quote
Eli Zaretskii [Fri, 10 Dec 2010 11:56:44 +0000 (13:56 +0200)]
arc-mode.el (archive-zip-extract): If w32-quote-process-args is nil, do quote
 archive member names.  Suggested by hm <helmut.muelner@joanneum.at>.

13 years ago* net/tramp.el (tramp-action-password, tramp-process-actions):
Michael Albinus [Fri, 10 Dec 2010 04:14:57 +0000 (05:14 +0100)]
* net/tramp.el (tramp-action-password, tramp-process-actions):
Revert patch from 2010-12-08.  Use `save-restriction'.

13 years ago* lisp/files.el (diff-no-select): Declare.
Glenn Morris [Fri, 10 Dec 2010 03:47:49 +0000 (19:47 -0800)]
* lisp/files.el (diff-no-select): Declare.

13 years agoSmall emacsbug.el stuff.
Glenn Morris [Fri, 10 Dec 2010 03:39:18 +0000 (19:39 -0800)]
Small emacsbug.el stuff.
* lisp/mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
(report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.

13 years ago* lisp/comint.el (comint-input-ring-file-name): Doc fix.
Glenn Morris [Fri, 10 Dec 2010 03:36:46 +0000 (19:36 -0800)]
* lisp/comint.el (comint-input-ring-file-name): Doc fix.

13 years agoFix ChangeLog attribution.
Glenn Morris [Fri, 10 Dec 2010 03:34:59 +0000 (19:34 -0800)]
Fix ChangeLog attribution.

13 years ago* doc/emacs/trouble.texi (Checklist): Fix typo in newsgroup name.
Glenn Morris [Fri, 10 Dec 2010 03:33:51 +0000 (19:33 -0800)]
* doc/emacs/trouble.texi (Checklist): Fix typo in newsgroup name.

13 years agoCommit missing file from 2010-05-15T00:48:53Z!rgm@gnu.org.
Jan Moringen [Fri, 10 Dec 2010 03:31:52 +0000 (19:31 -0800)]
Commit missing file from 2010-05-15T00:48:53Z!rgm@gnu.org.

Fixes: debbugs:7505
13 years agoshr.el (shr-tag-label): Add <label> support.
Lars Magne Ingebrigtsen [Thu, 9 Dec 2010 23:20:33 +0000 (23:20 +0000)]
shr.el (shr-tag-label): Add <label> support.

13 years agoFix bug #1077 with popping new frames from a minibuffer-only frame.
Eli Zaretskii [Thu, 9 Dec 2010 19:07:53 +0000 (21:07 +0200)]
Fix bug #1077 with popping new frames from a minibuffer-only frame.

 menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
 New functions.
 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>: Use
 them instead of `nil' and `>', respectively.
 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
 instead of `nil'.
 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
 and menu-bar-positive-p instead of `nil' and `>', respectively.

13 years agoFix bug #1077 with popping new frames from a minibuffer-only frame.
Eli Zaretskii [Thu, 9 Dec 2010 18:53:17 +0000 (20:53 +0200)]
Fix bug #1077 with popping new frames from a minibuffer-only frame.

Do NOT merge with trunk!

 menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p): New functions.
 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>: Use
 them instead of `nil' and `>', respectively.

13 years agomm-util.el (mm-ucs-to-char): Use eval-and-compile.
Katsumi Yamaoka [Thu, 9 Dec 2010 11:11:11 +0000 (11:11 +0000)]
mm-util.el (mm-ucs-to-char): Use eval-and-compile.

13 years agoTiny code fix.
Vinicius Jose Latorre [Thu, 9 Dec 2010 10:55:03 +0000 (08:55 -0200)]
Tiny code fix.

13 years agoshr.el (shr-tag-script): Ignore <script>.
Lars Magne Ingebrigtsen [Thu, 9 Dec 2010 10:43:50 +0000 (10:43 +0000)]
shr.el (shr-tag-script): Ignore <script>.

13 years agoshr.el (shr-image-displayer): Work for images lined side by side.
Katsumi Yamaoka [Thu, 9 Dec 2010 06:40:56 +0000 (06:40 +0000)]
shr.el (shr-image-displayer): Work for images lined side by side.

13 years agoRename some landmark functions.
Glenn Morris [Thu, 9 Dec 2010 05:55:25 +0000 (21:55 -0800)]
Rename some landmark functions.
* lisp/play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
Rename functions without commas, update callers.

13 years agodiary-lib fix for bug#7536.
Stephen Berman [Thu, 9 Dec 2010 01:50:08 +0000 (17:50 -0800)]
diary-lib fix for bug#7536.
* lisp/calendar/diary-lib.el (diary-list-sexp-entries):
Handle case of no newline at end of file.

13 years ago* lisp/mail/smtpmail.el (smtpmail-send-it): Revert previous change.
Glenn Morris [Thu, 9 Dec 2010 01:46:03 +0000 (17:46 -0800)]
* lisp/mail/smtpmail.el (smtpmail-send-it): Revert previous change.
(convert-standard-filename means it was bogus.)

13 years agognus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t...
Robert Pluim [Wed, 8 Dec 2010 22:16:36 +0000 (22:16 +0000)]
gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t. XEmacs does not support that.

13 years ago* net/tramp.el (tramp-handle-start-file-process): Protect
Michael Albinus [Wed, 8 Dec 2010 20:07:25 +0000 (21:07 +0100)]
* net/tramp.el (tramp-handle-start-file-process): Protect
buffer-modified value.  (Bug#7557)
(tramp-action-password): Delete region, do not narrow.
(tramp-process-actions): Do not widen.

13 years agopartial checking with substantial progress towards epg passphrase
Ken Manheimer [Wed, 8 Dec 2010 19:57:06 +0000 (14:57 -0500)]
partial checking with substantial progress towards epg passphrase
callback arrangements.  several reasons to drop the special provisions:

- gpg v1 is required for passphrase callback operation - so allout
  passphrase hinting and verification requires that
- exposes passphrase to emacs code, which is much much less secure than
  sticking with gpg v2 and leaving all passphrase handling in gpg
- leaving all passphrase handling to gpg removes a lot of complexity from
  allout code
- gpg v2 connection to gpg-agent requires no user provisions, so is simpler
  and provides some convenience that makes up for the lack of hinting and
  verification

this checkin includes a partially developed version of
allout-epg-passphrase-callback-function, with hinting and ready to
implement the passphrase verification.  but there's a lot to go there, and
in working through the twisty flow to adjust the verifier and hint string,
etc.  not worth it, considering the above trade-offs.

13 years agoNew version 13.2. (Bug#7582)
Vinicius Jose Latorre [Wed, 8 Dec 2010 19:25:11 +0000 (17:25 -0200)]
New version 13.2. (Bug#7582)

13 years agonnir.el (nnir-request-expire-articles): New function.
Andrew Cohen [Wed, 8 Dec 2010 14:41:37 +0000 (14:41 +0000)]
nnir.el (nnir-request-expire-articles): New function.

13 years agonnir.el (nnir-retrieve-headers): Use rassq when comparing article ids.
Andrew Cohen [Wed, 8 Dec 2010 13:49:49 +0000 (13:49 +0000)]
nnir.el (nnir-retrieve-headers): Use rassq when comparing article ids.
 (nnir-run-gmane): Simplify groupspec formatting.

13 years agoAdjust parameter names and doc strings to resolve confusion over
Karl Fogel [Wed, 8 Dec 2010 08:09:27 +0000 (03:09 -0500)]
Adjust parameter names and doc strings to resolve confusion over
whether "bookmark" meant a bookmark name or a bookmark record.
Along the way, shorten one function's name for similar reasons.

(Issue #7548)

* lisp/bookmark.el
  (bookmark-name-from-record):
    New name for `bookmark-name-from-full-record'.  All callers changed.
  (bookmark-get-bookmark, bookmark-get-bookmark-record,
   bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set,
   bookmark-get-annotation, bookmark-set-annotation,
   bookmark-get-filename, bookmark-set-filename,
   bookmark-get-position, bookmark-set-position,
   bookmark-get-front-context-string, bookmark-set-front-context-string,
   bookmark-get-rear-context-string, bookmark-set-rear-context-string,
   bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via,
   bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
    Rename `bookmark' parameter to `bookmark-name-or-record', to
    clearly show its role, and shorten or adjust doc strings accordingly.
  (bookmark-set-name):
    Same, and pass the parameter directly to `bookmark-get-bookmark'
    instead of redundantly doing the callee's work.
  (bookmark-default-annotation-text, bookmark-send-edited-annotation,
   bookmark-relocate, bookmark-insert-location, bookmark-insert,
   bookmark-delete):
    Rename `bookmark' parameter to `bookmark-name', and in some cases
    shorten doc string accordingly.
  (bookmark-rename):
    Change `old' and `new' parameters to `old-name'
    and `new-name', and adjust an internal variable to avoid confusion.
  (bookmark-jump, bookmark-jump-noselect):
    Clarify `bookmark' parameter in doc string.

13 years agoIn gdb, try to init comint history from gdbhist.
Glenn Morris [Wed, 8 Dec 2010 05:00:12 +0000 (21:00 -0800)]
In gdb, try to init comint history from gdbhist.
* lisp/progmodes/gdb-mi.el (gdb): Try to initialize comint input history
from gdb's history file.  (Bug#7575)

13 years ago* mail/emacsbug.el (report-emacs-bug): Try to handle some other mail clients.
Glenn Morris [Wed, 8 Dec 2010 03:47:27 +0000 (19:47 -0800)]
* mail/emacsbug.el (report-emacs-bug): Try to handle some other mail clients.

13 years agoMake verify-visited-file-modtime default to the current buffer.
Glenn Morris [Wed, 8 Dec 2010 03:45:45 +0000 (19:45 -0800)]
Make verify-visited-file-modtime default to the current buffer.

* src/fileio.c (Fverify_visited_file_modtime): Default to current buffer.
* doc/lispref/buffers.texi (Modification Time):
verify-visited-file-modtime now defaults to the current buffer.

13 years ago* lisp/log-edit.el (log-edit-changelog-entries): Regexp quote filename.
Jan Moringen [Wed, 8 Dec 2010 03:42:00 +0000 (19:42 -0800)]
* lisp/log-edit.el (log-edit-changelog-entries): Regexp quote filename.

Fixes: debbugs:7505
13 years ago* lisp/cus-edit.el (custom-save-all): Bind print-length and print-level to nil.
Tom Breton [Wed, 8 Dec 2010 03:36:01 +0000 (19:36 -0800)]
* lisp/cus-edit.el (custom-save-all): Bind print-length and print-level to nil.

Fixes: debbugs:7581