unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: possible bug in customize-save?
Date: Fri, 24 Apr 2020 08:56:40 -0400	[thread overview]
Message-ID: <85362A85-CF9D-4E02-8D0F-DB0308FA68C9@gmail.com> (raw)
In-Reply-To: <87368u43cn.fsf@gmail.com>



> On Apr 23, 2020, at 11:40 AM, Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com> wrote:
> 
> m-x customize-saved
> When i type C-x C-s for saving, with debug-on-error on, i get the
> following backtrace:
> Debugger entered--Lisp error: (void-function nil)
>  nil(nil)
>  widget-apply(nil :value-get)
>  widget-value(nil)
>  custom-variable-modified-p((custom-variable :tag "Package Archives" :value package-archives :custom-form edit :custom-magic (custom-magic :args (nil) :parent #1 :indent 0 :children nil :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 2989 in *Customize Saved*> :buttons nil :value nil) :buttons ((documentation-string :args nil :value "An alist of archives from which to fetch.\nThe defa..." :indent 3 :visibility-widget custom-visibility :parent #1 :doc-overlay #<overlay from 2989 to 3034 in *Customize Saved*> :buttons ((custom-visibility :args nil :value nil :help-echo "Show or hide rest of the documentation." :on "Hide" :off "More" :always-active t :action widget-parent-action :parent #13 :indent 3 :button-overlay #<overlay from 3034 to 3038 in *Customize Saved*> :from #<marker (moves after insertion) at 3034 in *Customize Saved*> :to #<marker at 3038 in *Customize Saved*>)) :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 3039 in *Customize Saved*>) (custom-magic :args (nil) :parent #1 :indent 0 :children nil :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 2989 in *Customize Saved*> :buttons nil :value nil) (item :format "%{%t%} " :sample-face custom-variable-tag :tag "Package Archives" :parent #1 :indent 0 :sample-overlay #<overlay from 2971 to 2987 in *Customize Saved*> :from #<marker (moves after insertion) at 2971 in *Customize Saved*> :to #<marker at 2988 in *Customize Saved*>) (custom-visibility :args nil :value nil :help-echo "Show the value of this option." :on-glyph "down" :on "Hide" :off-glyph "right" :off "Show Value" :action custom-toggle-hide-variable :parent #1 :indent 0 :suppress-face t :button-overlay #<overlay from 2960 to 2970 in *Customize Saved*> :from #<marker (moves after insertion) at 2960 in *Customize Saved*> :to #<marker at 2970 in *Customize Saved*>)) :documentation-indent 3 :children nil :custom-state hidden :from #<marker (moves after insertion) at 2960 in *Customize Saved*> :to #<marker at 3039 in *Customize Saved*>))
>  custom-variable-state-set((custom-variable :tag "Package Archives" :value package-archives :custom-form edit :custom-magic (custom-magic :args (nil) :parent #1 :indent 0 :children nil :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 2989 in *Customize Saved*> :buttons nil :value nil) :buttons ((documentation-string :args nil :value "An alist of archives from which to fetch.\nThe defa..." :indent 3 :visibility-widget custom-visibility :parent #1 :doc-overlay #<overlay from 2989 to 3034 in *Customize Saved*> :buttons ((custom-visibility :args nil :value nil :help-echo "Show or hide rest of the documentation." :on "Hide" :off "More" :always-active t :action widget-parent-action :parent #13 :indent 3 :button-overlay #<overlay from 3034 to 3038 in *Customize Saved*> :from #<marker (moves after insertion) at 3034 in *Customize Saved*> :to #<marker at 3038 in *Customize Saved*>)) :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 3039 in *Customize Saved*>) (custom-magic :args (nil) :parent #1 :indent 0 :children nil :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 2989 in *Customize Saved*> :buttons nil :value nil) (item :format "%{%t%} " :sample-face custom-variable-tag :tag "Package Archives" :parent #1 :indent 0 :sample-overlay #<overlay from 2971 to 2987 in *Customize Saved*> :from #<marker (moves after insertion) at 2971 in *Customize Saved*> :to #<marker at 2988 in *Customize Saved*>) (custom-visibility :args nil :value nil :help-echo "Show the value of this option." :on-glyph "down" :on "Hide" :off-glyph "right" :off "Show Value" :action custom-toggle-hide-variable :parent #1 :indent 0 :suppress-face t :button-overlay #<overlay from 2960 to 2970 in *Customize Saved*> :from #<marker (moves after insertion) at 2960 in *Customize Saved*> :to #<marker at 2970 in *Customize Saved*>)) :documentation-indent 3 :children nil :custom-state hidden :from #<marker (moves after insertion) at 2960 in *Customize Saved*> :to #<marker at 3039 in *Customize Saved*>))
>  custom-variable-state-set-and-redraw((custom-variable :tag "Package Archives" :value package-archives :custom-form edit :custom-magic (custom-magic :args (nil) :parent #1 :indent 0 :children nil :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 2989 in *Customize Saved*> :buttons nil :value nil) :buttons ((documentation-string :args nil :value "An alist of archives from which to fetch.\nThe defa..." :indent 3 :visibility-widget custom-visibility :parent #1 :doc-overlay #<overlay from 2989 to 3034 in *Customize Saved*> :buttons ((custom-visibility :args nil :value nil :help-echo "Show or hide rest of the documentation." :on "Hide" :off "More" :always-active t :action widget-parent-action :parent #13 :indent 3 :button-overlay #<overlay from 3034 to 3038 in *Customize Saved*> :from #<marker (moves after insertion) at 3034 in *Customize Saved*> :to #<marker at 3038 in *Customize Saved*>)) :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 3039 in *Customize Saved*>) (custom-magic :args (nil) :parent #1 :indent 0 :children nil :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 2989 in *Customize Saved*> :buttons nil :value nil) (item :format "%{%t%} " :sample-face custom-variable-tag :tag "Package Archives" :parent #1 :indent 0 :sample-overlay #<overlay from 2971 to 2987 in *Customize Saved*> :from #<marker (moves after insertion) at 2971 in *Customize Saved*> :to #<marker at 2988 in *Customize Saved*>) (custom-visibility :args nil :value nil :help-echo "Show the value of this option." :on-glyph "down" :on "Hide" :off-glyph "right" :off "Show Value" :action custom-toggle-hide-variable :parent #1 :indent 0 :suppress-face t :button-overlay #<overlay from 2960 to 2970 in *Customize Saved*> :from #<marker (moves after insertion) at 2960 in *Customize Saved*> :to #<marker at 2970 in *Customize Saved*>)) :documentation-indent 3 :children nil :custom-state hidden :from #<marker (moves after insertion) at 2960 in *Customize Saved*> :to #<marker at 3039 in *Customize Saved*>))
>  widget-apply((custom-variable :tag "Package Archives" :value package-archives :custom-form edit :custom-magic (custom-magic :args (nil) :parent #1 :indent 0 :children nil :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 2989 in *Customize Saved*> :buttons nil :value nil) :buttons ((documentation-string :args nil :value "An alist of archives from which to fetch.\nThe defa..." :indent 3 :visibility-widget custom-visibility :parent #1 :doc-overlay #<overlay from 2989 to 3034 in *Customize Saved*> :buttons ((custom-visibility :args nil :value nil :help-echo "Show or hide rest of the documentation." :on "Hide" :off "More" :always-active t :action widget-parent-action :parent #13 :indent 3 :button-overlay #<overlay from 3034 to 3038 in *Customize Saved*> :from #<marker (moves after insertion) at 3034 in *Customize Saved*> :to #<marker at 3038 in *Customize Saved*>)) :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 3039 in *Customize Saved*>) (custom-magic :args (nil) :parent #1 :indent 0 :children nil :from #<marker (moves after insertion) at 2989 in *Customize Saved*> :to #<marker at 2989 in *Customize Saved*> :buttons nil :value nil) (item :format "%{%t%} " :sample-face custom-variable-tag :tag "Package Archives" :parent #1 :indent 0 :sample-overlay #<overlay from 2971 to 2987 in *Customize Saved*> :from #<marker (moves after insertion) at 2971 in *Customize Saved*> :to #<marker at 2988 in *Customize Saved*>) (custom-visibility :args nil :value nil :help-echo "Show the value of this option." :on-glyph "down" :on "Hide" :off-glyph "right" :off "Show Value" :action custom-toggle-hide-variable :parent #1 :indent 0 :suppress-face t :button-overlay #<overlay from 2960 to 2970 in *Customize Saved*> :from #<marker (moves after insertion) at 2960 in *Customize Saved*> :to #<marker at 2970 in *Customize Saved*>)) :documentation-indent 3 :children nil :custom-state hidden :from #<marker (moves after insertion) at 2960 in *Customize Saved*> :to #<marker at 3039 in *Customize Saved*>) :custom-state-set-and-redraw)
>  #f(compiled-function (&rest ignore) "Set all edited settings, then save all settings that have been set.\nIf a setting was edited and set before, this saves it.  If a\nsetting was merely edited before, this sets it then saves it." (interactive nil) #<bytecode 0xae594f97d9b5d8a>)()
>  apply(#f(compiled-function (&rest ignore) "Set all edited settings, then save all settings that have been set.\nIf a setting was edited and set before, this saves it.  If a\nsetting was merely edited before, this sets it then saves it." (interactive nil) #<bytecode 0xae594f97d9b5d8a>) nil)
>  ad-Advice-Custom-save(#f(compiled-function (&rest ignore) "Set all edited settings, then save all settings that have been set.\nIf a setting was edited and set before, this saves it.  If a\nsetting was merely edited before, this sets it then saves it." (interactive nil) #<bytecode 0xae594f97d9b5d8a>))
>  apply(ad-Advice-Custom-save #f(compiled-function (&rest ignore) "Set all edited settings, then save all settings that have been set.\nIf a setting was edited and set before, this saves it.  If a\nsetting was merely edited before, this sets it then saves it." (interactive nil) #<bytecode 0xae594f97d9b5d8a>) nil)
>  Custom-save()
>  #<subr funcall-interactively>(Custom-save)
>  apply(#<subr funcall-interactively> Custom-save nil)
>  ad-Advice-funcall-interactively(#<subr funcall-interactively> Custom-save)
>  apply(ad-Advice-funcall-interactively #<subr funcall-interactively> Custom-save)
>  funcall-interactively(Custom-save)
>  #<subr call-interactively>(Custom-save nil nil)
>  ad-Advice-call-interactively(#<subr call-interactively> Custom-save nil nil)
>  apply(ad-Advice-call-interactively #<subr call-interactively> (Custom-save nil nil))
>  call-interactively(Custom-save nil nil)
>  command-execute(Custom-save)
> 
> In my init file ~/.emacs.d/init.el it seems to be normal, the variable
> package-archive inside customize appears as each other.
> what could be the problem?
> how can i investigate furthermore on it?
> Regards,
> Michelangelo
> 

I’ve also seen this, yes. But I wasn’t sure if it’s my config’s fault. I don’t have anything intelligent to say about this (possible) bug, but you can report this to debbugs by M-x report-emacs-bugs first.

Yuan


      reply	other threads:[~2020-04-24 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23 15:40 possible bug in customize-save? Michelangelo Rodriguez
2020-04-24 12:56 ` Yuan Fu [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=85362A85-CF9D-4E02-8D0F-DB0308FA68C9@gmail.com \
    --to=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michelangelo.rodriguez@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).