unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13733: 24.2.50; apropos-value will error when encountering a circular strucure
@ 2013-02-17 10:32 E Sabof
  2013-12-18  4:57 ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: E Sabof @ 2013-02-17 10:32 UTC (permalink / raw)
  To: 13733

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

Patching apropos.el in the following manner seems to have fixed the problem.

(defun apropos-value-internal (predicate symbol function)
      (if (funcall predicate symbol)
          (progn
            (setq symbol (or (ignore-errors
                               (prin1-to-string (funcall function symbol)))
                             ""))
            (if (string-match apropos-regexp symbol)
                (progn
                  (if apropos-match-face
                      (put-text-property (match-beginning 0) (match-end 0)
                                         'face apropos-match-face
                                         symbol))
                  symbol)))))

Evgeni

[-- Attachment #2: Type: text/html, Size: 919 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13733: 24.2.50; apropos-value will error when encountering a circular strucure
  2013-02-17 10:32 bug#13733: 24.2.50; apropos-value will error when encountering a circular strucure E Sabof
@ 2013-12-18  4:57 ` Chong Yidong
  2014-02-07 17:02   ` E Sabof
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2013-12-18  4:57 UTC (permalink / raw)
  To: E Sabof; +Cc: 13733

E Sabof <esabof@gmail.com> writes:

> Patching apropos.el in the following manner seems to have fixed the
> problem.

I can't reproduce the problem.  Could you provide a recipe?





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13733: 24.2.50; apropos-value will error when encountering a circular strucure
  2013-12-18  4:57 ` Chong Yidong
@ 2014-02-07 17:02   ` E Sabof
  0 siblings, 0 replies; 3+ messages in thread
From: E Sabof @ 2014-02-07 17:02 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 13733


Chong Yidong <cyd@gnu.org> writes:

> E Sabof <esabof@gmail.com> writes:
>
>> Patching apropos.el in the following manner seems to have fixed the
>> problem.
>
> I can't reproduce the problem.  Could you provide a recipe?

I also can't reproduce it on the current trunk.

Evgeni





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-07 17:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-17 10:32 bug#13733: 24.2.50; apropos-value will error when encountering a circular strucure E Sabof
2013-12-18  4:57 ` Chong Yidong
2014-02-07 17:02   ` E Sabof

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).