all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Tom Breton (Tehom)" <tehom@panix.com>
To: 7581@debbugs.gnu.org
Subject: bug#7581: custom-save-* can print wrong.
Date: Tue, 7 Dec 2010 11:48:08 -0500	[thread overview]
Message-ID: <919b7c717c3873b06de70e712b68e48f.squirrel@mail.panix.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

`customize-save-variable' resulted in an .emacs.custom file containing
many `...' symbols.  I deem that serious.

I believe this was due to `print-level' being non-nil, and I have attached
a patch that seems to fix this.

[-- Attachment #2: custom-save-diff --]
[-- Type: application/octet-stream, Size: 944 bytes --]

diff -c -b -L /su:localhost:/usr/share/emacs/22.2/lisp/old-cus-edit.el -L /su:localhost:/usr/share/emacs/22.2/lisp/cus-edit.el /tmp/tramp.2738gnN.el /tmp/tramp.2738txT.el
*** /su:localhost:/usr/share/emacs/22.2/lisp/old-cus-edit.el
--- /su:localhost:/usr/share/emacs/22.2/lisp/cus-edit.el
***************
*** 4212,4218 ****
  			   (or old-buffer (find-file-noselect filename)))
        (unless (eq major-mode 'emacs-lisp-mode)
  	(emacs-lisp-mode))
!       (let ((inhibit-read-only t))
  	(custom-save-variables)
  	(custom-save-faces))
        (let ((file-precious-flag t))
--- 4212,4220 ----
  			   (or old-buffer (find-file-noselect filename)))
        (unless (eq major-mode 'emacs-lisp-mode)
  	(emacs-lisp-mode))
!       (let ((inhibit-read-only t)
! 	      (print-length nil)
! 	      (print-level nil))
  	(custom-save-variables)
  	(custom-save-faces))
        (let ((file-precious-flag t))

Diff finished.  Tue Dec  7 11:39:28 2010

             reply	other threads:[~2010-12-07 16:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 16:48 Tom Breton (Tehom) [this message]
2010-12-08  3:35 ` bug#7581: custom-save-* can print wrong Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=919b7c717c3873b06de70e712b68e48f.squirrel@mail.panix.com \
    --to=tehom@panix.com \
    --cc=7581@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.